[2025-04-09 00:00:01] Production.INFO: ==12268== Lock acquired, processing the job...
[2025-04-09 00:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:00:01] Production.INFO: neon service started
[2025-04-09 00:00:01] Production.INFO: neon service started
[2025-04-09 00:00:01] Production.INFO: ==12268== Releasing lock...
[2025-04-09 00:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:00:01] Production.INFO: ==12270== Lock acquired, processing the job...
[2025-04-08 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:00:02] Production.INFO: ==12272== Lock acquired, processing the job...
[2025-04-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 19:00:02] Production.INFO: ==12270== Releasing lock...
[2025-04-08 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:00:02] Production.INFO: ==12272== Releasing lock...
[2025-04-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:00:03] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:00:03] Production.INFO: ==12289== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:00:03] Production.INFO: ==12275== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:00:03] Production.INFO: ==12279== Releasing lock...
[2025-04-08 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 19:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:00:03] Production.ERROR: CronJob PID - 12289
[2025-04-08 19:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-08 19:00:03] Production.ERROR: CronJob ID - 19
[2025-04-08 19:00:03] Production.ERROR: CronJob Last Run Time 2025-04-08 19:00:00
[2025-04-08 19:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:00:03] Production.INFO: ==12277== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:00:03] Production.INFO: count ==12
[2025-04-08 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-04-08 19:00:03] Production.INFO: count ==23
[2025-04-08 19:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864191') start
[2025-04-08 19:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:00:03] Production.INFO: ==12275== Releasing lock...
[2025-04-08 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:00:03] Production.INFO: ==12285== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864191') end
[2025-04-08 19:00:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:00:03] Production.INFO: 1
[2025-04-08 19:00:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:00:03] Production.INFO: ==12283== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:00:03] Production.INFO: ==12281== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:00:03] Production.INFO: ==12289== Releasing lock...
[2025-04-08 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:00:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:00:03] Production.INFO: ==12287== Lock acquired, processing the job...
[2025-04-08 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:00:04] Production.INFO: Account Balance Start.
[2025-04-08 19:00:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:00:04] Production.INFO: 117
[2025-04-08 19:00:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:00:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:00:04] Production.INFO: Total Charge 0
[2025-04-08 19:00:04] Production.INFO: CreateAllLog End
[2025-04-08 19:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:00:04] Production.ERROR: done
[2025-04-08 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:00:04] Production.INFO: Account Balance End.
[2025-04-08 19:00:04] Production.ERROR: done
[2025-04-08 19:00:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:00:04] Production.INFO: ==12283== Releasing lock...
[2025-04-08 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:00:04] Production.ERROR: done
[2025-04-08 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864195', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:00:05
[end_date_ymd] => 2025-04-08 19:00:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:00:05' and `end` < '2025-04-08 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-04-08 19:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864195', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:00:09] Production.INFO: ProcessCDR(1,14864195,1,1,2)
[2025-04-08 19:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864195,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864195,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:00:09] Production.INFO: ==12287== Releasing lock...
[2025-04-08 19:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:00:13] Production.ERROR: CronJobId end10
[2025-04-08 19:00:13] Production.INFO: ==12281== Releasing lock...
[2025-04-08 19:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:00:16] Production.INFO: call_cost start
[2025-04-08 19:00:16] Production.INFO: call_cost end
[2025-04-08 19:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:00:17] Production.INFO: ==12277== Releasing lock...
[2025-04-08 19:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:00:19] Production.INFO: count ==3149
[2025-04-08 19:00:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:00:05 - End Time 2025-04-08 19:00:05
[2025-04-08 19:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864194', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864194', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864194', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864194', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:00:20] Production.INFO: ProcessCDR(1,14864194,1,1,2)
[2025-04-08 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864194', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864194', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:00:25] Production.INFO: ==12285== Releasing lock...
[2025-04-08 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:00:25] Production.INFO: 52.5 MB #Memory Used#
[2025-04-09 00:01:01] Production.INFO: ==12350== Lock acquired, processing the job...
[2025-04-09 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:01:01] Production.INFO: neon service started
[2025-04-09 00:01:01] Production.INFO: neon service started
[2025-04-09 00:01:01] Production.INFO: ==12350== Releasing lock...
[2025-04-09 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:01:02] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-04-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:01:02] Production.INFO: ==12362== Releasing lock...
[2025-04-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:01:02] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-04-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:01:02] Production.INFO: ==12364== Releasing lock...
[2025-04-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:01:03] Production.INFO: ==12373== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:01:03] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:01:03] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:01:03] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:01:03] Production.INFO: ==12371== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:01:03] Production.INFO: Account Balance Start.
[2025-04-08 19:01:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:01:03] Production.INFO: 117
[2025-04-08 19:01:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:01:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:01:03] Production.INFO: Total Charge 0
[2025-04-08 19:01:03] Production.INFO: count ==12
[2025-04-08 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:01:03] Production.INFO: ==12375== Lock acquired, processing the job...
[2025-04-08 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:01:03] Production.INFO: count ==23
[2025-04-08 19:01:03] Production.INFO: CreateAllLog End
[2025-04-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864197') start
[2025-04-08 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864197') end
[2025-04-08 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:01:03] Production.INFO: 1
[2025-04-08 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:01:03] Production.INFO: ==12377== Releasing lock...
[2025-04-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:01:04] Production.INFO: Account Balance End.
[2025-04-08 19:01:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:01:04] Production.INFO: ==12373== Releasing lock...
[2025-04-08 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:01:04] Production.INFO: ==12369== Releasing lock...
[2025-04-08 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:01:04] Production.ERROR: done
[2025-04-08 19:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:01:04] Production.ERROR: done
[2025-04-08 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:01:05
[end_date_ymd] => 2025-04-08 19:01:05
[RateCDR] => 1
)
[2025-04-08 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:01:05' and `end` < '2025-04-08 19:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:01:13] Production.ERROR: CronJobId end10
[2025-04-08 19:01:13] Production.INFO: ==12371== Releasing lock...
[2025-04-08 19:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:01:15] Production.INFO: call_cost start
[2025-04-08 19:01:15] Production.INFO: call_cost end
[2025-04-08 19:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:01:16] Production.INFO: ==12367== Releasing lock...
[2025-04-08 19:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:01:19] Production.INFO: count ==3048
[2025-04-08 19:01:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:01:05 - End Time 2025-04-08 19:01:05
[2025-04-08 19:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864200', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864200', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864200', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864200', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:01:20] Production.INFO: ProcessCDR(1,14864200,1,1,2)
[2025-04-08 19:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864200', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864200', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:01:25] Production.INFO: ==12375== Releasing lock...
[2025-04-08 19:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:01:25] Production.INFO: 50.75 MB #Memory Used#
[2025-04-09 00:02:01] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-04-09 00:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:02:01] Production.INFO: neon service started
[2025-04-09 00:02:01] Production.INFO: neon service started
[2025-04-09 00:02:01] Production.INFO: ==12509== Releasing lock...
[2025-04-09 00:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:02:01] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-04-08 19:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:02:02] Production.INFO: ==12511== Releasing lock...
[2025-04-08 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:02:02] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-04-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:02:02] Production.INFO: ==12513== Releasing lock...
[2025-04-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:02:03] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:02:03] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19: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-04-08 19:02:03] Production.INFO: count ==12
[2025-04-08 19:02:03] Production.INFO: ==12516== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:02:03] Production.INFO: ==12518== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19: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-04-08 19:02:03] Production.INFO: count ==23
[2025-04-08 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864201') start
[2025-04-08 19:02:03] Production.INFO: ==12520== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:02:03] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-04-08 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864201') end
[2025-04-08 19:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:02:03] Production.INFO: 1
[2025-04-08 19:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:02:03] Production.INFO: Account Balance Start.
[2025-04-08 19:02:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:02:03] Production.INFO: 117
[2025-04-08 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:02:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:02:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:02:03] Production.INFO: Total Charge 0
[2025-04-08 19:02:03] Production.INFO: ==12526== Releasing lock...
[2025-04-08 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:02:03] Production.INFO: CreateAllLog End
[2025-04-08 19:02:03] Production.ERROR: done
[2025-04-08 19:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:02:03] Production.ERROR: done
[2025-04-08 19:02:03] Production.INFO: ==12518== Releasing lock...
[2025-04-08 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:02:03] Production.INFO: Account Balance End.
[2025-04-08 19:02:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:02:03] Production.INFO: ==12522== Releasing lock...
[2025-04-08 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:02:04
[end_date_ymd] => 2025-04-08 19:02:04
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:02:04' and `end` < '2025-04-08 19: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-04-08 19:02:11] Production.ERROR: CronJobId end10
[2025-04-08 19:02:11] Production.INFO: ==12520== Releasing lock...
[2025-04-08 19:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:02:13] Production.INFO: call_cost start
[2025-04-08 19:02:13] Production.INFO: call_cost end
[2025-04-08 19:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:02:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:02:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:02:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:02:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:02:14] Production.INFO: ==12516== Releasing lock...
[2025-04-08 19:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:02:18] Production.INFO: count ==3037
[2025-04-08 19:02:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:02:04 - End Time 2025-04-08 19:02:04
[2025-04-08 19:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864205', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864205', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864205', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864205', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:02:19] Production.INFO: ProcessCDR(1,14864205,1,1,2)
[2025-04-08 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864205', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864205', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:02:22] Production.INFO: ==12524== Releasing lock...
[2025-04-08 19:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:02:22] Production.INFO: 50.75 MB #Memory Used#
[2025-04-09 00:03:01] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-04-09 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:03:01] Production.INFO: neon service started
[2025-04-09 00:03:01] Production.INFO: neon service started
[2025-04-09 00:03:01] Production.INFO: ==12582== Releasing lock...
[2025-04-09 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:03:02] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-04-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:03:02] Production.INFO: ==12586== Lock acquired, processing the job...
[2025-04-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:03:02] Production.INFO: ==12586== Releasing lock...
[2025-04-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:03:02] Production.INFO: ==12584== Releasing lock...
[2025-04-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:03:03] Production.INFO: ==12589== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:03:03] Production.INFO: ==12595== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:03:03] Production.INFO: ==12597== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:03:03] Production.INFO: Account Balance Start.
[2025-04-08 19:03:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:03:03] Production.INFO: 117
[2025-04-08 19:03:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:03:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:03:03] Production.INFO: ==12599== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:03:03] Production.INFO: ==12591== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:03:03] Production.INFO: Total Charge 0
[2025-04-08 19:03:03] Production.INFO: CreateAllLog End
[2025-04-08 19:03:03] Production.INFO: ==12593== Lock acquired, processing the job...
[2025-04-08 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19: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-04-08 19:03:04] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:03:04] Production.INFO: count ==23
[2025-04-08 19:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864208') start
[2025-04-08 19:03:04] Production.ERROR: done
[2025-04-08 19:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:03:04] Production.INFO: Account Balance End.
[2025-04-08 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864208') end
[2025-04-08 19:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:03:04] Production.INFO: 1
[2025-04-08 19:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:03:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:03:04] Production.INFO: ==12595== Releasing lock...
[2025-04-08 19:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:03:04] Production.INFO: ==12599== Releasing lock...
[2025-04-08 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:03:04] Production.INFO: ==12591== Releasing lock...
[2025-04-08 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:03:04] Production.ERROR: done
[2025-04-08 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:03:05
[end_date_ymd] => 2025-04-08 19:03:05
[RateCDR] => 1
)
[2025-04-08 19:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:03:05' and `end` < '2025-04-08 19:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:03:12] Production.ERROR: CronJobId end10
[2025-04-08 19:03:12] Production.INFO: ==12593== Releasing lock...
[2025-04-08 19:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:03:14] Production.INFO: call_cost start
[2025-04-08 19:03:14] Production.INFO: call_cost end
[2025-04-08 19:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:03:15] Production.INFO: ==12589== Releasing lock...
[2025-04-08 19:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:03:18] Production.INFO: count ==3002
[2025-04-08 19:03:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:03:05 - End Time 2025-04-08 19:03:05
[2025-04-08 19:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864210', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864210', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864210', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864210', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:03:19] Production.INFO: ProcessCDR(1,14864210,1,1,2)
[2025-04-08 19:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864210', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864210', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:03:24] Production.INFO: ==12597== Releasing lock...
[2025-04-08 19:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:03:24] Production.INFO: 50.5 MB #Memory Used#
[2025-04-09 00:04:02] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-04-09 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:04:02] Production.INFO: neon service started
[2025-04-09 00:04:02] Production.INFO: neon service started
[2025-04-09 00:04:02] Production.INFO: ==12657== Releasing lock...
[2025-04-09 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:04:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:04:02] Production.INFO: ==12661== Lock acquired, processing the job...
[2025-04-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:04:02] Production.INFO: ==12661== Releasing lock...
[2025-04-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:04:02] Production.INFO: ==12659== Lock acquired, processing the job...
[2025-04-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:04:03] Production.INFO: ==12659== Releasing lock...
[2025-04-08 19:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:04:03] Production.INFO: ==12664== Lock acquired, processing the job...
[2025-04-08 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:04:04] Production.INFO: ==12666== Lock acquired, processing the job...
[2025-04-08 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:04:04] Production.INFO: ==12670== Lock acquired, processing the job...
[2025-04-08 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:04:04] Production.INFO: ==12668== Lock acquired, processing the job...
[2025-04-08 19:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:04:04] Production.INFO: ==12672== Lock acquired, processing the job...
[2025-04-08 19:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:04:04] Production.INFO: ==12674== Lock acquired, processing the job...
[2025-04-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:04:04] Production.INFO: Account Balance Start.
[2025-04-08 19:04:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:04:04] Production.INFO: 117
[2025-04-08 19:04:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:04:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:04:04] Production.INFO: Total Charge 0
[2025-04-08 19:04:04] Production.INFO: count ==12
[2025-04-08 19:04:04] Production.INFO: CreateAllLog End
[2025-04-08 19:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:04:04] Production.INFO: count ==23
[2025-04-08 19:04:04] Production.INFO: ==12666== Releasing lock...
[2025-04-08 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864214') start
[2025-04-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864214') end
[2025-04-08 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:04:04] Production.INFO: 1
[2025-04-08 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:04:04] Production.INFO: ==12674== Releasing lock...
[2025-04-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:04:04] Production.ERROR: done
[2025-04-08 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:04:04] Production.INFO: Account Balance End.
[2025-04-08 19:04:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:04:05] Production.INFO: ==12670== Releasing lock...
[2025-04-08 19:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:04:05] Production.ERROR: done
[2025-04-08 19:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:04:06
[end_date_ymd] => 2025-04-08 19:04:06
[RateCDR] => 1
)
[2025-04-08 19:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:04:06' and `end` < '2025-04-08 19:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:04:13] Production.ERROR: CronJobId end10
[2025-04-08 19:04:13] Production.INFO: ==12668== Releasing lock...
[2025-04-08 19:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:04:14] Production.INFO: call_cost start
[2025-04-08 19:04:14] Production.INFO: call_cost end
[2025-04-08 19:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:04:15] Production.INFO: ==12664== Releasing lock...
[2025-04-08 19:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:04:19] Production.INFO: count ==2989
[2025-04-08 19:04:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:04:06 - End Time 2025-04-08 19:04:06
[2025-04-08 19:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864215', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864215', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864215', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864215', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:04:20] Production.INFO: ProcessCDR(1,14864215,1,1,2)
[2025-04-08 19:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864215', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864215', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:04:25] Production.INFO: ==12672== Releasing lock...
[2025-04-08 19:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:04:25] Production.INFO: 50.5 MB #Memory Used#
[2025-04-09 00:05:01] Production.INFO: ==12807== Lock acquired, processing the job...
[2025-04-09 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:05:01] Production.INFO: neon service started
[2025-04-09 00:05:01] Production.INFO: neon service started
[2025-04-09 00:05:01] Production.INFO: ==12807== Releasing lock...
[2025-04-09 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:05:02] Production.INFO: ==12809== Lock acquired, processing the job...
[2025-04-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:05:02] Production.INFO: ==12809== Releasing lock...
[2025-04-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:05:02] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-04-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:05:02] Production.INFO: ==12812== Releasing lock...
[2025-04-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:05:03] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:05:03] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:05:03] Production.INFO: ==12822== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:05:03] Production.INFO: ==12816== Releasing lock...
[2025-04-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:05:03] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:05:03] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:05:03] Production.INFO: ==12824== Lock acquired, processing the job...
[2025-04-08 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:05:03] Production.INFO: Account Balance Start.
[2025-04-08 19:05:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:05:03] Production.INFO: 117
[2025-04-08 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:05:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:05:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:05:03] Production.INFO: count ==12
[2025-04-08 19:05:03] Production.ERROR: done
[2025-04-08 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:05:03] Production.INFO: Total Charge 0
[2025-04-08 19:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:05:03] Production.INFO: count ==23
[2025-04-08 19:05:03] Production.INFO: CreateAllLog End
[2025-04-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864218') start
[2025-04-08 19:05:04] Production.ERROR: done
[2025-04-08 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864218') end
[2025-04-08 19:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:05:04] Production.INFO: 1
[2025-04-08 19:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:05:04] Production.INFO: ==12824== Releasing lock...
[2025-04-08 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:05:04] Production.INFO: Account Balance End.
[2025-04-08 19:05:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:05:04] Production.INFO: ==12820== Releasing lock...
[2025-04-08 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:05:05
[end_date_ymd] => 2025-04-08 19:05:05
[RateCDR] => 1
)
[2025-04-08 19:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:05:05' and `end` < '2025-04-08 19:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:05:12] Production.ERROR: CronJobId end10
[2025-04-08 19:05:12] Production.INFO: ==12818== Releasing lock...
[2025-04-08 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:05:15] Production.INFO: call_cost start
[2025-04-08 19:05:15] Production.INFO: call_cost end
[2025-04-08 19:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:05:16] Production.INFO: ==12814== Releasing lock...
[2025-04-08 19:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:05:18] Production.INFO: count ==2978
[2025-04-08 19:05:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:05:05 - End Time 2025-04-08 19:05:05
[2025-04-08 19:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864220', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864220', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864220', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864220', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:05:19] Production.INFO: ProcessCDR(1,14864220,1,1,2)
[2025-04-08 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864220', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864220', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:05:24] Production.INFO: ==12822== Releasing lock...
[2025-04-08 19:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:05:24] Production.INFO: 50.25 MB #Memory Used#
[2025-04-09 00:06:02] Production.INFO: ==12883== Lock acquired, processing the job...
[2025-04-09 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:06:02] Production.INFO: neon service started
[2025-04-09 00:06:02] Production.INFO: neon service started
[2025-04-09 00:06:02] Production.INFO: ==12883== Releasing lock...
[2025-04-09 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:06:02] Production.INFO: ==12887== Lock acquired, processing the job...
[2025-04-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:06:02] Production.INFO: ==12887== Releasing lock...
[2025-04-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:06:02] Production.INFO: ==12885== Lock acquired, processing the job...
[2025-04-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:06:03] Production.INFO: ==12885== Releasing lock...
[2025-04-08 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:06:03] Production.INFO: ==12890== Lock acquired, processing the job...
[2025-04-08 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:06:03] Production.INFO: ==12892== Lock acquired, processing the job...
[2025-04-08 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:06:03] Production.INFO: ==12894== Lock acquired, processing the job...
[2025-04-08 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:06:04] Production.INFO: ==12896== Lock acquired, processing the job...
[2025-04-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:06:04] Production.INFO: ==12900== Lock acquired, processing the job...
[2025-04-08 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:06:04] Production.INFO: Account Balance Start.
[2025-04-08 19:06:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:06:04] Production.INFO: 117
[2025-04-08 19:06:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:06:04] Production.INFO: ==12898== Lock acquired, processing the job...
[2025-04-08 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:06:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:06:04] Production.INFO: ==12892== Releasing lock...
[2025-04-08 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:06:04] Production.INFO: Total Charge 0
[2025-04-08 19:06:04] Production.INFO: CreateAllLog End
[2025-04-08 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:06:04] Production.INFO: count ==12
[2025-04-08 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:06:04] Production.INFO: count ==23
[2025-04-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864224') start
[2025-04-08 19:06:04] Production.INFO: Account Balance End.
[2025-04-08 19:06:04] Production.ERROR: done
[2025-04-08 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:06:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:06:04] Production.INFO: ==12896== Releasing lock...
[2025-04-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864224') end
[2025-04-08 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:06:04] Production.INFO: 1
[2025-04-08 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:06:04] Production.ERROR: done
[2025-04-08 19:06:05] Production.INFO: ==12900== Releasing lock...
[2025-04-08 19:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:06:05
[end_date_ymd] => 2025-04-08 19:06:05
[RateCDR] => 1
)
[2025-04-08 19:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:06:05' and `end` < '2025-04-08 19:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:06:13] Production.ERROR: CronJobId end10
[2025-04-08 19:06:13] Production.INFO: ==12894== Releasing lock...
[2025-04-08 19:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:06:15] Production.INFO: call_cost start
[2025-04-08 19:06:15] Production.INFO: call_cost end
[2025-04-08 19:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:06:16] Production.INFO: ==12890== Releasing lock...
[2025-04-08 19:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:06:19] Production.INFO: count ==2975
[2025-04-08 19:06:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:06:05 - End Time 2025-04-08 19:06:05
[2025-04-08 19:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864225', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864225', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864225', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864225', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:06:20] Production.INFO: ProcessCDR(1,14864225,1,1,2)
[2025-04-08 19:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864225', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864225', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:06:25] Production.INFO: ==12898== Releasing lock...
[2025-04-08 19:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:06:25] Production.INFO: 50.25 MB #Memory Used#
[2025-04-09 00:07:01] Production.INFO: ==12956== Lock acquired, processing the job...
[2025-04-09 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:07:01] Production.INFO: neon service started
[2025-04-09 00:07:01] Production.INFO: neon service started
[2025-04-09 00:07:01] Production.INFO: ==12956== Releasing lock...
[2025-04-09 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:07:02] Production.INFO: ==12958== Lock acquired, processing the job...
[2025-04-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:07:02] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-04-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:07:02] Production.INFO: ==12960== Releasing lock...
[2025-04-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:07:02] Production.INFO: ==12958== Releasing lock...
[2025-04-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:07:03] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:07:03] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:07:03] Production.INFO: Account Balance Start.
[2025-04-08 19:07:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:07:03] Production.INFO: 117
[2025-04-08 19:07:03] Production.INFO: ==12963== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:07:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:07:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:07:03] Production.INFO: Total Charge 0
[2025-04-08 19:07:03] Production.INFO: CreateAllLog End
[2025-04-08 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:07:03] Production.INFO: ==12967== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:07:03] Production.INFO: ==12965== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:07:03] Production.INFO: ==12973== Lock acquired, processing the job...
[2025-04-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:07:03] Production.INFO: Account Balance End.
[2025-04-08 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:07:03] Production.ERROR: done
[2025-04-08 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:07:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:07:03] Production.INFO: ==12969== Releasing lock...
[2025-04-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:07:04] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:07:04] Production.INFO: count ==23
[2025-04-08 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864229') start
[2025-04-08 19:07:04] Production.ERROR: done
[2025-04-08 19:07:04] Production.INFO: ==12965== Releasing lock...
[2025-04-08 19:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864229') end
[2025-04-08 19:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:07:04] Production.INFO: 1
[2025-04-08 19:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:07:04] Production.INFO: ==12973== Releasing lock...
[2025-04-08 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:07:05
[end_date_ymd] => 2025-04-08 19:07:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:07:05' and `end` < '2025-04-08 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-04-08 19:07:12] Production.ERROR: CronJobId end10
[2025-04-08 19:07:12] Production.INFO: ==12967== Releasing lock...
[2025-04-08 19:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:07:15] Production.INFO: call_cost start
[2025-04-08 19:07:15] Production.INFO: call_cost end
[2025-04-08 19:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:07:16] Production.INFO: ==12963== Releasing lock...
[2025-04-08 19:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:07:18] Production.INFO: count ==2958
[2025-04-08 19:07:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:07:05 - End Time 2025-04-08 19:07:05
[2025-04-08 19:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864230', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864230', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864230', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864230', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:07:19] Production.INFO: ProcessCDR(1,14864230,1,1,2)
[2025-04-08 19:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864230', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864230', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:07:23] Production.INFO: ==12971== Releasing lock...
[2025-04-08 19:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:07:23] Production.INFO: 50.25 MB #Memory Used#
[2025-04-09 00:08:02] Production.INFO: ==13031== Lock acquired, processing the job...
[2025-04-09 00:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:08:02] Production.INFO: neon service started
[2025-04-09 00:08:02] Production.INFO: neon service started
[2025-04-09 00:08:02] Production.INFO: ==13031== Releasing lock...
[2025-04-09 00:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:08:02] Production.INFO: ==13033== Lock acquired, processing the job...
[2025-04-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:08:02] Production.INFO: ==13033== Releasing lock...
[2025-04-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:08:03] Production.INFO: ==13035== Lock acquired, processing the job...
[2025-04-08 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:08:03] Production.INFO: ==13035== Releasing lock...
[2025-04-08 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:08:03] Production.INFO: ==13039== Lock acquired, processing the job...
[2025-04-08 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:08:03] Production.INFO: ==13041== Lock acquired, processing the job...
[2025-04-08 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:08:03] Production.INFO: ==13043== Lock acquired, processing the job...
[2025-04-08 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:08:03] Production.INFO: ==13037== Lock acquired, processing the job...
[2025-04-08 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:08:03] Production.INFO: Account Balance Start.
[2025-04-08 19:08:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:08:03] Production.INFO: 117
[2025-04-08 19:08:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:08:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:08:04] Production.INFO: Total Charge 0
[2025-04-08 19:08:04] Production.INFO: ==13045== Lock acquired, processing the job...
[2025-04-08 19:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:08:04] Production.INFO: CreateAllLog End
[2025-04-08 19:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:08:04] Production.INFO: ==13047== Lock acquired, processing the job...
[2025-04-08 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:08:04] Production.INFO: ==13039== Releasing lock...
[2025-04-08 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 19:08:04] Production.INFO: Account Balance End.
[2025-04-08 19:08:04] Production.INFO: count ==12
[2025-04-08 19:08:04] Production.ERROR: done
[2025-04-08 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:08:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:08:04] Production.INFO: ==13043== Releasing lock...
[2025-04-08 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 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-04-08 19:08:04] Production.INFO: count ==23
[2025-04-08 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864234') start
[2025-04-08 19:08:04] Production.ERROR: done
[2025-04-08 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864234') end
[2025-04-08 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:08:04] Production.INFO: 1
[2025-04-08 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:08:04] Production.INFO: ==13047== Releasing lock...
[2025-04-08 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:08:05
[end_date_ymd] => 2025-04-08 19:08:05
[RateCDR] => 1
)
[2025-04-08 19:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:08:05' and `end` < '2025-04-08 19:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:08:13] Production.ERROR: CronJobId end10
[2025-04-08 19:08:13] Production.INFO: ==13041== Releasing lock...
[2025-04-08 19:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:08:15] Production.INFO: call_cost start
[2025-04-08 19:08:15] Production.INFO: call_cost end
[2025-04-08 19:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:08:16] Production.INFO: ==13037== Releasing lock...
[2025-04-08 19:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:08:19] Production.INFO: count ==2947
[2025-04-08 19:08:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:08:05 - End Time 2025-04-08 19:08:05
[2025-04-08 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864235', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864235', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864235', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864235', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:08:19] Production.INFO: ProcessCDR(1,14864235,1,1,2)
[2025-04-08 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864235', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864235', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:08:24] Production.INFO: ==13045== Releasing lock...
[2025-04-08 19:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:08:24] Production.INFO: 50.25 MB #Memory Used#
[2025-04-09 00:09:01] Production.INFO: ==13181== Lock acquired, processing the job...
[2025-04-09 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:09:01] Production.INFO: neon service started
[2025-04-09 00:09:01] Production.INFO: neon service started
[2025-04-09 00:09:01] Production.INFO: ==13181== Releasing lock...
[2025-04-09 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:09:02] Production.INFO: ==13185== Lock acquired, processing the job...
[2025-04-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:09:02] Production.INFO: ==13185== Releasing lock...
[2025-04-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:09:02] Production.INFO: ==13183== Lock acquired, processing the job...
[2025-04-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:09:02] Production.INFO: ==13183== Releasing lock...
[2025-04-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:09:03] Production.INFO: ==13192== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:09:03] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:09:03] Production.INFO: ==13188== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:09:03] Production.INFO: ==13190== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:09:03] Production.INFO: count ==12
[2025-04-08 19:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:09:03] Production.INFO: ==13194== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:09:03] Production.INFO: count ==23
[2025-04-08 19:09:03] Production.INFO: ==13196== Lock acquired, processing the job...
[2025-04-08 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864236') start
[2025-04-08 19:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:09:03] Production.INFO: Account Balance Start.
[2025-04-08 19:09:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:09:03] Production.INFO: 117
[2025-04-08 19:09:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:09:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864236') end
[2025-04-08 19:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:09:04] Production.INFO: 1
[2025-04-08 19:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:09:04] Production.INFO: Total Charge 0
[2025-04-08 19:09:04] Production.INFO: CreateAllLog End
[2025-04-08 19:09:04] Production.INFO: ==13198== Releasing lock...
[2025-04-08 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:09:04] Production.ERROR: done
[2025-04-08 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:09:04] Production.INFO: ==13190== Releasing lock...
[2025-04-08 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:09:04] Production.INFO: Account Balance End.
[2025-04-08 19:09:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:09:04] Production.INFO: ==13194== Releasing lock...
[2025-04-08 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:09:04] Production.ERROR: done
[2025-04-08 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:09:05
[end_date_ymd] => 2025-04-08 19:09:05
[RateCDR] => 1
)
[2025-04-08 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:09:05' and `end` < '2025-04-08 19:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:09:13] Production.ERROR: CronJobId end10
[2025-04-08 19:09:13] Production.INFO: ==13192== Releasing lock...
[2025-04-08 19:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:09:15] Production.INFO: call_cost start
[2025-04-08 19:09:15] Production.INFO: call_cost end
[2025-04-08 19:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:09:16] Production.INFO: ==13188== Releasing lock...
[2025-04-08 19:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:09:18] Production.INFO: count ==2944
[2025-04-08 19:09:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:09:05 - End Time 2025-04-08 19:09:05
[2025-04-08 19:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864240', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864240', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864240', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864240', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:09:19] Production.INFO: ProcessCDR(1,14864240,1,1,2)
[2025-04-08 19:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864240', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864240', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:09:24] Production.INFO: ==13196== Releasing lock...
[2025-04-08 19:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:09:24] Production.INFO: 50.75 MB #Memory Used#
[2025-04-09 00:10:02] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-04-09 00:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:10:02] Production.INFO: neon service started
[2025-04-09 00:10:02] Production.INFO: neon service started
[2025-04-09 00:10:02] Production.INFO: ==13261== Releasing lock...
[2025-04-09 00:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:10:02] Production.INFO: ==13263== Lock acquired, processing the job...
[2025-04-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:10:02] Production.INFO: ==13265== Lock acquired, processing the job...
[2025-04-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:10:02] Production.INFO: ==13265== Releasing lock...
[2025-04-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:10:03] Production.INFO: ==13263== Releasing lock...
[2025-04-08 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:10:04] Production.INFO: ==13272== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:10:04] Production.INFO: ==13268== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:10:04] Production.INFO: ==13274== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:10:04] Production.ERROR: CronJob PID - 13272
[2025-04-08 19:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 19:10:04] Production.ERROR: CronJob ID - 7
[2025-04-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-04-08 19:10:00
[2025-04-08 19:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:10:04] Production.ERROR: CronJob PID - 13274
[2025-04-08 19:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 19:10:04] Production.ERROR: CronJob ID - 10
[2025-04-08 19:10:04] Production.ERROR: CronJob Last Run Time 2025-04-08 19:10:00
[2025-04-08 19:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:10:04] Production.INFO: ==13270== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:10:04] Production.INFO: ==13282== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:10:04] Production.INFO: ==13268== Releasing lock...
[2025-04-08 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:10:04] Production.INFO: ==13272== Releasing lock...
[2025-04-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:10:04] Production.INFO: ==13276== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:10:04] Production.INFO: ==13278== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:10:04] Production.INFO: count ==12
[2025-04-08 19:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:10:04] Production.INFO: ==13280== Lock acquired, processing the job...
[2025-04-08 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:10:04] Production.INFO: count ==23
[2025-04-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864243') start
[2025-04-08 19:10:04] Production.INFO: Account Balance Start.
[2025-04-08 19:10:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:10:04] Production.INFO: 117
[2025-04-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:10:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:10:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864243') end
[2025-04-08 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:10:04] Production.INFO: 1
[2025-04-08 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:10:04] Production.INFO: Total Charge 0
[2025-04-08 19:10:04] Production.INFO: CreateAllLog End
[2025-04-08 19:10:04] Production.INFO: ==13282== Releasing lock...
[2025-04-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:10:05] Production.ERROR: done
[2025-04-08 19:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:10:05] Production.ERROR: done
[2025-04-08 19:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864245', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:10:05] Production.ERROR: done
[2025-04-08 19:10:05] Production.INFO: Account Balance End.
[2025-04-08 19:10:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:10:05] Production.INFO: ==13276== Releasing lock...
[2025-04-08 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:10:06
[end_date_ymd] => 2025-04-08 19:10:06
[RateCDR] => 1
)
[2025-04-08 19:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:10:06' and `end` < '2025-04-08 19:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864245', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:10:09] Production.INFO: ProcessCDR(1,14864245,1,1,2)
[2025-04-08 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:10:09] Production.INFO: ==13280== Releasing lock...
[2025-04-08 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:10:15] Production.ERROR: CronJobId end10
[2025-04-08 19:10:15] Production.INFO: ==13274== Releasing lock...
[2025-04-08 19:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:10:17] Production.INFO: call_cost start
[2025-04-08 19:10:17] Production.INFO: call_cost end
[2025-04-08 19:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:10:18] Production.INFO: ==13270== Releasing lock...
[2025-04-08 19:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:10:20] Production.INFO: count ==2926
[2025-04-08 19:10:21] Production.ERROR: pbx CDR StartTime 2025-04-08 16:10:06 - End Time 2025-04-08 19:10:06
[2025-04-08 19:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864246', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864246', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864246', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864246', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:10:21] Production.INFO: ProcessCDR(1,14864246,1,1,2)
[2025-04-08 19:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864246', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864246', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:10:24] Production.INFO: ==13278== Releasing lock...
[2025-04-08 19:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:10:24] Production.INFO: 50 MB #Memory Used#
[2025-04-09 00:11:01] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-04-09 00:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:11:01] Production.INFO: neon service started
[2025-04-09 00:11:01] Production.INFO: neon service started
[2025-04-09 00:11:01] Production.INFO: ==13379== Releasing lock...
[2025-04-09 00:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:11:01] Production.INFO: ==13381== Lock acquired, processing the job...
[2025-04-08 19:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:11:02] Production.INFO: ==13381== Releasing lock...
[2025-04-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:11:02] Production.INFO: ==13383== Lock acquired, processing the job...
[2025-04-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:11:02] Production.INFO: ==13383== Releasing lock...
[2025-04-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:11:03] Production.INFO: ==13385== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:11:03] Production.INFO: ==13388== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:11:03] Production.INFO: ==13392== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:11:03] Production.INFO: ==13390== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:11:03] Production.INFO: ==13394== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:11:03] Production.INFO: ==13396== Lock acquired, processing the job...
[2025-04-08 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:11:03] Production.INFO: Account Balance Start.
[2025-04-08 19:11:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:11:03] Production.INFO: 117
[2025-04-08 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:11:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:11:03] Production.INFO: Reseller ==> 0
[2025-04-08 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-04-08 19:11:03] Production.INFO: Total Charge 0
[2025-04-08 19:11:03] Production.INFO: count ==12
[2025-04-08 19:11:03] Production.ERROR: done
[2025-04-08 19:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:11:03] Production.INFO: ==13388== Releasing lock...
[2025-04-08 19: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-04-08 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:11:03] Production.INFO: CreateAllLog End
[2025-04-08 19:11:03] Production.INFO: count ==23
[2025-04-08 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864250') start
[2025-04-08 19:11:03] Production.ERROR: done
[2025-04-08 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864250') end
[2025-04-08 19:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:11:03] Production.INFO: 1
[2025-04-08 19:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:11:03] Production.INFO: ==13396== Releasing lock...
[2025-04-08 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:11:03] Production.INFO: Account Balance End.
[2025-04-08 19:11:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:11:03] Production.INFO: ==13392== Releasing lock...
[2025-04-08 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:11:04
[end_date_ymd] => 2025-04-08 19:11:04
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:11:04' and `end` < '2025-04-08 19: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-04-08 19:11:12] Production.ERROR: CronJobId end10
[2025-04-08 19:11:12] Production.INFO: ==13390== Releasing lock...
[2025-04-08 19:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:11:14] Production.INFO: call_cost start
[2025-04-08 19:11:14] Production.INFO: call_cost end
[2025-04-08 19:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:11:15] Production.INFO: ==13385== Releasing lock...
[2025-04-08 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:11:18] Production.INFO: count ==2854
[2025-04-08 19:11:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:11:04 - End Time 2025-04-08 19:11:04
[2025-04-08 19:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864251', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864251', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864251', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864251', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:11:19] Production.INFO: ProcessCDR(1,14864251,1,1,2)
[2025-04-08 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864251', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864251', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:11:22] Production.INFO: ==13394== Releasing lock...
[2025-04-08 19:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:11:22] Production.INFO: 49.5 MB #Memory Used#
[2025-04-09 00:12:01] Production.INFO: ==13528== Lock acquired, processing the job...
[2025-04-09 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:12:02] Production.INFO: neon service started
[2025-04-09 00:12:02] Production.INFO: neon service started
[2025-04-09 00:12:02] Production.INFO: ==13528== Releasing lock...
[2025-04-09 00:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:12:02] Production.INFO: ==13530== Lock acquired, processing the job...
[2025-04-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:12:02] Production.INFO: ==13530== Releasing lock...
[2025-04-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:12:02] Production.INFO: ==13532== Lock acquired, processing the job...
[2025-04-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:12:02] Production.INFO: ==13532== Releasing lock...
[2025-04-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:12:03] Production.INFO: ==13539== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:12:03] Production.INFO: ==13543== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:12:03] Production.INFO: ==13535== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:12:03] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:12:03] Production.INFO: ==13545== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:12:03] Production.INFO: ==13541== Lock acquired, processing the job...
[2025-04-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19: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-04-08 19:12:04] Production.INFO: count ==12
[2025-04-08 19:12:04] Production.INFO: Account Balance Start.
[2025-04-08 19:12:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:12:04] Production.INFO: 117
[2025-04-08 19: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-04-08 19:12:04] Production.INFO: count ==23
[2025-04-08 19:12:04] Production.ERROR: done
[2025-04-08 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864254') start
[2025-04-08 19:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:12:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:12:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864254') end
[2025-04-08 19:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:12:04] Production.INFO: 1
[2025-04-08 19:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:12:04] Production.INFO: ==13537== Releasing lock...
[2025-04-08 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:12:04] Production.INFO: Total Charge 0
[2025-04-08 19:12:04] Production.ERROR: done
[2025-04-08 19:12:04] Production.INFO: ==13545== Releasing lock...
[2025-04-08 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:12:04] Production.INFO: CreateAllLog End
[2025-04-08 19:12:04] Production.INFO: Account Balance End.
[2025-04-08 19:12:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:12:04] Production.INFO: ==13541== Releasing lock...
[2025-04-08 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:12:05
[end_date_ymd] => 2025-04-08 19:12:05
[RateCDR] => 1
)
[2025-04-08 19:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:12:05' and `end` < '2025-04-08 19:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:12:13] Production.ERROR: CronJobId end10
[2025-04-08 19:12:13] Production.INFO: ==13539== Releasing lock...
[2025-04-08 19:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:12:15] Production.INFO: call_cost start
[2025-04-08 19:12:15] Production.INFO: call_cost end
[2025-04-08 19:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:12:16] Production.INFO: ==13535== Releasing lock...
[2025-04-08 19:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:12:18] Production.INFO: count ==2839
[2025-04-08 19:12:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:12:05 - End Time 2025-04-08 19:12:05
[2025-04-08 19:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864256', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864256', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864256', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864256', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:12:19] Production.INFO: ProcessCDR(1,14864256,1,1,2)
[2025-04-08 19:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864256', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864256', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:12:24] Production.INFO: ==13543== Releasing lock...
[2025-04-08 19:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:12:24] Production.INFO: 49.5 MB #Memory Used#
[2025-04-09 00:13:01] Production.INFO: ==13600== Lock acquired, processing the job...
[2025-04-09 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:13:01] Production.INFO: neon service started
[2025-04-09 00:13:01] Production.INFO: neon service started
[2025-04-09 00:13:01] Production.INFO: ==13600== Releasing lock...
[2025-04-09 00:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:13:01] Production.INFO: ==13602== Lock acquired, processing the job...
[2025-04-08 19:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:13:02] Production.INFO: ==13602== Releasing lock...
[2025-04-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:13:02] Production.INFO: ==13604== Lock acquired, processing the job...
[2025-04-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:13:02] Production.INFO: ==13604== Releasing lock...
[2025-04-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:13:03] Production.INFO: ==13606== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:13:03] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:13:03] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:13:03] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:13:03] Production.INFO: ==13616== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:13:03] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-04-08 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:13:03] Production.INFO: Account Balance Start.
[2025-04-08 19:13:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:13:03] Production.INFO: 117
[2025-04-08 19:13:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:13:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:13:03] Production.INFO: count ==12
[2025-04-08 19:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:13:03] Production.INFO: Total Charge 0
[2025-04-08 19:13:03] Production.INFO: count ==23
[2025-04-08 19:13:03] Production.INFO: CreateAllLog End
[2025-04-08 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864260') start
[2025-04-08 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864260') end
[2025-04-08 19:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:13:03] Production.INFO: 1
[2025-04-08 19:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:13:03] Production.INFO: ==13608== Releasing lock...
[2025-04-08 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:13:04] Production.INFO: ==13616== Releasing lock...
[2025-04-08 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:13:04] Production.ERROR: done
[2025-04-08 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:13:04] Production.INFO: Account Balance End.
[2025-04-08 19:13:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:13:04] Production.INFO: ==13612== Releasing lock...
[2025-04-08 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:13:04] Production.ERROR: done
[2025-04-08 19:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:13:05
[end_date_ymd] => 2025-04-08 19:13:05
[RateCDR] => 1
)
[2025-04-08 19:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:13:05' and `end` < '2025-04-08 19:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:13:13] Production.ERROR: CronJobId end10
[2025-04-08 19:13:13] Production.INFO: ==13610== Releasing lock...
[2025-04-08 19:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:13:14] Production.INFO: call_cost start
[2025-04-08 19:13:14] Production.INFO: call_cost end
[2025-04-08 19:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:13:15] Production.INFO: ==13606== Releasing lock...
[2025-04-08 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:13:18] Production.INFO: count ==2833
[2025-04-08 19:13:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:13:05 - End Time 2025-04-08 19:13:05
[2025-04-08 19:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864261', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864261', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864261', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864261', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:13:19] Production.INFO: ProcessCDR(1,14864261,1,1,2)
[2025-04-08 19:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864261', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864261', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:13:23] Production.INFO: ==13614== Releasing lock...
[2025-04-08 19:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:13:23] Production.INFO: 49.75 MB #Memory Used#
[2025-04-09 00:14:01] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-04-09 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:14:01] Production.INFO: neon service started
[2025-04-09 00:14:02] Production.INFO: neon service started
[2025-04-09 00:14:02] Production.INFO: ==13677== Releasing lock...
[2025-04-09 00:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:14:02] Production.INFO: ==13679== Lock acquired, processing the job...
[2025-04-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:14:02] Production.INFO: ==13679== Releasing lock...
[2025-04-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:14:02] Production.INFO: ==13681== Lock acquired, processing the job...
[2025-04-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:14:02] Production.INFO: ==13681== Releasing lock...
[2025-04-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:14:03] Production.INFO: ==13693== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:14:03] Production.INFO: ==13687== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:14:03] Production.INFO: ==13683== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:14:03] Production.INFO: count ==12
[2025-04-08 19:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:14:03] Production.INFO: ==13685== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:14:03] Production.INFO: count ==23
[2025-04-08 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864262') start
[2025-04-08 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:14:03] Production.INFO: ==13689== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864262') end
[2025-04-08 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:14:03] Production.INFO: 1
[2025-04-08 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:14:03] Production.INFO: ==13691== Lock acquired, processing the job...
[2025-04-08 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:14:03] Production.INFO: ==13693== Releasing lock...
[2025-04-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:14:03] Production.INFO: Account Balance Start.
[2025-04-08 19:14:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:14:03] Production.INFO: 117
[2025-04-08 19:14:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:14:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:14:04] Production.INFO: Total Charge 0
[2025-04-08 19:14:04] Production.INFO: CreateAllLog End
[2025-04-08 19:14:04] Production.INFO: ==13685== Releasing lock...
[2025-04-08 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:14:04] Production.ERROR: done
[2025-04-08 19:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:14:04] Production.ERROR: done
[2025-04-08 19:14:04] Production.INFO: Account Balance End.
[2025-04-08 19:14:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:14:04] Production.INFO: ==13689== Releasing lock...
[2025-04-08 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:14:05
[end_date_ymd] => 2025-04-08 19:14:05
[RateCDR] => 1
)
[2025-04-08 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:14:05' and `end` < '2025-04-08 19:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:14:12] Production.ERROR: CronJobId end10
[2025-04-08 19:14:12] Production.INFO: ==13687== Releasing lock...
[2025-04-08 19:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:14:14] Production.INFO: call_cost start
[2025-04-08 19:14:14] Production.INFO: call_cost end
[2025-04-08 19:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:14:15] Production.INFO: ==13683== Releasing lock...
[2025-04-08 19:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:14:18] Production.INFO: count ==2821
[2025-04-08 19:14:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:14:05 - End Time 2025-04-08 19:14:05
[2025-04-08 19:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864266', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864266', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864266', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864266', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:14:19] Production.INFO: ProcessCDR(1,14864266,1,1,2)
[2025-04-08 19:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864266', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864266', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:14:24] Production.INFO: ==13691== Releasing lock...
[2025-04-08 19:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:14:24] Production.INFO: 49 MB #Memory Used#
[2025-04-09 00:15:01] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-04-09 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:15:01] Production.INFO: neon service started
[2025-04-09 00:15:01] Production.INFO: neon service started
[2025-04-09 00:15:01] Production.INFO: ==13790== Releasing lock...
[2025-04-09 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:15:01] Production.INFO: ==13792== Lock acquired, processing the job...
[2025-04-08 19:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:15:02] Production.INFO: ==13792== Releasing lock...
[2025-04-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:15:02] Production.INFO: ==13794== Lock acquired, processing the job...
[2025-04-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:15:02] Production.INFO: ==13794== Releasing lock...
[2025-04-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:15:03] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:15:03] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:15:03] Production.INFO: ==13796== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 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-04-08 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:15:03] Production.INFO: ==13798== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:15:03] Production.INFO: Account Balance Start.
[2025-04-08 19:15:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:15:03] Production.INFO: 117
[2025-04-08 19:15:03] Production.INFO: count ==12
[2025-04-08 19:15:03] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 19:15:03] Production.INFO: count ==23
[2025-04-08 19:15:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864267') start
[2025-04-08 19:15:03] Production.INFO: Total Charge 0
[2025-04-08 19:15:03] Production.INFO: CreateAllLog End
[2025-04-08 19:15:03] Production.INFO: ==13800== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:15:03] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-04-08 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864267') end
[2025-04-08 19:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:15:03] Production.INFO: 1
[2025-04-08 19:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:15:03] Production.INFO: ==13806== Releasing lock...
[2025-04-08 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:15:03] Production.INFO: ==13798== Releasing lock...
[2025-04-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:15:03] Production.INFO: Account Balance End.
[2025-04-08 19:15:03] Production.ERROR: done
[2025-04-08 19:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:15:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:15:04] Production.INFO: ==13802== Releasing lock...
[2025-04-08 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:15:04] Production.ERROR: done
[2025-04-08 19:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:15:05
[end_date_ymd] => 2025-04-08 19:15:05
[RateCDR] => 1
)
[2025-04-08 19:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:15:05' and `end` < '2025-04-08 19:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:15:12] Production.ERROR: CronJobId end10
[2025-04-08 19:15:12] Production.INFO: ==13800== Releasing lock...
[2025-04-08 19:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:15:14] Production.INFO: call_cost start
[2025-04-08 19:15:14] Production.INFO: call_cost end
[2025-04-08 19:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:15:15] Production.INFO: ==13796== Releasing lock...
[2025-04-08 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:15:18] Production.INFO: count ==2809
[2025-04-08 19:15:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:15:05 - End Time 2025-04-08 19:15:05
[2025-04-08 19:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864271', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864271', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864271', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864271', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:15:19] Production.INFO: ProcessCDR(1,14864271,1,1,2)
[2025-04-08 19:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864271', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864271', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:15:22] Production.INFO: ==13804== Releasing lock...
[2025-04-08 19:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:15:22] Production.INFO: 49.25 MB #Memory Used#
[2025-04-09 00:16:01] Production.INFO: ==13900== Lock acquired, processing the job...
[2025-04-09 00:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:16:01] Production.INFO: neon service started
[2025-04-09 00:16:01] Production.INFO: neon service started
[2025-04-09 00:16:01] Production.INFO: ==13900== Releasing lock...
[2025-04-09 00:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:16:02] Production.INFO: ==13902== Lock acquired, processing the job...
[2025-04-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:16:02] Production.INFO: ==13902== Releasing lock...
[2025-04-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:16:02] Production.INFO: ==13904== Lock acquired, processing the job...
[2025-04-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:16:02] Production.INFO: ==13904== Releasing lock...
[2025-04-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:16:03] Production.INFO: ==13908== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:16:03] Production.INFO: ==13910== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:16:03] Production.INFO: ==13906== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:16:03] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:16:03] Production.INFO: ==13915== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:16:03] Production.INFO: ==13917== Lock acquired, processing the job...
[2025-04-08 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:16:03] Production.INFO: Account Balance Start.
[2025-04-08 19:16:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:16:03] Production.INFO: 117
[2025-04-08 19:16:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:16:03] Production.INFO: Reseller ==> 0
[2025-04-08 19: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-04-08 19:16:03] Production.INFO: ==13908== Releasing lock...
[2025-04-08 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:16:03] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:16:03] Production.INFO: count ==23
[2025-04-08 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864275') start
[2025-04-08 19:16:03] Production.INFO: Total Charge 0
[2025-04-08 19:16:03] Production.INFO: CreateAllLog End
[2025-04-08 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864275') end
[2025-04-08 19:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:16:04] Production.INFO: 1
[2025-04-08 19:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:16:04] Production.INFO: ==13917== Releasing lock...
[2025-04-08 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:16:04] Production.INFO: Account Balance End.
[2025-04-08 19:16:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:16:04] Production.INFO: ==13912== Releasing lock...
[2025-04-08 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:16:04] Production.ERROR: done
[2025-04-08 19:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:16:04] Production.ERROR: done
[2025-04-08 19:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:16:05
[end_date_ymd] => 2025-04-08 19:16:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:16:05' and `end` < '2025-04-08 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-04-08 19:16:12] Production.ERROR: CronJobId end10
[2025-04-08 19:16:12] Production.INFO: ==13910== Releasing lock...
[2025-04-08 19:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:16:14] Production.INFO: call_cost start
[2025-04-08 19:16:14] Production.INFO: call_cost end
[2025-04-08 19:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:16:15] Production.INFO: ==13906== Releasing lock...
[2025-04-08 19:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:16:18] Production.INFO: count ==2805
[2025-04-08 19:16:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:16:05 - End Time 2025-04-08 19:16:05
[2025-04-08 19:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864276', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864276', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864276', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864276', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:16:19] Production.INFO: ProcessCDR(1,14864276,1,1,2)
[2025-04-08 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864276', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864276', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:16:24] Production.INFO: ==13915== Releasing lock...
[2025-04-08 19:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:16:24] Production.INFO: 49.5 MB #Memory Used#
[2025-04-09 00:17:02] Production.INFO: ==13973== Lock acquired, processing the job...
[2025-04-09 00:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:17:02] Production.INFO: neon service started
[2025-04-09 00:17:02] Production.INFO: neon service started
[2025-04-09 00:17:02] Production.INFO: ==13973== Releasing lock...
[2025-04-09 00:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:17:02] Production.INFO: ==13977== Lock acquired, processing the job...
[2025-04-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:17:02] Production.INFO: ==13977== Releasing lock...
[2025-04-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:17:02] Production.INFO: ==13975== Lock acquired, processing the job...
[2025-04-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:17:03] Production.INFO: ==13975== Releasing lock...
[2025-04-08 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:17:03] Production.INFO: ==13980== Lock acquired, processing the job...
[2025-04-08 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:17:04] Production.INFO: ==13986== Lock acquired, processing the job...
[2025-04-08 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:17:04] Production.INFO: ==13988== Lock acquired, processing the job...
[2025-04-08 19:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:17:04] Production.INFO: Account Balance Start.
[2025-04-08 19:17:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:17:04] Production.INFO: 117
[2025-04-08 19:17:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:17:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:17:04] Production.INFO: Total Charge 0
[2025-04-08 19:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:17:04] Production.INFO: CreateAllLog End
[2025-04-08 19:17:04] Production.INFO: ==13982== Lock acquired, processing the job...
[2025-04-08 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:17:04] Production.INFO: ==13984== Lock acquired, processing the job...
[2025-04-08 19:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:17:04] Production.INFO: ==13990== Lock acquired, processing the job...
[2025-04-08 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:17:04] Production.ERROR: done
[2025-04-08 19:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:17:04] Production.INFO: Account Balance End.
[2025-04-08 19:17:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:17:04] Production.INFO: ==13986== Releasing lock...
[2025-04-08 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:17:04] Production.INFO: count ==12
[2025-04-08 19:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:17:04] Production.INFO: count ==23
[2025-04-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864280') start
[2025-04-08 19:17:04] Production.INFO: ==13982== Releasing lock...
[2025-04-08 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:17:04] Production.ERROR: done
[2025-04-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864280') end
[2025-04-08 19:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:17:04] Production.INFO: 1
[2025-04-08 19:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:17:04] Production.INFO: ==13990== Releasing lock...
[2025-04-08 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:17:05
[end_date_ymd] => 2025-04-08 19:17:05
[RateCDR] => 1
)
[2025-04-08 19:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:17:05' and `end` < '2025-04-08 19:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:17:13] Production.ERROR: CronJobId end10
[2025-04-08 19:17:13] Production.INFO: ==13984== Releasing lock...
[2025-04-08 19:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:17:14] Production.INFO: call_cost start
[2025-04-08 19:17:14] Production.INFO: call_cost end
[2025-04-08 19:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:17:15] Production.INFO: ==13980== Releasing lock...
[2025-04-08 19:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:17:19] Production.INFO: count ==2806
[2025-04-08 19:17:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:17:05 - End Time 2025-04-08 19:17:05
[2025-04-08 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864281', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864281', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864281', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864281', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:17:19] Production.INFO: ProcessCDR(1,14864281,1,1,2)
[2025-04-08 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864281', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864281', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:17:23] Production.INFO: ==13988== Releasing lock...
[2025-04-08 19:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:17:23] Production.INFO: 49.25 MB #Memory Used#
[2025-04-09 00:18:01] Production.INFO: ==14048== Lock acquired, processing the job...
[2025-04-09 00:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:18:01] Production.INFO: neon service started
[2025-04-09 00:18:01] Production.INFO: neon service started
[2025-04-09 00:18:01] Production.INFO: ==14048== Releasing lock...
[2025-04-09 00:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:18:02] Production.INFO: ==14053== Lock acquired, processing the job...
[2025-04-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:18:02] Production.INFO: ==14053== Releasing lock...
[2025-04-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:18:02] Production.INFO: ==14055== Lock acquired, processing the job...
[2025-04-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:18:02] Production.INFO: ==14055== Releasing lock...
[2025-04-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:18:03] Production.INFO: ==14057== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:18:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:18:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:18:03] Production.INFO: ==14059== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 19:18:03] Production.INFO: ==14061== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:18:03] Production.INFO: ==14063== Lock acquired, processing the job...
[2025-04-08 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:18:03] Production.INFO: count ==12
[2025-04-08 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-04-08 19:18:04] Production.INFO: count ==23
[2025-04-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864283') start
[2025-04-08 19:18:04] Production.INFO: Account Balance Start.
[2025-04-08 19:18:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:18:04] Production.INFO: 117
[2025-04-08 19:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:18:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:18:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864283') end
[2025-04-08 19:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:18:04] Production.INFO: 1
[2025-04-08 19:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:18:04] Production.INFO: ==14059== Releasing lock...
[2025-04-08 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:18:04] Production.INFO: ==14067== Releasing lock...
[2025-04-08 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:18:04] Production.INFO: Total Charge 0
[2025-04-08 19:18:04] Production.ERROR: done
[2025-04-08 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:18:04] Production.INFO: CreateAllLog End
[2025-04-08 19:18:04] Production.ERROR: done
[2025-04-08 19:18:04] Production.INFO: Account Balance End.
[2025-04-08 19:18:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:18:04] Production.INFO: ==14063== Releasing lock...
[2025-04-08 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:18:05
[end_date_ymd] => 2025-04-08 19:18:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:18:05' and `end` < '2025-04-08 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-04-08 19:18:13] Production.ERROR: CronJobId end10
[2025-04-08 19:18:13] Production.INFO: ==14061== Releasing lock...
[2025-04-08 19:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:18:15] Production.INFO: call_cost start
[2025-04-08 19:18:15] Production.INFO: call_cost end
[2025-04-08 19:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:18:16] Production.INFO: ==14057== Releasing lock...
[2025-04-08 19:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:18:19] Production.INFO: count ==2794
[2025-04-08 19:18:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:18:05 - End Time 2025-04-08 19:18:05
[2025-04-08 19:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864286', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864286', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864286', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864286', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:18:19] Production.INFO: ProcessCDR(1,14864286,1,1,2)
[2025-04-08 19:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864286', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864286', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:18:24] Production.INFO: ==14065== Releasing lock...
[2025-04-08 19:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:18:24] Production.INFO: 49 MB #Memory Used#
[2025-04-09 00:19:02] Production.INFO: ==14123== Lock acquired, processing the job...
[2025-04-09 00:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:19:02] Production.INFO: neon service started
[2025-04-09 00:19:02] Production.INFO: neon service started
[2025-04-09 00:19:02] Production.INFO: ==14123== Releasing lock...
[2025-04-09 00:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:19:02] Production.INFO: ==14128== Lock acquired, processing the job...
[2025-04-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:19:02] Production.INFO: ==14128== Releasing lock...
[2025-04-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:19:02] Production.INFO: ==14126== Lock acquired, processing the job...
[2025-04-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:19:03] Production.INFO: ==14126== Releasing lock...
[2025-04-08 19:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:19:03] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-04-08 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:19:03] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-04-08 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:19:04] Production.INFO: ==14140== Lock acquired, processing the job...
[2025-04-08 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:19:04] Production.INFO: Account Balance Start.
[2025-04-08 19:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:19:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:19:04] Production.INFO: ==14132== Lock acquired, processing the job...
[2025-04-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:19:04] Production.INFO: 117
[2025-04-08 19:19:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:19:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:19:04] Production.INFO: Total Charge 0
[2025-04-08 19:19:04] Production.INFO: CreateAllLog End
[2025-04-08 19:19:04] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-04-08 19:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:19:04] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-04-08 19:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19: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-04-08 19:19:04] Production.INFO: Account Balance End.
[2025-04-08 19:19:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:19:04] Production.INFO: ==14136== Releasing lock...
[2025-04-08 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:19:04] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:19:04] Production.INFO: count ==23
[2025-04-08 19:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864289') start
[2025-04-08 19:19:04] Production.INFO: ==14132== Releasing lock...
[2025-04-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864289') end
[2025-04-08 19:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:19:04] Production.INFO: 1
[2025-04-08 19:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:19:04] Production.ERROR: done
[2025-04-08 19:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:19:04] Production.INFO: ==14140== Releasing lock...
[2025-04-08 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:19:04] Production.ERROR: done
[2025-04-08 19:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:19:05
[end_date_ymd] => 2025-04-08 19:19:05
[RateCDR] => 1
)
[2025-04-08 19:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:19:05' and `end` < '2025-04-08 19:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:19:13] Production.ERROR: CronJobId end10
[2025-04-08 19:19:13] Production.INFO: ==14134== Releasing lock...
[2025-04-08 19:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:19:14] Production.INFO: call_cost start
[2025-04-08 19:19:14] Production.INFO: call_cost end
[2025-04-08 19:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:19:15] Production.INFO: ==14130== Releasing lock...
[2025-04-08 19:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:19:19] Production.INFO: count ==2788
[2025-04-08 19:19:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:19:05 - End Time 2025-04-08 19:19:05
[2025-04-08 19:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864291', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864291', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864291', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864291', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:19:19] Production.INFO: ProcessCDR(1,14864291,1,1,2)
[2025-04-08 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864291', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864291', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:19:23] Production.INFO: ==14138== Releasing lock...
[2025-04-08 19:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:19:23] Production.INFO: 49 MB #Memory Used#
[2025-04-09 00:20:01] Production.INFO: ==14196== Lock acquired, processing the job...
[2025-04-09 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:20:01] Production.INFO: neon service started
[2025-04-09 00:20:01] Production.INFO: neon service started
[2025-04-09 00:20:01] Production.INFO: ==14196== Releasing lock...
[2025-04-09 00:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:20:02] Production.INFO: ==14198== Lock acquired, processing the job...
[2025-04-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:20:02] Production.INFO: ==14200== Lock acquired, processing the job...
[2025-04-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:20:02] Production.INFO: ==14200== Releasing lock...
[2025-04-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:20:02] Production.INFO: ==14198== Releasing lock...
[2025-04-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:20:03] Production.INFO: ==14209== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:20:03] Production.INFO: ==14211== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:20:03] Production.INFO: ==14205== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:20:03] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:20:03] Production.INFO: ==14207== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:20:03] Production.ERROR: CronJob PID - 14205
[2025-04-08 19:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 19:20:03] Production.ERROR: CronJob ID - 5
[2025-04-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-04-08 19:20:00
[2025-04-08 19:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:20:03] Production.ERROR: CronJob PID - 14209
[2025-04-08 19:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 19:20:03] Production.ERROR: CronJob ID - 10
[2025-04-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-04-08 19:20:00
[2025-04-08 19:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:20:03] Production.ERROR: CronJob PID - 14211
[2025-04-08 19:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 19:20:03] Production.ERROR: CronJob ID - 12
[2025-04-08 19:20:03] Production.ERROR: CronJob Last Run Time 2025-04-08 19:20:00
[2025-04-08 19:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:20:03] Production.INFO: ==14215== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:20:03] Production.INFO: ==14203== Releasing lock...
[2025-04-08 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:20:03] Production.INFO: Account Balance Start.
[2025-04-08 19:20:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:20:03] Production.INFO: 117
[2025-04-08 19:20:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:20:03] Production.INFO: ==14213== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:20:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:20:03] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-04-08 19:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:20:04] Production.INFO: Total Charge 0
[2025-04-08 19:20:04] Production.INFO: CreateAllLog End
[2025-04-08 19:20:04] Production.INFO: ==14207== Releasing lock...
[2025-04-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:20:04] Production.ERROR: done
[2025-04-08 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:20:04] Production.INFO: count ==12
[2025-04-08 19:20:04] Production.ERROR: done
[2025-04-08 19:20:04] Production.INFO: Account Balance End.
[2025-04-08 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:20:04] Production.INFO: count ==23
[2025-04-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864295') start
[2025-04-08 19:20:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:20:04] Production.INFO: ==14211== Releasing lock...
[2025-04-08 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864295') end
[2025-04-08 19:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:20:04] Production.INFO: 1
[2025-04-08 19:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:20:04] Production.ERROR: done
[2025-04-08 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864296', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:20:04] Production.INFO: ==14217== Releasing lock...
[2025-04-08 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:20:05
[end_date_ymd] => 2025-04-08 19:20:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:20:05' and `end` < '2025-04-08 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-04-08 19:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864296', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:20:08] Production.INFO: ProcessCDR(1,14864296,1,1,2)
[2025-04-08 19:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:20:08] Production.INFO: ==14215== Releasing lock...
[2025-04-08 19:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:20:13] Production.ERROR: CronJobId end10
[2025-04-08 19:20:13] Production.INFO: ==14209== Releasing lock...
[2025-04-08 19:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:20:15] Production.INFO: call_cost start
[2025-04-08 19:20:15] Production.INFO: call_cost end
[2025-04-08 19:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:20:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:20:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:20:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:20:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:20:16] Production.INFO: ==14205== Releasing lock...
[2025-04-08 19:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:20:19] Production.INFO: count ==2773
[2025-04-08 19:20:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:20:05 - End Time 2025-04-08 19:20:05
[2025-04-08 19:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864297', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864297', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864297', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864297', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:20:19] Production.INFO: ProcessCDR(1,14864297,1,1,2)
[2025-04-08 19:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864297', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864297', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:20:23] Production.INFO: ==14213== Releasing lock...
[2025-04-08 19:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:20:23] Production.INFO: 49 MB #Memory Used#
[2025-04-09 00:21:02] Production.INFO: ==14270== Lock acquired, processing the job...
[2025-04-09 00:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:21:02] Production.INFO: neon service started
[2025-04-09 00:21:02] Production.INFO: neon service started
[2025-04-09 00:21:02] Production.INFO: ==14270== Releasing lock...
[2025-04-09 00:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:21:02] Production.INFO: ==14274== Lock acquired, processing the job...
[2025-04-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:21:02] Production.INFO: ==14274== Releasing lock...
[2025-04-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:21:02] Production.INFO: ==14272== Lock acquired, processing the job...
[2025-04-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:21:03] Production.INFO: ==14272== Releasing lock...
[2025-04-08 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:21:03] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-04-08 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:21:03] Production.INFO: ==14285== Lock acquired, processing the job...
[2025-04-08 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:21:04] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-04-08 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:21:04] Production.INFO: ==14281== Lock acquired, processing the job...
[2025-04-08 19:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:21:04] Production.INFO: ==14283== Lock acquired, processing the job...
[2025-04-08 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:21:04] Production.INFO: ==14287== Lock acquired, processing the job...
[2025-04-08 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:21:04] Production.INFO: Account Balance Start.
[2025-04-08 19:21:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:21:04] Production.INFO: 117
[2025-04-08 19:21:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:21:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:21:04] Production.INFO: Total Charge 0
[2025-04-08 19:21:04] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 19:21:04] Production.INFO: count ==12
[2025-04-08 19:21:04] Production.ERROR: done
[2025-04-08 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 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-04-08 19:21:04] Production.INFO: count ==23
[2025-04-08 19:21:04] Production.INFO: ==14279== Releasing lock...
[2025-04-08 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864301') start
[2025-04-08 19:21:04] Production.ERROR: done
[2025-04-08 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864301') end
[2025-04-08 19:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:21:04] Production.INFO: 1
[2025-04-08 19:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:21:04] Production.INFO: Account Balance End.
[2025-04-08 19:21:04] Production.INFO: ==14287== Releasing lock...
[2025-04-08 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:21:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:21:04] Production.INFO: ==14283== Releasing lock...
[2025-04-08 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:21:05
[end_date_ymd] => 2025-04-08 19:21:05
[RateCDR] => 1
)
[2025-04-08 19:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:21:05' and `end` < '2025-04-08 19:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:21:13] Production.ERROR: CronJobId end10
[2025-04-08 19:21:13] Production.INFO: ==14281== Releasing lock...
[2025-04-08 19:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:21:15] Production.INFO: call_cost start
[2025-04-08 19:21:15] Production.INFO: call_cost end
[2025-04-08 19:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:21:16] Production.INFO: ==14277== Releasing lock...
[2025-04-08 19:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:21:19] Production.INFO: count ==2708
[2025-04-08 19:21:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:21:05 - End Time 2025-04-08 19:21:05
[2025-04-08 19:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864302', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864302', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864302', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864302', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:21:19] Production.INFO: ProcessCDR(1,14864302,1,1,2)
[2025-04-08 19:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864302', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864302', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:21:23] Production.INFO: ==14285== Releasing lock...
[2025-04-08 19:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:21:23] Production.INFO: 48.5 MB #Memory Used#
[2025-04-09 00:22:01] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-04-09 00:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:22:01] Production.INFO: neon service started
[2025-04-09 00:22:01] Production.INFO: neon service started
[2025-04-09 00:22:01] Production.INFO: ==14344== Releasing lock...
[2025-04-09 00:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:22:01] Production.INFO: ==14348== Lock acquired, processing the job...
[2025-04-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:22:02] Production.INFO: ==14348== Releasing lock...
[2025-04-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:22:02] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-04-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:22:02] Production.INFO: ==14346== Releasing lock...
[2025-04-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:22:03] Production.INFO: ==14355== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:22:03] Production.INFO: ==14357== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:22:03] Production.INFO: Account Balance Start.
[2025-04-08 19:22:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:22:03] Production.INFO: 117
[2025-04-08 19:22:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:22:03] Production.INFO: ==14351== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:22:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:22:03] Production.INFO: Total Charge 0
[2025-04-08 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:22:03] Production.INFO: CreateAllLog End
[2025-04-08 19:22:03] Production.INFO: ==14353== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:22:03] Production.INFO: Account Balance End.
[2025-04-08 19:22:03] Production.INFO: ==14359== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:22:03] Production.INFO: ==14361== Lock acquired, processing the job...
[2025-04-08 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:22:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:22:03] Production.INFO: ==14357== Releasing lock...
[2025-04-08 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:22:04] Production.INFO: ==14353== Releasing lock...
[2025-04-08 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:22:04] Production.ERROR: done
[2025-04-08 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:22:04] Production.INFO: count ==12
[2025-04-08 19:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:22:04] Production.INFO: count ==23
[2025-04-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864306') start
[2025-04-08 19:22:04] Production.ERROR: done
[2025-04-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864306') end
[2025-04-08 19:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:22:04] Production.INFO: 1
[2025-04-08 19:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:22:04] Production.INFO: ==14361== Releasing lock...
[2025-04-08 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:22:05
[end_date_ymd] => 2025-04-08 19:22:05
[RateCDR] => 1
)
[2025-04-08 19:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:22:05' and `end` < '2025-04-08 19:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:22:13] Production.ERROR: CronJobId end10
[2025-04-08 19:22:13] Production.INFO: ==14355== Releasing lock...
[2025-04-08 19:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:22:15] Production.INFO: call_cost start
[2025-04-08 19:22:15] Production.INFO: call_cost end
[2025-04-08 19:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:22:16] Production.INFO: ==14351== Releasing lock...
[2025-04-08 19:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:22:18] Production.INFO: count ==2702
[2025-04-08 19:22:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:22:05 - End Time 2025-04-08 19:22:05
[2025-04-08 19:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864307', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864307', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864307', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864307', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:22:19] Production.INFO: ProcessCDR(1,14864307,1,1,2)
[2025-04-08 19:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864307', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864307', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:22:22] Production.INFO: ==14359== Releasing lock...
[2025-04-08 19:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:22:22] Production.INFO: 48.25 MB #Memory Used#
[2025-04-09 00:23:02] Production.INFO: ==14417== Lock acquired, processing the job...
[2025-04-09 00:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:23:02] Production.INFO: neon service started
[2025-04-09 00:23:02] Production.INFO: neon service started
[2025-04-09 00:23:02] Production.INFO: ==14417== Releasing lock...
[2025-04-09 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:23:02] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-04-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:23:02] Production.INFO: ==14420== Releasing lock...
[2025-04-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:23:02] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-04-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:23:02] Production.INFO: ==14422== Releasing lock...
[2025-04-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:23:03] Production.INFO: ==14432== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:23:03] Production.INFO: ==14424== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:23:03] Production.INFO: ==14434== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:23:03] Production.INFO: ==14428== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:23:03] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:23:03] Production.INFO: ==14430== Lock acquired, processing the job...
[2025-04-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:23:03] Production.INFO: count ==12
[2025-04-08 19:23:03] Production.INFO: Account Balance Start.
[2025-04-08 19:23:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:23:03] Production.INFO: 117
[2025-04-08 19:23:03] Production.INFO: count ==23
[2025-04-08 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864309') start
[2025-04-08 19:23:03] Production.ERROR: done
[2025-04-08 19:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:23:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:23:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:23:04] Production.INFO: Total Charge 0
[2025-04-08 19:23:04] Production.INFO: CreateAllLog End
[2025-04-08 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864309') end
[2025-04-08 19:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:23:04] Production.INFO: 1
[2025-04-08 19:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:23:04] Production.INFO: ==14434== Releasing lock...
[2025-04-08 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:23:04] Production.INFO: ==14426== Releasing lock...
[2025-04-08 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:23:04] Production.ERROR: done
[2025-04-08 19:23:04] Production.INFO: Account Balance End.
[2025-04-08 19:23:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:23:04] Production.INFO: ==14430== Releasing lock...
[2025-04-08 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:23:05
[end_date_ymd] => 2025-04-08 19:23:05
[RateCDR] => 1
)
[2025-04-08 19:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:23:05' and `end` < '2025-04-08 19:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:23:13] Production.ERROR: CronJobId end10
[2025-04-08 19:23:13] Production.INFO: ==14428== Releasing lock...
[2025-04-08 19:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:23:15] Production.INFO: call_cost start
[2025-04-08 19:23:15] Production.INFO: call_cost end
[2025-04-08 19:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:23:16] Production.INFO: ==14424== Releasing lock...
[2025-04-08 19:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:23:18] Production.INFO: count ==2691
[2025-04-08 19:23:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:23:05 - End Time 2025-04-08 19:23:05
[2025-04-08 19:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864312', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864312', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864312', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864312', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:23:19] Production.INFO: ProcessCDR(1,14864312,1,1,2)
[2025-04-08 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864312', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864312', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:23:24] Production.INFO: ==14432== Releasing lock...
[2025-04-08 19:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:23:24] Production.INFO: 48 MB #Memory Used#
[2025-04-09 00:24:01] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-04-09 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:24:01] Production.INFO: neon service started
[2025-04-09 00:24:01] Production.INFO: neon service started
[2025-04-09 00:24:01] Production.INFO: ==14494== Releasing lock...
[2025-04-09 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:24:01] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-04-08 19:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:24:02] Production.INFO: ==14496== Releasing lock...
[2025-04-08 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:24:02] Production.INFO: ==14498== Lock acquired, processing the job...
[2025-04-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:24:02] Production.INFO: ==14498== Releasing lock...
[2025-04-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:24:03] Production.INFO: ==14502== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:24:03] Production.INFO: ==14510== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:24:03] Production.INFO: ==14500== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 19:24:03] Production.INFO: ==14502== Releasing lock...
[2025-04-08 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:24:03] Production.INFO: ==14504== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:24:03] Production.INFO: ==14506== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:24:03] Production.INFO: count ==12
[2025-04-08 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-04-08 19:24:03] Production.INFO: count ==23
[2025-04-08 19:24:03] Production.INFO: ==14508== Lock acquired, processing the job...
[2025-04-08 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864314') start
[2025-04-08 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:24:03] Production.INFO: Account Balance Start.
[2025-04-08 19:24:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:24:03] Production.INFO: 117
[2025-04-08 19:24:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:24:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864314') end
[2025-04-08 19:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:24:03] Production.INFO: 1
[2025-04-08 19:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:24:03] Production.INFO: Total Charge 0
[2025-04-08 19:24:03] Production.INFO: CreateAllLog End
[2025-04-08 19:24:03] Production.INFO: ==14510== Releasing lock...
[2025-04-08 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:24:04] Production.INFO: Account Balance End.
[2025-04-08 19:24:04] Production.ERROR: done
[2025-04-08 19:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:24:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:24:04] Production.INFO: ==14506== Releasing lock...
[2025-04-08 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:24:04] Production.ERROR: done
[2025-04-08 19:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:24:05
[end_date_ymd] => 2025-04-08 19:24:05
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:24:05' and `end` < '2025-04-08 19: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-04-08 19:24:14] Production.ERROR: CronJobId end10
[2025-04-08 19:24:14] Production.INFO: ==14504== Releasing lock...
[2025-04-08 19:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:24:15] Production.INFO: call_cost start
[2025-04-08 19:24:15] Production.INFO: call_cost end
[2025-04-08 19:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:24:16] Production.INFO: ==14500== Releasing lock...
[2025-04-08 19:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:24:18] Production.INFO: count ==2677
[2025-04-08 19:24:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:24:05 - End Time 2025-04-08 19:24:05
[2025-04-08 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864317', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864317', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864317', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864317', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:24:19] Production.INFO: ProcessCDR(1,14864317,1,1,2)
[2025-04-08 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864317', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864317', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:24:24] Production.INFO: ==14508== Releasing lock...
[2025-04-08 19:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:24:24] Production.INFO: 48.25 MB #Memory Used#
[2025-04-09 00:25:01] Production.INFO: ==14569== Lock acquired, processing the job...
[2025-04-09 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:25:01] Production.INFO: neon service started
[2025-04-09 00:25:01] Production.INFO: neon service started
[2025-04-09 00:25:02] Production.INFO: ==14569== Releasing lock...
[2025-04-09 00:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:25:02] Production.INFO: ==14571== Lock acquired, processing the job...
[2025-04-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:25:02] Production.INFO: ==14573== Lock acquired, processing the job...
[2025-04-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:25:02] Production.INFO: ==14573== Releasing lock...
[2025-04-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:25:02] Production.INFO: ==14571== Releasing lock...
[2025-04-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:25:03] Production.INFO: ==14575== Lock acquired, processing the job...
[2025-04-08 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:25:03] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-04-08 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:25:03] Production.INFO: ==14586== Lock acquired, processing the job...
[2025-04-08 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 19:25:03] Production.INFO: ==14577== Lock acquired, processing the job...
[2025-04-08 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:25:03] Production.INFO: count ==12
[2025-04-08 19:25:03] Production.INFO: ==14579== Lock acquired, processing the job...
[2025-04-08 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 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-04-08 19:25:03] Production.INFO: count ==23
[2025-04-08 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864319') start
[2025-04-08 19:25:04] Production.INFO: ==14581== Lock acquired, processing the job...
[2025-04-08 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864319') end
[2025-04-08 19:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:25:04] Production.INFO: 1
[2025-04-08 19:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:25:04] Production.ERROR: done
[2025-04-08 19:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:25:04] Production.INFO: ==14586== Releasing lock...
[2025-04-08 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:25:04] Production.INFO: Account Balance Start.
[2025-04-08 19:25:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:25:04] Production.INFO: 117
[2025-04-08 19:25:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:25:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:25:04] Production.ERROR: done
[2025-04-08 19:25:04] Production.INFO: ==14577== Releasing lock...
[2025-04-08 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:25:04] Production.INFO: Total Charge 0
[2025-04-08 19:25:04] Production.INFO: CreateAllLog End
[2025-04-08 19:25:04] Production.INFO: Account Balance End.
[2025-04-08 19:25:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:25:04] Production.INFO: ==14581== Releasing lock...
[2025-04-08 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:25:05
[end_date_ymd] => 2025-04-08 19:25:05
[RateCDR] => 1
)
[2025-04-08 19:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:25:05' and `end` < '2025-04-08 19:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:25:12] Production.ERROR: CronJobId end10
[2025-04-08 19:25:12] Production.INFO: ==14579== Releasing lock...
[2025-04-08 19:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:25:14] Production.INFO: call_cost start
[2025-04-08 19:25:14] Production.INFO: call_cost end
[2025-04-08 19:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:25:15] Production.INFO: ==14575== Releasing lock...
[2025-04-08 19:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:25:18] Production.INFO: count ==2666
[2025-04-08 19:25:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:25:05 - End Time 2025-04-08 19:25:05
[2025-04-08 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864322', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864322', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864322', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864322', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:25:19] Production.INFO: ProcessCDR(1,14864322,1,1,2)
[2025-04-08 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864322', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864322', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:25:22] Production.INFO: ==14584== Releasing lock...
[2025-04-08 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:25:22] Production.INFO: 48 MB #Memory Used#
[2025-04-09 00:26:01] Production.INFO: ==14643== Lock acquired, processing the job...
[2025-04-09 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:26:01] Production.INFO: neon service started
[2025-04-09 00:26:01] Production.INFO: neon service started
[2025-04-09 00:26:01] Production.INFO: ==14643== Releasing lock...
[2025-04-09 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:26:01] Production.INFO: ==14645== Lock acquired, processing the job...
[2025-04-08 19:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:26:02] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-04-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 19:26:02] Production.INFO: ==14645== Releasing lock...
[2025-04-08 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:26:02] Production.INFO: ==14647== Releasing lock...
[2025-04-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:26:03] Production.INFO: ==14651== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:26:03] Production.INFO: ==14659== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:26:03] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:26:03] Production.INFO: ==14653== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:26:03] Production.INFO: ==14655== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:26:03] Production.INFO: ==14657== Lock acquired, processing the job...
[2025-04-08 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:26:03] Production.INFO: count ==12
[2025-04-08 19:26:03] Production.INFO: ==14651== Releasing lock...
[2025-04-08 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 19:26:03] Production.INFO: count ==23
[2025-04-08 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:26:03] Production.INFO: Account Balance Start.
[2025-04-08 19:26:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:26:03] Production.INFO: 117
[2025-04-08 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864324') start
[2025-04-08 19:26:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:26:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864324') end
[2025-04-08 19:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:26:03] Production.INFO: 1
[2025-04-08 19:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:26:03] Production.INFO: ==14659== Releasing lock...
[2025-04-08 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:26:03] Production.INFO: Total Charge 0
[2025-04-08 19:26:03] Production.ERROR: done
[2025-04-08 19:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:26:03] Production.INFO: CreateAllLog End
[2025-04-08 19:26:04] Production.ERROR: done
[2025-04-08 19:26:04] Production.INFO: Account Balance End.
[2025-04-08 19:26:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:26:04] Production.INFO: ==14655== Releasing lock...
[2025-04-08 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:26:05
[end_date_ymd] => 2025-04-08 19:26:05
[RateCDR] => 1
)
[2025-04-08 19:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:26:05' and `end` < '2025-04-08 19:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:26:12] Production.ERROR: CronJobId end10
[2025-04-08 19:26:12] Production.INFO: ==14653== Releasing lock...
[2025-04-08 19:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:26:14] Production.INFO: call_cost start
[2025-04-08 19:26:14] Production.INFO: call_cost end
[2025-04-08 19:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:26:15] Production.INFO: ==14649== Releasing lock...
[2025-04-08 19:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:26:18] Production.INFO: count ==2660
[2025-04-08 19:26:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:26:05 - End Time 2025-04-08 19:26:05
[2025-04-08 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864327', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864327', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864327', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864327', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:26:19] Production.INFO: ProcessCDR(1,14864327,1,1,2)
[2025-04-08 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864327', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864327', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:26:24] Production.INFO: ==14657== Releasing lock...
[2025-04-08 19:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:26:24] Production.INFO: 48 MB #Memory Used#
[2025-04-09 00:27:01] Production.INFO: ==14753== Lock acquired, processing the job...
[2025-04-09 00:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:27:01] Production.INFO: neon service started
[2025-04-09 00:27:01] Production.INFO: neon service started
[2025-04-09 00:27:01] Production.INFO: ==14753== Releasing lock...
[2025-04-09 00:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:27:02] Production.INFO: ==14757== Lock acquired, processing the job...
[2025-04-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:27:02] Production.INFO: ==14757== Releasing lock...
[2025-04-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:27:02] Production.INFO: ==14755== Lock acquired, processing the job...
[2025-04-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:27:02] Production.INFO: ==14755== Releasing lock...
[2025-04-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:27:03] Production.INFO: ==14765== Lock acquired, processing the job...
[2025-04-08 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:27:03] Production.INFO: Account Balance Start.
[2025-04-08 19:27:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:27:03] Production.INFO: 117
[2025-04-08 19:27:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:27:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:27:03] Production.INFO: Total Charge 0
[2025-04-08 19:27:03] Production.INFO: CreateAllLog End
[2025-04-08 19:27:03] Production.INFO: Account Balance End.
[2025-04-08 19:27:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:27:03] Production.INFO: ==14765== Releasing lock...
[2025-04-08 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:27:04] Production.INFO: ==14770== Lock acquired, processing the job...
[2025-04-08 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:27:04] Production.INFO: ==14759== Lock acquired, processing the job...
[2025-04-08 19:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:27:04] Production.INFO: ==14761== Lock acquired, processing the job...
[2025-04-08 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19: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-04-08 19:27:04] Production.INFO: ==14763== Lock acquired, processing the job...
[2025-04-08 19:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:27:04] Production.INFO: ==14767== Lock acquired, processing the job...
[2025-04-08 19:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:27:04] Production.INFO: count ==12
[2025-04-08 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-04-08 19:27:04] Production.INFO: count ==23
[2025-04-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864329') start
[2025-04-08 19:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864329') end
[2025-04-08 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:27:04] Production.INFO: 1
[2025-04-08 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:27:04] Production.INFO: ==14761== Releasing lock...
[2025-04-08 19:27:04] Production.INFO: ==14770== Releasing lock...
[2025-04-08 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:27:04] Production.ERROR: done
[2025-04-08 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:27:04] Production.ERROR: done
[2025-04-08 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:27:05
[end_date_ymd] => 2025-04-08 19:27:05
[RateCDR] => 1
)
[2025-04-08 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:27:05' and `end` < '2025-04-08 19:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:27:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-04-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-08 19:27:12] Production.ERROR: CronJobId end10
[2025-04-08 19:27:12] Production.INFO: ==14763== Releasing lock...
[2025-04-08 19:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:27:14] Production.INFO: call_cost start
[2025-04-08 19:27:14] Production.INFO: call_cost end
[2025-04-08 19:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:27:15] Production.INFO: ==14759== Releasing lock...
[2025-04-08 19:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:27:18] Production.INFO: count ==2648
[2025-04-08 19:27:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:27:05 - End Time 2025-04-08 19:27:05
[2025-04-08 19:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864332', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864332', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864332', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864332', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:27:19] Production.INFO: ProcessCDR(1,14864332,1,1,2)
[2025-04-08 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864332', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864332', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:27:23] Production.INFO: ==14767== Releasing lock...
[2025-04-08 19:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:27:23] Production.INFO: 48 MB #Memory Used#
[2025-04-09 00:28:01] Production.INFO: ==14828== Lock acquired, processing the job...
[2025-04-09 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:28:01] Production.INFO: neon service started
[2025-04-09 00:28:01] Production.INFO: neon service started
[2025-04-09 00:28:01] Production.INFO: ==14828== Releasing lock...
[2025-04-09 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:28:01] Production.INFO: ==14830== Lock acquired, processing the job...
[2025-04-08 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:28:02] Production.INFO: ==14830== Releasing lock...
[2025-04-08 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:28:02] Production.INFO: ==14832== Lock acquired, processing the job...
[2025-04-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:28:02] Production.INFO: ==14832== Releasing lock...
[2025-04-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:28:03] Production.INFO: ==14841== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:28:03] Production.INFO: ==14837== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:28:03] Production.INFO: ==14835== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:28:03] Production.INFO: ==14845== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:28:03] Production.INFO: Account Balance Start.
[2025-04-08 19:28:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:28:03] Production.INFO: 117
[2025-04-08 19:28:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:28:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:28:03] Production.INFO: ==14839== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:28:03] Production.INFO: Total Charge 0
[2025-04-08 19:28:03] Production.INFO: CreateAllLog End
[2025-04-08 19:28:03] Production.INFO: ==14843== Lock acquired, processing the job...
[2025-04-08 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19: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-04-08 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:28:03] Production.INFO: count ==12
[2025-04-08 19:28:03] Production.INFO: Account Balance End.
[2025-04-08 19: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-04-08 19:28:03] Production.INFO: count ==23
[2025-04-08 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864336') start
[2025-04-08 19:28:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:28:03] Production.INFO: ==14841== Releasing lock...
[2025-04-08 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:28:03] Production.ERROR: done
[2025-04-08 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864336') end
[2025-04-08 19:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:28:03] Production.INFO: 1
[2025-04-08 19:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:28:03] Production.INFO: ==14837== Releasing lock...
[2025-04-08 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:28:03] Production.INFO: ==14845== Releasing lock...
[2025-04-08 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:28:04] Production.ERROR: done
[2025-04-08 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:28:05
[end_date_ymd] => 2025-04-08 19:28:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:28:05' and `end` < '2025-04-08 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-04-08 19:28:13] Production.ERROR: CronJobId end10
[2025-04-08 19:28:13] Production.INFO: ==14839== Releasing lock...
[2025-04-08 19:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:28:14] Production.INFO: call_cost start
[2025-04-08 19:28:14] Production.INFO: call_cost end
[2025-04-08 19:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:28:15] Production.INFO: ==14835== Releasing lock...
[2025-04-08 19:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:28:18] Production.INFO: count ==2633
[2025-04-08 19:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:28:05 - End Time 2025-04-08 19:28:05
[2025-04-08 19:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864337', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864337', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864337', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864337', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:28:19] Production.INFO: ProcessCDR(1,14864337,1,1,2)
[2025-04-08 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864337', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864337', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:28:24] Production.INFO: ==14843== Releasing lock...
[2025-04-08 19:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:28:24] Production.INFO: 47.75 MB #Memory Used#
[2025-04-09 00:29:01] Production.INFO: ==14900== Lock acquired, processing the job...
[2025-04-09 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:29:01] Production.INFO: neon service started
[2025-04-09 00:29:01] Production.INFO: neon service started
[2025-04-09 00:29:01] Production.INFO: ==14900== Releasing lock...
[2025-04-09 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:29:02] Production.INFO: ==14904== Lock acquired, processing the job...
[2025-04-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:29:02] Production.INFO: ==14904== Releasing lock...
[2025-04-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:29:02] Production.INFO: ==14902== Lock acquired, processing the job...
[2025-04-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:29:02] Production.INFO: ==14902== Releasing lock...
[2025-04-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:29:03] Production.INFO: ==14906== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:29:03] Production.INFO: ==14908== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:29:03] Production.INFO: ==14916== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:29:03] Production.INFO: ==14910== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:29:03] Production.INFO: ==14908== Releasing lock...
[2025-04-08 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:29:03] Production.INFO: count ==12
[2025-04-08 19:29:03] Production.INFO: ==14912== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 19:29:03] Production.INFO: count ==23
[2025-04-08 19:29:03] Production.INFO: ==14914== Lock acquired, processing the job...
[2025-04-08 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864340') start
[2025-04-08 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:29:03] Production.INFO: Account Balance Start.
[2025-04-08 19:29:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:29:03] Production.INFO: 117
[2025-04-08 19:29:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:29:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:29:04] Production.INFO: Total Charge 0
[2025-04-08 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864340') end
[2025-04-08 19:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:29:04] Production.INFO: 1
[2025-04-08 19:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:29:04] Production.INFO: CreateAllLog End
[2025-04-08 19:29:04] Production.INFO: ==14916== Releasing lock...
[2025-04-08 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:29:04] Production.ERROR: done
[2025-04-08 19:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:29:04] Production.ERROR: done
[2025-04-08 19:29:04] Production.INFO: Account Balance End.
[2025-04-08 19:29:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:29:04] Production.INFO: ==14912== Releasing lock...
[2025-04-08 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:29:05
[end_date_ymd] => 2025-04-08 19:29:05
[RateCDR] => 1
)
[2025-04-08 19:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:29:05' and `end` < '2025-04-08 19:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:29:13] Production.ERROR: CronJobId end10
[2025-04-08 19:29:13] Production.INFO: ==14910== Releasing lock...
[2025-04-08 19:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:29:14] Production.INFO: call_cost start
[2025-04-08 19:29:14] Production.INFO: call_cost end
[2025-04-08 19:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:29:15] Production.INFO: ==14906== Releasing lock...
[2025-04-08 19:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:29:18] Production.INFO: count ==2619
[2025-04-08 19:29:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:29:05 - End Time 2025-04-08 19:29:05
[2025-04-08 19:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864342', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864342', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864342', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864342', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:29:19] Production.INFO: ProcessCDR(1,14864342,1,1,2)
[2025-04-08 19:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864342', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864342', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:29:22] Production.INFO: ==14914== Releasing lock...
[2025-04-08 19:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:29:22] Production.INFO: 47.75 MB #Memory Used#
[2025-04-09 00:30:02] Production.INFO: ==14975== Lock acquired, processing the job...
[2025-04-09 00:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:30:02] Production.INFO: neon service started
[2025-04-09 00:30:02] Production.INFO: neon service started
[2025-04-09 00:30:02] Production.INFO: ==14975== Releasing lock...
[2025-04-09 00:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:30:02] Production.INFO: ==14980== Lock acquired, processing the job...
[2025-04-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:30:02] Production.INFO: ==14980== Releasing lock...
[2025-04-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:30:02] Production.INFO: ==14978== Lock acquired, processing the job...
[2025-04-08 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:30:03] Production.INFO: ==14978== Releasing lock...
[2025-04-08 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:30:04] Production.INFO: ==14982== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:30:04] Production.INFO: ==14988== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:30:04] Production.ERROR: CronJob PID - 14988
[2025-04-08 19:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 19:30:04] Production.ERROR: CronJob ID - 10
[2025-04-08 19:30:04] Production.ERROR: CronJob Last Run Time 2025-04-08 19:30:00
[2025-04-08 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:30:04] Production.INFO: ==14982== Releasing lock...
[2025-04-08 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:30:04] Production.INFO: ==14984== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:30:04] Production.INFO: ==14994== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:30:04] Production.INFO: ==14986== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:30:04] Production.INFO: ==14996== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:30:04] Production.INFO: ==14990== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:30:04] Production.INFO: ==14992== Lock acquired, processing the job...
[2025-04-08 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:30:04] Production.INFO: Account Balance Start.
[2025-04-08 19:30:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:30:04] Production.INFO: 117
[2025-04-08 19:30:04] Production.ERROR: done
[2025-04-08 19:30:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:30:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:30:04] Production.INFO: count ==12
[2025-04-08 19:30:04] Production.ERROR: done
[2025-04-08 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-04-08 19:30:04] Production.INFO: count ==23
[2025-04-08 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864345') start
[2025-04-08 19:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:30:05] Production.INFO: Total Charge 0
[2025-04-08 19:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864347', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:30:05] Production.INFO: CreateAllLog End
[2025-04-08 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864345') end
[2025-04-08 19:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:30:05] Production.INFO: 1
[2025-04-08 19:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:30:05] Production.INFO: ==14996== Releasing lock...
[2025-04-08 19:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:30:05] Production.ERROR: done
[2025-04-08 19:30:05] Production.INFO: ==14986== Releasing lock...
[2025-04-08 19:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:30:05] Production.INFO: Account Balance End.
[2025-04-08 19:30:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:30:05] Production.INFO: ==14990== Releasing lock...
[2025-04-08 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:30:06
[end_date_ymd] => 2025-04-08 19:30:06
[RateCDR] => 1
)
[2025-04-08 19:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:30:06' and `end` < '2025-04-08 19:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864347', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:30:08] Production.INFO: ProcessCDR(1,14864347,1,1,2)
[2025-04-08 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864347,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:30:09] Production.INFO: ==14994== Releasing lock...
[2025-04-08 19:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:30:15] Production.ERROR: CronJobId end10
[2025-04-08 19:30:15] Production.INFO: ==14988== Releasing lock...
[2025-04-08 19:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:30:16] Production.INFO: call_cost start
[2025-04-08 19:30:16] Production.INFO: call_cost end
[2025-04-08 19:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:30:17] Production.INFO: ==14984== Releasing lock...
[2025-04-08 19:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:30:19] Production.INFO: count ==2609
[2025-04-08 19:30:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:30:06 - End Time 2025-04-08 19:30:06
[2025-04-08 19:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864348', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864348', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864348', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864348', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:30:20] Production.INFO: ProcessCDR(1,14864348,1,1,2)
[2025-04-08 19:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864348', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864348', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:30:24] Production.INFO: ==14992== Releasing lock...
[2025-04-08 19:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:30:24] Production.INFO: 47.75 MB #Memory Used#
[2025-04-09 00:31:01] Production.INFO: ==15054== Lock acquired, processing the job...
[2025-04-09 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:31:01] Production.INFO: neon service started
[2025-04-09 00:31:01] Production.INFO: neon service started
[2025-04-09 00:31:01] Production.INFO: ==15054== Releasing lock...
[2025-04-09 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:31:02] Production.INFO: ==15056== Lock acquired, processing the job...
[2025-04-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:31:02] Production.INFO: ==15058== Lock acquired, processing the job...
[2025-04-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:31:02] Production.INFO: ==15058== Releasing lock...
[2025-04-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:31:02] Production.INFO: ==15056== Releasing lock...
[2025-04-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:31:03] Production.INFO: ==15063== Lock acquired, processing the job...
[2025-04-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:31:03] Production.INFO: ==15065== Lock acquired, processing the job...
[2025-04-08 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:31:03] Production.INFO: ==15061== Lock acquired, processing the job...
[2025-04-08 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:31:03] Production.INFO: ==15067== Lock acquired, processing the job...
[2025-04-08 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:31:03] Production.INFO: ==15063== Releasing lock...
[2025-04-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:31:04] Production.INFO: ==15069== Lock acquired, processing the job...
[2025-04-08 19:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:31:04] Production.INFO: Account Balance Start.
[2025-04-08 19:31:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:31:04] Production.INFO: 117
[2025-04-08 19:31:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:31:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:31:04] Production.INFO: ==15071== Lock acquired, processing the job...
[2025-04-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:31:04] Production.INFO: Total Charge 0
[2025-04-08 19:31:04] Production.INFO: CreateAllLog End
[2025-04-08 19:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:31:04] Production.INFO: count ==12
[2025-04-08 19:31:04] Production.ERROR: done
[2025-04-08 19:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:31:04] Production.INFO: count ==23
[2025-04-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864352') start
[2025-04-08 19:31:04] Production.INFO: Account Balance End.
[2025-04-08 19:31:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:31:04] Production.INFO: ==15067== Releasing lock...
[2025-04-08 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864352') end
[2025-04-08 19:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:31:04] Production.INFO: 1
[2025-04-08 19:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:31:04] Production.ERROR: done
[2025-04-08 19:31:04] Production.INFO: ==15071== Releasing lock...
[2025-04-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:31:05
[end_date_ymd] => 2025-04-08 19:31:05
[RateCDR] => 1
)
[2025-04-08 19:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:31:05' and `end` < '2025-04-08 19:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:31:12] Production.ERROR: CronJobId end10
[2025-04-08 19:31:12] Production.INFO: ==15065== Releasing lock...
[2025-04-08 19:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:31:14] Production.INFO: call_cost start
[2025-04-08 19:31:14] Production.INFO: call_cost end
[2025-04-08 19:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:31:15] Production.INFO: ==15061== Releasing lock...
[2025-04-08 19:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:31:18] Production.INFO: count ==2526
[2025-04-08 19:31:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:31:05 - End Time 2025-04-08 19:31:05
[2025-04-08 19:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864353', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864353', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864353', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864353', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:31:19] Production.INFO: ProcessCDR(1,14864353,1,1,2)
[2025-04-08 19:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864353', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864353', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:31:23] Production.INFO: ==15069== Releasing lock...
[2025-04-08 19:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:31:23] Production.INFO: 47.25 MB #Memory Used#
[2025-04-09 00:32:02] Production.INFO: ==15124== Lock acquired, processing the job...
[2025-04-09 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:32:02] Production.INFO: neon service started
[2025-04-09 00:32:02] Production.INFO: neon service started
[2025-04-09 00:32:02] Production.INFO: ==15124== Releasing lock...
[2025-04-09 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:32:02] Production.INFO: ==15128== Lock acquired, processing the job...
[2025-04-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:32:02] Production.INFO: ==15128== Releasing lock...
[2025-04-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:32:02] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-04-08 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:32:03] Production.INFO: ==15126== Releasing lock...
[2025-04-08 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:32:03] Production.INFO: ==15135== Lock acquired, processing the job...
[2025-04-08 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:32:04] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-04-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:32:04] Production.INFO: ==15132== Lock acquired, processing the job...
[2025-04-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:32:04] Production.INFO: ==15130== Lock acquired, processing the job...
[2025-04-08 19:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:32:04] Production.INFO: ==15137== Lock acquired, processing the job...
[2025-04-08 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:32:04] Production.INFO: count ==12
[2025-04-08 19:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:32:04] Production.INFO: count ==23
[2025-04-08 19:32:04] Production.INFO: ==15139== Lock acquired, processing the job...
[2025-04-08 19:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864354') start
[2025-04-08 19:32:04] Production.INFO: Account Balance Start.
[2025-04-08 19:32:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:32:04] Production.INFO: 117
[2025-04-08 19:32:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:32:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:32:04] Production.INFO: Total Charge 0
[2025-04-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864354') end
[2025-04-08 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:32:04] Production.INFO: 1
[2025-04-08 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:32:04] Production.INFO: CreateAllLog End
[2025-04-08 19:32:04] Production.INFO: ==15141== Releasing lock...
[2025-04-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:32:04] Production.INFO: ==15132== Releasing lock...
[2025-04-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:32:04] Production.ERROR: done
[2025-04-08 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:32:04] Production.INFO: Account Balance End.
[2025-04-08 19:32:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:32:05] Production.INFO: ==15137== Releasing lock...
[2025-04-08 19:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:32:05] Production.ERROR: done
[2025-04-08 19:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:32:06
[end_date_ymd] => 2025-04-08 19:32:06
[RateCDR] => 1
)
[2025-04-08 19:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:32:06' and `end` < '2025-04-08 19:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:32:12] Production.ERROR: CronJobId end10
[2025-04-08 19:32:12] Production.INFO: ==15135== Releasing lock...
[2025-04-08 19:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:32:15] Production.INFO: call_cost start
[2025-04-08 19:32:15] Production.INFO: call_cost end
[2025-04-08 19:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:32:16] Production.INFO: ==15130== Releasing lock...
[2025-04-08 19:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:32:19] Production.INFO: count ==2518
[2025-04-08 19:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:32:06 - End Time 2025-04-08 19:32:06
[2025-04-08 19:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864358', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864358', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864358', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864358', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:32:20] Production.INFO: ProcessCDR(1,14864358,1,1,2)
[2025-04-08 19:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864358', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864358', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:32:25] Production.INFO: ==15139== Releasing lock...
[2025-04-08 19:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:32:25] Production.INFO: 47 MB #Memory Used#
[2025-04-09 00:33:01] Production.INFO: ==15201== Lock acquired, processing the job...
[2025-04-09 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:33:01] Production.INFO: neon service started
[2025-04-09 00:33:01] Production.INFO: neon service started
[2025-04-09 00:33:01] Production.INFO: ==15201== Releasing lock...
[2025-04-09 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:33:02] Production.INFO: ==15203== Lock acquired, processing the job...
[2025-04-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:33:02] Production.INFO: ==15203== Releasing lock...
[2025-04-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:33:02] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-04-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:33:02] Production.INFO: ==15205== Releasing lock...
[2025-04-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:33:03] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:33:03] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:33:03] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:33:03] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:33:03] Production.INFO: ==15217== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:33:03] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-04-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:33:03] Production.INFO: Account Balance Start.
[2025-04-08 19:33:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:33:03] Production.INFO: 117
[2025-04-08 19:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:33:03] Production.INFO: count ==12
[2025-04-08 19:33:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:33:03] Production.ERROR: done
[2025-04-08 19:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:33:03] Production.INFO: count ==23
[2025-04-08 19:33:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864360') start
[2025-04-08 19:33:04] Production.INFO: Total Charge 0
[2025-04-08 19:33:04] Production.INFO: CreateAllLog End
[2025-04-08 19:33:04] Production.ERROR: done
[2025-04-08 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864360') end
[2025-04-08 19:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:33:04] Production.INFO: 1
[2025-04-08 19:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:33:04] Production.INFO: ==15209== Releasing lock...
[2025-04-08 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:33:04] Production.INFO: ==15217== Releasing lock...
[2025-04-08 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:33:04] Production.INFO: Account Balance End.
[2025-04-08 19:33:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:33:04] Production.INFO: ==15213== Releasing lock...
[2025-04-08 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:33:05
[end_date_ymd] => 2025-04-08 19:33:05
[RateCDR] => 1
)
[2025-04-08 19:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:33:05' and `end` < '2025-04-08 19:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:33:12] Production.ERROR: CronJobId end10
[2025-04-08 19:33:12] Production.INFO: ==15211== Releasing lock...
[2025-04-08 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:33:14] Production.INFO: call_cost start
[2025-04-08 19:33:14] Production.INFO: call_cost end
[2025-04-08 19:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:33:15] Production.INFO: ==15207== Releasing lock...
[2025-04-08 19:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:33:18] Production.INFO: count ==2511
[2025-04-08 19:33:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:33:05 - End Time 2025-04-08 19:33:05
[2025-04-08 19:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864363', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864363', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864363', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864363', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:33:19] Production.INFO: ProcessCDR(1,14864363,1,1,2)
[2025-04-08 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864363', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864363', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:33:22] Production.INFO: ==15215== Releasing lock...
[2025-04-08 19:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:33:22] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:34:02] Production.INFO: ==15275== Lock acquired, processing the job...
[2025-04-09 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:34:02] Production.INFO: neon service started
[2025-04-09 00:34:02] Production.INFO: neon service started
[2025-04-09 00:34:02] Production.INFO: ==15275== Releasing lock...
[2025-04-09 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:34:02] Production.INFO: ==15279== Lock acquired, processing the job...
[2025-04-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:34:02] Production.INFO: ==15279== Releasing lock...
[2025-04-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:34:02] Production.INFO: ==15277== Lock acquired, processing the job...
[2025-04-08 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:34:03] Production.INFO: ==15277== Releasing lock...
[2025-04-08 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:34:03] Production.INFO: ==15286== Lock acquired, processing the job...
[2025-04-08 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:34:03] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-04-08 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:34:03] Production.INFO: ==15288== Lock acquired, processing the job...
[2025-04-08 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:34:04] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-04-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:34:04] Production.INFO: Account Balance Start.
[2025-04-08 19:34:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:34:04] Production.INFO: 117
[2025-04-08 19:34:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:34:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:34:04] Production.INFO: Total Charge 0
[2025-04-08 19:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:34:04] Production.INFO: CreateAllLog End
[2025-04-08 19:34:04] Production.INFO: ==15290== Lock acquired, processing the job...
[2025-04-08 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:34:04] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-04-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:34:04] Production.INFO: Account Balance End.
[2025-04-08 19:34:04] Production.INFO: count ==12
[2025-04-08 19:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:34:04] Production.INFO: count ==23
[2025-04-08 19:34:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:34:04] Production.INFO: ==15288== Releasing lock...
[2025-04-08 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864367') start
[2025-04-08 19:34:04] Production.INFO: ==15284== Releasing lock...
[2025-04-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864367') end
[2025-04-08 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:34:04] Production.INFO: 1
[2025-04-08 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:34:04] Production.INFO: ==15292== Releasing lock...
[2025-04-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:34:04] Production.ERROR: done
[2025-04-08 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:34:05] Production.ERROR: done
[2025-04-08 19:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:34:06
[end_date_ymd] => 2025-04-08 19:34:06
[RateCDR] => 1
)
[2025-04-08 19:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:34:06' and `end` < '2025-04-08 19:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:34:12] Production.ERROR: CronJobId end10
[2025-04-08 19:34:12] Production.INFO: ==15286== Releasing lock...
[2025-04-08 19:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:34:14] Production.INFO: call_cost start
[2025-04-08 19:34:14] Production.INFO: call_cost end
[2025-04-08 19:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:34:15] Production.INFO: ==15282== Releasing lock...
[2025-04-08 19:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:34:19] Production.INFO: count ==2502
[2025-04-08 19:34:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:34:06 - End Time 2025-04-08 19:34:06
[2025-04-08 19:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864368', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864368', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864368', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864368', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:34:20] Production.INFO: ProcessCDR(1,14864368,1,1,2)
[2025-04-08 19:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864368', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864368', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:34:23] Production.INFO: ==15290== Releasing lock...
[2025-04-08 19:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:34:23] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:35:01] Production.INFO: ==15347== Lock acquired, processing the job...
[2025-04-09 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:35:01] Production.INFO: neon service started
[2025-04-09 00:35:01] Production.INFO: neon service started
[2025-04-09 00:35:01] Production.INFO: ==15347== Releasing lock...
[2025-04-09 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:35:02] Production.INFO: ==15351== Lock acquired, processing the job...
[2025-04-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:35:02] Production.INFO: ==15351== Releasing lock...
[2025-04-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:35:02] Production.INFO: ==15349== Lock acquired, processing the job...
[2025-04-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:35:02] Production.INFO: ==15349== Releasing lock...
[2025-04-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:35:03] Production.INFO: ==15354== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:35:03] Production.INFO: ==15356== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:35:03] Production.INFO: ==15360== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:35:03] Production.INFO: Account Balance Start.
[2025-04-08 19:35:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:35:03] Production.INFO: 117
[2025-04-08 19:35:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:35:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:35:03] Production.INFO: ==15356== Releasing lock...
[2025-04-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:35:03] Production.INFO: Total Charge 0
[2025-04-08 19:35:03] Production.INFO: CreateAllLog End
[2025-04-08 19:35:03] Production.INFO: ==15358== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:35:03] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:35:03] Production.INFO: Account Balance End.
[2025-04-08 19:35:03] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-04-08 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:35:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:35:03] Production.INFO: ==15360== Releasing lock...
[2025-04-08 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:35:04] Production.INFO: count ==12
[2025-04-08 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:35:04] Production.INFO: count ==23
[2025-04-08 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864372') start
[2025-04-08 19:35:04] Production.ERROR: done
[2025-04-08 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864372') end
[2025-04-08 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:35:04] Production.INFO: 1
[2025-04-08 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:35:04] Production.INFO: ==15364== Releasing lock...
[2025-04-08 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:35:04] Production.ERROR: done
[2025-04-08 19:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:35:05
[end_date_ymd] => 2025-04-08 19:35:05
[RateCDR] => 1
)
[2025-04-08 19:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:35:05' and `end` < '2025-04-08 19:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:35:12] Production.ERROR: CronJobId end10
[2025-04-08 19:35:12] Production.INFO: ==15358== Releasing lock...
[2025-04-08 19:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:35:14] Production.INFO: call_cost start
[2025-04-08 19:35:14] Production.INFO: call_cost end
[2025-04-08 19:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:35:15] Production.INFO: ==15354== Releasing lock...
[2025-04-08 19:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:35:18] Production.INFO: count ==2494
[2025-04-08 19:35:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:35:05 - End Time 2025-04-08 19:35:05
[2025-04-08 19:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864373', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864373', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864373', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864373', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:35:19] Production.INFO: ProcessCDR(1,14864373,1,1,2)
[2025-04-08 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864373', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864373', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:35:23] Production.INFO: ==15362== Releasing lock...
[2025-04-08 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:35:23] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:36:02] Production.INFO: ==15420== Lock acquired, processing the job...
[2025-04-09 00:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:36:02] Production.INFO: neon service started
[2025-04-09 00:36:02] Production.INFO: neon service started
[2025-04-09 00:36:02] Production.INFO: ==15420== Releasing lock...
[2025-04-09 00:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:36:02] Production.INFO: ==15422== Lock acquired, processing the job...
[2025-04-08 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:36:02] Production.INFO: ==15422== Releasing lock...
[2025-04-08 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:36:02] Production.INFO: ==15424== Lock acquired, processing the job...
[2025-04-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:36:02] Production.INFO: ==15424== Releasing lock...
[2025-04-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:36:03] Production.INFO: ==15433== Lock acquired, processing the job...
[2025-04-08 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:36:03] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-04-08 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:36:04] Production.INFO: ==15429== Lock acquired, processing the job...
[2025-04-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:36:04] Production.INFO: ==15427== Lock acquired, processing the job...
[2025-04-08 19:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:36:04] Production.INFO: ==15431== Lock acquired, processing the job...
[2025-04-08 19:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:36:04] Production.INFO: Account Balance Start.
[2025-04-08 19:36:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:36:04] Production.INFO: count ==12
[2025-04-08 19:36:04] Production.INFO: 117
[2025-04-08 19:36:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:36:04] Production.INFO: count ==23
[2025-04-08 19:36:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:36:04] Production.INFO: ==15435== Lock acquired, processing the job...
[2025-04-08 19:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864375') start
[2025-04-08 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:36:04] Production.INFO: Total Charge 0
[2025-04-08 19:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:36:04] Production.INFO: CreateAllLog End
[2025-04-08 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864375') end
[2025-04-08 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:36:04] Production.INFO: 1
[2025-04-08 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:36:04] Production.INFO: ==15437== Releasing lock...
[2025-04-08 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:36:04] Production.INFO: ==15429== Releasing lock...
[2025-04-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:36:04] Production.ERROR: done
[2025-04-08 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:36:04] Production.INFO: Account Balance End.
[2025-04-08 19:36:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:36:04] Production.INFO: ==15433== Releasing lock...
[2025-04-08 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:36:04] Production.ERROR: done
[2025-04-08 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:36:05
[end_date_ymd] => 2025-04-08 19:36:05
[RateCDR] => 1
)
[2025-04-08 19:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:36:05' and `end` < '2025-04-08 19:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:36:13] Production.ERROR: CronJobId end10
[2025-04-08 19:36:13] Production.INFO: ==15431== Releasing lock...
[2025-04-08 19:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:36:15] Production.INFO: call_cost start
[2025-04-08 19:36:15] Production.INFO: call_cost end
[2025-04-08 19:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:36:16] Production.INFO: ==15427== Releasing lock...
[2025-04-08 19:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:36:18] Production.INFO: count ==2485
[2025-04-08 19:36:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:36:05 - End Time 2025-04-08 19:36:05
[2025-04-08 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864378', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864378', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864378', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864378', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:36:19] Production.INFO: ProcessCDR(1,14864378,1,1,2)
[2025-04-08 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864378', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864378', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:36:22] Production.INFO: ==15435== Releasing lock...
[2025-04-08 19:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:36:22] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:37:01] Production.INFO: ==15493== Lock acquired, processing the job...
[2025-04-09 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:37:01] Production.INFO: neon service started
[2025-04-09 00:37:01] Production.INFO: neon service started
[2025-04-09 00:37:01] Production.INFO: ==15493== Releasing lock...
[2025-04-09 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:37:02] Production.INFO: ==15495== Lock acquired, processing the job...
[2025-04-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:37:02] Production.INFO: ==15497== Lock acquired, processing the job...
[2025-04-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:37:02] Production.INFO: ==15497== Releasing lock...
[2025-04-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:37:02] Production.INFO: ==15495== Releasing lock...
[2025-04-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:37:03] Production.INFO: ==15502== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:37:03] Production.INFO: ==15500== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:37:03] Production.INFO: ==15506== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:37:03] Production.INFO: Account Balance Start.
[2025-04-08 19:37:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:37:03] Production.INFO: 117
[2025-04-08 19:37:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:37:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:37:03] Production.INFO: ==15504== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:37:03] Production.INFO: Total Charge 0
[2025-04-08 19:37:03] Production.INFO: CreateAllLog End
[2025-04-08 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:37:03] Production.INFO: ==15502== Releasing lock...
[2025-04-08 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:37:03] Production.INFO: ==15510== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:37:03] Production.INFO: ==15508== Lock acquired, processing the job...
[2025-04-08 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:37:03] Production.INFO: Account Balance End.
[2025-04-08 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:37:03] Production.INFO: count ==12
[2025-04-08 19:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:37:03] Production.INFO: count ==23
[2025-04-08 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864382') start
[2025-04-08 19:37:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:37:03] Production.INFO: ==15506== Releasing lock...
[2025-04-08 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864382') end
[2025-04-08 19:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:37:04] Production.INFO: 1
[2025-04-08 19:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:37:04] Production.ERROR: done
[2025-04-08 19:37:04] Production.INFO: ==15510== Releasing lock...
[2025-04-08 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:37:04] Production.ERROR: done
[2025-04-08 19:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:37:05
[end_date_ymd] => 2025-04-08 19:37:05
[RateCDR] => 1
)
[2025-04-08 19:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:37:05' and `end` < '2025-04-08 19:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:37:12] Production.ERROR: CronJobId end10
[2025-04-08 19:37:12] Production.INFO: ==15504== Releasing lock...
[2025-04-08 19:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:37:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:37:14] Production.INFO: call_cost start
[2025-04-08 19:37:14] Production.INFO: call_cost end
[2025-04-08 19:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:37:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:37:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:37:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:37:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:37:14] Production.INFO: ==15500== Releasing lock...
[2025-04-08 19:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:37:18] Production.INFO: count ==2483
[2025-04-08 19:37:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:37:05 - End Time 2025-04-08 19:37:05
[2025-04-08 19:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864383', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864383', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864383', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864383', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:37:19] Production.INFO: ProcessCDR(1,14864383,1,1,2)
[2025-04-08 19:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864383', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864383', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:37:24] Production.INFO: ==15508== Releasing lock...
[2025-04-08 19:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:37:24] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:38:02] Production.INFO: ==15566== Lock acquired, processing the job...
[2025-04-09 00:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:38:02] Production.INFO: neon service started
[2025-04-09 00:38:02] Production.INFO: neon service started
[2025-04-09 00:38:02] Production.INFO: ==15566== Releasing lock...
[2025-04-09 00:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:38:02] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-04-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:38:02] Production.INFO: ==15571== Releasing lock...
[2025-04-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:38:02] Production.INFO: ==15569== Lock acquired, processing the job...
[2025-04-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:38:03] Production.INFO: ==15569== Releasing lock...
[2025-04-08 19:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:38:03] Production.INFO: ==15579== Lock acquired, processing the job...
[2025-04-08 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:38:03] Production.INFO: Account Balance Start.
[2025-04-08 19:38:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:38:03] Production.INFO: 117
[2025-04-08 19:38:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:38:03] Production.INFO: ==15583== Lock acquired, processing the job...
[2025-04-08 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:38:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:38:04] Production.INFO: Total Charge 0
[2025-04-08 19:38:04] Production.INFO: CreateAllLog End
[2025-04-08 19:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:38:04] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-04-08 19:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:38:04] Production.INFO: ==15575== Lock acquired, processing the job...
[2025-04-08 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:38:04] Production.INFO: count ==12
[2025-04-08 19:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:38:04] Production.INFO: Account Balance End.
[2025-04-08 19:38:04] Production.INFO: count ==23
[2025-04-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864385') start
[2025-04-08 19:38:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:38:04] Production.INFO: ==15579== Releasing lock...
[2025-04-08 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:38:04] Production.INFO: ==15577== Lock acquired, processing the job...
[2025-04-08 19:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864385') end
[2025-04-08 19:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:38:04] Production.INFO: 1
[2025-04-08 19:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:38:04] Production.INFO: ==15581== Lock acquired, processing the job...
[2025-04-08 19:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:38:04] Production.INFO: ==15583== Releasing lock...
[2025-04-08 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:38:04] Production.INFO: ==15575== Releasing lock...
[2025-04-08 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:38:04] Production.ERROR: done
[2025-04-08 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:38:05] Production.ERROR: done
[2025-04-08 19:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:38:06
[end_date_ymd] => 2025-04-08 19:38:06
[RateCDR] => 1
)
[2025-04-08 19:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:38:06' and `end` < '2025-04-08 19:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:38:12] Production.ERROR: CronJobId end10
[2025-04-08 19:38:12] Production.INFO: ==15577== Releasing lock...
[2025-04-08 19:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:38:14] Production.INFO: call_cost start
[2025-04-08 19:38:14] Production.INFO: call_cost end
[2025-04-08 19:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:38:15] Production.INFO: ==15573== Releasing lock...
[2025-04-08 19:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:38:19] Production.INFO: count ==2491
[2025-04-08 19:38:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:38:06 - End Time 2025-04-08 19:38:06
[2025-04-08 19:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864388', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864388', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864388', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864388', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:38:20] Production.INFO: ProcessCDR(1,14864388,1,1,2)
[2025-04-08 19:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864388', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864388', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:38:23] Production.INFO: ==15581== Releasing lock...
[2025-04-08 19:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:38:23] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:39:01] Production.INFO: ==15644== Lock acquired, processing the job...
[2025-04-09 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:39:01] Production.INFO: neon service started
[2025-04-09 00:39:01] Production.INFO: neon service started
[2025-04-09 00:39:01] Production.INFO: ==15644== Releasing lock...
[2025-04-09 00:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:39:01] Production.INFO: ==15648== Lock acquired, processing the job...
[2025-04-08 23:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:39:01] Production.INFO: ==15648== Releasing lock...
[2025-04-08 23:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:39:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:39:02] Production.INFO: ==15646== Lock acquired, processing the job...
[2025-04-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:39:02] Production.INFO: ==15646== Releasing lock...
[2025-04-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:39:03] Production.INFO: ==15651== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:39:03] Production.INFO: ==15653== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:39:03] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:39:03] Production.INFO: Account Balance Start.
[2025-04-08 19:39:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:39:03] Production.INFO: 117
[2025-04-08 19:39:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:39:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:39:03] Production.INFO: Total Charge 0
[2025-04-08 19:39:03] Production.INFO: CreateAllLog End
[2025-04-08 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:39:03] Production.INFO: ==15655== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:39:03] Production.INFO: ==15659== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:39:03] Production.INFO: ==15653== Releasing lock...
[2025-04-08 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:39:03] Production.INFO: Account Balance End.
[2025-04-08 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:39:03] Production.INFO: ==15661== Lock acquired, processing the job...
[2025-04-08 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:39:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:39:03] Production.INFO: ==15657== Releasing lock...
[2025-04-08 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:39:03] Production.INFO: count ==12
[2025-04-08 19:39:03] Production.ERROR: done
[2025-04-08 19:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:39:03] Production.INFO: count ==23
[2025-04-08 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864392') start
[2025-04-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864392') end
[2025-04-08 19:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:39:04] Production.INFO: 1
[2025-04-08 19:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:39:04] Production.ERROR: done
[2025-04-08 19:39:04] Production.INFO: ==15661== Releasing lock...
[2025-04-08 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:39:05
[end_date_ymd] => 2025-04-08 19:39:05
[RateCDR] => 1
)
[2025-04-08 19:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:39:05' and `end` < '2025-04-08 19:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:39:12] Production.ERROR: CronJobId end10
[2025-04-08 19:39:12] Production.INFO: ==15655== Releasing lock...
[2025-04-08 19:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:39:13] Production.INFO: call_cost start
[2025-04-08 19:39:13] Production.INFO: call_cost end
[2025-04-08 19:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:39:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:39:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:39:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:39:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:39:14] Production.INFO: ==15651== Releasing lock...
[2025-04-08 19:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:39:18] Production.INFO: count ==2475
[2025-04-08 19:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:39:05 - End Time 2025-04-08 19:39:05
[2025-04-08 19:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864393', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864393', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864393', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864393', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:39:19] Production.INFO: ProcessCDR(1,14864393,1,1,2)
[2025-04-08 19:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864393', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864393', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:39:22] Production.INFO: ==15659== Releasing lock...
[2025-04-08 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:39:22] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 00:40:02] Production.INFO: ==15714== Lock acquired, processing the job...
[2025-04-09 00:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:40:02] Production.INFO: neon service started
[2025-04-09 00:40:02] Production.INFO: neon service started
[2025-04-09 00:40:02] Production.INFO: ==15714== Releasing lock...
[2025-04-09 00:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:40:02] Production.INFO: ==15716== Lock acquired, processing the job...
[2025-04-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:40:02] Production.INFO: ==15718== Lock acquired, processing the job...
[2025-04-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:40:02] Production.INFO: ==15718== Releasing lock...
[2025-04-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:40:03] Production.INFO: ==15716== Releasing lock...
[2025-04-08 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:40:03] Production.INFO: ==15721== Lock acquired, processing the job...
[2025-04-08 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:40:04] Production.INFO: ==15721== Releasing lock...
[2025-04-08 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:40:04] Production.INFO: ==15733== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:40:04] Production.INFO: ==15723== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:40:04] Production.INFO: ==15725== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:40:04] Production.INFO: ==15735== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:40:04] Production.INFO: ==15727== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:40:04] Production.INFO: ==15729== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:40:04] Production.INFO: ==15731== Lock acquired, processing the job...
[2025-04-08 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:40:04] Production.INFO: count ==12
[2025-04-08 19:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:40:04] Production.INFO: count ==23
[2025-04-08 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864395') start
[2025-04-08 19:40:04] Production.INFO: Account Balance Start.
[2025-04-08 19:40:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:40:04] Production.INFO: 117
[2025-04-08 19:40:04] Production.ERROR: done
[2025-04-08 19:40:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:40:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:40:04] Production.INFO: ==15725== Releasing lock...
[2025-04-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864398', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864395') end
[2025-04-08 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:40:04] Production.INFO: 1
[2025-04-08 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:40:04] Production.INFO: Total Charge 0
[2025-04-08 19:40:04] Production.INFO: CreateAllLog End
[2025-04-08 19:40:04] Production.INFO: ==15735== Releasing lock...
[2025-04-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:40:05] Production.ERROR: done
[2025-04-08 19:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:40:05] Production.INFO: Account Balance End.
[2025-04-08 19:40:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:40:05] Production.INFO: ==15729== Releasing lock...
[2025-04-08 19:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:40:05] Production.ERROR: done
[2025-04-08 19:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:40:06
[end_date_ymd] => 2025-04-08 19:40:06
[RateCDR] => 1
)
[2025-04-08 19:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:40:06' and `end` < '2025-04-08 19:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864398', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:40:09] Production.INFO: ProcessCDR(1,14864398,1,1,2)
[2025-04-08 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864398,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:40:09] Production.INFO: ==15733== Releasing lock...
[2025-04-08 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:40:15] Production.ERROR: CronJobId end10
[2025-04-08 19:40:15] Production.INFO: ==15727== Releasing lock...
[2025-04-08 19:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:40:17] Production.INFO: call_cost start
[2025-04-08 19:40:17] Production.INFO: call_cost end
[2025-04-08 19:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:40:18] Production.INFO: ==15723== Releasing lock...
[2025-04-08 19:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:40:19] Production.INFO: count ==2464
[2025-04-08 19:40:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:40:06 - End Time 2025-04-08 19:40:06
[2025-04-08 19:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864399', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864399', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864399', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864399', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:40:20] Production.INFO: ProcessCDR(1,14864399,1,1,2)
[2025-04-08 19:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864399', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864399', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:40:25] Production.INFO: ==15731== Releasing lock...
[2025-04-08 19:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:40:25] Production.INFO: 46.5 MB #Memory Used#
[2025-04-09 00:41:01] Production.INFO: ==15791== Lock acquired, processing the job...
[2025-04-09 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:41:01] Production.INFO: neon service started
[2025-04-09 00:41:01] Production.INFO: neon service started
[2025-04-09 00:41:01] Production.INFO: ==15791== Releasing lock...
[2025-04-09 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:41:01] Production.INFO: ==15793== Lock acquired, processing the job...
[2025-04-08 19:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:41:02] Production.INFO: ==15793== Releasing lock...
[2025-04-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:41:02] Production.INFO: ==15795== Lock acquired, processing the job...
[2025-04-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:41:02] Production.INFO: ==15795== Releasing lock...
[2025-04-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:41:02] Production.INFO: ==15797== Lock acquired, processing the job...
[2025-04-08 19:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:41:02] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-04-08 19:41:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:41:02] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-04-08 19:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:41:03] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-04-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:41:03] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-04-08 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:41:03] Production.INFO: Account Balance Start.
[2025-04-08 19:41:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:41:03] Production.INFO: 117
[2025-04-08 19:41:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:41:03] Production.INFO: ==15808== Lock acquired, processing the job...
[2025-04-08 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:41:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:41:03] Production.INFO: ==15799== Releasing lock...
[2025-04-08 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:41:03] Production.INFO: Total Charge 0
[2025-04-08 19:41:03] Production.INFO: CreateAllLog End
[2025-04-08 19:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:41:03] Production.INFO: count ==12
[2025-04-08 19:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:41:03] Production.INFO: count ==23
[2025-04-08 19:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864403') start
[2025-04-08 19:41:03] Production.INFO: Account Balance End.
[2025-04-08 19:41:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:41:03] Production.INFO: ==15803== Releasing lock...
[2025-04-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:41:03] Production.ERROR: done
[2025-04-08 19:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864403') end
[2025-04-08 19:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:41:03] Production.INFO: 1
[2025-04-08 19:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:41:03] Production.INFO: ==15808== Releasing lock...
[2025-04-08 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:41:04] Production.ERROR: done
[2025-04-08 19:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:41:04
[end_date_ymd] => 2025-04-08 19:41:04
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:41:04' and `end` < '2025-04-08 19:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:41:11] Production.ERROR: CronJobId end10
[2025-04-08 19:41:11] Production.INFO: ==15801== Releasing lock...
[2025-04-08 19:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:41:12] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:41:12] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:41:13] Production.INFO: call_cost start
[2025-04-08 19:41:13] Production.INFO: call_cost end
[2025-04-08 19:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:41:13] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:41:13] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:41:13] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:41:13] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:41:13] Production.INFO: ==15797== Releasing lock...
[2025-04-08 19:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:41:18] Production.INFO: count ==2399
[2025-04-08 19:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:41:04 - End Time 2025-04-08 19:41:04
[2025-04-08 19:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864404', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864404', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864404', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864404', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:41:18] Production.INFO: ProcessCDR(1,14864404,1,1,2)
[2025-04-08 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864404', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864404', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:41:23] Production.INFO: ==15806== Releasing lock...
[2025-04-08 19:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:41:23] Production.INFO: 46 MB #Memory Used#
[2025-04-09 00:42:01] Production.INFO: ==15903== Lock acquired, processing the job...
[2025-04-09 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:42:01] Production.INFO: neon service started
[2025-04-09 00:42:01] Production.INFO: neon service started
[2025-04-09 00:42:01] Production.INFO: ==15903== Releasing lock...
[2025-04-09 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:42:02] Production.INFO: ==15905== Lock acquired, processing the job...
[2025-04-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:42:02] Production.INFO: ==15907== Lock acquired, processing the job...
[2025-04-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:42:02] Production.INFO: ==15907== Releasing lock...
[2025-04-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:42:02] Production.INFO: ==15905== Releasing lock...
[2025-04-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:42:03] Production.INFO: ==15909== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:42:03] Production.INFO: ==15916== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:42:03] Production.INFO: ==15918== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:42:03] Production.INFO: Account Balance Start.
[2025-04-08 19:42:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:42:03] Production.INFO: 117
[2025-04-08 19:42:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:42:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:42:03] Production.INFO: ==15911== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:42:03] Production.INFO: Total Charge 0
[2025-04-08 19:42:03] Production.INFO: ==15913== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:42:03] Production.INFO: CreateAllLog End
[2025-04-08 19:42:03] Production.INFO: ==15920== Lock acquired, processing the job...
[2025-04-08 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:42:03] Production.ERROR: done
[2025-04-08 19:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:42:04] Production.INFO: count ==12
[2025-04-08 19:42:04] Production.ERROR: done
[2025-04-08 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-04-08 19:42:04] Production.INFO: count ==23
[2025-04-08 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864408') start
[2025-04-08 19:42:04] Production.INFO: Account Balance End.
[2025-04-08 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864408') end
[2025-04-08 19:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:42:04] Production.INFO: 1
[2025-04-08 19:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:42:04] Production.INFO: ==15911== Releasing lock...
[2025-04-08 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:42:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:42:04] Production.INFO: ==15916== Releasing lock...
[2025-04-08 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:42:04] Production.INFO: ==15920== Releasing lock...
[2025-04-08 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:42:05
[end_date_ymd] => 2025-04-08 19:42:05
[RateCDR] => 1
)
[2025-04-08 19:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:42:05' and `end` < '2025-04-08 19:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:42:11] Production.ERROR: CronJobId end10
[2025-04-08 19:42:11] Production.INFO: ==15913== Releasing lock...
[2025-04-08 19:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:42:13] Production.INFO: call_cost start
[2025-04-08 19:42:13] Production.INFO: call_cost end
[2025-04-08 19:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:42:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:42:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:42:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:42:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:42:14] Production.INFO: ==15909== Releasing lock...
[2025-04-08 19:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:42:18] Production.INFO: count ==2384
[2025-04-08 19:42:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:42:05 - End Time 2025-04-08 19:42:05
[2025-04-08 19:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864409', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864409', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864409', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864409', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:42:19] Production.INFO: ProcessCDR(1,14864409,1,1,2)
[2025-04-08 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864409', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864409', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:42:24] Production.INFO: ==15918== Releasing lock...
[2025-04-08 19:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:42:24] Production.INFO: 46 MB #Memory Used#
[2025-04-09 00:43:02] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-04-09 00:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:43:02] Production.INFO: neon service started
[2025-04-09 00:43:02] Production.INFO: neon service started
[2025-04-09 00:43:02] Production.INFO: ==15975== Releasing lock...
[2025-04-09 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:43:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:43:02] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-04-08 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:43:03] Production.INFO: ==15978== Releasing lock...
[2025-04-08 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:43:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:43:03] Production.INFO: ==15980== Releasing lock...
[2025-04-08 23:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:43:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:43:03] Production.INFO: ==15990== Lock acquired, processing the job...
[2025-04-08 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:43:04] Production.INFO: ==15992== Lock acquired, processing the job...
[2025-04-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:43:04] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-04-08 19:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:43:04] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-04-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:43:04] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-04-08 19:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:43:04] Production.INFO: ==15988== Lock acquired, processing the job...
[2025-04-08 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:43:04] Production.INFO: count ==12
[2025-04-08 19:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:43:04] Production.INFO: count ==23
[2025-04-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864410') start
[2025-04-08 19:43:04] Production.INFO: Account Balance Start.
[2025-04-08 19:43:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:43:04] Production.INFO: 117
[2025-04-08 19:43:04] Production.ERROR: done
[2025-04-08 19:43:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:43:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864410') end
[2025-04-08 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:43:04] Production.INFO: 1
[2025-04-08 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:43:04] Production.INFO: Total Charge 0
[2025-04-08 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:43:04] Production.INFO: CreateAllLog End
[2025-04-08 19:43:04] Production.INFO: ==15992== Releasing lock...
[2025-04-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:43:04] Production.ERROR: done
[2025-04-08 19:43:04] Production.INFO: ==15984== Releasing lock...
[2025-04-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:43:04] Production.INFO: Account Balance End.
[2025-04-08 19:43:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:43:04] Production.INFO: ==15988== Releasing lock...
[2025-04-08 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:43:05
[end_date_ymd] => 2025-04-08 19:43:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:43:05' and `end` < '2025-04-08 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-04-08 19:43:13] Production.ERROR: CronJobId end10
[2025-04-08 19:43:13] Production.INFO: ==15986== Releasing lock...
[2025-04-08 19:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:43:15] Production.INFO: call_cost start
[2025-04-08 19:43:15] Production.INFO: call_cost end
[2025-04-08 19:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:43:16] Production.INFO: ==15982== Releasing lock...
[2025-04-08 19:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:43:19] Production.INFO: count ==2357
[2025-04-08 19:43:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:43:05 - End Time 2025-04-08 19:43:05
[2025-04-08 19:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864414', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864414', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864414', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864414', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:43:19] Production.INFO: ProcessCDR(1,14864414,1,1,2)
[2025-04-08 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864414', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864414', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:43:25] Production.INFO: ==15990== Releasing lock...
[2025-04-08 19:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:43:25] Production.INFO: 45.75 MB #Memory Used#
[2025-04-09 00:44:01] Production.INFO: ==16047== Lock acquired, processing the job...
[2025-04-09 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:44:01] Production.INFO: neon service started
[2025-04-09 00:44:01] Production.INFO: neon service started
[2025-04-09 00:44:01] Production.INFO: ==16047== Releasing lock...
[2025-04-09 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:44:02] Production.INFO: ==16051== Lock acquired, processing the job...
[2025-04-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:44:02] Production.INFO: ==16051== Releasing lock...
[2025-04-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:44:02] Production.INFO: ==16049== Lock acquired, processing the job...
[2025-04-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:44:02] Production.INFO: ==16049== Releasing lock...
[2025-04-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:44:03] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:44:03] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:44:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:44:03] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:44:03] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:44:03] Production.INFO: ==16064== Lock acquired, processing the job...
[2025-04-08 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:44:04] Production.INFO: Account Balance Start.
[2025-04-08 19:44:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:44:04] Production.INFO: 117
[2025-04-08 19:44:04] Production.ERROR: done
[2025-04-08 19:44:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:44:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:44:04] Production.INFO: Total Charge 0
[2025-04-08 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:44:04] Production.INFO: CreateAllLog End
[2025-04-08 19:44:04] Production.INFO: count ==12
[2025-04-08 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:44:04] Production.INFO: count ==23
[2025-04-08 19:44:04] Production.ERROR: done
[2025-04-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864418') start
[2025-04-08 19:44:04] Production.INFO: ==16055== Releasing lock...
[2025-04-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864418') end
[2025-04-08 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:44:04] Production.INFO: 1
[2025-04-08 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:44:04] Production.INFO: ==16064== Releasing lock...
[2025-04-08 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:44:04] Production.INFO: Account Balance End.
[2025-04-08 19:44:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:44:04] Production.INFO: ==16060== Releasing lock...
[2025-04-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:44:05
[end_date_ymd] => 2025-04-08 19:44:05
[RateCDR] => 1
)
[2025-04-08 19:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:44:05' and `end` < '2025-04-08 19:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:44:11] Production.ERROR: CronJobId end10
[2025-04-08 19:44:11] Production.INFO: ==16057== Releasing lock...
[2025-04-08 19:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:44:15] Production.INFO: call_cost start
[2025-04-08 19:44:15] Production.INFO: call_cost end
[2025-04-08 19:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:44:16] Production.INFO: ==16053== Releasing lock...
[2025-04-08 19:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:44:18] Production.INFO: count ==2345
[2025-04-08 19:44:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:44:05 - End Time 2025-04-08 19:44:05
[2025-04-08 19:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864419', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864419', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864419', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864419', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:44:19] Production.INFO: ProcessCDR(1,14864419,1,1,2)
[2025-04-08 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864419', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864419', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:44:22] Production.INFO: ==16062== Releasing lock...
[2025-04-08 19:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:44:22] Production.INFO: 45.75 MB #Memory Used#
[2025-04-09 00:45:02] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-04-09 00:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:45:02] Production.INFO: neon service started
[2025-04-09 00:45:02] Production.INFO: neon service started
[2025-04-09 00:45:02] Production.INFO: ==16126== Releasing lock...
[2025-04-09 00:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:45:02] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-04-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:45:03] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:45:03] Production.INFO: ==16130== Releasing lock...
[2025-04-08 23:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:45:03] Production.INFO: ==16128== Releasing lock...
[2025-04-08 19:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:45:04] Production.INFO: ==16135== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:45:04] Production.INFO: ==16139== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:45:04] Production.INFO: ==16143== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:45:04] Production.INFO: Account Balance Start.
[2025-04-08 19:45:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:45:04] Production.INFO: 117
[2025-04-08 19:45:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:45:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:45:04] Production.INFO: Total Charge 0
[2025-04-08 19:45:04] Production.INFO: CreateAllLog End
[2025-04-08 19:45:04] Production.INFO: ==16133== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19: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-04-08 19:45:04] Production.INFO: ==16135== Releasing lock...
[2025-04-08 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:45:04] Production.INFO: count ==12
[2025-04-08 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-04-08 19:45:04] Production.INFO: ==16137== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:45:04] Production.INFO: count ==23
[2025-04-08 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864422') start
[2025-04-08 19:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:45:04] Production.INFO: Account Balance End.
[2025-04-08 19:45:04] Production.INFO: ==16141== Lock acquired, processing the job...
[2025-04-08 19:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864422') end
[2025-04-08 19:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:45:04] Production.INFO: 1
[2025-04-08 19:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:45:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:45:04] Production.INFO: ==16139== Releasing lock...
[2025-04-08 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:45:04] Production.INFO: ==16143== Releasing lock...
[2025-04-08 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:45:04] Production.ERROR: done
[2025-04-08 19:45:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:45:05] Production.ERROR: done
[2025-04-08 19:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:45:06
[end_date_ymd] => 2025-04-08 19:45:06
[RateCDR] => 1
)
[2025-04-08 19:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:45:06' and `end` < '2025-04-08 19:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:45:13] Production.ERROR: CronJobId end10
[2025-04-08 19:45:13] Production.INFO: ==16137== Releasing lock...
[2025-04-08 19:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:45:15] Production.INFO: call_cost start
[2025-04-08 19:45:15] Production.INFO: call_cost end
[2025-04-08 19:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:45:16] Production.INFO: ==16133== Releasing lock...
[2025-04-08 19:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:45:19] Production.INFO: count ==2326
[2025-04-08 19:45:20] Production.ERROR: pbx CDR StartTime 2025-04-08 16:45:06 - End Time 2025-04-08 19:45:06
[2025-04-08 19:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864424', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864424', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864424', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864424', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:45:20] Production.INFO: ProcessCDR(1,14864424,1,1,2)
[2025-04-08 19:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864424', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864424', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:45:23] Production.INFO: ==16141== Releasing lock...
[2025-04-08 19:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:45:23] Production.INFO: 45.25 MB #Memory Used#
[2025-04-09 00:46:01] Production.INFO: ==16195== Lock acquired, processing the job...
[2025-04-09 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:46:01] Production.INFO: neon service started
[2025-04-09 00:46:01] Production.INFO: neon service started
[2025-04-09 00:46:01] Production.INFO: ==16195== Releasing lock...
[2025-04-09 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:46:02] Production.INFO: ==16198== Lock acquired, processing the job...
[2025-04-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:46:02] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-04-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 19:46:02] Production.INFO: ==16198== Releasing lock...
[2025-04-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:46:02] Production.INFO: ==16200== Releasing lock...
[2025-04-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:46:03] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:46:03] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:46:03] Production.INFO: ==16212== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:46:03] Production.INFO: ==16204== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:46:03] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:46:03] Production.INFO: Account Balance Start.
[2025-04-08 19:46:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:46:03] Production.INFO: 117
[2025-04-08 19:46:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:46:03] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-04-08 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:46:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19: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-04-08 19:46:03] Production.INFO: Total Charge 0
[2025-04-08 19:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:46:03] Production.INFO: count ==12
[2025-04-08 19:46:03] Production.INFO: CreateAllLog End
[2025-04-08 19: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-04-08 19:46:03] Production.INFO: count ==23
[2025-04-08 19:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864426') start
[2025-04-08 19:46:03] Production.INFO: Account Balance End.
[2025-04-08 19:46:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:46:03] Production.INFO: ==16208== Releasing lock...
[2025-04-08 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:46:04] Production.INFO: ==16204== Releasing lock...
[2025-04-08 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864426') end
[2025-04-08 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:46:04] Production.INFO: 1
[2025-04-08 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:46:04] Production.INFO: ==16212== Releasing lock...
[2025-04-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:46:04] Production.ERROR: done
[2025-04-08 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:46:04] Production.ERROR: done
[2025-04-08 19:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:46:05
[end_date_ymd] => 2025-04-08 19:46:05
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:46:05' and `end` < '2025-04-08 19: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-04-08 19:46:13] Production.ERROR: CronJobId end10
[2025-04-08 19:46:13] Production.INFO: ==16206== Releasing lock...
[2025-04-08 19:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:46:14] Production.INFO: call_cost start
[2025-04-08 19:46:14] Production.INFO: call_cost end
[2025-04-08 19:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:46:15] Production.INFO: ==16202== Releasing lock...
[2025-04-08 19:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:46:18] Production.INFO: count ==2321
[2025-04-08 19:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:46:05 - End Time 2025-04-08 19:46:05
[2025-04-08 19:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864429', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864429', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864429', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864429', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:46:19] Production.INFO: ProcessCDR(1,14864429,1,1,2)
[2025-04-08 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864429', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864429', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:46:24] Production.INFO: ==16210== Releasing lock...
[2025-04-08 19:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:46:24] Production.INFO: 45.25 MB #Memory Used#
[2025-04-09 00:47:02] Production.INFO: ==16270== Lock acquired, processing the job...
[2025-04-09 00:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:47:02] Production.INFO: neon service started
[2025-04-09 00:47:02] Production.INFO: neon service started
[2025-04-09 00:47:02] Production.INFO: ==16270== Releasing lock...
[2025-04-09 00:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:47:02] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-04-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:47:02] Production.INFO: ==16274== Releasing lock...
[2025-04-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:47:02] Production.INFO: ==16272== Lock acquired, processing the job...
[2025-04-08 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:47:03] Production.INFO: ==16272== Releasing lock...
[2025-04-08 19:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:47:03] Production.INFO: ==16281== Lock acquired, processing the job...
[2025-04-08 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:47:03] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-04-08 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:47:04] Production.INFO: ==16277== Lock acquired, processing the job...
[2025-04-08 19:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:47:04] Production.INFO: ==16279== Lock acquired, processing the job...
[2025-04-08 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:47:04] Production.INFO: ==16283== Lock acquired, processing the job...
[2025-04-08 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:47:04] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-04-08 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:47:04] Production.INFO: Account Balance Start.
[2025-04-08 19:47:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:47:04] Production.INFO: 117
[2025-04-08 19:47:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:47:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:47:04] Production.INFO: Total Charge 0
[2025-04-08 19:47:04] Production.INFO: CreateAllLog End
[2025-04-08 19:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:47:04] Production.INFO: count ==12
[2025-04-08 19:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:47:04] Production.INFO: count ==23
[2025-04-08 19:47:04] Production.ERROR: done
[2025-04-08 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864433') start
[2025-04-08 19:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:47:04] Production.INFO: Account Balance End.
[2025-04-08 19:47:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:47:04] Production.INFO: ==16283== Releasing lock...
[2025-04-08 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:47:04] Production.INFO: ==16279== Releasing lock...
[2025-04-08 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864433') end
[2025-04-08 19:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:47:04] Production.INFO: 1
[2025-04-08 19:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:47:04] Production.ERROR: done
[2025-04-08 19:47:04] Production.INFO: ==16287== Releasing lock...
[2025-04-08 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:47:05
[end_date_ymd] => 2025-04-08 19:47:05
[RateCDR] => 1
)
[2025-04-08 19:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:47:05' and `end` < '2025-04-08 19:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:47:13] Production.ERROR: CronJobId end10
[2025-04-08 19:47:13] Production.INFO: ==16281== Releasing lock...
[2025-04-08 19:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:47:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:47:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:47:15] Production.INFO: call_cost start
[2025-04-08 19:47:15] Production.INFO: call_cost end
[2025-04-08 19:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:47:16] Production.INFO: ==16277== Releasing lock...
[2025-04-08 19:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:47:19] Production.INFO: count ==2281
[2025-04-08 19:47:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:47:05 - End Time 2025-04-08 19:47:05
[2025-04-08 19:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864434', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864434', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864434', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864434', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:47:19] Production.INFO: ProcessCDR(1,14864434,1,1,2)
[2025-04-08 19:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864434', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864434', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:47:24] Production.INFO: ==16285== Releasing lock...
[2025-04-08 19:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:47:24] Production.INFO: 45 MB #Memory Used#
[2025-04-09 00:48:01] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-04-09 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:48:01] Production.INFO: neon service started
[2025-04-09 00:48:01] Production.INFO: neon service started
[2025-04-09 00:48:01] Production.INFO: ==16342== Releasing lock...
[2025-04-09 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:48:02] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-04-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:48:02] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-04-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:48:02] Production.INFO: ==16346== Releasing lock...
[2025-04-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:48:02] Production.INFO: ==16344== Releasing lock...
[2025-04-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:48:03] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:48:03] Production.INFO: ==16359== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 19:48:03] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:48:03] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:48:03] Production.INFO: count ==23
[2025-04-08 19:48:03] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864435') start
[2025-04-08 19:48:03] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:48:03] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-04-08 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864435') end
[2025-04-08 19:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:48:03] Production.INFO: 1
[2025-04-08 19:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:48:04] Production.INFO: ==16359== Releasing lock...
[2025-04-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:48:04] Production.INFO: Account Balance Start.
[2025-04-08 19:48:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:48:04] Production.INFO: 117
[2025-04-08 19:48:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:48:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:48:04] Production.INFO: Total Charge 0
[2025-04-08 19:48:04] Production.INFO: CreateAllLog End
[2025-04-08 19:48:04] Production.INFO: ==16351== Releasing lock...
[2025-04-08 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:48:04] Production.ERROR: done
[2025-04-08 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:48:04] Production.INFO: Account Balance End.
[2025-04-08 19:48:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:48:04] Production.INFO: ==16355== Releasing lock...
[2025-04-08 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:48:04] Production.ERROR: done
[2025-04-08 19:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:48:05
[end_date_ymd] => 2025-04-08 19:48:05
[RateCDR] => 1
)
[2025-04-08 19:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:48:05' and `end` < '2025-04-08 19:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:48:12] Production.ERROR: CronJobId end10
[2025-04-08 19:48:12] Production.INFO: ==16353== Releasing lock...
[2025-04-08 19:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:48:14] Production.INFO: call_cost start
[2025-04-08 19:48:14] Production.INFO: call_cost end
[2025-04-08 19:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:48:15] Production.INFO: ==16349== Releasing lock...
[2025-04-08 19:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:48:18] Production.INFO: count ==2251
[2025-04-08 19:48:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:48:05 - End Time 2025-04-08 19:48:05
[2025-04-08 19:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864439', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864439', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864439', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864439', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:48:19] Production.INFO: ProcessCDR(1,14864439,1,1,2)
[2025-04-08 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864439', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864439', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:48:24] Production.INFO: ==16357== Releasing lock...
[2025-04-08 19:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:48:24] Production.INFO: 44.5 MB #Memory Used#
[2025-04-09 00:49:02] Production.INFO: ==16414== Lock acquired, processing the job...
[2025-04-09 00:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:49:02] Production.INFO: neon service started
[2025-04-09 00:49:02] Production.INFO: neon service started
[2025-04-09 00:49:02] Production.INFO: ==16414== Releasing lock...
[2025-04-09 00:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:49:02] Production.INFO: ==16416== Lock acquired, processing the job...
[2025-04-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:49:02] Production.INFO: ==16418== Lock acquired, processing the job...
[2025-04-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:49:02] Production.INFO: ==16418== Releasing lock...
[2025-04-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:49:03] Production.INFO: ==16416== Releasing lock...
[2025-04-08 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:49:04] Production.INFO: ==16423== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:49:04] Production.INFO: ==16425== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:49:04] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:49:04] Production.INFO: ==16427== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:49:04] Production.INFO: ==16431== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:49:04] Production.INFO: Account Balance Start.
[2025-04-08 19:49:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:49:04] Production.INFO: 117
[2025-04-08 19:49:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:49:04] Production.INFO: ==16429== Lock acquired, processing the job...
[2025-04-08 19:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:49:04] Production.INFO: count ==12
[2025-04-08 19:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:49:04] Production.INFO: count ==23
[2025-04-08 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864443') start
[2025-04-08 19:49:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:49:04] Production.INFO: Total Charge 0
[2025-04-08 19:49:04] Production.INFO: CreateAllLog End
[2025-04-08 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864443') end
[2025-04-08 19:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:49:04] Production.INFO: 1
[2025-04-08 19:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:49:04] Production.INFO: ==16431== Releasing lock...
[2025-04-08 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:49:04] Production.INFO: ==16423== Releasing lock...
[2025-04-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:49:04] Production.ERROR: done
[2025-04-08 19:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:49:04] Production.INFO: Account Balance End.
[2025-04-08 19:49:05] Production.ERROR: CronJobId end 12
[2025-04-08 19:49:05] Production.INFO: ==16427== Releasing lock...
[2025-04-08 19:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:49:05] Production.ERROR: done
[2025-04-08 19:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:49:06
[end_date_ymd] => 2025-04-08 19:49:06
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:49:06' and `end` < '2025-04-08 19: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-04-08 19:49:13] Production.ERROR: CronJobId end10
[2025-04-08 19:49:13] Production.INFO: ==16425== Releasing lock...
[2025-04-08 19:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:49:14] Production.INFO: call_cost start
[2025-04-08 19:49:14] Production.INFO: call_cost end
[2025-04-08 19:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:49:15] Production.INFO: ==16421== Releasing lock...
[2025-04-08 19:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:49:19] Production.INFO: count ==2233
[2025-04-08 19:49:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:49:06 - End Time 2025-04-08 19:49:06
[2025-04-08 19:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864444', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864444', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864444', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864444', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:49:20] Production.INFO: ProcessCDR(1,14864444,1,1,2)
[2025-04-08 19:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864444', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864444', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:49:25] Production.INFO: ==16429== Releasing lock...
[2025-04-08 19:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:49:25] Production.INFO: 44.75 MB #Memory Used#
[2025-04-09 00:50:01] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-04-09 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:50:01] Production.INFO: neon service started
[2025-04-09 00:50:01] Production.INFO: neon service started
[2025-04-09 00:50:01] Production.INFO: ==16486== Releasing lock...
[2025-04-09 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:50:02] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-04-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:50:02] Production.INFO: ==16490== Releasing lock...
[2025-04-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:50:02] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-04-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:50:02] Production.INFO: ==16488== Releasing lock...
[2025-04-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:50:03] Production.INFO: ==16495== Lock acquired, processing the job...
[2025-04-08 19:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:50:03] Production.INFO: ==16493== Lock acquired, processing the job...
[2025-04-08 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 19:50:03] Production.INFO: ==16503== Lock acquired, processing the job...
[2025-04-08 19:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:50:03] Production.INFO: ==16497== Lock acquired, processing the job...
[2025-04-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 19:50:04] Production.ERROR: CronJob PID - 16495
[2025-04-08 19:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 19:50:04] Production.ERROR: CronJob ID - 5
[2025-04-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 19:50:00
[2025-04-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:50:04] Production.INFO: ==16499== Lock acquired, processing the job...
[2025-04-08 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 19:50:04] Production.INFO: ==16493== Releasing lock...
[2025-04-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 19:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 19:50:04] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-04-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:50:04] Production.INFO: ==16501== Lock acquired, processing the job...
[2025-04-08 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:50:04] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-04-08 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:50:04] Production.INFO: Account Balance Start.
[2025-04-08 19:50:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:50:04] Production.INFO: 117
[2025-04-08 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:50:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:50:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:50:04] Production.INFO: count ==12
[2025-04-08 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:50:04] Production.INFO: count ==23
[2025-04-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864448') start
[2025-04-08 19:50:04] Production.ERROR: done
[2025-04-08 19:50:04] Production.ERROR: done
[2025-04-08 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:50:04] Production.INFO: Total Charge 0
[2025-04-08 19:50:04] Production.INFO: CreateAllLog End
[2025-04-08 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864449', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864448') end
[2025-04-08 19:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:50:04] Production.INFO: 1
[2025-04-08 19:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:50:04] Production.INFO: ==16507== Releasing lock...
[2025-04-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:50:04] Production.INFO: ==16497== Releasing lock...
[2025-04-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:50:04] Production.ERROR: done
[2025-04-08 19:50:04] Production.INFO: Account Balance End.
[2025-04-08 19:50:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:50:04] Production.INFO: ==16501== Releasing lock...
[2025-04-08 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:50:05
[end_date_ymd] => 2025-04-08 19:50:05
[RateCDR] => 1
)
[2025-04-08 19:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:50:05' and `end` < '2025-04-08 19:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864449', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 19:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 19:50:09] Production.INFO: ProcessCDR(1,14864449,1,1,2)
[2025-04-08 19:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:50:09] Production.INFO: ==16505== Releasing lock...
[2025-04-08 19:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 19:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 19:50:13] Production.ERROR: CronJobId end10
[2025-04-08 19:50:13] Production.INFO: ==16499== Releasing lock...
[2025-04-08 19:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:50:16] Production.INFO: call_cost start
[2025-04-08 19:50:16] Production.INFO: call_cost end
[2025-04-08 19:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:50:17] Production.INFO: ==16495== Releasing lock...
[2025-04-08 19:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:50:18] Production.INFO: count ==2223
[2025-04-08 19:50:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:50:05 - End Time 2025-04-08 19:50:05
[2025-04-08 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864450', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864450', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864450', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864450', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:50:19] Production.INFO: ProcessCDR(1,14864450,1,1,2)
[2025-04-08 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864450', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864450', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:50:22] Production.INFO: ==16503== Releasing lock...
[2025-04-08 19:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:50:22] Production.INFO: 44.5 MB #Memory Used#
[2025-04-09 00:51:02] Production.INFO: ==16562== Lock acquired, processing the job...
[2025-04-09 00:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:51:02] Production.INFO: neon service started
[2025-04-09 00:51:02] Production.INFO: neon service started
[2025-04-09 00:51:02] Production.INFO: ==16562== Releasing lock...
[2025-04-09 00:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:51:02] Production.INFO: ==16566== Lock acquired, processing the job...
[2025-04-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:51:02] Production.INFO: ==16566== Releasing lock...
[2025-04-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:51:02] Production.INFO: ==16564== Lock acquired, processing the job...
[2025-04-08 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:51:03] Production.INFO: ==16564== Releasing lock...
[2025-04-08 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:51:03] Production.INFO: ==16575== Lock acquired, processing the job...
[2025-04-08 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:51:04] Production.INFO: ==16577== Lock acquired, processing the job...
[2025-04-08 19:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:51:04] Production.INFO: Account Balance Start.
[2025-04-08 19:51:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:51:04] Production.INFO: 117
[2025-04-08 19:51:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:51:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:51:04] Production.INFO: Total Charge 0
[2025-04-08 19:51:04] Production.INFO: CreateAllLog End
[2025-04-08 19:51:04] Production.INFO: ==16569== Lock acquired, processing the job...
[2025-04-08 19:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:51:04] Production.INFO: ==16571== Lock acquired, processing the job...
[2025-04-08 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:51:04] Production.INFO: ==16573== Lock acquired, processing the job...
[2025-04-08 19:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:51:04] Production.INFO: ==16579== Lock acquired, processing the job...
[2025-04-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:51:04] Production.INFO: Account Balance End.
[2025-04-08 19:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:51:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:51:04] Production.INFO: ==16575== Releasing lock...
[2025-04-08 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:51:04] Production.INFO: count ==12
[2025-04-08 19:51:04] Production.ERROR: done
[2025-04-08 19:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:51:04] Production.INFO: count ==23
[2025-04-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864454') start
[2025-04-08 19:51:04] Production.INFO: ==16571== Releasing lock...
[2025-04-08 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:51:04] Production.ERROR: done
[2025-04-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864454') end
[2025-04-08 19:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:51:04] Production.INFO: 1
[2025-04-08 19:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:51:04] Production.INFO: ==16579== Releasing lock...
[2025-04-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:51:05
[end_date_ymd] => 2025-04-08 19:51:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:51:05' and `end` < '2025-04-08 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-04-08 19:51:12] Production.ERROR: CronJobId end10
[2025-04-08 19:51:12] Production.INFO: ==16573== Releasing lock...
[2025-04-08 19:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:51:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:51:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:51:16] Production.INFO: call_cost start
[2025-04-08 19:51:16] Production.INFO: call_cost end
[2025-04-08 19:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:51:16] Production.INFO: ==16569== Releasing lock...
[2025-04-08 19:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:51:18] Production.INFO: count ==2131
[2025-04-08 19:51:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:51:05 - End Time 2025-04-08 19:51:05
[2025-04-08 19:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864455', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864455', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864455', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864455', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:51:18] Production.INFO: ProcessCDR(1,14864455,1,1,2)
[2025-04-08 19:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864455', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864455', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:51:24] Production.INFO: ==16577== Releasing lock...
[2025-04-08 19:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:51:24] Production.INFO: 44 MB #Memory Used#
[2025-04-09 00:52:01] Production.INFO: ==16641== Lock acquired, processing the job...
[2025-04-09 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:52:01] Production.INFO: neon service started
[2025-04-09 00:52:01] Production.INFO: neon service started
[2025-04-09 00:52:01] Production.INFO: ==16641== Releasing lock...
[2025-04-09 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:52:01] Production.INFO: ==16643== Lock acquired, processing the job...
[2025-04-08 19:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:52:02] Production.INFO: ==16643== Releasing lock...
[2025-04-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:52:02] Production.INFO: ==16645== Lock acquired, processing the job...
[2025-04-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:52:02] Production.INFO: ==16645== Releasing lock...
[2025-04-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:52:03] Production.INFO: ==16651== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:52:03] Production.INFO: ==16647== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:52:03] Production.INFO: ==16649== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:52:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:52:03] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:52:03] Production.INFO: ==16658== Lock acquired, processing the job...
[2025-04-08 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:52:03] Production.INFO: Account Balance Start.
[2025-04-08 19:52:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:52:03] Production.INFO: 117
[2025-04-08 19:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:52:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:52:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:52:03] Production.INFO: count ==12
[2025-04-08 19:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:52:03] Production.INFO: count ==23
[2025-04-08 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864459') start
[2025-04-08 19:52:03] Production.INFO: Total Charge 0
[2025-04-08 19:52:03] Production.INFO: CreateAllLog End
[2025-04-08 19:52:03] Production.INFO: ==16649== Releasing lock...
[2025-04-08 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864459') end
[2025-04-08 19:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:52:03] Production.INFO: 1
[2025-04-08 19:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:52:04] Production.INFO: ==16658== Releasing lock...
[2025-04-08 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:52:04] Production.ERROR: done
[2025-04-08 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:52:04] Production.INFO: Account Balance End.
[2025-04-08 19:52:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:52:04] Production.INFO: ==16653== Releasing lock...
[2025-04-08 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:52:04] Production.ERROR: done
[2025-04-08 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:52:05
[end_date_ymd] => 2025-04-08 19:52:05
[RateCDR] => 1
)
[2025-04-08 19:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:52:05' and `end` < '2025-04-08 19:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:52:12] Production.ERROR: CronJobId end10
[2025-04-08 19:52:12] Production.INFO: ==16651== Releasing lock...
[2025-04-08 19:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:52:15] Production.INFO: call_cost start
[2025-04-08 19:52:15] Production.INFO: call_cost end
[2025-04-08 19:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:52:15] Production.INFO: ==16647== Releasing lock...
[2025-04-08 19:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:52:18] Production.INFO: count ==2105
[2025-04-08 19:52:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:52:05 - End Time 2025-04-08 19:52:05
[2025-04-08 19:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864460', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864460', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864460', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864460', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:52:18] Production.INFO: ProcessCDR(1,14864460,1,1,2)
[2025-04-08 19:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864460', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864460', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:52:24] Production.INFO: ==16655== Releasing lock...
[2025-04-08 19:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:52:24] Production.INFO: 43.5 MB #Memory Used#
[2025-04-09 00:53:02] Production.INFO: ==16721== Lock acquired, processing the job...
[2025-04-09 00:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:53:02] Production.INFO: neon service started
[2025-04-09 00:53:02] Production.INFO: neon service started
[2025-04-09 00:53:02] Production.INFO: ==16721== Releasing lock...
[2025-04-09 00:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:53:02] Production.INFO: ==16723== Lock acquired, processing the job...
[2025-04-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:53:02] Production.INFO: ==16725== Lock acquired, processing the job...
[2025-04-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:53:02] Production.INFO: ==16725== Releasing lock...
[2025-04-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:53:02] Production.INFO: ==16723== Releasing lock...
[2025-04-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:53:03] Production.INFO: ==16729== Lock acquired, processing the job...
[2025-04-08 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:53:03] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-04-08 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:53:03] Production.INFO: ==16727== Lock acquired, processing the job...
[2025-04-08 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:53:04] Production.INFO: ==16731== Lock acquired, processing the job...
[2025-04-08 19:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:53:04] Production.INFO: ==16734== Lock acquired, processing the job...
[2025-04-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:53:04] Production.INFO: ==16729== Releasing lock...
[2025-04-08 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:53:04] Production.INFO: ==16738== Lock acquired, processing the job...
[2025-04-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:53:04] Production.INFO: Account Balance Start.
[2025-04-08 19:53:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:53:04] Production.INFO: 117
[2025-04-08 19:53:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:53:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:53:04] Production.INFO: Total Charge 0
[2025-04-08 19:53:04] Production.INFO: CreateAllLog End
[2025-04-08 19:53:04] Production.ERROR: done
[2025-04-08 19:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:53:04] Production.INFO: count ==12
[2025-04-08 19:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:53:04] Production.INFO: count ==23
[2025-04-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864464') start
[2025-04-08 19:53:04] Production.ERROR: done
[2025-04-08 19:53:04] Production.INFO: Account Balance End.
[2025-04-08 19:53:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:53:04] Production.INFO: ==16734== Releasing lock...
[2025-04-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864464') end
[2025-04-08 19:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:53:04] Production.INFO: 1
[2025-04-08 19:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:53:04] Production.INFO: ==16738== Releasing lock...
[2025-04-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:53:05
[end_date_ymd] => 2025-04-08 19:53:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:53:05' and `end` < '2025-04-08 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-04-08 19:53:11] Production.ERROR: CronJobId end10
[2025-04-08 19:53:11] Production.INFO: ==16731== Releasing lock...
[2025-04-08 19:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:53:15] Production.INFO: call_cost start
[2025-04-08 19:53:15] Production.INFO: call_cost end
[2025-04-08 19:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:53:16] Production.INFO: ==16727== Releasing lock...
[2025-04-08 19:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:53:18] Production.INFO: count ==2089
[2025-04-08 19:53:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:53:05 - End Time 2025-04-08 19:53:05
[2025-04-08 19:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864465', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864465', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864465', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864465', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:53:19] Production.INFO: ProcessCDR(1,14864465,1,1,2)
[2025-04-08 19:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864465', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864465', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:53:22] Production.INFO: ==16736== Releasing lock...
[2025-04-08 19:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:53:22] Production.INFO: 43.5 MB #Memory Used#
[2025-04-09 00:54:01] Production.INFO: ==16792== Lock acquired, processing the job...
[2025-04-09 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:54:01] Production.INFO: neon service started
[2025-04-09 00:54:01] Production.INFO: neon service started
[2025-04-09 00:54:01] Production.INFO: ==16792== Releasing lock...
[2025-04-09 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:54:01] Production.INFO: ==16794== Lock acquired, processing the job...
[2025-04-08 19:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:54:02] Production.INFO: ==16796== Lock acquired, processing the job...
[2025-04-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 19:54:02] Production.INFO: ==16794== Releasing lock...
[2025-04-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:54:02] Production.INFO: ==16796== Releasing lock...
[2025-04-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:54:03] Production.INFO: ==16804== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:54:03] Production.INFO: ==16806== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:54:03] Production.INFO: Account Balance Start.
[2025-04-08 19:54:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:54:03] Production.INFO: 117
[2025-04-08 19:54:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:54:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:54:03] Production.INFO: ==16798== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:54:03] Production.INFO: Total Charge 0
[2025-04-08 19:54:03] Production.INFO: CreateAllLog End
[2025-04-08 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:54:03] Production.INFO: ==16800== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:54:03] Production.INFO: ==16802== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:54:03] Production.INFO: ==16809== Lock acquired, processing the job...
[2025-04-08 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:54:03] Production.INFO: Account Balance End.
[2025-04-08 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:54:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:54:03] Production.INFO: ==16804== Releasing lock...
[2025-04-08 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:54:03] Production.ERROR: done
[2025-04-08 19:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:54:03] Production.INFO: count ==12
[2025-04-08 19:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:54:03] Production.INFO: count ==23
[2025-04-08 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864469') start
[2025-04-08 19:54:04] Production.INFO: ==16800== Releasing lock...
[2025-04-08 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:54:04] Production.ERROR: done
[2025-04-08 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864469') end
[2025-04-08 19:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:54:04] Production.INFO: 1
[2025-04-08 19:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:54:04] Production.INFO: ==16809== Releasing lock...
[2025-04-08 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:54:05
[end_date_ymd] => 2025-04-08 19:54:05
[RateCDR] => 1
)
[2025-04-08 19:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:54:05' and `end` < '2025-04-08 19:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:54:11] Production.ERROR: CronJobId end10
[2025-04-08 19:54:11] Production.INFO: ==16802== Releasing lock...
[2025-04-08 19:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:54:14] Production.INFO: call_cost start
[2025-04-08 19:54:14] Production.INFO: call_cost end
[2025-04-08 19:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:54:15] Production.INFO: ==16798== Releasing lock...
[2025-04-08 19:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:54:18] Production.INFO: count ==2073
[2025-04-08 19:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:54:05 - End Time 2025-04-08 19:54:05
[2025-04-08 19:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864470', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864470', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864470', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864470', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:54:18] Production.INFO: ProcessCDR(1,14864470,1,1,2)
[2025-04-08 19:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864470', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864470', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:54:22] Production.INFO: ==16806== Releasing lock...
[2025-04-08 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:54:22] Production.INFO: 43.75 MB #Memory Used#
[2025-04-09 00:55:02] Production.INFO: ==16863== Lock acquired, processing the job...
[2025-04-09 00:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:55:02] Production.INFO: neon service started
[2025-04-09 00:55:02] Production.INFO: neon service started
[2025-04-09 00:55:02] Production.INFO: ==16863== Releasing lock...
[2025-04-09 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:55:02] Production.INFO: ==16867== Lock acquired, processing the job...
[2025-04-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:55:02] Production.INFO: ==16867== Releasing lock...
[2025-04-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:55:02] Production.INFO: ==16865== Lock acquired, processing the job...
[2025-04-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:55:02] Production.INFO: ==16865== Releasing lock...
[2025-04-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:55:03] Production.INFO: ==16872== Lock acquired, processing the job...
[2025-04-08 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:55:03] Production.INFO: ==16874== Lock acquired, processing the job...
[2025-04-08 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:55:03] Production.INFO: ==16870== Lock acquired, processing the job...
[2025-04-08 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:55:03] Production.INFO: ==16872== Releasing lock...
[2025-04-08 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:55:03] Production.INFO: ==16876== Lock acquired, processing the job...
[2025-04-08 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:55:04] Production.INFO: ==16878== Lock acquired, processing the job...
[2025-04-08 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:55:04] Production.INFO: Account Balance Start.
[2025-04-08 19:55:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:55:04] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-04-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:55:04] Production.INFO: 117
[2025-04-08 19:55:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:55:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:55:04] Production.INFO: Total Charge 0
[2025-04-08 19:55:04] Production.INFO: CreateAllLog End
[2025-04-08 19:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:55:04] Production.INFO: Account Balance End.
[2025-04-08 19:55:04] Production.INFO: count ==12
[2025-04-08 19:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 19:55:04] Production.ERROR: done
[2025-04-08 19:55:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:55:04] Production.INFO: ==16876== Releasing lock...
[2025-04-08 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:55:04] Production.INFO: count ==23
[2025-04-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864474') start
[2025-04-08 19:55:04] Production.ERROR: done
[2025-04-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864474') end
[2025-04-08 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:55:04] Production.INFO: 1
[2025-04-08 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:55:04] Production.INFO: ==16880== Releasing lock...
[2025-04-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:55:05
[end_date_ymd] => 2025-04-08 19:55:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 16:55:05' and `end` < '2025-04-08 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-04-08 19:55:13] Production.ERROR: CronJobId end10
[2025-04-08 19:55:13] Production.INFO: ==16874== Releasing lock...
[2025-04-08 19:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:55:15] Production.INFO: call_cost start
[2025-04-08 19:55:15] Production.INFO: call_cost end
[2025-04-08 19:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:55:16] Production.INFO: ==16870== Releasing lock...
[2025-04-08 19:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:55:18] Production.INFO: count ==2069
[2025-04-08 19:55:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:55:05 - End Time 2025-04-08 19:55:05
[2025-04-08 19:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864475', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864475', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864475', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864475', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:55:19] Production.INFO: ProcessCDR(1,14864475,1,1,2)
[2025-04-08 19:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864475', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864475', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:55:22] Production.INFO: ==16878== Releasing lock...
[2025-04-08 19:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:55:22] Production.INFO: 43.5 MB #Memory Used#
[2025-04-09 00:56:01] Production.INFO: ==16939== Lock acquired, processing the job...
[2025-04-09 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:56:01] Production.INFO: neon service started
[2025-04-09 00:56:01] Production.INFO: neon service started
[2025-04-09 00:56:01] Production.INFO: ==16939== Releasing lock...
[2025-04-09 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:56:01] Production.INFO: ==16943== Lock acquired, processing the job...
[2025-04-08 23:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:56:01] Production.INFO: ==16943== Releasing lock...
[2025-04-08 23:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:56:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:56:02] Production.INFO: ==16941== Lock acquired, processing the job...
[2025-04-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:56:02] Production.INFO: ==16941== Releasing lock...
[2025-04-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:56:03] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:56:03] Production.INFO: ==16954== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:56:03] Production.INFO: ==16947== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:56:03] Production.INFO: ==16949== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:56:03] Production.INFO: ==16951== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:56:03] Production.INFO: ==16956== Lock acquired, processing the job...
[2025-04-08 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:56:03] Production.INFO: Account Balance Start.
[2025-04-08 19:56:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:56:03] Production.INFO: 117
[2025-04-08 19:56:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:56:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:56:03] Production.INFO: Total Charge 0
[2025-04-08 19:56:03] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 19:56:03] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:56:03] Production.INFO: count ==23
[2025-04-08 19:56:04] Production.ERROR: done
[2025-04-08 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864479') start
[2025-04-08 19:56:04] Production.INFO: ==16947== Releasing lock...
[2025-04-08 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864479') end
[2025-04-08 19:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:56:04] Production.INFO: 1
[2025-04-08 19:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:56:04] Production.INFO: ==16956== Releasing lock...
[2025-04-08 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:56:04] Production.ERROR: done
[2025-04-08 19:56:04] Production.INFO: Account Balance End.
[2025-04-08 19:56:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:56:04] Production.INFO: ==16951== Releasing lock...
[2025-04-08 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:56:05
[end_date_ymd] => 2025-04-08 19:56:05
[RateCDR] => 1
)
[2025-04-08 19:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:56:05' and `end` < '2025-04-08 19:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:56:12] Production.ERROR: CronJobId end10
[2025-04-08 19:56:12] Production.INFO: ==16949== Releasing lock...
[2025-04-08 19:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:56:15] Production.INFO: call_cost start
[2025-04-08 19:56:15] Production.INFO: call_cost end
[2025-04-08 19:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:56:16] Production.INFO: ==16945== Releasing lock...
[2025-04-08 19:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:56:18] Production.INFO: count ==2061
[2025-04-08 19:56:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:56:05 - End Time 2025-04-08 19:56:05
[2025-04-08 19:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864480', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864480', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864480', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864480', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:56:19] Production.INFO: ProcessCDR(1,14864480,1,1,2)
[2025-04-08 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864480', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864480', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:56:24] Production.INFO: ==16954== Releasing lock...
[2025-04-08 19:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:56:24] Production.INFO: 43.5 MB #Memory Used#
[2025-04-09 00:57:01] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-04-09 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:57:01] Production.INFO: neon service started
[2025-04-09 00:57:01] Production.INFO: neon service started
[2025-04-09 00:57:01] Production.INFO: ==17013== Releasing lock...
[2025-04-09 00:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:57:02] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-04-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:57:02] Production.INFO: ==17015== Releasing lock...
[2025-04-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:57:02] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-04-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:57:02] Production.INFO: ==17017== Releasing lock...
[2025-04-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:57:03] Production.INFO: ==17020== Lock acquired, processing the job...
[2025-04-08 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:57:03] Production.INFO: ==17022== Lock acquired, processing the job...
[2025-04-08 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:57:03] Production.INFO: ==17030== Lock acquired, processing the job...
[2025-04-08 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:57:03] Production.INFO: ==17024== Lock acquired, processing the job...
[2025-04-08 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 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-04-08 19:57:03] Production.INFO: count ==12
[2025-04-08 19:57:03] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-04-08 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:57:03] Production.INFO: ==17022== Releasing lock...
[2025-04-08 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19: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-04-08 19:57:03] Production.INFO: count ==23
[2025-04-08 19:57:04] Production.INFO: ==17028== Lock acquired, processing the job...
[2025-04-08 19:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864483') start
[2025-04-08 19:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864483') end
[2025-04-08 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:57:04] Production.INFO: 1
[2025-04-08 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:57:04] Production.INFO: Account Balance Start.
[2025-04-08 19:57:04] Production.INFO: CreateAllLog Start
[2025-04-08 19:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:57:04] Production.INFO: 117
[2025-04-08 19:57:04] Production.INFO: ==17030== Releasing lock...
[2025-04-08 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:57:04] Production.INFO: Date 2025-04-08
[2025-04-08 19:57:04] Production.INFO: Reseller ==> 0
[2025-04-08 19:57:04] Production.INFO: Total Charge 0
[2025-04-08 19:57:04] Production.INFO: CreateAllLog End
[2025-04-08 19:57:04] Production.ERROR: done
[2025-04-08 19:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:57:04] Production.ERROR: done
[2025-04-08 19:57:04] Production.INFO: Account Balance End.
[2025-04-08 19:57:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:57:04] Production.INFO: ==17026== Releasing lock...
[2025-04-08 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:57:05
[end_date_ymd] => 2025-04-08 19:57:05
[RateCDR] => 1
)
[2025-04-08 19: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-04-08 16:57:05' and `end` < '2025-04-08 19: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-04-08 19:57:12] Production.ERROR: CronJobId end10
[2025-04-08 19:57:12] Production.INFO: ==17024== Releasing lock...
[2025-04-08 19:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:57:15] Production.INFO: call_cost start
[2025-04-08 19:57:15] Production.INFO: call_cost end
[2025-04-08 19:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:57:15] Production.INFO: ==17020== Releasing lock...
[2025-04-08 19:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:57:18] Production.INFO: count ==2049
[2025-04-08 19:57:19] Production.ERROR: pbx CDR StartTime 2025-04-08 16:57:05 - End Time 2025-04-08 19:57:05
[2025-04-08 19:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864485', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864485', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864485', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864485', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:57:19] Production.INFO: ProcessCDR(1,14864485,1,1,2)
[2025-04-08 19:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864485', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864485', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:57:24] Production.INFO: ==17028== Releasing lock...
[2025-04-08 19:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:57:24] Production.INFO: 43.5 MB #Memory Used#
[2025-04-09 00:58:01] Production.INFO: ==17126== Lock acquired, processing the job...
[2025-04-09 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:58:01] Production.INFO: neon service started
[2025-04-09 00:58:01] Production.INFO: neon service started
[2025-04-09 00:58:01] Production.INFO: ==17126== Releasing lock...
[2025-04-09 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 19:58:01] Production.INFO: ==17128== Lock acquired, processing the job...
[2025-04-08 19:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:58:02] Production.INFO: ==17128== Releasing lock...
[2025-04-08 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:58:02] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-04-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:58:02] Production.INFO: ==17130== Releasing lock...
[2025-04-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:58:03] Production.INFO: ==17135== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:58:03] Production.INFO: ==17137== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:58:03] Production.INFO: ==17139== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:58:03] Production.INFO: Account Balance Start.
[2025-04-08 19:58:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:58:03] Production.INFO: 117
[2025-04-08 19:58:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:58:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:58:03] Production.INFO: ==17133== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:58:03] Production.INFO: Total Charge 0
[2025-04-08 19:58:03] Production.INFO: CreateAllLog End
[2025-04-08 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 19:58:03] Production.INFO: ==17141== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:58:03] Production.INFO: ==17135== Releasing lock...
[2025-04-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:58:03] Production.INFO: Account Balance End.
[2025-04-08 19:58:03] Production.ERROR: CronJobId end 12
[2025-04-08 19:58:03] Production.INFO: ==17139== Releasing lock...
[2025-04-08 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:58:03] Production.INFO: ==17143== Lock acquired, processing the job...
[2025-04-08 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19: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-04-08 19:58:03] Production.INFO: count ==12
[2025-04-08 19: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-04-08 19:58:03] Production.INFO: count ==23
[2025-04-08 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864489') start
[2025-04-08 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864489') end
[2025-04-08 19:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:58:03] Production.INFO: 1
[2025-04-08 19:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:58:03] Production.INFO: ==17143== Releasing lock...
[2025-04-08 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:58:03] Production.ERROR: done
[2025-04-08 19:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:58:04] Production.ERROR: done
[2025-04-08 19:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:58:05
[end_date_ymd] => 2025-04-08 19:58:05
[RateCDR] => 1
)
[2025-04-08 19:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:58:05' and `end` < '2025-04-08 19:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:58:12] Production.ERROR: CronJobId end10
[2025-04-08 19:58:12] Production.INFO: ==17137== Releasing lock...
[2025-04-08 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:58:14] Production.INFO: call_cost start
[2025-04-08 19:58:14] Production.INFO: call_cost end
[2025-04-08 19:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:58:15] Production.INFO: ==17133== Releasing lock...
[2025-04-08 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:58:18] Production.INFO: count ==2030
[2025-04-08 19:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:58:05 - End Time 2025-04-08 19:58:05
[2025-04-08 19:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864490', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864490', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864490', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864490', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:58:18] Production.INFO: ProcessCDR(1,14864490,1,1,2)
[2025-04-08 19:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864490', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864490', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:58:24] Production.INFO: ==17141== Releasing lock...
[2025-04-08 19:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:58:24] Production.INFO: 43.25 MB #Memory Used#
[2025-04-09 00:59:01] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-04-09 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 00:59:01] Production.INFO: neon service started
[2025-04-09 00:59:01] Production.INFO: neon service started
[2025-04-09 00:59:01] Production.INFO: ==17199== Releasing lock...
[2025-04-09 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:59:02] Production.INFO: ==17203== Lock acquired, processing the job...
[2025-04-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:59:02] Production.INFO: ==17203== Releasing lock...
[2025-04-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-08 23:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 19:59:02] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-04-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 19:59:02] Production.INFO: ==17201== Releasing lock...
[2025-04-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 19:59:03] Production.INFO: ==17207== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 19:59:03] Production.INFO: ==17205== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 19:59:03] Production.INFO: ==17215== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 19:59:03] Production.INFO: ==17209== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 19:59:03] Production.INFO: count ==12
[2025-04-08 19:59:03] Production.INFO: ==17211== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 19:59:03] Production.INFO: count ==23
[2025-04-08 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864493') start
[2025-04-08 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 19:59:03] Production.INFO: ==17213== Lock acquired, processing the job...
[2025-04-08 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864493') end
[2025-04-08 19:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 19:59:03] Production.INFO: 1
[2025-04-08 19:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 19:59:03] Production.INFO: Account Balance Start.
[2025-04-08 19:59:03] Production.INFO: CreateAllLog Start
[2025-04-08 19:59:03] Production.INFO: 117
[2025-04-08 19:59:03] Production.INFO: Date 2025-04-08
[2025-04-08 19:59:03] Production.INFO: ==17215== Releasing lock...
[2025-04-08 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 19:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 19:59:03] Production.INFO: Reseller ==> 0
[2025-04-08 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 19:59:03] Production.INFO: Total Charge 0
[2025-04-08 19:59:03] Production.INFO: ==17207== Releasing lock...
[2025-04-08 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 19:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 19:59:03] Production.INFO: CreateAllLog End
[2025-04-08 19:59:04] Production.INFO: Account Balance End.
[2025-04-08 19:59:04] Production.ERROR: done
[2025-04-08 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 19:59:04] Production.ERROR: CronJobId end 12
[2025-04-08 19:59:04] Production.INFO: ==17211== Releasing lock...
[2025-04-08 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 19:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 19:59:04] Production.ERROR: done
[2025-04-08 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 16:59:05
[end_date_ymd] => 2025-04-08 19:59:05
[RateCDR] => 1
)
[2025-04-08 19:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 16:59:05' and `end` < '2025-04-08 19:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 19:59:12] Production.ERROR: CronJobId end10
[2025-04-08 19:59:12] Production.INFO: ==17209== Releasing lock...
[2025-04-08 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 19:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 19:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 19:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 19:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 19:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 19:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 19:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 19:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 19:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 19:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 19:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 19:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 19:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 19:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 19:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 19:59:14] Production.INFO: call_cost start
[2025-04-08 19:59:14] Production.INFO: call_cost end
[2025-04-08 19:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 19:59:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 19:59:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 19:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 19:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 19:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 19:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 19:59:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 19:59:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 19:59:14] Production.INFO: ==17205== Releasing lock...
[2025-04-08 19:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 19:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 19:59:18] Production.INFO: count ==2018
[2025-04-08 19:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 16:59:05 - End Time 2025-04-08 19:59:05
[2025-04-08 19:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864495', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864495', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864495', 'tblTempVendorCDR_20' ) start
[2025-04-08 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864495', 'tblTempVendorCDR_20' ) end
[2025-04-08 19:59:19] Production.INFO: ProcessCDR(1,14864495,1,1,2)
[2025-04-08 19:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 19:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 19:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864495', 'tblTempUsageDetail_20' ) start
[2025-04-08 19:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864495', 'tblTempUsageDetail_20' ) end
[2025-04-08 19:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 19:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 19:59:23] Production.INFO: ==17213== Releasing lock...
[2025-04-08 19:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 19:59:23] Production.INFO: 43.25 MB #Memory Used#
[2025-04-09 01:00:02] Production.INFO: ==17271== Lock acquired, processing the job...
[2025-04-09 01:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:00:02] Production.INFO: neon service started
[2025-04-09 01:00:02] Production.INFO: neon service started
[2025-04-09 01:00:02] Production.INFO: ==17271== Releasing lock...
[2025-04-09 01:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:00:02] Production.INFO: ==17273== Lock acquired, processing the job...
[2025-04-08 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==17275== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==17275== Releasing lock...
[2025-04-09 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:00:03] Production.INFO: ==17273== Releasing lock...
[2025-04-08 20:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:00:04] Production.INFO: ==17283== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:00:04] Production.INFO: ==17277== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:00:04] Production.INFO: ==17286== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:00:04] Production.INFO: ==17290== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:00:04] Production.ERROR: CronJob PID - 17283
[2025-04-08 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 20:00:04] Production.ERROR: CronJob ID - 10
[2025-04-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 20:00:00
[2025-04-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:00:04] Production.ERROR: CronJob PID - 17286
[2025-04-08 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 20:00:04] Production.ERROR: CronJob ID - 12
[2025-04-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 20:00:00
[2025-04-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:00:04] Production.INFO: Account Balance Start.
[2025-04-08 20:00:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:00:04] Production.INFO: 117
[2025-04-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:00:04] Production.INFO: ==17277== Releasing lock...
[2025-04-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:00:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:00:04] Production.INFO: ==17281== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:00:04] Production.INFO: ==17279== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:00:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:00:04] Production.INFO: Total Charge 0
[2025-04-08 20:00:04] Production.INFO: ==17288== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: CreateAllLog End
[2025-04-08 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:00:04] Production.INFO: ==17292== Lock acquired, processing the job...
[2025-04-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:00:04] Production.ERROR: done
[2025-04-08 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-04-08 20:00:05] Production.INFO: count ==12
[2025-04-08 20:00:05] Production.INFO: Account Balance End.
[2025-04-08 20:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864500', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:00:05] Production.INFO: count ==23
[2025-04-08 20:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864499') start
[2025-04-08 20:00:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:00:05] Production.INFO: ==17286== Releasing lock...
[2025-04-08 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:00:05] Production.ERROR: done
[2025-04-08 20:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864499') end
[2025-04-08 20:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:00:05] Production.INFO: 1
[2025-04-08 20:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:00:05] Production.INFO: ==17281== Releasing lock...
[2025-04-08 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:00:05] Production.INFO: ==17292== Releasing lock...
[2025-04-08 20:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:00:05] Production.ERROR: done
[2025-04-08 20:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:00:07
[end_date_ymd] => 2025-04-08 20:00:07
[RateCDR] => 1
)
[2025-04-08 20:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:00:07' and `end` < '2025-04-08 20:00:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864500', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:00:09] Production.INFO: ProcessCDR(1,14864500,1,1,2)
[2025-04-08 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:00:09] Production.INFO: ==17290== Releasing lock...
[2025-04-08 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:00:16] Production.ERROR: CronJobId end10
[2025-04-08 20:00:16] Production.INFO: ==17283== Releasing lock...
[2025-04-08 20:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:00:17] Production.INFO: call_cost start
[2025-04-08 20:00:17] Production.INFO: call_cost end
[2025-04-08 20:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:00:18] Production.INFO: ==17279== Releasing lock...
[2025-04-08 20:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:00:20] Production.INFO: count ==2007
[2025-04-08 20:00:20] Production.ERROR: pbx CDR StartTime 2025-04-08 17:00:07 - End Time 2025-04-08 20:00:07
[2025-04-08 20:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864501', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864501', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864501', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864501', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:00:20] Production.INFO: ProcessCDR(1,14864501,1,1,2)
[2025-04-08 20:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864501', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864501', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:00:25] Production.INFO: ==17288== Releasing lock...
[2025-04-08 20:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:00:25] Production.INFO: 42.75 MB #Memory Used#
[2025-04-09 01:01:01] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-04-09 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:01:01] Production.INFO: neon service started
[2025-04-09 01:01:01] Production.INFO: neon service started
[2025-04-09 01:01:01] Production.INFO: ==17395== Releasing lock...
[2025-04-09 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:01:02] Production.INFO: ==17404== Lock acquired, processing the job...
[2025-04-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:01:02] Production.INFO: ==17404== Releasing lock...
[2025-04-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:01:02] Production.INFO: ==17402== Lock acquired, processing the job...
[2025-04-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:01:02] Production.INFO: ==17402== Releasing lock...
[2025-04-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:01:03] Production.INFO: ==17409== Lock acquired, processing the job...
[2025-04-08 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:01:03] Production.INFO: ==17411== Lock acquired, processing the job...
[2025-04-08 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:01:03] Production.INFO: ==17413== Lock acquired, processing the job...
[2025-04-08 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:01:03] Production.INFO: Account Balance Start.
[2025-04-08 20:01:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:01:03] Production.INFO: 117
[2025-04-08 20:01:03] Production.INFO: ==17409== Releasing lock...
[2025-04-08 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:01:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:01:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:01:03] Production.INFO: ==17407== Lock acquired, processing the job...
[2025-04-08 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:01:03] Production.INFO: Total Charge 0
[2025-04-08 20:01:03] Production.INFO: CreateAllLog End
[2025-04-08 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:01:03] Production.INFO: Account Balance End.
[2025-04-08 20:01:03] Production.INFO: ==17415== Lock acquired, processing the job...
[2025-04-08 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:01:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:01:04] Production.INFO: ==17413== Releasing lock...
[2025-04-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:01:04] Production.INFO: ==17417== Lock acquired, processing the job...
[2025-04-08 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:01:04] Production.INFO: count ==12
[2025-04-08 20:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:01:04] Production.INFO: count ==23
[2025-04-08 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864505') start
[2025-04-08 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864505') end
[2025-04-08 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:01:04] Production.INFO: 1
[2025-04-08 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:01:04] Production.INFO: ==17417== Releasing lock...
[2025-04-08 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:01:04] Production.ERROR: done
[2025-04-08 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:01:04] Production.ERROR: done
[2025-04-08 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:01:05
[end_date_ymd] => 2025-04-08 20:01:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:01:05' and `end` < '2025-04-08 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-04-08 20:01:13] Production.ERROR: CronJobId end10
[2025-04-08 20:01:13] Production.INFO: ==17411== Releasing lock...
[2025-04-08 20:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:01:15] Production.INFO: call_cost start
[2025-04-08 20:01:15] Production.INFO: call_cost end
[2025-04-08 20:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:01:16] Production.INFO: ==17407== Releasing lock...
[2025-04-08 20:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:01:19] Production.INFO: count ==1917
[2025-04-08 20:01:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:01:05 - End Time 2025-04-08 20:01:05
[2025-04-08 20:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864506', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864506', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864506', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864506', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:01:19] Production.INFO: ProcessCDR(1,14864506,1,1,2)
[2025-04-08 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864506', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864506', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:01:22] Production.INFO: ==17415== Releasing lock...
[2025-04-08 20:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:01:22] Production.INFO: 42.5 MB #Memory Used#
[2025-04-09 01:02:02] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-04-09 01:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:02:02] Production.INFO: neon service started
[2025-04-09 01:02:02] Production.INFO: neon service started
[2025-04-09 01:02:02] Production.INFO: ==17471== Releasing lock...
[2025-04-09 01:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:02:03] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-04-08 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:02:03] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:02:03] Production.INFO: ==17475== Releasing lock...
[2025-04-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:02:03] Production.INFO: ==17473== Releasing lock...
[2025-04-08 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:02:04] Production.INFO: ==17480== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:02:04] Production.INFO: ==17482== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:02:04] Production.INFO: ==17484== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:02:04] Production.INFO: ==17478== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:02:04] Production.INFO: Account Balance Start.
[2025-04-08 20:02:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:02:04] Production.INFO: 117
[2025-04-08 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:02:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:02:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:02:04] Production.INFO: Total Charge 0
[2025-04-08 20:02:04] Production.INFO: ==17480== Releasing lock...
[2025-04-08 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:02:04] Production.INFO: CreateAllLog End
[2025-04-08 20:02:04] Production.INFO: ==17486== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:02:04] Production.INFO: ==17488== Lock acquired, processing the job...
[2025-04-08 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:02:04] Production.INFO: Account Balance End.
[2025-04-08 20:02:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:02:04] Production.INFO: ==17484== Releasing lock...
[2025-04-08 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:02:04] Production.INFO: count ==12
[2025-04-08 20:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:02:04] Production.INFO: count ==23
[2025-04-08 20:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864510') start
[2025-04-08 20:02:05] Production.ERROR: done
[2025-04-08 20:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864510') end
[2025-04-08 20:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:02:05] Production.INFO: 1
[2025-04-08 20:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:02:05] Production.INFO: ==17488== Releasing lock...
[2025-04-08 20:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:02:05] Production.ERROR: done
[2025-04-08 20:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:02:06
[end_date_ymd] => 2025-04-08 20:02:06
[RateCDR] => 1
)
[2025-04-08 20:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:02:06' and `end` < '2025-04-08 20:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:02:14] Production.ERROR: CronJobId end10
[2025-04-08 20:02:14] Production.INFO: ==17482== Releasing lock...
[2025-04-08 20:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:02:17] Production.INFO: call_cost start
[2025-04-08 20:02:17] Production.INFO: call_cost end
[2025-04-08 20:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:02:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:02:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:02:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:02:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:02:18] Production.INFO: ==17478== Releasing lock...
[2025-04-08 20:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:02:19] Production.INFO: count ==1907
[2025-04-08 20:02:20] Production.ERROR: pbx CDR StartTime 2025-04-08 17:02:06 - End Time 2025-04-08 20:02:06
[2025-04-08 20:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864511', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864511', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864511', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864511', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:02:20] Production.INFO: ProcessCDR(1,14864511,1,1,2)
[2025-04-08 20:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864511', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864511', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:02:25] Production.INFO: ==17486== Releasing lock...
[2025-04-08 20:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:02:25] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:03:01] Production.INFO: ==17543== Lock acquired, processing the job...
[2025-04-09 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:03:01] Production.INFO: neon service started
[2025-04-09 01:03:01] Production.INFO: neon service started
[2025-04-09 01:03:01] Production.INFO: ==17543== Releasing lock...
[2025-04-09 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:03:02] Production.INFO: ==17545== Lock acquired, processing the job...
[2025-04-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:03:02] Production.INFO: ==17545== Releasing lock...
[2025-04-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:03:02] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-04-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:03:02] Production.INFO: ==17547== Releasing lock...
[2025-04-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:03:03] Production.INFO: ==17552== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:03:03] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:03:03] Production.INFO: ==17550== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:03:03] Production.INFO: ==17554== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 20:03:03] Production.INFO: count ==12
[2025-04-08 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-04-08 20:03:03] Production.INFO: count ==23
[2025-04-08 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864513') start
[2025-04-08 20:03:03] Production.INFO: ==17556== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:03:03] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-04-08 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864513') end
[2025-04-08 20:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:03:03] Production.INFO: 1
[2025-04-08 20:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:03:03] Production.INFO: ==17552== Releasing lock...
[2025-04-08 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:03:03] Production.INFO: ==17560== Releasing lock...
[2025-04-08 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:03:03] Production.INFO: Account Balance Start.
[2025-04-08 20:03:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:03:03] Production.INFO: 117
[2025-04-08 20:03:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:03:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:03:03] Production.INFO: Total Charge 0
[2025-04-08 20:03:03] Production.INFO: CreateAllLog End
[2025-04-08 20:03:04] Production.ERROR: done
[2025-04-08 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:03:04] Production.INFO: Account Balance End.
[2025-04-08 20:03:04] Production.ERROR: done
[2025-04-08 20:03:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:03:04] Production.INFO: ==17556== Releasing lock...
[2025-04-08 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:03:05
[end_date_ymd] => 2025-04-08 20:03:05
[RateCDR] => 1
)
[2025-04-08 20:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:03:05' and `end` < '2025-04-08 20:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:03:12] Production.ERROR: CronJobId end10
[2025-04-08 20:03:12] Production.INFO: ==17554== Releasing lock...
[2025-04-08 20:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:03:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:03:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:03:14] Production.INFO: call_cost start
[2025-04-08 20:03:14] Production.INFO: call_cost end
[2025-04-08 20:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:03:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:03:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:03:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:03:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:03:14] Production.INFO: ==17550== Releasing lock...
[2025-04-08 20:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:03:18] Production.INFO: count ==1902
[2025-04-08 20:03:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:03:05 - End Time 2025-04-08 20:03:05
[2025-04-08 20:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864516', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864516', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864516', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864516', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:03:18] Production.INFO: ProcessCDR(1,14864516,1,1,2)
[2025-04-08 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864516', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864516', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:03:23] Production.INFO: ==17558== Releasing lock...
[2025-04-08 20:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:03:23] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:04:02] Production.INFO: ==17620== Lock acquired, processing the job...
[2025-04-09 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:04:02] Production.INFO: neon service started
[2025-04-09 01:04:02] Production.INFO: neon service started
[2025-04-09 01:04:02] Production.INFO: ==17620== Releasing lock...
[2025-04-09 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:04:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:04:02] Production.INFO: ==17622== Lock acquired, processing the job...
[2025-04-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:04:03] Production.INFO: ==17624== Lock acquired, processing the job...
[2025-04-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:04:03] Production.INFO: ==17622== Releasing lock...
[2025-04-08 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:04:03] Production.INFO: ==17624== Releasing lock...
[2025-04-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:04:03] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-04-08 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:04:03] Production.INFO: ==17629== Lock acquired, processing the job...
[2025-04-08 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:04:03] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-04-08 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:04:04] Production.INFO: ==17629== Releasing lock...
[2025-04-08 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:04:04] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-04-08 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:04:04] Production.INFO: Account Balance Start.
[2025-04-08 20:04:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:04:04] Production.INFO: 117
[2025-04-08 20:04:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:04:04] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-04-08 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:04:04] Production.INFO: ==17637== Lock acquired, processing the job...
[2025-04-08 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:04:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:04:04] Production.INFO: Total Charge 0
[2025-04-08 20:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:04:04] Production.INFO: CreateAllLog End
[2025-04-08 20:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:04:04] Production.INFO: count ==12
[2025-04-08 20:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:04:04] Production.INFO: count ==23
[2025-04-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864520') start
[2025-04-08 20:04:04] Production.INFO: Account Balance End.
[2025-04-08 20:04:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:04:04] Production.INFO: ==17633== Releasing lock...
[2025-04-08 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864520') end
[2025-04-08 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:04:04] Production.INFO: 1
[2025-04-08 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:04:04] Production.INFO: ==17637== Releasing lock...
[2025-04-08 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:04:04] Production.ERROR: done
[2025-04-08 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:04:05] Production.ERROR: done
[2025-04-08 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:04:05
[end_date_ymd] => 2025-04-08 20:04:05
[RateCDR] => 1
)
[2025-04-08 20:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:04:05' and `end` < '2025-04-08 20:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:04:13] Production.ERROR: CronJobId end10
[2025-04-08 20:04:13] Production.INFO: ==17631== Releasing lock...
[2025-04-08 20:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:04:14] Production.INFO: call_cost start
[2025-04-08 20:04:14] Production.INFO: call_cost end
[2025-04-08 20:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:04:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:04:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:04:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:04:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:04:14] Production.INFO: ==17627== Releasing lock...
[2025-04-08 20:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:04:18] Production.INFO: count ==1895
[2025-04-08 20:04:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:04:05 - End Time 2025-04-08 20:04:05
[2025-04-08 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864521', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864521', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864521', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864521', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:04:19] Production.INFO: ProcessCDR(1,14864521,1,1,2)
[2025-04-08 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864521', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864521', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:04:22] Production.INFO: ==17635== Releasing lock...
[2025-04-08 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:04:22] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:05:01] Production.INFO: ==17689== Lock acquired, processing the job...
[2025-04-09 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:05:01] Production.INFO: neon service started
[2025-04-09 01:05:01] Production.INFO: neon service started
[2025-04-09 01:05:01] Production.INFO: ==17689== Releasing lock...
[2025-04-09 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:05:02] Production.INFO: ==17691== Lock acquired, processing the job...
[2025-04-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:05:02] Production.INFO: ==17693== Lock acquired, processing the job...
[2025-04-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:05:02] Production.INFO: ==17693== Releasing lock...
[2025-04-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:05:02] Production.INFO: ==17691== Releasing lock...
[2025-04-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:05:03] Production.INFO: ==17700== Lock acquired, processing the job...
[2025-04-08 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:05:03] Production.INFO: ==17696== Lock acquired, processing the job...
[2025-04-08 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:05:03] Production.INFO: ==17698== Lock acquired, processing the job...
[2025-04-08 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:05:03] Production.INFO: ==17706== Lock acquired, processing the job...
[2025-04-08 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:05:03] Production.INFO: ==17702== Lock acquired, processing the job...
[2025-04-08 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:05:04] Production.INFO: ==17704== Lock acquired, processing the job...
[2025-04-08 20:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:05:04] Production.INFO: Account Balance Start.
[2025-04-08 20:05:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:05:04] Production.INFO: count ==12
[2025-04-08 20:05:04] Production.INFO: 117
[2025-04-08 20:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:05:04] Production.INFO: count ==23
[2025-04-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864524') start
[2025-04-08 20:05:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:05:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:05:04] Production.INFO: Total Charge 0
[2025-04-08 20:05:04] Production.INFO: CreateAllLog End
[2025-04-08 20:05:04] Production.INFO: ==17698== Releasing lock...
[2025-04-08 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864524') end
[2025-04-08 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:05:04] Production.INFO: 1
[2025-04-08 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:05:04] Production.INFO: ==17706== Releasing lock...
[2025-04-08 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:05:04] Production.ERROR: done
[2025-04-08 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:05:04] Production.INFO: Account Balance End.
[2025-04-08 20:05:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:05:04] Production.INFO: ==17702== Releasing lock...
[2025-04-08 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:05:04] Production.ERROR: done
[2025-04-08 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:05:05
[end_date_ymd] => 2025-04-08 20:05:05
[RateCDR] => 1
)
[2025-04-08 20:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:05:05' and `end` < '2025-04-08 20:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:05:13] Production.ERROR: CronJobId end10
[2025-04-08 20:05:13] Production.INFO: ==17700== Releasing lock...
[2025-04-08 20:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:05:16] Production.INFO: call_cost start
[2025-04-08 20:05:16] Production.INFO: call_cost end
[2025-04-08 20:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:05:17] Production.INFO: ==17696== Releasing lock...
[2025-04-08 20:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:05:18] Production.INFO: count ==1885
[2025-04-08 20:05:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:05:05 - End Time 2025-04-08 20:05:05
[2025-04-08 20:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864526', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864526', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864526', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864526', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:05:19] Production.INFO: ProcessCDR(1,14864526,1,1,2)
[2025-04-08 20:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864526', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864526', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:05:24] Production.INFO: ==17704== Releasing lock...
[2025-04-08 20:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:05:24] Production.INFO: 42.25 MB #Memory Used#
[2025-04-09 01:06:02] Production.INFO: ==17762== Lock acquired, processing the job...
[2025-04-09 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:06:02] Production.INFO: neon service started
[2025-04-09 01:06:02] Production.INFO: neon service started
[2025-04-09 01:06:02] Production.INFO: ==17762== Releasing lock...
[2025-04-09 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:06:03] Production.INFO: ==17764== Lock acquired, processing the job...
[2025-04-08 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==17766== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==17766== Releasing lock...
[2025-04-09 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:06:03] Production.INFO: ==17764== Releasing lock...
[2025-04-08 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:06:04] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:06:04] Production.INFO: ==17779== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:06:04] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:06:04] Production.INFO: count ==12
[2025-04-08 20:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:06:04] Production.INFO: count ==23
[2025-04-08 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864527') start
[2025-04-08 20:06:04] Production.INFO: ==17771== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:06:04] Production.INFO: ==17775== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:06:04] Production.INFO: ==17777== Lock acquired, processing the job...
[2025-04-08 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864527') end
[2025-04-08 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:06:04] Production.INFO: 1
[2025-04-08 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:06:04] Production.INFO: ==17779== Releasing lock...
[2025-04-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:06:04] Production.INFO: Account Balance Start.
[2025-04-08 20:06:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:06:04] Production.INFO: 117
[2025-04-08 20:06:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:06:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:06:04] Production.INFO: ==17771== Releasing lock...
[2025-04-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:06:04] Production.INFO: Total Charge 0
[2025-04-08 20:06:04] Production.INFO: CreateAllLog End
[2025-04-08 20:06:05] Production.ERROR: done
[2025-04-08 20:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:06:05] Production.INFO: Account Balance End.
[2025-04-08 20:06:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:06:05] Production.INFO: ==17775== Releasing lock...
[2025-04-08 20:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:06:05] Production.ERROR: done
[2025-04-08 20:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:06:06
[end_date_ymd] => 2025-04-08 20:06:06
[RateCDR] => 1
)
[2025-04-08 20:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:06:06' and `end` < '2025-04-08 20:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:06:12] Production.ERROR: CronJobId end10
[2025-04-08 20:06:12] Production.INFO: ==17773== Releasing lock...
[2025-04-08 20:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:06:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:06:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:06:16] Production.INFO: call_cost start
[2025-04-08 20:06:16] Production.INFO: call_cost end
[2025-04-08 20:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:06:17] Production.INFO: ==17769== Releasing lock...
[2025-04-08 20:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:06:19] Production.INFO: count ==1870
[2025-04-08 20:06:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:06:06 - End Time 2025-04-08 20:06:06
[2025-04-08 20:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864531', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864531', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864531', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864531', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:06:19] Production.INFO: ProcessCDR(1,14864531,1,1,2)
[2025-04-08 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864531', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864531', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:06:24] Production.INFO: ==17777== Releasing lock...
[2025-04-08 20:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:06:24] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:07:01] Production.INFO: ==17839== Lock acquired, processing the job...
[2025-04-09 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:07:01] Production.INFO: neon service started
[2025-04-09 01:07:01] Production.INFO: neon service started
[2025-04-09 01:07:01] Production.INFO: ==17839== Releasing lock...
[2025-04-09 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:07:02] Production.INFO: ==17841== Lock acquired, processing the job...
[2025-04-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:07:02] Production.INFO: ==17841== Releasing lock...
[2025-04-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:07:02] Production.INFO: ==17843== Lock acquired, processing the job...
[2025-04-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:07:02] Production.INFO: ==17843== Releasing lock...
[2025-04-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:07:03] Production.INFO: ==17852== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:07:03] Production.INFO: ==17854== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:07:03] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:07:03] Production.INFO: Account Balance Start.
[2025-04-08 20:07:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:07:03] Production.INFO: 117
[2025-04-08 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:07:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:07:03] Production.INFO: ==17848== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:07:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:07:03] Production.INFO: Total Charge 0
[2025-04-08 20:07:03] Production.INFO: ==17856== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:07:03] Production.INFO: ==17850== Lock acquired, processing the job...
[2025-04-08 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:07:03] Production.INFO: CreateAllLog End
[2025-04-08 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:07:03] Production.INFO: count ==12
[2025-04-08 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:07:03] Production.INFO: count ==23
[2025-04-08 20:07:03] Production.ERROR: done
[2025-04-08 20:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864534') start
[2025-04-08 20:07:04] Production.ERROR: done
[2025-04-08 20:07:04] Production.INFO: ==17848== Releasing lock...
[2025-04-08 20:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864534') end
[2025-04-08 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:07:04] Production.INFO: 1
[2025-04-08 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:07:04] Production.INFO: Account Balance End.
[2025-04-08 20:07:04] Production.INFO: ==17856== Releasing lock...
[2025-04-08 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:07:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:07:04] Production.INFO: ==17852== Releasing lock...
[2025-04-08 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:07:05
[end_date_ymd] => 2025-04-08 20:07:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:07:05' and `end` < '2025-04-08 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-04-08 20:07:12] Production.ERROR: CronJobId end10
[2025-04-08 20:07:12] Production.INFO: ==17850== Releasing lock...
[2025-04-08 20:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:07:14] Production.INFO: call_cost start
[2025-04-08 20:07:14] Production.INFO: call_cost end
[2025-04-08 20:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:07:15] Production.INFO: ==17846== Releasing lock...
[2025-04-08 20:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:07:18] Production.INFO: count ==1856
[2025-04-08 20:07:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:07:05 - End Time 2025-04-08 20:07:05
[2025-04-08 20:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864536', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864536', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864536', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864536', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:07:18] Production.INFO: ProcessCDR(1,14864536,1,1,2)
[2025-04-08 20:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864536', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864536', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:07:21] Production.INFO: ==17854== Releasing lock...
[2025-04-08 20:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:07:21] Production.INFO: 41.75 MB #Memory Used#
[2025-04-09 01:08:02] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-04-09 01:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:08:02] Production.INFO: neon service started
[2025-04-09 01:08:02] Production.INFO: neon service started
[2025-04-09 01:08:02] Production.INFO: ==17912== Releasing lock...
[2025-04-09 01:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:08:02] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-04-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:08:02] Production.INFO: ==17914== Releasing lock...
[2025-04-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:08:03] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:08:03] Production.INFO: ==17916== Releasing lock...
[2025-04-09 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:08:03] Production.INFO: ==17919== Lock acquired, processing the job...
[2025-04-08 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:08:03] Production.INFO: ==17923== Lock acquired, processing the job...
[2025-04-08 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:08:03] Production.INFO: ==17925== Lock acquired, processing the job...
[2025-04-08 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:08:04] Production.INFO: ==17921== Lock acquired, processing the job...
[2025-04-08 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:08:04] Production.INFO: Account Balance Start.
[2025-04-08 20:08:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:08:04] Production.INFO: 117
[2025-04-08 20:08:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:08:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:08:04] Production.INFO: Total Charge 0
[2025-04-08 20:08:04] Production.INFO: CreateAllLog End
[2025-04-08 20:08:04] Production.INFO: ==17927== Lock acquired, processing the job...
[2025-04-08 20:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:08:04] Production.INFO: ==17929== Lock acquired, processing the job...
[2025-04-08 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:08:04] Production.INFO: Account Balance End.
[2025-04-08 20:08:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:08:04] Production.INFO: ==17925== Releasing lock...
[2025-04-08 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:08:04] Production.INFO: ==17921== Releasing lock...
[2025-04-08 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:08:04] Production.INFO: count ==12
[2025-04-08 20:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:08:04] Production.INFO: count ==23
[2025-04-08 20:08:04] Production.ERROR: done
[2025-04-08 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864540') start
[2025-04-08 20:08:05] Production.ERROR: done
[2025-04-08 20:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864540') end
[2025-04-08 20:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:08:05] Production.INFO: 1
[2025-04-08 20:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:08:05] Production.INFO: ==17929== Releasing lock...
[2025-04-08 20:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:08:06
[end_date_ymd] => 2025-04-08 20:08:06
[RateCDR] => 1
)
[2025-04-08 20:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:08:06' and `end` < '2025-04-08 20:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:08:13] Production.ERROR: CronJobId end10
[2025-04-08 20:08:13] Production.INFO: ==17923== Releasing lock...
[2025-04-08 20:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:08:15] Production.INFO: call_cost start
[2025-04-08 20:08:15] Production.INFO: call_cost end
[2025-04-08 20:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:08:16] Production.INFO: ==17919== Releasing lock...
[2025-04-08 20:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:08:19] Production.INFO: count ==1851
[2025-04-08 20:08:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:08:06 - End Time 2025-04-08 20:08:06
[2025-04-08 20:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864541', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864541', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864541', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864541', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:08:19] Production.INFO: ProcessCDR(1,14864541,1,1,2)
[2025-04-08 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864541', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864541', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:08:24] Production.INFO: ==17927== Releasing lock...
[2025-04-08 20:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:08:24] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:09:01] Production.INFO: ==17987== Lock acquired, processing the job...
[2025-04-09 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:09:01] Production.INFO: neon service started
[2025-04-09 01:09:01] Production.INFO: neon service started
[2025-04-09 01:09:01] Production.INFO: ==17987== Releasing lock...
[2025-04-09 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:09:02] Production.INFO: ==17989== Lock acquired, processing the job...
[2025-04-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:09:02] Production.INFO: ==17989== Releasing lock...
[2025-04-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:09:02] Production.INFO: ==17991== Lock acquired, processing the job...
[2025-04-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:09:02] Production.INFO: ==17991== Releasing lock...
[2025-04-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:09:03] Production.INFO: ==17995== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:09:03] Production.INFO: ==18001== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:09:03] Production.INFO: ==18003== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:09:03] Production.INFO: ==17993== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:09:03] Production.INFO: ==17999== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:09:03] Production.INFO: ==17997== Lock acquired, processing the job...
[2025-04-08 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 20:09:03] Production.INFO: Account Balance Start.
[2025-04-08 20:09:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:09:03] Production.INFO: 117
[2025-04-08 20:09:03] Production.INFO: count ==12
[2025-04-08 20:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:09:03] Production.INFO: count ==23
[2025-04-08 20:09:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864545') start
[2025-04-08 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:09:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:09:03] Production.INFO: Total Charge 0
[2025-04-08 20:09:03] Production.INFO: CreateAllLog End
[2025-04-08 20:09:03] Production.ERROR: done
[2025-04-08 20:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864545') end
[2025-04-08 20:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:09:03] Production.INFO: 1
[2025-04-08 20:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:09:03] Production.INFO: ==17995== Releasing lock...
[2025-04-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:09:04] Production.INFO: ==18003== Releasing lock...
[2025-04-08 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:09:04] Production.ERROR: done
[2025-04-08 20:09:04] Production.INFO: Account Balance End.
[2025-04-08 20:09:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:09:04] Production.INFO: ==17999== Releasing lock...
[2025-04-08 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:09:05
[end_date_ymd] => 2025-04-08 20:09:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:09:05' and `end` < '2025-04-08 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-04-08 20:09:12] Production.ERROR: CronJobId end10
[2025-04-08 20:09:12] Production.INFO: ==17997== Releasing lock...
[2025-04-08 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:09:15] Production.INFO: call_cost start
[2025-04-08 20:09:15] Production.INFO: call_cost end
[2025-04-08 20:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:09:16] Production.INFO: ==17993== Releasing lock...
[2025-04-08 20:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:09:18] Production.INFO: count ==1848
[2025-04-08 20:09:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:09:05 - End Time 2025-04-08 20:09:05
[2025-04-08 20:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864546', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864546', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864546', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864546', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:09:18] Production.INFO: ProcessCDR(1,14864546,1,1,2)
[2025-04-08 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864546', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864546', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:09:21] Production.INFO: ==18001== Releasing lock...
[2025-04-08 20:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:09:21] Production.INFO: 42 MB #Memory Used#
[2025-04-09 01:10:02] Production.INFO: ==18060== Lock acquired, processing the job...
[2025-04-09 01:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:10:02] Production.INFO: neon service started
[2025-04-09 01:10:02] Production.INFO: neon service started
[2025-04-09 01:10:02] Production.INFO: ==18060== Releasing lock...
[2025-04-09 01:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:10:02] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-04-08 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:10:02] Production.INFO: ==18064== Lock acquired, processing the job...
[2025-04-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:10:02] Production.INFO: ==18064== Releasing lock...
[2025-04-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:10:03] Production.INFO: ==18062== Releasing lock...
[2025-04-08 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:10:04] Production.INFO: ==18067== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:10:04] Production.INFO: ==18069== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:10:04] Production.ERROR: CronJob PID - 18069
[2025-04-08 20:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 20:10:04] Production.ERROR: CronJob ID - 5
[2025-04-08 20:10:04] Production.ERROR: CronJob Last Run Time 2025-04-08 20:10:00
[2025-04-08 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:10:04] Production.INFO: ==18067== Releasing lock...
[2025-04-08 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:10:04] Production.INFO: ==18073== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:10:04] Production.INFO: ==18071== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:10:04] Production.INFO: ==18079== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:10:04] Production.INFO: ==18075== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:10:04] Production.INFO: ==18077== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:10:04] Production.INFO: ==18081== Lock acquired, processing the job...
[2025-04-08 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:10:04] Production.INFO: ==18071== Releasing lock...
[2025-04-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:10:04] Production.INFO: Account Balance Start.
[2025-04-08 20:10:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:10:04] Production.INFO: 117
[2025-04-08 20:10:04] Production.INFO: count ==12
[2025-04-08 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:10:04] Production.INFO: count ==23
[2025-04-08 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864550') start
[2025-04-08 20:10:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:10:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864550') end
[2025-04-08 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:10:04] Production.INFO: 1
[2025-04-08 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:10:04] Production.INFO: Total Charge 0
[2025-04-08 20:10:04] Production.INFO: ==18081== Releasing lock...
[2025-04-08 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:10:04] Production.ERROR: done
[2025-04-08 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864551', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:10:05] Production.INFO: CreateAllLog End
[2025-04-08 20:10:05] Production.ERROR: done
[2025-04-08 20:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:10:05] Production.INFO: Account Balance End.
[2025-04-08 20:10:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:10:05] Production.INFO: ==18075== Releasing lock...
[2025-04-08 20:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:10:05] Production.ERROR: done
[2025-04-08 20:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:10:06
[end_date_ymd] => 2025-04-08 20:10:06
[RateCDR] => 1
)
[2025-04-08 20:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:10:06' and `end` < '2025-04-08 20:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864551', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:10:09] Production.INFO: ProcessCDR(1,14864551,1,1,2)
[2025-04-08 20:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:10:09] Production.INFO: ==18079== Releasing lock...
[2025-04-08 20:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:10:16] Production.ERROR: CronJobId end10
[2025-04-08 20:10:16] Production.INFO: ==18073== Releasing lock...
[2025-04-08 20:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:10:17] Production.INFO: call_cost start
[2025-04-08 20:10:17] Production.INFO: call_cost end
[2025-04-08 20:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:10:18] Production.INFO: ==18069== Releasing lock...
[2025-04-08 20:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:10:19] Production.INFO: count ==1848
[2025-04-08 20:10:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:10:06 - End Time 2025-04-08 20:10:06
[2025-04-08 20:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864552', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864552', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864552', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864552', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:10:19] Production.INFO: ProcessCDR(1,14864552,1,1,2)
[2025-04-08 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864552', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864552', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:10:24] Production.INFO: ==18077== Releasing lock...
[2025-04-08 20:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:10:24] Production.INFO: 41.75 MB #Memory Used#
[2025-04-09 01:11:01] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-04-09 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:11:01] Production.INFO: neon service started
[2025-04-09 01:11:01] Production.INFO: neon service started
[2025-04-09 01:11:01] Production.INFO: ==18136== Releasing lock...
[2025-04-09 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:11:02] Production.INFO: ==18140== Lock acquired, processing the job...
[2025-04-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:11:02] Production.INFO: ==18140== Releasing lock...
[2025-04-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:11:02] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-04-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:11:02] Production.INFO: ==18138== Releasing lock...
[2025-04-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:11:03] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:11:03] Production.INFO: ==18143== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:11:03] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:11:03] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:11:03] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:11:03] Production.INFO: Account Balance Start.
[2025-04-08 20:11:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:11:03] Production.INFO: 117
[2025-04-08 20:11:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:11:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:11:03] Production.INFO: ==18153== Lock acquired, processing the job...
[2025-04-08 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:11:03] Production.INFO: ==18145== Releasing lock...
[2025-04-08 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:11:03] Production.INFO: Total Charge 0
[2025-04-08 20:11:03] Production.INFO: CreateAllLog End
[2025-04-08 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 20:11:04] Production.INFO: count ==12
[2025-04-08 20:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:11:04] Production.INFO: count ==23
[2025-04-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864556') start
[2025-04-08 20:11:04] Production.INFO: Account Balance End.
[2025-04-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864556') end
[2025-04-08 20:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:11:04] Production.INFO: 1
[2025-04-08 20:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:11:04] Production.ERROR: done
[2025-04-08 20:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:11:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:11:04] Production.INFO: ==18149== Releasing lock...
[2025-04-08 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:11:04] Production.INFO: ==18153== Releasing lock...
[2025-04-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:11:04] Production.ERROR: done
[2025-04-08 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:11:05
[end_date_ymd] => 2025-04-08 20:11:05
[RateCDR] => 1
)
[2025-04-08 20:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:11:05' and `end` < '2025-04-08 20:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:11:12] Production.ERROR: CronJobId end10
[2025-04-08 20:11:12] Production.INFO: ==18147== Releasing lock...
[2025-04-08 20:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:11:14] Production.INFO: call_cost start
[2025-04-08 20:11:14] Production.INFO: call_cost end
[2025-04-08 20:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:11:15] Production.INFO: ==18143== Releasing lock...
[2025-04-08 20:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:11:18] Production.INFO: count ==1768
[2025-04-08 20:11:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:11:05 - End Time 2025-04-08 20:11:05
[2025-04-08 20:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864557', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864557', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864557', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864557', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:11:18] Production.INFO: ProcessCDR(1,14864557,1,1,2)
[2025-04-08 20:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864557', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864557', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:11:22] Production.INFO: ==18151== Releasing lock...
[2025-04-08 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:11:22] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 01:12:02] Production.INFO: ==18215== Lock acquired, processing the job...
[2025-04-09 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:12:02] Production.INFO: neon service started
[2025-04-09 01:12:02] Production.INFO: neon service started
[2025-04-09 01:12:02] Production.INFO: ==18215== Releasing lock...
[2025-04-09 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:12:02] Production.INFO: ==18217== Lock acquired, processing the job...
[2025-04-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:12:02] Production.INFO: ==18219== Lock acquired, processing the job...
[2025-04-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:12:02] Production.INFO: ==18219== Releasing lock...
[2025-04-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:12:03] Production.INFO: ==18217== Releasing lock...
[2025-04-08 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:12:04] Production.INFO: ==18222== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:12:04] Production.INFO: ==18224== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:12:04] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:12:04] Production.INFO: ==18226== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:12:04] Production.INFO: Account Balance Start.
[2025-04-08 20:12:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:12:04] Production.INFO: 117
[2025-04-08 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:12:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:12:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:12:04] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:12:04] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-04-08 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:12:04] Production.INFO: ==18224== Releasing lock...
[2025-04-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:12:04] Production.INFO: Total Charge 0
[2025-04-08 20:12:04] Production.INFO: CreateAllLog End
[2025-04-08 20:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:12:04] Production.INFO: count ==12
[2025-04-08 20:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:12:04] Production.INFO: count ==23
[2025-04-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864561') start
[2025-04-08 20:12:04] Production.INFO: Account Balance End.
[2025-04-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864561') end
[2025-04-08 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:12:04] Production.INFO: 1
[2025-04-08 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:12:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:12:04] Production.INFO: ==18228== Releasing lock...
[2025-04-08 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:12:04] Production.INFO: ==18232== Releasing lock...
[2025-04-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:12:05] Production.ERROR: done
[2025-04-08 20:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:12:05] Production.ERROR: done
[2025-04-08 20:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:12:06
[end_date_ymd] => 2025-04-08 20:12:06
[RateCDR] => 1
)
[2025-04-08 20:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:12:06' and `end` < '2025-04-08 20:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:12:14] Production.ERROR: CronJobId end10
[2025-04-08 20:12:14] Production.INFO: ==18226== Releasing lock...
[2025-04-08 20:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:12:16] Production.INFO: call_cost start
[2025-04-08 20:12:16] Production.INFO: call_cost end
[2025-04-08 20:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:12:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:12:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:12:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:12:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:12:17] Production.INFO: ==18222== Releasing lock...
[2025-04-08 20:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:12:19] Production.INFO: count ==1757
[2025-04-08 20:12:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:12:06 - End Time 2025-04-08 20:12:06
[2025-04-08 20:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864562', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864562', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864562', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864562', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:12:19] Production.INFO: ProcessCDR(1,14864562,1,1,2)
[2025-04-08 20:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864562', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864562', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:12:22] Production.INFO: ==18230== Releasing lock...
[2025-04-08 20:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:12:22] Production.INFO: 41 MB #Memory Used#
[2025-04-09 01:13:01] Production.INFO: ==18324== Lock acquired, processing the job...
[2025-04-09 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:13:01] Production.INFO: neon service started
[2025-04-09 01:13:01] Production.INFO: neon service started
[2025-04-09 01:13:01] Production.INFO: ==18324== Releasing lock...
[2025-04-09 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:13:02] Production.INFO: ==18328== Lock acquired, processing the job...
[2025-04-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:13:02] Production.INFO: ==18326== Lock acquired, processing the job...
[2025-04-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:13:02] Production.INFO: ==18328== Releasing lock...
[2025-04-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:13:02] Production.INFO: ==18326== Releasing lock...
[2025-04-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:13:03] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:13:03] Production.INFO: ==18341== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:13:03] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:13:03] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:13:03] Production.INFO: count ==12
[2025-04-08 20:13:03] Production.INFO: ==18333== Releasing lock...
[2025-04-08 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:13:03] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:13:03] Production.INFO: count ==23
[2025-04-08 20:13:03] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-04-08 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864564') start
[2025-04-08 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:13:03] Production.INFO: Account Balance Start.
[2025-04-08 20:13:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:13:03] Production.INFO: 117
[2025-04-08 20:13:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:13:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864564') end
[2025-04-08 20:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:13:03] Production.INFO: 1
[2025-04-08 20:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:13:03] Production.INFO: Total Charge 0
[2025-04-08 20:13:03] Production.INFO: CreateAllLog End
[2025-04-08 20:13:04] Production.INFO: ==18341== Releasing lock...
[2025-04-08 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:13:04] Production.ERROR: done
[2025-04-08 20:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:13:04] Production.INFO: Account Balance End.
[2025-04-08 20:13:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:13:04] Production.INFO: ==18337== Releasing lock...
[2025-04-08 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:13:04] Production.ERROR: done
[2025-04-08 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:13:05
[end_date_ymd] => 2025-04-08 20:13:05
[RateCDR] => 1
)
[2025-04-08 20:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:13:05' and `end` < '2025-04-08 20:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:13:13] Production.ERROR: CronJobId end10
[2025-04-08 20:13:13] Production.INFO: ==18335== Releasing lock...
[2025-04-08 20:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:13:15] Production.INFO: call_cost start
[2025-04-08 20:13:15] Production.INFO: call_cost end
[2025-04-08 20:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:13:16] Production.INFO: ==18331== Releasing lock...
[2025-04-08 20:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:13:18] Production.INFO: count ==1753
[2025-04-08 20:13:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:13:05 - End Time 2025-04-08 20:13:05
[2025-04-08 20:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864567', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864567', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864567', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864567', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:13:19] Production.INFO: ProcessCDR(1,14864567,1,1,2)
[2025-04-08 20:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864567', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864567', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:13:24] Production.INFO: ==18339== Releasing lock...
[2025-04-08 20:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:13:24] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 01:14:02] Production.INFO: ==18400== Lock acquired, processing the job...
[2025-04-09 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:14:02] Production.INFO: neon service started
[2025-04-09 01:14:02] Production.INFO: neon service started
[2025-04-09 01:14:02] Production.INFO: ==18400== Releasing lock...
[2025-04-09 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:14:02] Production.INFO: ==18404== Lock acquired, processing the job...
[2025-04-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:14:02] Production.INFO: ==18404== Releasing lock...
[2025-04-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:14:02] Production.INFO: ==18402== Lock acquired, processing the job...
[2025-04-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:14:02] Production.INFO: ==18402== Releasing lock...
[2025-04-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:14:03] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-04-08 20:14:03] Production.INFO: ==18408== Lock acquired, processing the job...
[2025-04-08 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:14:03] Production.INFO: ==18413== Lock acquired, processing the job...
[2025-04-08 20:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:14:04] Production.INFO: Account Balance Start.
[2025-04-08 20:14:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:14:04] Production.INFO: 117
[2025-04-08 20:14:04] Production.INFO: ==18406== Lock acquired, processing the job...
[2025-04-08 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:14:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:14:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:14:04] Production.INFO: ==18408== Releasing lock...
[2025-04-08 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:14:04] Production.INFO: Total Charge 0
[2025-04-08 20:14:04] Production.INFO: ==18415== Lock acquired, processing the job...
[2025-04-08 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:14:04] Production.INFO: CreateAllLog End
[2025-04-08 20:14:04] Production.INFO: ==18417== Lock acquired, processing the job...
[2025-04-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:14:04] Production.INFO: Account Balance End.
[2025-04-08 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:14:04] Production.INFO: count ==12
[2025-04-08 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:14:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:14:04] Production.INFO: ==18413== Releasing lock...
[2025-04-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:14:04] Production.INFO: count ==23
[2025-04-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864571') start
[2025-04-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864571') end
[2025-04-08 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:14:04] Production.INFO: 1
[2025-04-08 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:14:04] Production.INFO: ==18417== Releasing lock...
[2025-04-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:14:04] Production.ERROR: done
[2025-04-08 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:14:05] Production.ERROR: done
[2025-04-08 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:14:05
[end_date_ymd] => 2025-04-08 20:14:05
[RateCDR] => 1
)
[2025-04-08 20:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:14:05' and `end` < '2025-04-08 20:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:14:14] Production.ERROR: CronJobId end10
[2025-04-08 20:14:14] Production.INFO: ==18410== Releasing lock...
[2025-04-08 20:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:14:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:14:15] Production.INFO: call_cost start
[2025-04-08 20:14:15] Production.INFO: call_cost end
[2025-04-08 20:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:14:16] Production.INFO: ==18406== Releasing lock...
[2025-04-08 20:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:14:18] Production.INFO: count ==1742
[2025-04-08 20:14:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:14:05 - End Time 2025-04-08 20:14:05
[2025-04-08 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864572', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864572', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864572', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864572', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:14:19] Production.INFO: ProcessCDR(1,14864572,1,1,2)
[2025-04-08 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864572', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864572', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:14:22] Production.INFO: ==18415== Releasing lock...
[2025-04-08 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:14:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 01:15:01] Production.INFO: ==18475== Lock acquired, processing the job...
[2025-04-09 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:15:01] Production.INFO: neon service started
[2025-04-09 01:15:01] Production.INFO: neon service started
[2025-04-09 01:15:01] Production.INFO: ==18475== Releasing lock...
[2025-04-09 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:15:01] Production.INFO: ==18477== Lock acquired, processing the job...
[2025-04-08 20:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:15:02] Production.INFO: ==18477== Releasing lock...
[2025-04-08 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:15:02] Production.INFO: ==18479== Lock acquired, processing the job...
[2025-04-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:15:02] Production.INFO: ==18479== Releasing lock...
[2025-04-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:15:03] Production.INFO: ==18485== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:15:03] Production.INFO: ==18483== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:15:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:15:03] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:15:03] Production.INFO: ==18481== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:15:03] Production.INFO: ==18483== Releasing lock...
[2025-04-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:15:03] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-04-08 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:15:03] Production.ERROR: done
[2025-04-08 20:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:15:03] Production.INFO: Account Balance Start.
[2025-04-08 20:15:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:15:03] Production.INFO: 117
[2025-04-08 20:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:15:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:15:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:15:03] Production.INFO: count ==12
[2025-04-08 20:15:03] Production.ERROR: done
[2025-04-08 20:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:15:03] Production.INFO: count ==23
[2025-04-08 20:15:03] Production.INFO: Total Charge 0
[2025-04-08 20:15:03] Production.INFO: CreateAllLog End
[2025-04-08 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864574') start
[2025-04-08 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864574') end
[2025-04-08 20:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:15:03] Production.INFO: 1
[2025-04-08 20:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:15:03] Production.INFO: Account Balance End.
[2025-04-08 20:15:04] Production.INFO: ==18491== Releasing lock...
[2025-04-08 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:15:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:15:04] Production.INFO: ==18487== Releasing lock...
[2025-04-08 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:15:04
[end_date_ymd] => 2025-04-08 20:15:04
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:15:04' and `end` < '2025-04-08 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-04-08 20:15:11] Production.ERROR: CronJobId end10
[2025-04-08 20:15:11] Production.INFO: ==18485== Releasing lock...
[2025-04-08 20:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:15:14] Production.INFO: call_cost start
[2025-04-08 20:15:14] Production.INFO: call_cost end
[2025-04-08 20:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:15:15] Production.INFO: ==18481== Releasing lock...
[2025-04-08 20:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:15:17] Production.INFO: count ==1740
[2025-04-08 20:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:15:04 - End Time 2025-04-08 20:15:04
[2025-04-08 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864577', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864577', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864577', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864577', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:15:18] Production.INFO: ProcessCDR(1,14864577,1,1,2)
[2025-04-08 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864577', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864577', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:15:21] Production.INFO: ==18489== Releasing lock...
[2025-04-08 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:15:21] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 01:16:01] Production.INFO: ==18554== Lock acquired, processing the job...
[2025-04-09 01:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:16:01] Production.INFO: neon service started
[2025-04-09 01:16:01] Production.INFO: neon service started
[2025-04-09 01:16:01] Production.INFO: ==18554== Releasing lock...
[2025-04-09 01:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:16:02] Production.INFO: ==18558== Lock acquired, processing the job...
[2025-04-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:16:02] Production.INFO: ==18558== Releasing lock...
[2025-04-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:16:02] Production.INFO: ==18556== Lock acquired, processing the job...
[2025-04-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:16:02] Production.INFO: ==18556== Releasing lock...
[2025-04-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:16:03] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:16:03] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:16:03] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:16:03] Production.INFO: Account Balance Start.
[2025-04-08 20:16:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:16:03] Production.INFO: 117
[2025-04-08 20:16:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:16:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:16:03] Production.INFO: Total Charge 0
[2025-04-08 20:16:03] Production.INFO: CreateAllLog End
[2025-04-08 20:16:03] Production.INFO: ==18563== Releasing lock...
[2025-04-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:16:03] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:16:03] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:16:03] Production.INFO: Account Balance End.
[2025-04-08 20:16:03] Production.ERROR: CronJobId end 12
[2025-04-08 20:16:03] Production.INFO: ==18567== Releasing lock...
[2025-04-08 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:16:03] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-04-08 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:16:04] Production.INFO: count ==12
[2025-04-08 20:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:16:04] Production.INFO: count ==23
[2025-04-08 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864581') start
[2025-04-08 20:16:04] Production.ERROR: done
[2025-04-08 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864581') end
[2025-04-08 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:16:04] Production.INFO: 1
[2025-04-08 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:16:04] Production.INFO: ==18571== Releasing lock...
[2025-04-08 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:16:04] Production.ERROR: done
[2025-04-08 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:16:05
[end_date_ymd] => 2025-04-08 20:16:05
[RateCDR] => 1
)
[2025-04-08 20:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:16:05' and `end` < '2025-04-08 20:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:16:12] Production.ERROR: CronJobId end10
[2025-04-08 20:16:12] Production.INFO: ==18565== Releasing lock...
[2025-04-08 20:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:16:14] Production.INFO: call_cost start
[2025-04-08 20:16:14] Production.INFO: call_cost end
[2025-04-08 20:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:16:15] Production.INFO: ==18561== Releasing lock...
[2025-04-08 20:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:16:18] Production.INFO: count ==1739
[2025-04-08 20:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:16:05 - End Time 2025-04-08 20:16:05
[2025-04-08 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864582', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864582', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864582', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864582', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:16:18] Production.INFO: ProcessCDR(1,14864582,1,1,2)
[2025-04-08 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864582', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864582', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:16:21] Production.INFO: ==18569== Releasing lock...
[2025-04-08 20:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:16:21] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 01:17:02] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-04-09 01:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:17:02] Production.INFO: neon service started
[2025-04-09 01:17:02] Production.INFO: neon service started
[2025-04-09 01:17:02] Production.INFO: ==18636== Releasing lock...
[2025-04-09 01:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:17:02] Production.INFO: ==18639== Lock acquired, processing the job...
[2025-04-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:17:02] Production.INFO: ==18641== Lock acquired, processing the job...
[2025-04-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:17:02] Production.INFO: ==18641== Releasing lock...
[2025-04-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:17:03] Production.INFO: ==18639== Releasing lock...
[2025-04-08 20:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:17:03] Production.INFO: ==18643== Lock acquired, processing the job...
[2025-04-08 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:17:03] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-04-08 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:17:04] Production.INFO: ==18649== Lock acquired, processing the job...
[2025-04-08 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:17:04] Production.INFO: Account Balance Start.
[2025-04-08 20:17:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:17:04] Production.INFO: 117
[2025-04-08 20:17:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:17:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:17:04] Production.INFO: Total Charge 0
[2025-04-08 20:17:04] Production.INFO: CreateAllLog End
[2025-04-08 20:17:04] Production.INFO: ==18645== Lock acquired, processing the job...
[2025-04-08 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:17:04] Production.INFO: Account Balance End.
[2025-04-08 20:17:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:17:04] Production.INFO: ==18649== Releasing lock...
[2025-04-08 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:17:04] Production.INFO: ==18653== Lock acquired, processing the job...
[2025-04-08 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:17:04] Production.INFO: ==18651== Lock acquired, processing the job...
[2025-04-08 20:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:17:04] Production.INFO: ==18645== Releasing lock...
[2025-04-08 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:17:04] Production.INFO: count ==12
[2025-04-08 20:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:17:04] Production.INFO: count ==23
[2025-04-08 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864586') start
[2025-04-08 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864586') end
[2025-04-08 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:17:04] Production.INFO: 1
[2025-04-08 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:17:04] Production.INFO: ==18653== Releasing lock...
[2025-04-08 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:17:05] Production.ERROR: done
[2025-04-08 20:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:17:05] Production.ERROR: done
[2025-04-08 20:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:17:06
[end_date_ymd] => 2025-04-08 20:17:06
[RateCDR] => 1
)
[2025-04-08 20:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:17:06' and `end` < '2025-04-08 20:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:17:13] Production.ERROR: CronJobId end10
[2025-04-08 20:17:13] Production.INFO: ==18647== Releasing lock...
[2025-04-08 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:17:15] Production.INFO: call_cost start
[2025-04-08 20:17:15] Production.INFO: call_cost end
[2025-04-08 20:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:17:16] Production.INFO: ==18643== Releasing lock...
[2025-04-08 20:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:17:19] Production.INFO: count ==1734
[2025-04-08 20:17:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:17:06 - End Time 2025-04-08 20:17:06
[2025-04-08 20:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864587', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864587', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864587', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864587', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:17:19] Production.INFO: ProcessCDR(1,14864587,1,1,2)
[2025-04-08 20:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864587', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864587', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:17:22] Production.INFO: ==18651== Releasing lock...
[2025-04-08 20:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:17:22] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 01:18:01] Production.INFO: ==18722== Lock acquired, processing the job...
[2025-04-09 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:18:01] Production.INFO: neon service started
[2025-04-09 01:18:01] Production.INFO: neon service started
[2025-04-09 01:18:01] Production.INFO: ==18722== Releasing lock...
[2025-04-09 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:18:02] Production.INFO: ==18724== Lock acquired, processing the job...
[2025-04-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:18:02] Production.INFO: ==18724== Releasing lock...
[2025-04-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:18:02] Production.INFO: ==18726== Lock acquired, processing the job...
[2025-04-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:18:02] Production.INFO: ==18726== Releasing lock...
[2025-04-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:18:03] Production.INFO: ==18736== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:18:03] Production.INFO: ==18738== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:18:03] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:18:03] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:18:03] Production.INFO: ==18734== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:18:03] Production.INFO: ==18732== Lock acquired, processing the job...
[2025-04-08 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20: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-04-08 20:18:03] Production.INFO: count ==12
[2025-04-08 20: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-04-08 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:18:03] Production.INFO: count ==23
[2025-04-08 20:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864588') start
[2025-04-08 20:18:03] Production.INFO: Account Balance Start.
[2025-04-08 20:18:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:18:03] Production.INFO: 117
[2025-04-08 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:18:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:18:03] Production.ERROR: done
[2025-04-08 20:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:18:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:18:03] Production.INFO: Total Charge 0
[2025-04-08 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:18:03] Production.INFO: CreateAllLog End
[2025-04-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864588') end
[2025-04-08 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:18:04] Production.INFO: 1
[2025-04-08 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:18:04] Production.ERROR: done
[2025-04-08 20:18:04] Production.INFO: ==18730== Releasing lock...
[2025-04-08 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:18:04] Production.INFO: ==18738== Releasing lock...
[2025-04-08 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:18:04] Production.INFO: Account Balance End.
[2025-04-08 20:18:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:18:04] Production.INFO: ==18734== Releasing lock...
[2025-04-08 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:18:04
[end_date_ymd] => 2025-04-08 20:18:04
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:18:04' and `end` < '2025-04-08 20: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-04-08 20:18:13] Production.ERROR: CronJobId end10
[2025-04-08 20:18:13] Production.INFO: ==18732== Releasing lock...
[2025-04-08 20:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:18:15] Production.INFO: call_cost start
[2025-04-08 20:18:15] Production.INFO: call_cost end
[2025-04-08 20:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:18:16] Production.INFO: ==18728== Releasing lock...
[2025-04-08 20:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:18:17] Production.INFO: count ==1730
[2025-04-08 20:18:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:18:04 - End Time 2025-04-08 20:18:04
[2025-04-08 20:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864592', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864592', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864592', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864592', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:18:18] Production.INFO: ProcessCDR(1,14864592,1,1,2)
[2025-04-08 20:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864592', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864592', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:18:23] Production.INFO: ==18736== Releasing lock...
[2025-04-08 20:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:18:23] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 01:19:02] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-04-09 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:19:02] Production.INFO: neon service started
[2025-04-09 01:19:02] Production.INFO: neon service started
[2025-04-09 01:19:02] Production.INFO: ==18809== Releasing lock...
[2025-04-09 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:19:02] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-04-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:19:02] Production.INFO: ==18811== Releasing lock...
[2025-04-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:19:02] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-04-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:19:02] Production.INFO: ==18813== Releasing lock...
[2025-04-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:19:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-04-08 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:19:03] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-04-08 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:19:03] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-04-08 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:19:03] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-04-08 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:19:04] Production.INFO: ==18817== Releasing lock...
[2025-04-08 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:19:04] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-04-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:19:04] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-04-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:19:04] Production.INFO: Account Balance Start.
[2025-04-08 20:19:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:19:04] Production.INFO: 117
[2025-04-08 20:19:04] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 20:19:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:19:04] Production.INFO: count ==12
[2025-04-08 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-04-08 20:19:04] Production.INFO: count ==23
[2025-04-08 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864595') start
[2025-04-08 20:19:04] Production.INFO: Total Charge 0
[2025-04-08 20:19:04] Production.INFO: CreateAllLog End
[2025-04-08 20:19:04] Production.ERROR: done
[2025-04-08 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864595') end
[2025-04-08 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:19:04] Production.INFO: 1
[2025-04-08 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:19:04] Production.INFO: ==18825== Releasing lock...
[2025-04-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:19:04] Production.INFO: Account Balance End.
[2025-04-08 20:19:04] Production.ERROR: done
[2025-04-08 20:19:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:19:04] Production.INFO: ==18821== Releasing lock...
[2025-04-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:19:05
[end_date_ymd] => 2025-04-08 20:19:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:19:05' and `end` < '2025-04-08 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-04-08 20:19:13] Production.ERROR: CronJobId end10
[2025-04-08 20:19:13] Production.INFO: ==18819== Releasing lock...
[2025-04-08 20:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:19:15] Production.INFO: call_cost start
[2025-04-08 20:19:15] Production.INFO: call_cost end
[2025-04-08 20:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:19:16] Production.INFO: ==18815== Releasing lock...
[2025-04-08 20:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:19:18] Production.INFO: count ==1726
[2025-04-08 20:19:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:19:05 - End Time 2025-04-08 20:19:05
[2025-04-08 20:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864597', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864597', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864597', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864597', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:19:19] Production.INFO: ProcessCDR(1,14864597,1,1,2)
[2025-04-08 20:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864597', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864597', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:19:22] Production.INFO: ==18823== Releasing lock...
[2025-04-08 20:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:19:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 01:20:01] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-04-09 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:20:01] Production.INFO: neon service started
[2025-04-09 01:20:01] Production.INFO: neon service started
[2025-04-09 01:20:01] Production.INFO: ==18881== Releasing lock...
[2025-04-09 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:20:02] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-04-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:20:02] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-04-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:20:02] Production.INFO: ==18885== Releasing lock...
[2025-04-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:20:02] Production.INFO: ==18883== Releasing lock...
[2025-04-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:20:03] Production.INFO: ==18888== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:20:03] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:20:03] Production.INFO: ==18898== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:20:03] Production.INFO: ==18888== Releasing lock...
[2025-04-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:20:03] Production.INFO: ==18890== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:20:03] Production.INFO: ==18902== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:20:03] Production.INFO: Account Balance Start.
[2025-04-08 20:20:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:20:03] Production.INFO: 117
[2025-04-08 20:20:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:20:03] Production.INFO: ==18892== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:20:03] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-04-08 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:20:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:20:03] Production.INFO: Total Charge 0
[2025-04-08 20:20:03] Production.INFO: CreateAllLog End
[2025-04-08 20:20:04] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-04-08 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:20:04] Production.INFO: count ==12
[2025-04-08 20:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:20:04] Production.INFO: count ==23
[2025-04-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864600') start
[2025-04-08 20:20:04] Production.ERROR: done
[2025-04-08 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:20:04] Production.INFO: ==18892== Releasing lock...
[2025-04-08 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:20:04] Production.INFO: Account Balance End.
[2025-04-08 20:20:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:20:04] Production.INFO: ==18896== Releasing lock...
[2025-04-08 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:20:04] Production.ERROR: done
[2025-04-08 20:20:04] Production.ERROR: done
[2025-04-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864600') end
[2025-04-08 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:20:04] Production.INFO: 1
[2025-04-08 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864603', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:20:04] Production.INFO: ==18902== Releasing lock...
[2025-04-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:20:06
[end_date_ymd] => 2025-04-08 20:20:06
[RateCDR] => 1
)
[2025-04-08 20:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:20:06' and `end` < '2025-04-08 20:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864603', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:20:09] Production.INFO: ProcessCDR(1,14864603,1,1,2)
[2025-04-08 20:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864603,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864603,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:20:09] Production.INFO: ==18900== Releasing lock...
[2025-04-08 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:20:15] Production.ERROR: CronJobId end10
[2025-04-08 20:20:15] Production.INFO: ==18894== Releasing lock...
[2025-04-08 20:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:20:17] Production.INFO: call_cost start
[2025-04-08 20:20:17] Production.INFO: call_cost end
[2025-04-08 20:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:20:18] Production.INFO: ==18890== Releasing lock...
[2025-04-08 20:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:20:19] Production.INFO: count ==1720
[2025-04-08 20:20:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:20:06 - End Time 2025-04-08 20:20:06
[2025-04-08 20:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864602', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864602', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864602', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864602', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:20:19] Production.INFO: ProcessCDR(1,14864602,1,1,2)
[2025-04-08 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864602', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864602', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:20:22] Production.INFO: ==18898== Releasing lock...
[2025-04-08 20:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:20:22] Production.INFO: 41 MB #Memory Used#
[2025-04-09 01:21:02] Production.INFO: ==18959== Lock acquired, processing the job...
[2025-04-09 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:21:02] Production.INFO: neon service started
[2025-04-09 01:21:02] Production.INFO: neon service started
[2025-04-09 01:21:02] Production.INFO: ==18959== Releasing lock...
[2025-04-09 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:21:02] Production.INFO: ==18962== Lock acquired, processing the job...
[2025-04-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:21:02] Production.INFO: ==18964== Lock acquired, processing the job...
[2025-04-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:21:02] Production.INFO: ==18962== Releasing lock...
[2025-04-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:21:03] Production.INFO: ==18964== Releasing lock...
[2025-04-09 00:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:21:03] Production.INFO: ==18966== Lock acquired, processing the job...
[2025-04-08 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:21:03] Production.INFO: ==18968== Lock acquired, processing the job...
[2025-04-08 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:21:03] Production.INFO: ==18970== Lock acquired, processing the job...
[2025-04-08 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:21:04] Production.INFO: ==18974== Lock acquired, processing the job...
[2025-04-08 20:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:21:04] Production.INFO: ==18976== Lock acquired, processing the job...
[2025-04-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:21:04] Production.INFO: ==18968== Releasing lock...
[2025-04-08 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:21:04] Production.INFO: ==18972== Lock acquired, processing the job...
[2025-04-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:21:04] Production.INFO: Account Balance Start.
[2025-04-08 20:21:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:21:04] Production.INFO: 117
[2025-04-08 20:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:21:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:21:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:21:04] Production.INFO: count ==12
[2025-04-08 20:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:21:04] Production.INFO: count ==23
[2025-04-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864607') start
[2025-04-08 20:21:04] Production.INFO: Total Charge 0
[2025-04-08 20:21:04] Production.INFO: CreateAllLog End
[2025-04-08 20:21:04] Production.ERROR: done
[2025-04-08 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864607') end
[2025-04-08 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:21:04] Production.INFO: 1
[2025-04-08 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:21:04] Production.INFO: ==18976== Releasing lock...
[2025-04-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:21:04] Production.INFO: Account Balance End.
[2025-04-08 20:21:04] Production.ERROR: done
[2025-04-08 20:21:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:21:04] Production.INFO: ==18972== Releasing lock...
[2025-04-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:21:05
[end_date_ymd] => 2025-04-08 20:21:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:21:05' and `end` < '2025-04-08 20:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:21:14] Production.ERROR: CronJobId end10
[2025-04-08 20:21:14] Production.INFO: ==18970== Releasing lock...
[2025-04-08 20:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:21:15] Production.INFO: call_cost start
[2025-04-08 20:21:15] Production.INFO: call_cost end
[2025-04-08 20:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:21:16] Production.INFO: ==18966== Releasing lock...
[2025-04-08 20:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:21:19] Production.INFO: count ==1666
[2025-04-08 20:21:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:21:05 - End Time 2025-04-08 20:21:05
[2025-04-08 20:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864608', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864608', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864608', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864608', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:21:19] Production.INFO: ProcessCDR(1,14864608,1,1,2)
[2025-04-08 20:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864608', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864608', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:21:22] Production.INFO: ==18974== Releasing lock...
[2025-04-08 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:21:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-09 01:22:01] Production.INFO: ==19033== Lock acquired, processing the job...
[2025-04-09 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:22:01] Production.INFO: neon service started
[2025-04-09 01:22:01] Production.INFO: neon service started
[2025-04-09 01:22:01] Production.INFO: ==19033== Releasing lock...
[2025-04-09 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:22:02] Production.INFO: ==19037== Lock acquired, processing the job...
[2025-04-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:22:02] Production.INFO: ==19037== Releasing lock...
[2025-04-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:22:02] Production.INFO: ==19035== Lock acquired, processing the job...
[2025-04-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:22:02] Production.INFO: ==19035== Releasing lock...
[2025-04-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:22:03] Production.INFO: ==19042== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:22:03] Production.INFO: ==19048== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:22:03] Production.INFO: ==19044== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:22:03] Production.INFO: ==19040== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:22:03] Production.INFO: ==19042== Releasing lock...
[2025-04-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:22:03] Production.INFO: ==19046== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:22:03] Production.INFO: ==19050== Lock acquired, processing the job...
[2025-04-08 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:22:04] Production.INFO: Account Balance Start.
[2025-04-08 20:22:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:22:04] Production.INFO: 117
[2025-04-08 20:22:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:22:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:22:04] Production.ERROR: done
[2025-04-08 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:22:04] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 20:22:04] Production.INFO: CreateAllLog End
[2025-04-08 20:22:04] Production.INFO: count ==12
[2025-04-08 20:22:04] Production.ERROR: done
[2025-04-08 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-04-08 20:22:04] Production.INFO: count ==23
[2025-04-08 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864612') start
[2025-04-08 20:22:04] Production.INFO: Account Balance End.
[2025-04-08 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864612') end
[2025-04-08 20:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:22:04] Production.INFO: 1
[2025-04-08 20:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:22:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:22:04] Production.INFO: ==19046== Releasing lock...
[2025-04-08 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:22:04] Production.INFO: ==19050== Releasing lock...
[2025-04-08 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:22:05
[end_date_ymd] => 2025-04-08 20:22:05
[RateCDR] => 1
)
[2025-04-08 20:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:22:05' and `end` < '2025-04-08 20:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:22:13] Production.ERROR: CronJobId end10
[2025-04-08 20:22:13] Production.INFO: ==19044== Releasing lock...
[2025-04-08 20:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:22:15] Production.INFO: call_cost start
[2025-04-08 20:22:15] Production.INFO: call_cost end
[2025-04-08 20:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:22:16] Production.INFO: ==19040== Releasing lock...
[2025-04-08 20:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:22:18] Production.INFO: count ==1663
[2025-04-08 20:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:22:05 - End Time 2025-04-08 20:22:05
[2025-04-08 20:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864613', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864613', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864613', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864613', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:22:18] Production.INFO: ProcessCDR(1,14864613,1,1,2)
[2025-04-08 20:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864613', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864613', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:22:22] Production.INFO: ==19048== Releasing lock...
[2025-04-08 20:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:22:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 01:23:02] Production.INFO: ==19112== Lock acquired, processing the job...
[2025-04-09 01:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:23:02] Production.INFO: neon service started
[2025-04-09 01:23:02] Production.INFO: neon service started
[2025-04-09 01:23:02] Production.INFO: ==19112== Releasing lock...
[2025-04-09 01:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:23:02] Production.INFO: ==19114== Lock acquired, processing the job...
[2025-04-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:23:02] Production.INFO: ==19114== Releasing lock...
[2025-04-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:23:03] Production.INFO: ==19116== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:23:03] Production.INFO: ==19116== Releasing lock...
[2025-04-09 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:23:03] Production.INFO: ==19124== Lock acquired, processing the job...
[2025-04-08 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:23:03] Production.INFO: ==19128== Lock acquired, processing the job...
[2025-04-08 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:23:03] Production.INFO: Account Balance Start.
[2025-04-08 20:23:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:23:03] Production.INFO: 117
[2025-04-08 20:23:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:23:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:23:04] Production.INFO: ==19118== Lock acquired, processing the job...
[2025-04-08 20:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:23:04] Production.INFO: Total Charge 0
[2025-04-08 20:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:23:04] Production.INFO: CreateAllLog End
[2025-04-08 20:23:04] Production.INFO: ==19120== Lock acquired, processing the job...
[2025-04-08 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:23:04] Production.INFO: count ==12
[2025-04-08 20:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:23:04] Production.INFO: count ==23
[2025-04-08 20:23:04] Production.INFO: Account Balance End.
[2025-04-08 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864615') start
[2025-04-08 20:23:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:23:04] Production.INFO: ==19124== Releasing lock...
[2025-04-08 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:23:04] Production.INFO: ==19122== Lock acquired, processing the job...
[2025-04-08 20:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:23:04] Production.INFO: ==19126== Lock acquired, processing the job...
[2025-04-08 20:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864615') end
[2025-04-08 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:23:04] Production.INFO: 1
[2025-04-08 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:23:04] Production.INFO: ==19128== Releasing lock...
[2025-04-08 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:23:04] Production.INFO: ==19120== Releasing lock...
[2025-04-08 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:23:05] Production.ERROR: done
[2025-04-08 20:23:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:23:05] Production.ERROR: done
[2025-04-08 20:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:23:06
[end_date_ymd] => 2025-04-08 20:23:06
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:23:06' and `end` < '2025-04-08 20: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-04-08 20:23:13] Production.ERROR: CronJobId end10
[2025-04-08 20:23:13] Production.INFO: ==19122== Releasing lock...
[2025-04-08 20:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:23:16] Production.INFO: call_cost start
[2025-04-08 20:23:16] Production.INFO: call_cost end
[2025-04-08 20:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:23:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:23:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:23:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:23:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:23:17] Production.INFO: ==19118== Releasing lock...
[2025-04-08 20:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:23:19] Production.INFO: count ==1659
[2025-04-08 20:23:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:23:06 - End Time 2025-04-08 20:23:06
[2025-04-08 20:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864618', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864618', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864618', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864618', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:23:19] Production.INFO: ProcessCDR(1,14864618,1,1,2)
[2025-04-08 20:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864618', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864618', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:23:22] Production.INFO: ==19126== Releasing lock...
[2025-04-08 20:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:23:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 01:24:01] Production.INFO: ==19182== Lock acquired, processing the job...
[2025-04-09 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:24:01] Production.INFO: neon service started
[2025-04-09 01:24:01] Production.INFO: neon service started
[2025-04-09 01:24:01] Production.INFO: ==19182== Releasing lock...
[2025-04-09 01:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:24:02] Production.INFO: ==19184== Lock acquired, processing the job...
[2025-04-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:24:02] Production.INFO: ==19184== Releasing lock...
[2025-04-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:24:02] Production.INFO: ==19186== Lock acquired, processing the job...
[2025-04-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:24:02] Production.INFO: ==19186== Releasing lock...
[2025-04-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:24:03] Production.INFO: ==19196== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:24:03] Production.INFO: ==19188== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:24:03] Production.INFO: ==19198== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:24:03] Production.INFO: ==19192== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:24:03] Production.INFO: ==19194== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:24:03] Production.INFO: ==19190== Lock acquired, processing the job...
[2025-04-08 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:24:03] Production.INFO: Account Balance Start.
[2025-04-08 20:24:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:24:03] Production.INFO: 117
[2025-04-08 20:24:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:24:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:24:03] Production.INFO: count ==12
[2025-04-08 20:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:24:03] Production.INFO: count ==23
[2025-04-08 20:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864620') start
[2025-04-08 20:24:03] Production.INFO: Total Charge 0
[2025-04-08 20:24:03] Production.ERROR: done
[2025-04-08 20:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:24:03] Production.INFO: CreateAllLog End
[2025-04-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864620') end
[2025-04-08 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:24:04] Production.INFO: 1
[2025-04-08 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:24:04] Production.ERROR: done
[2025-04-08 20:24:04] Production.INFO: ==19198== Releasing lock...
[2025-04-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:24:04] Production.INFO: ==19190== Releasing lock...
[2025-04-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:24:04] Production.INFO: Account Balance End.
[2025-04-08 20:24:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:24:04] Production.INFO: ==19194== Releasing lock...
[2025-04-08 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:24:05
[end_date_ymd] => 2025-04-08 20:24:05
[RateCDR] => 1
)
[2025-04-08 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:24:05' and `end` < '2025-04-08 20:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:24:13] Production.ERROR: CronJobId end10
[2025-04-08 20:24:13] Production.INFO: ==19192== Releasing lock...
[2025-04-08 20:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:24:15] Production.INFO: call_cost start
[2025-04-08 20:24:15] Production.INFO: call_cost end
[2025-04-08 20:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:24:16] Production.INFO: ==19188== Releasing lock...
[2025-04-08 20:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:24:18] Production.INFO: count ==1657
[2025-04-08 20:24:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:24:05 - End Time 2025-04-08 20:24:05
[2025-04-08 20:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864623', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864623', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864623', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864623', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:24:18] Production.INFO: ProcessCDR(1,14864623,1,1,2)
[2025-04-08 20:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864623', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864623', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:24:21] Production.INFO: ==19196== Releasing lock...
[2025-04-08 20:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:24:21] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 01:25:02] Production.INFO: ==19255== Lock acquired, processing the job...
[2025-04-09 01:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:25:02] Production.INFO: neon service started
[2025-04-09 01:25:02] Production.INFO: neon service started
[2025-04-09 01:25:02] Production.INFO: ==19255== Releasing lock...
[2025-04-09 01:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:25:02] Production.INFO: ==19259== Lock acquired, processing the job...
[2025-04-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:25:02] Production.INFO: ==19259== Releasing lock...
[2025-04-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:25:02] Production.INFO: ==19257== Lock acquired, processing the job...
[2025-04-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:25:02] Production.INFO: ==19257== Releasing lock...
[2025-04-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:25:03] Production.INFO: ==19264== Lock acquired, processing the job...
[2025-04-08 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:25:03] Production.INFO: ==19268== Lock acquired, processing the job...
[2025-04-08 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:25:03] Production.INFO: ==19262== Lock acquired, processing the job...
[2025-04-08 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:25:04] Production.INFO: Account Balance Start.
[2025-04-08 20:25:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:25:04] Production.INFO: 117
[2025-04-08 20:25:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:25:04] Production.INFO: ==19266== Lock acquired, processing the job...
[2025-04-08 20:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:25:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:25:04] Production.INFO: ==19270== Lock acquired, processing the job...
[2025-04-08 20:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:25:04] Production.INFO: ==19264== Releasing lock...
[2025-04-08 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:25:04] Production.INFO: ==19272== Lock acquired, processing the job...
[2025-04-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:25:04] Production.INFO: Total Charge 0
[2025-04-08 20:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:25:04] Production.INFO: CreateAllLog End
[2025-04-08 20:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:25:04] Production.INFO: count ==12
[2025-04-08 20:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:25:04] Production.INFO: count ==23
[2025-04-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864627') start
[2025-04-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864627') end
[2025-04-08 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:25:04] Production.INFO: 1
[2025-04-08 20:25:04] Production.ERROR: done
[2025-04-08 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:25:04] Production.INFO: Account Balance End.
[2025-04-08 20:25:04] Production.INFO: ==19272== Releasing lock...
[2025-04-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:25:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:25:04] Production.INFO: ==19268== Releasing lock...
[2025-04-08 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:25:04] Production.ERROR: done
[2025-04-08 20:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:25:05
[end_date_ymd] => 2025-04-08 20:25:05
[RateCDR] => 1
)
[2025-04-08 20:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:25:05' and `end` < '2025-04-08 20:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:25:12] Production.ERROR: CronJobId end10
[2025-04-08 20:25:12] Production.INFO: ==19266== Releasing lock...
[2025-04-08 20:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:25:15] Production.INFO: call_cost start
[2025-04-08 20:25:15] Production.INFO: call_cost end
[2025-04-08 20:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:25:15] Production.INFO: ==19262== Releasing lock...
[2025-04-08 20:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:25:19] Production.INFO: count ==1655
[2025-04-08 20:25:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:25:05 - End Time 2025-04-08 20:25:05
[2025-04-08 20:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864628', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864628', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864628', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864628', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:25:19] Production.INFO: ProcessCDR(1,14864628,1,1,2)
[2025-04-08 20:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864628', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864628', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:25:22] Production.INFO: ==19270== Releasing lock...
[2025-04-08 20:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:25:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 01:26:01] Production.INFO: ==19332== Lock acquired, processing the job...
[2025-04-09 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:26:01] Production.INFO: neon service started
[2025-04-09 01:26:01] Production.INFO: neon service started
[2025-04-09 01:26:01] Production.INFO: ==19332== Releasing lock...
[2025-04-09 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:26:02] Production.INFO: ==19336== Lock acquired, processing the job...
[2025-04-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:26:02] Production.INFO: ==19336== Releasing lock...
[2025-04-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:26:02] Production.INFO: ==19334== Lock acquired, processing the job...
[2025-04-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:26:02] Production.INFO: ==19334== Releasing lock...
[2025-04-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:26:03] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:26:03] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:26:03] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:26:03] Production.INFO: Account Balance Start.
[2025-04-08 20:26:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:26:03] Production.INFO: 117
[2025-04-08 20:26:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:26:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:26:03] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:26:03] Production.INFO: Total Charge 0
[2025-04-08 20:26:03] Production.INFO: CreateAllLog End
[2025-04-08 20:26:03] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 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-04-08 20:26:03] Production.INFO: count ==12
[2025-04-08 20:26:03] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-04-08 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 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-04-08 20:26:03] Production.INFO: count ==23
[2025-04-08 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864631') start
[2025-04-08 20:26:03] Production.INFO: Account Balance End.
[2025-04-08 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864631') end
[2025-04-08 20:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:26:03] Production.INFO: 1
[2025-04-08 20:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:26:03] Production.ERROR: CronJobId end 12
[2025-04-08 20:26:03] Production.INFO: ==19345== Releasing lock...
[2025-04-08 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:26:04] Production.INFO: ==19349== Releasing lock...
[2025-04-08 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:26:04] Production.ERROR: done
[2025-04-08 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:26:04] Production.INFO: ==19341== Releasing lock...
[2025-04-08 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:26:04] Production.ERROR: done
[2025-04-08 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:26:05
[end_date_ymd] => 2025-04-08 20:26:05
[RateCDR] => 1
)
[2025-04-08 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:26:05' and `end` < '2025-04-08 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:26:12] Production.ERROR: CronJobId end10
[2025-04-08 20:26:12] Production.INFO: ==19343== Releasing lock...
[2025-04-08 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:26:14] Production.INFO: call_cost start
[2025-04-08 20:26:14] Production.INFO: call_cost end
[2025-04-08 20:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:26:15] Production.INFO: ==19339== Releasing lock...
[2025-04-08 20:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:26:18] Production.INFO: count ==1655
[2025-04-08 20:26:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:26:05 - End Time 2025-04-08 20:26:05
[2025-04-08 20:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864633', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864633', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864633', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864633', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:26:18] Production.INFO: ProcessCDR(1,14864633,1,1,2)
[2025-04-08 20:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864633', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864633', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:26:22] Production.INFO: ==19347== Releasing lock...
[2025-04-08 20:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:26:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 01:27:02] Production.INFO: ==19404== Lock acquired, processing the job...
[2025-04-09 01:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:27:02] Production.INFO: neon service started
[2025-04-09 01:27:02] Production.INFO: neon service started
[2025-04-09 01:27:02] Production.INFO: ==19404== Releasing lock...
[2025-04-09 01:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:27:02] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-04-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:27:02] Production.INFO: ==19408== Releasing lock...
[2025-04-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:27:02] Production.INFO: ==19406== Lock acquired, processing the job...
[2025-04-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:27:02] Production.INFO: ==19406== Releasing lock...
[2025-04-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:27:03] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-04-08 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:27:03] Production.INFO: ==19419== Lock acquired, processing the job...
[2025-04-08 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:27:03] Production.INFO: ==19413== Lock acquired, processing the job...
[2025-04-08 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:27:03] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-04-08 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:27:04] Production.INFO: ==19417== Lock acquired, processing the job...
[2025-04-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:27:04] Production.INFO: ==19421== Lock acquired, processing the job...
[2025-04-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:27:04] Production.INFO: Account Balance Start.
[2025-04-08 20:27:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:27:04] Production.INFO: 117
[2025-04-08 20:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:27:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:27:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:27:04] Production.INFO: count ==12
[2025-04-08 20:27:04] Production.INFO: Total Charge 0
[2025-04-08 20:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:27:04] Production.INFO: count ==23
[2025-04-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864637') start
[2025-04-08 20:27:04] Production.ERROR: done
[2025-04-08 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:27:04] Production.INFO: CreateAllLog End
[2025-04-08 20:27:04] Production.INFO: ==19413== Releasing lock...
[2025-04-08 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864637') end
[2025-04-08 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:27:04] Production.INFO: 1
[2025-04-08 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:27:04] Production.INFO: ==19421== Releasing lock...
[2025-04-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:27:04] Production.ERROR: done
[2025-04-08 20:27:04] Production.INFO: Account Balance End.
[2025-04-08 20:27:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:27:04] Production.INFO: ==19417== Releasing lock...
[2025-04-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:27:05
[end_date_ymd] => 2025-04-08 20:27:05
[RateCDR] => 1
)
[2025-04-08 20:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:27:05' and `end` < '2025-04-08 20:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:27:13] Production.ERROR: CronJobId end10
[2025-04-08 20:27:13] Production.INFO: ==19415== Releasing lock...
[2025-04-08 20:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:27:14] Production.INFO: call_cost start
[2025-04-08 20:27:14] Production.INFO: call_cost end
[2025-04-08 20:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:27:15] Production.INFO: ==19410== Releasing lock...
[2025-04-08 20:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:27:18] Production.INFO: count ==1643
[2025-04-08 20:27:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:27:05 - End Time 2025-04-08 20:27:05
[2025-04-08 20:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864638', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864638', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864638', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864638', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:27:19] Production.INFO: ProcessCDR(1,14864638,1,1,2)
[2025-04-08 20:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864638', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864638', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:27:22] Production.INFO: ==19419== Releasing lock...
[2025-04-08 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:27:22] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:28:01] Production.INFO: ==19478== Lock acquired, processing the job...
[2025-04-09 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:28:01] Production.INFO: neon service started
[2025-04-09 01:28:01] Production.INFO: neon service started
[2025-04-09 01:28:01] Production.INFO: ==19478== Releasing lock...
[2025-04-09 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:28:01] Production.INFO: ==19480== Lock acquired, processing the job...
[2025-04-08 20:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:28:02] Production.INFO: ==19480== Releasing lock...
[2025-04-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:28:02] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-04-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:28:02] Production.INFO: ==19482== Releasing lock...
[2025-04-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:28:03] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:28:03] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:28:03] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:28:03] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:28:03] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 20:28:03] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-04-08 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:28:03] Production.INFO: count ==12
[2025-04-08 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-04-08 20:28:03] Production.INFO: count ==23
[2025-04-08 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864639') start
[2025-04-08 20:28:03] Production.INFO: Account Balance Start.
[2025-04-08 20:28:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:28:03] Production.INFO: 117
[2025-04-08 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:28:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:28:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864639') end
[2025-04-08 20:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:28:03] Production.INFO: 1
[2025-04-08 20:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:28:03] Production.INFO: Total Charge 0
[2025-04-08 20:28:03] Production.INFO: CreateAllLog End
[2025-04-08 20:28:03] Production.INFO: ==19499== Releasing lock...
[2025-04-08 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:28:03] Production.INFO: ==19486== Releasing lock...
[2025-04-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:28:03] Production.INFO: Account Balance End.
[2025-04-08 20:28:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:28:04] Production.INFO: ==19491== Releasing lock...
[2025-04-08 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:28:04] Production.ERROR: done
[2025-04-08 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:28:04] Production.ERROR: done
[2025-04-08 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:28:05
[end_date_ymd] => 2025-04-08 20:28:05
[RateCDR] => 1
)
[2025-04-08 20:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:28:05' and `end` < '2025-04-08 20:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:28:11] Production.ERROR: CronJobId end10
[2025-04-08 20:28:11] Production.INFO: ==19488== Releasing lock...
[2025-04-08 20:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:28:14] Production.INFO: call_cost start
[2025-04-08 20:28:14] Production.INFO: call_cost end
[2025-04-08 20:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:28:15] Production.INFO: ==19484== Releasing lock...
[2025-04-08 20:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:28:18] Production.INFO: count ==1642
[2025-04-08 20:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:28:05 - End Time 2025-04-08 20:28:05
[2025-04-08 20:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864643', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864643', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864643', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864643', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:28:18] Production.INFO: ProcessCDR(1,14864643,1,1,2)
[2025-04-08 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864643', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864643', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:28:21] Production.INFO: ==19495== Releasing lock...
[2025-04-08 20:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:28:21] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:29:01] Production.INFO: ==19589== Lock acquired, processing the job...
[2025-04-09 01:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:29:01] Production.INFO: neon service started
[2025-04-09 01:29:01] Production.INFO: neon service started
[2025-04-09 01:29:01] Production.INFO: ==19589== Releasing lock...
[2025-04-09 01:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:29:02] Production.INFO: ==19591== Lock acquired, processing the job...
[2025-04-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:29:02] Production.INFO: ==19591== Releasing lock...
[2025-04-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:29:02] Production.INFO: ==19593== Lock acquired, processing the job...
[2025-04-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:29:02] Production.INFO: ==19593== Releasing lock...
[2025-04-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:29:03] Production.INFO: ==19603== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:29:03] Production.INFO: ==19597== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:29:03] Production.INFO: ==19601== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:29:03] Production.INFO: ==19595== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:29:03] Production.INFO: ==19599== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:29:03] Production.INFO: Account Balance Start.
[2025-04-08 20:29:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:29:03] Production.INFO: 117
[2025-04-08 20:29:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:29:03] Production.INFO: ==19605== Lock acquired, processing the job...
[2025-04-08 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:29:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:29:03] Production.INFO: Total Charge 0
[2025-04-08 20:29:03] Production.INFO: CreateAllLog End
[2025-04-08 20:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:29:04] Production.INFO: count ==12
[2025-04-08 20:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:29:04] Production.INFO: count ==23
[2025-04-08 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864646') start
[2025-04-08 20:29:04] Production.INFO: ==19597== Releasing lock...
[2025-04-08 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:29:04] Production.INFO: Account Balance End.
[2025-04-08 20:29:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:29:04] Production.INFO: ==19601== Releasing lock...
[2025-04-08 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:29:04] Production.ERROR: done
[2025-04-08 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864646') end
[2025-04-08 20:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:29:04] Production.INFO: 1
[2025-04-08 20:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:29:04] Production.INFO: ==19605== Releasing lock...
[2025-04-08 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:29:04] Production.ERROR: done
[2025-04-08 20:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:29:04
[end_date_ymd] => 2025-04-08 20:29:04
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:29:04' and `end` < '2025-04-08 20: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-04-08 20:29:13] Production.ERROR: CronJobId end10
[2025-04-08 20:29:13] Production.INFO: ==19599== Releasing lock...
[2025-04-08 20:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:29:15] Production.INFO: call_cost start
[2025-04-08 20:29:15] Production.INFO: call_cost end
[2025-04-08 20:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:29:16] Production.INFO: ==19595== Releasing lock...
[2025-04-08 20:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:29:18] Production.INFO: count ==1638
[2025-04-08 20:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:29:04 - End Time 2025-04-08 20:29:04
[2025-04-08 20:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864648', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864648', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864648', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864648', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:29:18] Production.INFO: ProcessCDR(1,14864648,1,1,2)
[2025-04-08 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864648', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864648', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:29:21] Production.INFO: ==19603== Releasing lock...
[2025-04-08 20:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:29:21] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:30:01] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-04-09 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:30:01] Production.INFO: neon service started
[2025-04-09 01:30:01] Production.INFO: neon service started
[2025-04-09 01:30:01] Production.INFO: ==19666== Releasing lock...
[2025-04-09 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:30:01] Production.INFO: ==19670== Lock acquired, processing the job...
[2025-04-09 00:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:30:01] Production.INFO: ==19670== Releasing lock...
[2025-04-09 00:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:30:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:30:01] Production.INFO: ==19668== Lock acquired, processing the job...
[2025-04-08 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:30:02] Production.INFO: ==19668== Releasing lock...
[2025-04-08 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:30:03] Production.INFO: ==19679== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:30:03] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:30:03] Production.INFO: ==19673== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:30:03] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:30:03] Production.INFO: ==19675== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:30:03] Production.INFO: ==19681== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:30:03] Production.INFO: ==19677== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:30:03] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-04-08 20:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19675
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 5
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19677
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - Account Block
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 7
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19679
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 10
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19681
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 12
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19683
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 16
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19685
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 17
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:30:03] Production.ERROR: CronJob PID - 19687
[2025-04-08 20:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-08 20:30:03] Production.ERROR: CronJob ID - 19
[2025-04-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:30:00
[2025-04-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:30:03] Production.INFO: Account Balance Start.
[2025-04-08 20:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:30:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:30:03] Production.INFO: 117
[2025-04-08 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:30:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:30:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:30:04] Production.INFO: count ==12
[2025-04-08 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:30:04] Production.INFO: count ==23
[2025-04-08 20:30:04] Production.INFO: Total Charge 0
[2025-04-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864649') start
[2025-04-08 20:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:30:04] Production.INFO: ==19673== Releasing lock...
[2025-04-08 20:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:30:04] Production.INFO: CreateAllLog End
[2025-04-08 20:30:04] Production.ERROR: done
[2025-04-08 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:30:04] Production.ERROR: done
[2025-04-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864649') end
[2025-04-08 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:30:04] Production.INFO: 1
[2025-04-08 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864653', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:30:04] Production.INFO: ==19687== Releasing lock...
[2025-04-08 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:30:04] Production.INFO: ==19677== Releasing lock...
[2025-04-08 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:30:04] Production.ERROR: done
[2025-04-08 20:30:04] Production.INFO: Account Balance End.
[2025-04-08 20:30:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:30:04] Production.INFO: ==19681== Releasing lock...
[2025-04-08 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:30:05
[end_date_ymd] => 2025-04-08 20:30:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:30:05' and `end` < '2025-04-08 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-04-08 20:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864653', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:30:08] Production.INFO: ProcessCDR(1,14864653,1,1,2)
[2025-04-08 20:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:30:08] Production.INFO: ==19685== Releasing lock...
[2025-04-08 20:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:30:13] Production.ERROR: CronJobId end10
[2025-04-08 20:30:13] Production.INFO: ==19679== Releasing lock...
[2025-04-08 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:30:16] Production.INFO: call_cost start
[2025-04-08 20:30:16] Production.INFO: call_cost end
[2025-04-08 20:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:30:17] Production.INFO: ==19675== Releasing lock...
[2025-04-08 20:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:30:18] Production.INFO: count ==1634
[2025-04-08 20:30:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:30:05 - End Time 2025-04-08 20:30:05
[2025-04-08 20:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864654', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864654', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864654', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864654', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:30:19] Production.INFO: ProcessCDR(1,14864654,1,1,2)
[2025-04-08 20:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864654', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864654', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:30:22] Production.INFO: ==19683== Releasing lock...
[2025-04-08 20:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:30:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 01:31:01] Production.INFO: ==19746== Lock acquired, processing the job...
[2025-04-09 01:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:31:01] Production.INFO: neon service started
[2025-04-09 01:31:01] Production.INFO: neon service started
[2025-04-09 01:31:01] Production.INFO: ==19746== Releasing lock...
[2025-04-09 01:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:31:02] Production.INFO: ==19748== Lock acquired, processing the job...
[2025-04-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:31:02] Production.INFO: ==19750== Lock acquired, processing the job...
[2025-04-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:31:02] Production.INFO: ==19748== Releasing lock...
[2025-04-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:31:02] Production.INFO: ==19750== Releasing lock...
[2025-04-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:31:03] Production.INFO: ==19753== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:31:03] Production.INFO: ==19755== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:31:03] Production.INFO: ==19757== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:31:03] Production.INFO: ==19759== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:31:03] Production.INFO: ==19763== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:31:03] Production.INFO: Account Balance Start.
[2025-04-08 20:31:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:31:03] Production.INFO: 117
[2025-04-08 20:31:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:31:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:31:03] Production.INFO: ==19761== Lock acquired, processing the job...
[2025-04-08 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:31:03] Production.INFO: Total Charge 0
[2025-04-08 20:31:03] Production.INFO: CreateAllLog End
[2025-04-08 20:31:03] Production.INFO: ==19755== Releasing lock...
[2025-04-08 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 20:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:31:03] Production.INFO: count ==12
[2025-04-08 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-04-08 20:31:03] Production.INFO: count ==23
[2025-04-08 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864658') start
[2025-04-08 20:31:04] Production.INFO: Account Balance End.
[2025-04-08 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864658') end
[2025-04-08 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:31:04] Production.INFO: 1
[2025-04-08 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:31:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:31:04] Production.INFO: ==19759== Releasing lock...
[2025-04-08 20:31:04] Production.INFO: ==19763== Releasing lock...
[2025-04-08 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:31:04] Production.ERROR: done
[2025-04-08 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:31:04] Production.ERROR: done
[2025-04-08 20:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:31:05
[end_date_ymd] => 2025-04-08 20:31:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:31:05' and `end` < '2025-04-08 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-04-08 20:31:12] Production.ERROR: CronJobId end10
[2025-04-08 20:31:12] Production.INFO: ==19757== Releasing lock...
[2025-04-08 20:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:31:14] Production.INFO: call_cost start
[2025-04-08 20:31:14] Production.INFO: call_cost end
[2025-04-08 20:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:31:15] Production.INFO: ==19753== Releasing lock...
[2025-04-08 20:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:31:18] Production.INFO: count ==1606
[2025-04-08 20:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:31:05 - End Time 2025-04-08 20:31:05
[2025-04-08 20:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864659', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864659', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864659', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864659', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:31:18] Production.INFO: ProcessCDR(1,14864659,1,1,2)
[2025-04-08 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864659', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864659', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:31:22] Production.INFO: ==19761== Releasing lock...
[2025-04-08 20:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:31:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-09 01:32:02] Production.INFO: ==19816== Lock acquired, processing the job...
[2025-04-09 01:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:32:02] Production.INFO: neon service started
[2025-04-09 01:32:02] Production.INFO: neon service started
[2025-04-09 01:32:02] Production.INFO: ==19816== Releasing lock...
[2025-04-09 01:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:32:02] Production.INFO: ==19819== Lock acquired, processing the job...
[2025-04-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:32:02] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-04-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:32:03] Production.INFO: ==19821== Releasing lock...
[2025-04-09 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:32:03] Production.INFO: ==19819== Releasing lock...
[2025-04-08 20:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:32:04] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:32:04] Production.INFO: ==19825== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:32:04] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:32:04] Production.INFO: ==19827== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:32:04] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:32:04] Production.INFO: ==19835== Lock acquired, processing the job...
[2025-04-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:32:04] Production.INFO: Account Balance Start.
[2025-04-08 20:32:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:32:04] Production.INFO: 117
[2025-04-08 20:32:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:32:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:32:04] Production.INFO: count ==12
[2025-04-08 20:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:32:04] Production.INFO: count ==23
[2025-04-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864661') start
[2025-04-08 20:32:04] Production.INFO: Total Charge 0
[2025-04-08 20:32:04] Production.ERROR: done
[2025-04-08 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:32:04] Production.INFO: CreateAllLog End
[2025-04-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864661') end
[2025-04-08 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:32:04] Production.INFO: 1
[2025-04-08 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:32:04] Production.INFO: ==19835== Releasing lock...
[2025-04-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:32:05] Production.INFO: ==19827== Releasing lock...
[2025-04-08 20:32:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:32:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:32:05] Production.ERROR: done
[2025-04-08 20:32:05] Production.INFO: Account Balance End.
[2025-04-08 20:32:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:32:05] Production.INFO: ==19831== Releasing lock...
[2025-04-08 20:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:32:05
[end_date_ymd] => 2025-04-08 20:32:05
[RateCDR] => 1
)
[2025-04-08 20:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:32:05' and `end` < '2025-04-08 20:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:32:13] Production.ERROR: CronJobId end10
[2025-04-08 20:32:13] Production.INFO: ==19829== Releasing lock...
[2025-04-08 20:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:32:15] Production.INFO: call_cost start
[2025-04-08 20:32:15] Production.INFO: call_cost end
[2025-04-08 20:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:32:16] Production.INFO: ==19825== Releasing lock...
[2025-04-08 20:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:32:19] Production.INFO: count ==1604
[2025-04-08 20:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:32:05 - End Time 2025-04-08 20:32:05
[2025-04-08 20:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864664', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864664', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864664', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864664', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:32:19] Production.INFO: ProcessCDR(1,14864664,1,1,2)
[2025-04-08 20:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864664', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864664', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:32:22] Production.INFO: ==19833== Releasing lock...
[2025-04-08 20:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:32:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-09 01:33:01] Production.INFO: ==19890== Lock acquired, processing the job...
[2025-04-09 01:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:33:01] Production.INFO: neon service started
[2025-04-09 01:33:01] Production.INFO: neon service started
[2025-04-09 01:33:01] Production.INFO: ==19890== Releasing lock...
[2025-04-09 01:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:33:02] Production.INFO: ==19892== Lock acquired, processing the job...
[2025-04-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:33:02] Production.INFO: ==19894== Lock acquired, processing the job...
[2025-04-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:33:02] Production.INFO: ==19894== Releasing lock...
[2025-04-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:33:02] Production.INFO: ==19892== Releasing lock...
[2025-04-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:33:03] Production.INFO: ==19897== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:33:03] Production.INFO: ==19901== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:33:03] Production.INFO: ==19903== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:33:03] Production.INFO: Account Balance Start.
[2025-04-08 20:33:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:33:03] Production.INFO: 117
[2025-04-08 20:33:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:33:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:33:03] Production.INFO: Total Charge 0
[2025-04-08 20:33:03] Production.INFO: ==19899== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:33:03] Production.INFO: CreateAllLog End
[2025-04-08 20:33:03] Production.INFO: ==19905== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:33:03] Production.INFO: Account Balance End.
[2025-04-08 20:33:03] Production.INFO: ==19907== Lock acquired, processing the job...
[2025-04-08 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:33:03] Production.ERROR: CronJobId end 12
[2025-04-08 20:33:03] Production.INFO: ==19903== Releasing lock...
[2025-04-08 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:33:04] Production.INFO: ==19899== Releasing lock...
[2025-04-08 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:33:04] Production.INFO: count ==12
[2025-04-08 20:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:33:04] Production.INFO: count ==23
[2025-04-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864668') start
[2025-04-08 20:33:04] Production.ERROR: done
[2025-04-08 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864668') end
[2025-04-08 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:33:04] Production.INFO: 1
[2025-04-08 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:33:04] Production.INFO: ==19907== Releasing lock...
[2025-04-08 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:33:04] Production.ERROR: done
[2025-04-08 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:33:05
[end_date_ymd] => 2025-04-08 20:33:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:33:05' and `end` < '2025-04-08 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-04-08 20:33:14] Production.ERROR: CronJobId end10
[2025-04-08 20:33:14] Production.INFO: ==19901== Releasing lock...
[2025-04-08 20:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:33:15] Production.INFO: call_cost start
[2025-04-08 20:33:15] Production.INFO: call_cost end
[2025-04-08 20:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:33:16] Production.INFO: ==19897== Releasing lock...
[2025-04-08 20:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:33:18] Production.INFO: count ==1603
[2025-04-08 20:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:33:05 - End Time 2025-04-08 20:33:05
[2025-04-08 20:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864669', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864669', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864669', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864669', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:33:18] Production.INFO: ProcessCDR(1,14864669,1,1,2)
[2025-04-08 20:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864669', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864669', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:33:22] Production.INFO: ==19905== Releasing lock...
[2025-04-08 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:33:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-09 01:34:02] Production.INFO: ==19964== Lock acquired, processing the job...
[2025-04-09 01:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:34:02] Production.INFO: neon service started
[2025-04-09 01:34:02] Production.INFO: neon service started
[2025-04-09 01:34:02] Production.INFO: ==19964== Releasing lock...
[2025-04-09 01:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:34:02] Production.INFO: ==19966== Lock acquired, processing the job...
[2025-04-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:34:02] Production.INFO: ==19966== Releasing lock...
[2025-04-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:34:03] Production.INFO: ==19968== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:34:03] Production.INFO: ==19968== Releasing lock...
[2025-04-09 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:34:03] Production.INFO: ==19971== Lock acquired, processing the job...
[2025-04-08 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:34:03] Production.INFO: ==19973== Lock acquired, processing the job...
[2025-04-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:34:03] Production.INFO: ==19975== Lock acquired, processing the job...
[2025-04-08 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:34:04] Production.INFO: ==19973== Releasing lock...
[2025-04-08 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:34:04] Production.INFO: ==19977== Lock acquired, processing the job...
[2025-04-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:34:04] Production.INFO: ==19979== Lock acquired, processing the job...
[2025-04-08 20:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:34:04] Production.INFO: ==19981== Lock acquired, processing the job...
[2025-04-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:34:04] Production.INFO: Account Balance Start.
[2025-04-08 20:34:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:34:04] Production.INFO: 117
[2025-04-08 20:34:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:34:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:34:04] Production.INFO: Total Charge 0
[2025-04-08 20:34:04] Production.INFO: CreateAllLog End
[2025-04-08 20: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-04-08 20:34:04] Production.INFO: count ==12
[2025-04-08 20:34:04] Production.ERROR: done
[2025-04-08 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20: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-04-08 20:34:04] Production.INFO: count ==23
[2025-04-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864673') start
[2025-04-08 20:34:04] Production.ERROR: done
[2025-04-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864673') end
[2025-04-08 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:34:04] Production.INFO: 1
[2025-04-08 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:34:04] Production.INFO: Account Balance End.
[2025-04-08 20:34:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:34:04] Production.INFO: ==19977== Releasing lock...
[2025-04-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:34:04] Production.INFO: ==19981== Releasing lock...
[2025-04-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:34:05
[end_date_ymd] => 2025-04-08 20:34:05
[RateCDR] => 1
)
[2025-04-08 20:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:34:05' and `end` < '2025-04-08 20:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:34:12] Production.ERROR: CronJobId end10
[2025-04-08 20:34:12] Production.INFO: ==19975== Releasing lock...
[2025-04-08 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:34:14] Production.INFO: call_cost start
[2025-04-08 20:34:14] Production.INFO: call_cost end
[2025-04-08 20:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:34:15] Production.INFO: ==19971== Releasing lock...
[2025-04-08 20:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:34:18] Production.INFO: count ==1601
[2025-04-08 20:34:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:34:05 - End Time 2025-04-08 20:34:05
[2025-04-08 20:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864674', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864674', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864674', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864674', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:34:19] Production.INFO: ProcessCDR(1,14864674,1,1,2)
[2025-04-08 20:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864674', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864674', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:34:24] Production.INFO: ==19979== Releasing lock...
[2025-04-08 20:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:34:24] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:35:01] Production.INFO: ==20034== Lock acquired, processing the job...
[2025-04-09 01:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:35:01] Production.INFO: neon service started
[2025-04-09 01:35:01] Production.INFO: neon service started
[2025-04-09 01:35:01] Production.INFO: ==20034== Releasing lock...
[2025-04-09 01:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:35:02] Production.INFO: ==20036== Lock acquired, processing the job...
[2025-04-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:35:02] Production.INFO: ==20036== Releasing lock...
[2025-04-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:35:02] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-04-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:35:02] Production.INFO: ==20038== Releasing lock...
[2025-04-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:35:03] Production.INFO: ==20043== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:35:03] Production.INFO: ==20049== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:35:03] Production.INFO: ==20051== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20: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-04-08 20:35:03] Production.INFO: count ==12
[2025-04-08 20: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-04-08 20:35:03] Production.INFO: count ==23
[2025-04-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864676') start
[2025-04-08 20:35:03] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:35:03] Production.INFO: ==20043== Releasing lock...
[2025-04-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864676') end
[2025-04-08 20:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:35:03] Production.INFO: 1
[2025-04-08 20:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:35:03] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:35:03] Production.INFO: ==20047== Lock acquired, processing the job...
[2025-04-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:35:03] Production.ERROR: done
[2025-04-08 20:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:35:03] Production.INFO: ==20051== Releasing lock...
[2025-04-08 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:35:03] Production.INFO: Account Balance Start.
[2025-04-08 20:35:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:35:03] Production.INFO: 117
[2025-04-08 20:35:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:35:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:35:03] Production.INFO: Total Charge 0
[2025-04-08 20:35:03] Production.INFO: CreateAllLog End
[2025-04-08 20:35:04] Production.ERROR: done
[2025-04-08 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:35:04] Production.INFO: Account Balance End.
[2025-04-08 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:35:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:35:04] Production.INFO: ==20047== Releasing lock...
[2025-04-08 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:35:05
[end_date_ymd] => 2025-04-08 20:35:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:35:05' and `end` < '2025-04-08 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-04-08 20:35:13] Production.ERROR: CronJobId end10
[2025-04-08 20:35:13] Production.INFO: ==20045== Releasing lock...
[2025-04-08 20:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:35:14] Production.INFO: call_cost start
[2025-04-08 20:35:14] Production.INFO: call_cost end
[2025-04-08 20:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:35:15] Production.INFO: ==20040== Releasing lock...
[2025-04-08 20:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:35:18] Production.INFO: count ==1586
[2025-04-08 20:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:35:05 - End Time 2025-04-08 20:35:05
[2025-04-08 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864679', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864679', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864679', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864679', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:35:18] Production.INFO: ProcessCDR(1,14864679,1,1,2)
[2025-04-08 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864679', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864679', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:35:21] Production.INFO: ==20049== Releasing lock...
[2025-04-08 20:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:35:21] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:36:02] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-04-09 01:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:36:02] Production.INFO: neon service started
[2025-04-09 01:36:02] Production.INFO: neon service started
[2025-04-09 01:36:02] Production.INFO: ==20110== Releasing lock...
[2025-04-09 01:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:36:02] Production.INFO: ==20112== Lock acquired, processing the job...
[2025-04-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:36:02] Production.INFO: ==20112== Releasing lock...
[2025-04-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:36:02] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-04-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:36:03] Production.INFO: ==20114== Releasing lock...
[2025-04-09 00:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:36:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:36:03] Production.INFO: ==20121== Lock acquired, processing the job...
[2025-04-08 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:36:03] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-04-08 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:36:04] Production.INFO: count ==12
[2025-04-08 20:36:04] Production.INFO: ==20117== Lock acquired, processing the job...
[2025-04-08 20:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:36:04] Production.INFO: count ==23
[2025-04-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864680') start
[2025-04-08 20:36:04] Production.INFO: ==20119== Lock acquired, processing the job...
[2025-04-08 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:36:04] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-04-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:36:04] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-04-08 20:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864680') end
[2025-04-08 20:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:36:04] Production.INFO: 1
[2025-04-08 20:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:36:04] Production.INFO: ==20127== Releasing lock...
[2025-04-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:36:04] Production.INFO: Account Balance Start.
[2025-04-08 20:36:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:36:04] Production.INFO: 117
[2025-04-08 20:36:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:36:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:36:04] Production.INFO: Total Charge 0
[2025-04-08 20:36:04] Production.INFO: CreateAllLog End
[2025-04-08 20:36:04] Production.INFO: ==20119== Releasing lock...
[2025-04-08 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:36:04] Production.INFO: Account Balance End.
[2025-04-08 20:36:04] Production.ERROR: done
[2025-04-08 20:36:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:36:04] Production.INFO: ==20123== Releasing lock...
[2025-04-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:36:04] Production.ERROR: done
[2025-04-08 20:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:36:06
[end_date_ymd] => 2025-04-08 20:36:06
[RateCDR] => 1
)
[2025-04-08 20:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:36:06' and `end` < '2025-04-08 20:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:36:14] Production.ERROR: CronJobId end10
[2025-04-08 20:36:14] Production.INFO: ==20121== Releasing lock...
[2025-04-08 20:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:36:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:36:16] Production.INFO: call_cost start
[2025-04-08 20:36:16] Production.INFO: call_cost end
[2025-04-08 20:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:36:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:36:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:36:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:36:17] Production.INFO: ==20117== Releasing lock...
[2025-04-08 20:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:36:19] Production.INFO: count ==1584
[2025-04-08 20:36:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:36:06 - End Time 2025-04-08 20:36:06
[2025-04-08 20:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864684', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864684', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864684', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864684', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:36:19] Production.INFO: ProcessCDR(1,14864684,1,1,2)
[2025-04-08 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864684', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864684', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:36:22] Production.INFO: ==20125== Releasing lock...
[2025-04-08 20:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:36:22] Production.INFO: 40 MB #Memory Used#
[2025-04-09 01:37:01] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-04-09 01:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:37:01] Production.INFO: neon service started
[2025-04-09 01:37:01] Production.INFO: neon service started
[2025-04-09 01:37:01] Production.INFO: ==20186== Releasing lock...
[2025-04-09 01:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:37:02] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-04-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:37:02] Production.INFO: ==20188== Releasing lock...
[2025-04-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:37:02] Production.INFO: ==20190== Lock acquired, processing the job...
[2025-04-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:37:02] Production.INFO: ==20190== Releasing lock...
[2025-04-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:37:03] Production.INFO: ==20198== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:37:03] Production.INFO: ==20194== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:37:03] Production.INFO: ==20196== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:37:03] Production.INFO: ==20202== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:37:03] Production.INFO: ==20192== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:37:03] Production.INFO: Account Balance Start.
[2025-04-08 20:37:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:37:03] Production.INFO: 117
[2025-04-08 20:37:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:37:03] Production.INFO: ==20200== Lock acquired, processing the job...
[2025-04-08 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20: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-04-08 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:37:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:37:03] Production.INFO: count ==12
[2025-04-08 20: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-04-08 20:37:03] Production.INFO: count ==23
[2025-04-08 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864686') start
[2025-04-08 20:37:03] Production.INFO: Total Charge 0
[2025-04-08 20:37:03] Production.INFO: CreateAllLog End
[2025-04-08 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864686') end
[2025-04-08 20:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:37:03] Production.INFO: 1
[2025-04-08 20:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:37:03] Production.INFO: ==20202== Releasing lock...
[2025-04-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:37:03] Production.ERROR: done
[2025-04-08 20:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:37:03] Production.INFO: ==20194== Releasing lock...
[2025-04-08 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:37:04] Production.ERROR: done
[2025-04-08 20:37:04] Production.INFO: Account Balance End.
[2025-04-08 20:37:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:37:04] Production.INFO: ==20198== Releasing lock...
[2025-04-08 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:37:05
[end_date_ymd] => 2025-04-08 20:37:05
[RateCDR] => 1
)
[2025-04-08 20:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:37:05' and `end` < '2025-04-08 20:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:37:12] Production.ERROR: CronJobId end10
[2025-04-08 20:37:12] Production.INFO: ==20196== Releasing lock...
[2025-04-08 20:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:37:14] Production.INFO: call_cost start
[2025-04-08 20:37:14] Production.INFO: call_cost end
[2025-04-08 20:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:37:15] Production.INFO: ==20192== Releasing lock...
[2025-04-08 20:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:37:18] Production.INFO: count ==1577
[2025-04-08 20:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:37:05 - End Time 2025-04-08 20:37:05
[2025-04-08 20:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864689', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864689', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864689', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864689', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:37:18] Production.INFO: ProcessCDR(1,14864689,1,1,2)
[2025-04-08 20:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864689', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864689', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:37:24] Production.INFO: ==20200== Releasing lock...
[2025-04-08 20:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:37:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-09 01:38:02] Production.INFO: ==20256== Lock acquired, processing the job...
[2025-04-09 01:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:38:02] Production.INFO: neon service started
[2025-04-09 01:38:02] Production.INFO: neon service started
[2025-04-09 01:38:02] Production.INFO: ==20256== Releasing lock...
[2025-04-09 01:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:38:02] Production.INFO: ==20258== Lock acquired, processing the job...
[2025-04-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:38:02] Production.INFO: ==20258== Releasing lock...
[2025-04-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:38:03] Production.INFO: ==20260== Lock acquired, processing the job...
[2025-04-09 00:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:38:03] Production.INFO: ==20260== Releasing lock...
[2025-04-09 00:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:38:03] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-04-08 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:38:03] Production.INFO: ==20267== Lock acquired, processing the job...
[2025-04-08 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:38:03] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-04-08 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:38:03] Production.INFO: ==20271== Lock acquired, processing the job...
[2025-04-08 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:38:03] Production.INFO: ==20269== Lock acquired, processing the job...
[2025-04-08 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:38:04] Production.INFO: ==20273== Lock acquired, processing the job...
[2025-04-08 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:38:04] Production.INFO: Account Balance Start.
[2025-04-08 20:38:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:38:04] Production.INFO: 117
[2025-04-08 20:38:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:38:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:38:04] Production.INFO: Total Charge 0
[2025-04-08 20:38:04] Production.INFO: CreateAllLog End
[2025-04-08 20:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:38:04] Production.INFO: Account Balance End.
[2025-04-08 20:38:04] Production.INFO: count ==12
[2025-04-08 20:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:38:04] Production.INFO: count ==23
[2025-04-08 20:38:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:38:04] Production.INFO: ==20269== Releasing lock...
[2025-04-08 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:38:04] Production.INFO: ==20265== Releasing lock...
[2025-04-08 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864693') start
[2025-04-08 20:38:04] Production.ERROR: done
[2025-04-08 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864693') end
[2025-04-08 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:38:04] Production.INFO: 1
[2025-04-08 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:38:04] Production.INFO: ==20273== Releasing lock...
[2025-04-08 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:38:04] Production.ERROR: done
[2025-04-08 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:38:05
[end_date_ymd] => 2025-04-08 20:38:05
[RateCDR] => 1
)
[2025-04-08 20:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:38:05' and `end` < '2025-04-08 20:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:38:13] Production.ERROR: CronJobId end10
[2025-04-08 20:38:13] Production.INFO: ==20267== Releasing lock...
[2025-04-08 20:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:38:15] Production.INFO: call_cost start
[2025-04-08 20:38:15] Production.INFO: call_cost end
[2025-04-08 20:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:38:16] Production.INFO: ==20263== Releasing lock...
[2025-04-08 20:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:38:18] Production.INFO: count ==1571
[2025-04-08 20:38:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:38:05 - End Time 2025-04-08 20:38:05
[2025-04-08 20:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864694', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864694', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864694', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864694', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:38:19] Production.INFO: ProcessCDR(1,14864694,1,1,2)
[2025-04-08 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864694', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864694', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:38:22] Production.INFO: ==20271== Releasing lock...
[2025-04-08 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:38:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-09 01:39:01] Production.INFO: ==20332== Lock acquired, processing the job...
[2025-04-09 01:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:39:01] Production.INFO: neon service started
[2025-04-09 01:39:01] Production.INFO: neon service started
[2025-04-09 01:39:01] Production.INFO: ==20332== Releasing lock...
[2025-04-09 01:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:39:01] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-04-09 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:39:01] Production.INFO: ==20337== Releasing lock...
[2025-04-09 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:39:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:39:02] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-04-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:39:02] Production.INFO: ==20335== Releasing lock...
[2025-04-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:39:03] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:39:03] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:39:03] Production.INFO: ==20347== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:39:03] Production.INFO: ==20349== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:39:03] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:39:03] Production.INFO: ==20341== Releasing lock...
[2025-04-08 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:39:03] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-04-08 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 20:39:03] Production.INFO: count ==12
[2025-04-08 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-04-08 20:39:03] Production.INFO: count ==23
[2025-04-08 20:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864696') start
[2025-04-08 20:39:03] Production.ERROR: done
[2025-04-08 20:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:39:03] Production.INFO: Account Balance Start.
[2025-04-08 20:39:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:39:03] Production.INFO: 117
[2025-04-08 20:39:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:39:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:39:03] Production.INFO: Total Charge 0
[2025-04-08 20:39:03] Production.INFO: CreateAllLog End
[2025-04-08 20:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864696') end
[2025-04-08 20:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:39:03] Production.INFO: 1
[2025-04-08 20:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:39:03] Production.INFO: ==20349== Releasing lock...
[2025-04-08 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:39:04] Production.ERROR: done
[2025-04-08 20:39:04] Production.INFO: Account Balance End.
[2025-04-08 20:39:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:39:04] Production.INFO: ==20345== Releasing lock...
[2025-04-08 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:39:04
[end_date_ymd] => 2025-04-08 20:39:04
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:39:04' and `end` < '2025-04-08 20: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-04-08 20:39:12] Production.ERROR: CronJobId end10
[2025-04-08 20:39:12] Production.INFO: ==20343== Releasing lock...
[2025-04-08 20:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:39:14] Production.INFO: call_cost start
[2025-04-08 20:39:14] Production.INFO: call_cost end
[2025-04-08 20:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:39:15] Production.INFO: ==20339== Releasing lock...
[2025-04-08 20:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:39:18] Production.INFO: count ==1558
[2025-04-08 20:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:39:04 - End Time 2025-04-08 20:39:04
[2025-04-08 20:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864699', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864699', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864699', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864699', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:39:18] Production.INFO: ProcessCDR(1,14864699,1,1,2)
[2025-04-08 20:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864699', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864699', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:39:21] Production.INFO: ==20347== Releasing lock...
[2025-04-08 20:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:39:21] Production.INFO: 39.5 MB #Memory Used#
[2025-04-09 01:40:02] Production.INFO: ==20408== Lock acquired, processing the job...
[2025-04-09 01:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:40:02] Production.INFO: neon service started
[2025-04-09 01:40:02] Production.INFO: neon service started
[2025-04-09 01:40:02] Production.INFO: ==20408== Releasing lock...
[2025-04-09 01:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:40:02] Production.INFO: ==20412== Lock acquired, processing the job...
[2025-04-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:40:02] Production.INFO: ==20412== Releasing lock...
[2025-04-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:40:02] Production.INFO: ==20410== Lock acquired, processing the job...
[2025-04-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:40:03] Production.INFO: ==20410== Releasing lock...
[2025-04-08 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:40:03] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:40:04] Production.INFO: ==20417== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:40:04] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:40:04] Production.INFO: ==20425== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:40:04] Production.INFO: ==20415== Releasing lock...
[2025-04-08 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:40:04] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:40:04] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:40:04] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:40:04] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-04-08 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:40:04] Production.INFO: ==20419== Releasing lock...
[2025-04-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:40:04] Production.INFO: Account Balance Start.
[2025-04-08 20:40:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:40:04] Production.INFO: 117
[2025-04-08 20:40:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:40:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:40:04] Production.INFO: Total Charge 0
[2025-04-08 20:40:04] Production.INFO: CreateAllLog End
[2025-04-08 20:40:04] Production.INFO: count ==12
[2025-04-08 20:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:40:04] Production.INFO: count ==23
[2025-04-08 20:40:04] Production.ERROR: done
[2025-04-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864703') start
[2025-04-08 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:40:05] Production.ERROR: done
[2025-04-08 20:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864704', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:40:05] Production.ERROR: done
[2025-04-08 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864703') end
[2025-04-08 20:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:40:05] Production.INFO: 1
[2025-04-08 20:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:40:05] Production.INFO: ==20429== Releasing lock...
[2025-04-08 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:40:05] Production.INFO: Account Balance End.
[2025-04-08 20:40:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:40:05] Production.INFO: ==20423== Releasing lock...
[2025-04-08 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:40:06
[end_date_ymd] => 2025-04-08 20:40:06
[RateCDR] => 1
)
[2025-04-08 20:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:40:06' and `end` < '2025-04-08 20:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864704', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:40:09] Production.INFO: ProcessCDR(1,14864704,1,1,2)
[2025-04-08 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:40:09] Production.INFO: ==20427== Releasing lock...
[2025-04-08 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:40:15] Production.ERROR: CronJobId end10
[2025-04-08 20:40:15] Production.INFO: ==20421== Releasing lock...
[2025-04-08 20:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:40:16] Production.INFO: call_cost start
[2025-04-08 20:40:16] Production.INFO: call_cost end
[2025-04-08 20:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:40:17] Production.INFO: ==20417== Releasing lock...
[2025-04-08 20:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:40:19] Production.INFO: count ==1553
[2025-04-08 20:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:40:06 - End Time 2025-04-08 20:40:06
[2025-04-08 20:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864705', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864705', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864705', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864705', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:40:19] Production.INFO: ProcessCDR(1,14864705,1,1,2)
[2025-04-08 20:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864705', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864705', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:40:24] Production.INFO: ==20425== Releasing lock...
[2025-04-08 20:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:40:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-09 01:41:01] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-04-09 01:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:41:01] Production.INFO: neon service started
[2025-04-09 01:41:01] Production.INFO: neon service started
[2025-04-09 01:41:01] Production.INFO: ==20483== Releasing lock...
[2025-04-09 01:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:41:01] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-04-09 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:41:01] Production.INFO: ==20487== Releasing lock...
[2025-04-09 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:41:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:41:01] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-04-08 20:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:41:02] Production.INFO: ==20485== Releasing lock...
[2025-04-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:41:02] Production.INFO: ==20490== Lock acquired, processing the job...
[2025-04-08 20:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:41:03] Production.INFO: ==20494== Lock acquired, processing the job...
[2025-04-08 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:41:03] Production.INFO: ==20492== Lock acquired, processing the job...
[2025-04-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:41:03] Production.INFO: ==20498== Lock acquired, processing the job...
[2025-04-08 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:41:03] Production.INFO: ==20496== Lock acquired, processing the job...
[2025-04-08 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:41:03] Production.INFO: ==20500== Lock acquired, processing the job...
[2025-04-08 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:41:03] Production.INFO: Account Balance Start.
[2025-04-08 20:41:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:41:03] Production.INFO: 117
[2025-04-08 20:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:41:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:41:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:41:03] Production.INFO: ==20492== Releasing lock...
[2025-04-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:41:03] Production.INFO: count ==12
[2025-04-08 20:41:03] Production.INFO: Total Charge 0
[2025-04-08 20:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:41:03] Production.INFO: count ==23
[2025-04-08 20:41:03] Production.INFO: CreateAllLog End
[2025-04-08 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864708') start
[2025-04-08 20:41:03] Production.ERROR: done
[2025-04-08 20:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864708') end
[2025-04-08 20:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:41:03] Production.INFO: 1
[2025-04-08 20:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:41:03] Production.INFO: Account Balance End.
[2025-04-08 20:41:04] Production.INFO: ==20500== Releasing lock...
[2025-04-08 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:41:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:41:04] Production.INFO: ==20496== Releasing lock...
[2025-04-08 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:41:04] Production.ERROR: done
[2025-04-08 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:41:05
[end_date_ymd] => 2025-04-08 20:41:05
[RateCDR] => 1
)
[2025-04-08 20:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:41:05' and `end` < '2025-04-08 20:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:41:13] Production.ERROR: CronJobId end10
[2025-04-08 20:41:13] Production.INFO: ==20494== Releasing lock...
[2025-04-08 20:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:41:14] Production.INFO: call_cost start
[2025-04-08 20:41:14] Production.INFO: call_cost end
[2025-04-08 20:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:41:15] Production.INFO: ==20490== Releasing lock...
[2025-04-08 20:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:41:18] Production.INFO: count ==1499
[2025-04-08 20:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:41:05 - End Time 2025-04-08 20:41:05
[2025-04-08 20:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864710', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864710', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864710', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864710', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:41:18] Production.INFO: ProcessCDR(1,14864710,1,1,2)
[2025-04-08 20:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864710', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864710', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:41:23] Production.INFO: ==20498== Releasing lock...
[2025-04-08 20:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:41:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 01:42:01] Production.INFO: ==20557== Lock acquired, processing the job...
[2025-04-09 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:42:01] Production.INFO: neon service started
[2025-04-09 01:42:01] Production.INFO: neon service started
[2025-04-09 01:42:01] Production.INFO: ==20557== Releasing lock...
[2025-04-09 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:42:02] Production.INFO: ==20559== Lock acquired, processing the job...
[2025-04-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:42:02] Production.INFO: ==20559== Releasing lock...
[2025-04-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:42:02] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-04-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:42:02] Production.INFO: ==20561== Releasing lock...
[2025-04-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:42:03] Production.INFO: ==20563== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:42:03] Production.INFO: ==20569== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:42:03] Production.INFO: ==20567== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:42:03] Production.INFO: ==20565== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:42:03] Production.INFO: Account Balance Start.
[2025-04-08 20:42:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:42:03] Production.INFO: 117
[2025-04-08 20:42:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:42:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:42:03] Production.INFO: ==20572== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:42:03] Production.INFO: ==20574== Lock acquired, processing the job...
[2025-04-08 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:42:04] Production.INFO: Total Charge 0
[2025-04-08 20:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:42:04] Production.INFO: CreateAllLog End
[2025-04-08 20:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:42:04] Production.INFO: count ==12
[2025-04-08 20:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:42:04] Production.INFO: count ==23
[2025-04-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864714') start
[2025-04-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864714') end
[2025-04-08 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:42:04] Production.INFO: 1
[2025-04-08 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:42:04] Production.INFO: ==20565== Releasing lock...
[2025-04-08 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:42:04] Production.ERROR: done
[2025-04-08 20:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:42:04] Production.INFO: ==20574== Releasing lock...
[2025-04-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:42:04] Production.INFO: Account Balance End.
[2025-04-08 20:42:04] Production.ERROR: done
[2025-04-08 20:42:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:42:04] Production.INFO: ==20569== Releasing lock...
[2025-04-08 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:42:05
[end_date_ymd] => 2025-04-08 20:42:05
[RateCDR] => 1
)
[2025-04-08 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:42:05' and `end` < '2025-04-08 20:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:42:13] Production.ERROR: CronJobId end10
[2025-04-08 20:42:13] Production.INFO: ==20567== Releasing lock...
[2025-04-08 20:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:42:15] Production.INFO: call_cost start
[2025-04-08 20:42:15] Production.INFO: call_cost end
[2025-04-08 20:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:42:16] Production.INFO: ==20563== Releasing lock...
[2025-04-08 20:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:42:18] Production.INFO: count ==1499
[2025-04-08 20:42:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:42:05 - End Time 2025-04-08 20:42:05
[2025-04-08 20:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864715', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864715', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864715', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864715', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:42:19] Production.INFO: ProcessCDR(1,14864715,1,1,2)
[2025-04-08 20:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864715', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864715', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:42:24] Production.INFO: ==20572== Releasing lock...
[2025-04-08 20:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:42:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 01:43:01] Production.INFO: ==20627== Lock acquired, processing the job...
[2025-04-09 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:43:01] Production.INFO: neon service started
[2025-04-09 01:43:01] Production.INFO: neon service started
[2025-04-09 01:43:01] Production.INFO: ==20627== Releasing lock...
[2025-04-09 01:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:43:01] Production.INFO: ==20629== Lock acquired, processing the job...
[2025-04-08 20:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:43:02] Production.INFO: ==20629== Releasing lock...
[2025-04-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:43:02] Production.INFO: ==20631== Lock acquired, processing the job...
[2025-04-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:43:02] Production.INFO: ==20631== Releasing lock...
[2025-04-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:43:02] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:43:03] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:43:03] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:43:03] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:43:03] Production.INFO: ==20635== Releasing lock...
[2025-04-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:43:03] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:43:03] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-04-08 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:43:03] Production.INFO: Account Balance Start.
[2025-04-08 20:43:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:43:03] Production.INFO: 117
[2025-04-08 20:43:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:43:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:43:03] Production.INFO: count ==12
[2025-04-08 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:43:03] Production.INFO: count ==23
[2025-04-08 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864718') start
[2025-04-08 20:43:03] Production.INFO: Total Charge 0
[2025-04-08 20:43:03] Production.INFO: CreateAllLog End
[2025-04-08 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864718') end
[2025-04-08 20:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:43:03] Production.INFO: 1
[2025-04-08 20:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:43:03] Production.INFO: Account Balance End.
[2025-04-08 20:43:03] Production.INFO: ==20643== Releasing lock...
[2025-04-08 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:43:03] Production.ERROR: CronJobId end 12
[2025-04-08 20:43:03] Production.INFO: ==20639== Releasing lock...
[2025-04-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:43:03] Production.ERROR: done
[2025-04-08 20:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:43:04] Production.ERROR: done
[2025-04-08 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:43:05
[end_date_ymd] => 2025-04-08 20:43:05
[RateCDR] => 1
)
[2025-04-08 20:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:43:05' and `end` < '2025-04-08 20:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:43:12] Production.ERROR: CronJobId end10
[2025-04-08 20:43:12] Production.INFO: ==20637== Releasing lock...
[2025-04-08 20:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:43:14] Production.INFO: call_cost start
[2025-04-08 20:43:14] Production.INFO: call_cost end
[2025-04-08 20:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:43:15] Production.INFO: ==20633== Releasing lock...
[2025-04-08 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:43:18] Production.INFO: count ==1497
[2025-04-08 20:43:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:43:05 - End Time 2025-04-08 20:43:05
[2025-04-08 20:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864720', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864720', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864720', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864720', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:43:18] Production.INFO: ProcessCDR(1,14864720,1,1,2)
[2025-04-08 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864720', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864720', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:43:23] Production.INFO: ==20641== Releasing lock...
[2025-04-08 20:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:43:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 01:44:01] Production.INFO: ==20740== Lock acquired, processing the job...
[2025-04-09 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:44:01] Production.INFO: neon service started
[2025-04-09 01:44:01] Production.INFO: neon service started
[2025-04-09 01:44:01] Production.INFO: ==20740== Releasing lock...
[2025-04-09 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:44:02] Production.INFO: ==20744== Lock acquired, processing the job...
[2025-04-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:44:02] Production.INFO: ==20742== Lock acquired, processing the job...
[2025-04-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:44:02] Production.INFO: ==20744== Releasing lock...
[2025-04-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:44:02] Production.INFO: ==20742== Releasing lock...
[2025-04-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:44:03] Production.INFO: ==20747== Lock acquired, processing the job...
[2025-04-08 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:44:03] Production.INFO: ==20751== Lock acquired, processing the job...
[2025-04-08 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:44:03] Production.INFO: ==20749== Lock acquired, processing the job...
[2025-04-08 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:44:04] Production.INFO: ==20753== Lock acquired, processing the job...
[2025-04-08 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:44:04] Production.INFO: Account Balance Start.
[2025-04-08 20:44:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:44:04] Production.INFO: 117
[2025-04-08 20:44:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:44:04] Production.INFO: ==20755== Lock acquired, processing the job...
[2025-04-08 20:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:44:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:44:04] Production.INFO: Total Charge 0
[2025-04-08 20:44:04] Production.INFO: ==20757== Lock acquired, processing the job...
[2025-04-08 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:44:04] Production.INFO: CreateAllLog End
[2025-04-08 20:44:04] Production.INFO: ==20749== Releasing lock...
[2025-04-08 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 20:44:04] Production.ERROR: done
[2025-04-08 20:44:04] Production.INFO: count ==12
[2025-04-08 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:44:04] Production.INFO: count ==23
[2025-04-08 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864724') start
[2025-04-08 20:44:05] Production.INFO: Account Balance End.
[2025-04-08 20:44:05] Production.ERROR: done
[2025-04-08 20:44:05] Production.ERROR: CronJobId end 12
[2025-04-08 20:44:05] Production.INFO: ==20753== Releasing lock...
[2025-04-08 20:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864724') end
[2025-04-08 20:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:44:05] Production.INFO: 1
[2025-04-08 20:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:44:05] Production.INFO: ==20757== Releasing lock...
[2025-04-08 20:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:44:06
[end_date_ymd] => 2025-04-08 20:44:06
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:44:06' and `end` < '2025-04-08 20: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-04-08 20:44:13] Production.ERROR: CronJobId end10
[2025-04-08 20:44:13] Production.INFO: ==20751== Releasing lock...
[2025-04-08 20:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:44:14] Production.INFO: call_cost start
[2025-04-08 20:44:14] Production.INFO: call_cost end
[2025-04-08 20:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:44:15] Production.INFO: ==20747== Releasing lock...
[2025-04-08 20:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:44:19] Production.INFO: count ==1484
[2025-04-08 20:44:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:44:06 - End Time 2025-04-08 20:44:06
[2025-04-08 20:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864725', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864725', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864725', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864725', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:44:19] Production.INFO: ProcessCDR(1,14864725,1,1,2)
[2025-04-08 20:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864725', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864725', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:44:22] Production.INFO: ==20755== Releasing lock...
[2025-04-08 20:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:44:22] Production.INFO: 39 MB #Memory Used#
[2025-04-09 01:45:01] Production.INFO: ==20812== Lock acquired, processing the job...
[2025-04-09 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:45:01] Production.INFO: neon service started
[2025-04-09 01:45:01] Production.INFO: neon service started
[2025-04-09 01:45:01] Production.INFO: ==20812== Releasing lock...
[2025-04-09 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:45:01] Production.INFO: ==20815== Lock acquired, processing the job...
[2025-04-08 20:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:45:02] Production.INFO: ==20815== Releasing lock...
[2025-04-08 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:45:02] Production.INFO: ==20817== Lock acquired, processing the job...
[2025-04-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:45:02] Production.INFO: ==20817== Releasing lock...
[2025-04-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:45:02] Production.INFO: ==20821== Lock acquired, processing the job...
[2025-04-08 20:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:45:03] Production.INFO: ==20819== Lock acquired, processing the job...
[2025-04-08 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:45:03] Production.INFO: ==20829== Lock acquired, processing the job...
[2025-04-08 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:45:03] Production.INFO: ==20823== Lock acquired, processing the job...
[2025-04-08 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:45:03] Production.INFO: ==20825== Lock acquired, processing the job...
[2025-04-08 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:45:03] Production.INFO: ==20827== Lock acquired, processing the job...
[2025-04-08 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:45:03] Production.INFO: count ==12
[2025-04-08 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:45:03] Production.INFO: count ==23
[2025-04-08 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864728') start
[2025-04-08 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:45:03] Production.INFO: Account Balance Start.
[2025-04-08 20:45:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:45:03] Production.INFO: 117
[2025-04-08 20:45:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:45:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:45:03] Production.INFO: Total Charge 0
[2025-04-08 20:45:03] Production.INFO: CreateAllLog End
[2025-04-08 20:45:03] Production.INFO: ==20821== Releasing lock...
[2025-04-08 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864728') end
[2025-04-08 20:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:45:03] Production.INFO: 1
[2025-04-08 20:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:45:03] Production.INFO: ==20829== Releasing lock...
[2025-04-08 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:45:03] Production.ERROR: done
[2025-04-08 20:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:45:03] Production.INFO: Account Balance End.
[2025-04-08 20:45:03] Production.ERROR: CronJobId end 12
[2025-04-08 20:45:03] Production.INFO: ==20825== Releasing lock...
[2025-04-08 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:45:03] Production.ERROR: done
[2025-04-08 20:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:45:04
[end_date_ymd] => 2025-04-08 20:45:04
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:45:04' and `end` < '2025-04-08 20: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-04-08 20:45:12] Production.ERROR: CronJobId end10
[2025-04-08 20:45:12] Production.INFO: ==20823== Releasing lock...
[2025-04-08 20:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:45:14] Production.INFO: call_cost start
[2025-04-08 20:45:14] Production.INFO: call_cost end
[2025-04-08 20:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:45:15] Production.INFO: ==20819== Releasing lock...
[2025-04-08 20:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:45:17] Production.INFO: count ==1480
[2025-04-08 20:45:17] Production.ERROR: pbx CDR StartTime 2025-04-08 17:45:04 - End Time 2025-04-08 20:45:04
[2025-04-08 20:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864730', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864730', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864730', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864730', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:45:17] Production.INFO: ProcessCDR(1,14864730,1,1,2)
[2025-04-08 20:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864730', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864730', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:45:21] Production.INFO: ==20827== Releasing lock...
[2025-04-08 20:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:45:21] Production.INFO: 39 MB #Memory Used#
[2025-04-09 01:46:01] Production.INFO: ==20885== Lock acquired, processing the job...
[2025-04-09 01:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:46:01] Production.INFO: neon service started
[2025-04-09 01:46:01] Production.INFO: neon service started
[2025-04-09 01:46:01] Production.INFO: ==20885== Releasing lock...
[2025-04-09 01:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:46:02] Production.INFO: ==20889== Lock acquired, processing the job...
[2025-04-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:46:02] Production.INFO: ==20889== Releasing lock...
[2025-04-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:46:02] Production.INFO: ==20887== Lock acquired, processing the job...
[2025-04-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:46:02] Production.INFO: ==20887== Releasing lock...
[2025-04-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:46:03] Production.INFO: ==20892== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:46:03] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:46:03] Production.INFO: ==20894== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20: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-04-08 20:46:03] Production.INFO: ==20896== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:46:03] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:46:03] Production.INFO: count ==12
[2025-04-08 20:46:03] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-04-08 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20: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-04-08 20:46:03] Production.INFO: count ==23
[2025-04-08 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864732') start
[2025-04-08 20:46:03] Production.INFO: Account Balance Start.
[2025-04-08 20:46:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:46:03] Production.INFO: 117
[2025-04-08 20:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:46:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:46:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864732') end
[2025-04-08 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:46:04] Production.INFO: 1
[2025-04-08 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:46:04] Production.INFO: Total Charge 0
[2025-04-08 20:46:04] Production.INFO: CreateAllLog End
[2025-04-08 20:46:04] Production.INFO: ==20902== Releasing lock...
[2025-04-08 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:46:04] Production.INFO: ==20894== Releasing lock...
[2025-04-08 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:46:04] Production.ERROR: done
[2025-04-08 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:46:04] Production.INFO: Account Balance End.
[2025-04-08 20:46:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:46:04] Production.INFO: ==20898== Releasing lock...
[2025-04-08 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:46:04] Production.ERROR: done
[2025-04-08 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:46:05
[end_date_ymd] => 2025-04-08 20:46:05
[RateCDR] => 1
)
[2025-04-08 20:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:46:05' and `end` < '2025-04-08 20:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:46:13] Production.ERROR: CronJobId end10
[2025-04-08 20:46:13] Production.INFO: ==20896== Releasing lock...
[2025-04-08 20:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:46:14] Production.INFO: call_cost start
[2025-04-08 20:46:14] Production.INFO: call_cost end
[2025-04-08 20:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:46:15] Production.INFO: ==20892== Releasing lock...
[2025-04-08 20:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:46:18] Production.INFO: count ==1480
[2025-04-08 20:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:46:05 - End Time 2025-04-08 20:46:05
[2025-04-08 20:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864735', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864735', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864735', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864735', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:46:18] Production.INFO: ProcessCDR(1,14864735,1,1,2)
[2025-04-08 20:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864735', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864735', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:46:23] Production.INFO: ==20900== Releasing lock...
[2025-04-08 20:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:46:23] Production.INFO: 39 MB #Memory Used#
[2025-04-09 01:47:02] Production.INFO: ==20961== Lock acquired, processing the job...
[2025-04-09 01:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:47:02] Production.INFO: neon service started
[2025-04-09 01:47:02] Production.INFO: neon service started
[2025-04-09 01:47:02] Production.INFO: ==20961== Releasing lock...
[2025-04-09 01:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:47:02] Production.INFO: ==20965== Lock acquired, processing the job...
[2025-04-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:47:02] Production.INFO: ==20965== Releasing lock...
[2025-04-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:47:02] Production.INFO: ==20963== Lock acquired, processing the job...
[2025-04-08 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:47:02] Production.INFO: ==20963== Releasing lock...
[2025-04-08 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:47:03] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-04-08 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:47:03] Production.INFO: ==20968== Lock acquired, processing the job...
[2025-04-08 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:47:03] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-04-08 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:47:03] Production.INFO: Account Balance Start.
[2025-04-08 20:47:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:47:03] Production.INFO: 117
[2025-04-08 20:47:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:47:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:47:03] Production.INFO: Total Charge 0
[2025-04-08 20:47:04] Production.INFO: CreateAllLog End
[2025-04-08 20:47:04] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-04-08 20:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:47:04] Production.INFO: ==20970== Releasing lock...
[2025-04-08 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:47:04] Production.INFO: Account Balance End.
[2025-04-08 20:47:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:47:04] Production.INFO: ==20974== Releasing lock...
[2025-04-08 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:47:04] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-04-08 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:47:04] Production.INFO: ==20978== Lock acquired, processing the job...
[2025-04-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:47:04] Production.INFO: count ==12
[2025-04-08 20:47:04] Production.ERROR: done
[2025-04-08 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:47:04] Production.INFO: count ==23
[2025-04-08 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864739') start
[2025-04-08 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864739') end
[2025-04-08 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:47:04] Production.INFO: 1
[2025-04-08 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:47:04] Production.INFO: ==20978== Releasing lock...
[2025-04-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:47:04] Production.ERROR: done
[2025-04-08 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:47:05
[end_date_ymd] => 2025-04-08 20:47:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:47:05' and `end` < '2025-04-08 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-04-08 20:47:12] Production.ERROR: CronJobId end10
[2025-04-08 20:47:12] Production.INFO: ==20972== Releasing lock...
[2025-04-08 20:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:47:14] Production.INFO: call_cost start
[2025-04-08 20:47:14] Production.INFO: call_cost end
[2025-04-08 20:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:47:15] Production.INFO: ==20968== Releasing lock...
[2025-04-08 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:47:18] Production.INFO: count ==1479
[2025-04-08 20:47:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:47:05 - End Time 2025-04-08 20:47:05
[2025-04-08 20:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864740', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864740', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864740', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864740', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:47:19] Production.INFO: ProcessCDR(1,14864740,1,1,2)
[2025-04-08 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864740', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864740', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:47:22] Production.INFO: ==20976== Releasing lock...
[2025-04-08 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:47:22] Production.INFO: 39 MB #Memory Used#
[2025-04-09 01:48:01] Production.INFO: ==21034== Lock acquired, processing the job...
[2025-04-09 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:48:01] Production.INFO: neon service started
[2025-04-09 01:48:01] Production.INFO: neon service started
[2025-04-09 01:48:01] Production.INFO: ==21034== Releasing lock...
[2025-04-09 01:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:48:01] Production.INFO: ==21036== Lock acquired, processing the job...
[2025-04-08 20:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:48:02] Production.INFO: ==21036== Releasing lock...
[2025-04-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:48:02] Production.INFO: ==21038== Lock acquired, processing the job...
[2025-04-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:48:02] Production.INFO: ==21038== Releasing lock...
[2025-04-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:48:03] Production.INFO: ==21049== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:48:03] Production.INFO: ==21051== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:48:03] Production.INFO: ==21043== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:48:03] Production.INFO: ==21041== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:48:03] Production.INFO: ==21045== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:48:03] Production.INFO: ==21047== Lock acquired, processing the job...
[2025-04-08 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:48:03] Production.INFO: count ==12
[2025-04-08 20:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:48:03] Production.INFO: count ==23
[2025-04-08 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864741') start
[2025-04-08 20:48:03] Production.INFO: Account Balance Start.
[2025-04-08 20:48:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:48:03] Production.INFO: 117
[2025-04-08 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:48:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:48:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864741') end
[2025-04-08 20:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:48:03] Production.INFO: 1
[2025-04-08 20:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:48:03] Production.ERROR: done
[2025-04-08 20:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:48:03] Production.INFO: Total Charge 0
[2025-04-08 20:48:03] Production.INFO: CreateAllLog End
[2025-04-08 20:48:03] Production.INFO: ==21051== Releasing lock...
[2025-04-08 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:48:03] Production.ERROR: done
[2025-04-08 20:48:03] Production.INFO: ==21043== Releasing lock...
[2025-04-08 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:48:03] Production.INFO: Account Balance End.
[2025-04-08 20:48:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:48:04] Production.INFO: ==21047== Releasing lock...
[2025-04-08 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:48:05
[end_date_ymd] => 2025-04-08 20:48:05
[RateCDR] => 1
)
[2025-04-08 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:48:05' and `end` < '2025-04-08 20:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:48:11] Production.ERROR: CronJobId end10
[2025-04-08 20:48:11] Production.INFO: ==21045== Releasing lock...
[2025-04-08 20:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:48:13] Production.INFO: call_cost start
[2025-04-08 20:48:13] Production.INFO: call_cost end
[2025-04-08 20:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:48:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:48:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:48:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:48:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:48:14] Production.INFO: ==21041== Releasing lock...
[2025-04-08 20:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:48:17] Production.INFO: count ==1468
[2025-04-08 20:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:48:05 - End Time 2025-04-08 20:48:05
[2025-04-08 20:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864745', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864745', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864745', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864745', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:48:18] Production.INFO: ProcessCDR(1,14864745,1,1,2)
[2025-04-08 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864745', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864745', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:48:22] Production.INFO: ==21049== Releasing lock...
[2025-04-08 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:48:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-09 01:49:02] Production.INFO: ==21106== Lock acquired, processing the job...
[2025-04-09 01:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:49:02] Production.INFO: neon service started
[2025-04-09 01:49:02] Production.INFO: neon service started
[2025-04-09 01:49:02] Production.INFO: ==21106== Releasing lock...
[2025-04-09 01:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:49:02] Production.INFO: ==21108== Lock acquired, processing the job...
[2025-04-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:49:02] Production.INFO: ==21110== Lock acquired, processing the job...
[2025-04-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:49:02] Production.INFO: ==21110== Releasing lock...
[2025-04-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:49:02] Production.INFO: ==21108== Releasing lock...
[2025-04-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:49:03] Production.INFO: ==21113== Lock acquired, processing the job...
[2025-04-08 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:49:03] Production.INFO: ==21115== Lock acquired, processing the job...
[2025-04-08 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:49:03] Production.INFO: ==21119== Lock acquired, processing the job...
[2025-04-08 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:49:03] Production.INFO: Account Balance Start.
[2025-04-08 20:49:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:49:03] Production.INFO: 117
[2025-04-08 20:49:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:49:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:49:03] Production.INFO: Total Charge 0
[2025-04-08 20:49:03] Production.INFO: CreateAllLog End
[2025-04-08 20:49:03] Production.INFO: ==21117== Lock acquired, processing the job...
[2025-04-08 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:49:03] Production.INFO: Account Balance End.
[2025-04-08 20:49:03] Production.INFO: ==21121== Lock acquired, processing the job...
[2025-04-08 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:49:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:49:04] Production.INFO: ==21119== Releasing lock...
[2025-04-08 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:49:04] Production.INFO: ==21123== Lock acquired, processing the job...
[2025-04-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:49:04] Production.INFO: ==21115== Releasing lock...
[2025-04-08 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:49:04] Production.INFO: count ==12
[2025-04-08 20:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:49:04] Production.INFO: count ==23
[2025-04-08 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864749') start
[2025-04-08 20:49:04] Production.ERROR: done
[2025-04-08 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864749') end
[2025-04-08 20:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:49:04] Production.INFO: 1
[2025-04-08 20:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:49:04] Production.INFO: ==21123== Releasing lock...
[2025-04-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:49:04] Production.ERROR: done
[2025-04-08 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:49:05
[end_date_ymd] => 2025-04-08 20:49:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:49:05' and `end` < '2025-04-08 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-04-08 20:49:12] Production.ERROR: CronJobId end10
[2025-04-08 20:49:12] Production.INFO: ==21117== Releasing lock...
[2025-04-08 20:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:49:14] Production.INFO: call_cost start
[2025-04-08 20:49:14] Production.INFO: call_cost end
[2025-04-08 20:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:49:15] Production.INFO: ==21113== Releasing lock...
[2025-04-08 20:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:49:18] Production.INFO: count ==1461
[2025-04-08 20:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:49:05 - End Time 2025-04-08 20:49:05
[2025-04-08 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864750', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864750', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864750', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864750', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:49:18] Production.INFO: ProcessCDR(1,14864750,1,1,2)
[2025-04-08 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864750', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864750', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:49:22] Production.INFO: ==21121== Releasing lock...
[2025-04-08 20:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:49:22] Production.INFO: 39 MB #Memory Used#
[2025-04-09 01:50:01] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-04-09 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:50:01] Production.INFO: neon service started
[2025-04-09 01:50:01] Production.INFO: neon service started
[2025-04-09 01:50:01] Production.INFO: ==21180== Releasing lock...
[2025-04-09 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:50:01] Production.INFO: ==21184== Lock acquired, processing the job...
[2025-04-09 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:50:01] Production.INFO: ==21184== Releasing lock...
[2025-04-09 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:50:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:50:02] Production.INFO: ==21182== Lock acquired, processing the job...
[2025-04-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:50:02] Production.INFO: ==21182== Releasing lock...
[2025-04-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:50:03] Production.INFO: ==21189== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:50:03] Production.INFO: ==21191== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:50:03] Production.INFO: ==21193== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:50:03] Production.INFO: ==21187== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 20:50:03] Production.INFO: ==21199== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 20:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:50:03] Production.ERROR: CronJob PID - 21189
[2025-04-08 20:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 20:50:03] Production.ERROR: CronJob ID - 5
[2025-04-08 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:50:00
[2025-04-08 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:50:03] Production.ERROR: CronJob PID - 21191
[2025-04-08 20:50:03] Production.ERROR: CronJob Title - Account Block
[2025-04-08 20:50:03] Production.ERROR: CronJob ID - 7
[2025-04-08 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:50:00
[2025-04-08 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:50:03] Production.ERROR: CronJob PID - 21193
[2025-04-08 20:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 20:50:03] Production.ERROR: CronJob ID - 10
[2025-04-08 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:50:00
[2025-04-08 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 20:50:03] Production.ERROR: CronJob PID - 21199
[2025-04-08 20:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-08 20:50:03] Production.ERROR: CronJob ID - 17
[2025-04-08 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-08 20:50:00
[2025-04-08 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 20:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 20:50:03] Production.INFO: ==21187== Releasing lock...
[2025-04-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 20:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 20:50:03] Production.INFO: ==21191== Releasing lock...
[2025-04-08 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:50:03] Production.INFO: ==21195== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:50:03] Production.INFO: ==21197== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:50:03] Production.INFO: ==21201== Lock acquired, processing the job...
[2025-04-08 20:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:50:03] Production.ERROR: done
[2025-04-08 20:50:04] Production.INFO: Account Balance Start.
[2025-04-08 20:50:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:50:04] Production.INFO: 117
[2025-04-08 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864754', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 20:50:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:50:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:50:04] Production.INFO: Total Charge 0
[2025-04-08 20:50:04] Production.INFO: CreateAllLog End
[2025-04-08 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:50:04] Production.ERROR: done
[2025-04-08 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:50:04] Production.INFO: count ==12
[2025-04-08 20:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:50:04] Production.INFO: count ==23
[2025-04-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864755') start
[2025-04-08 20:50:04] Production.ERROR: done
[2025-04-08 20:50:04] Production.INFO: Account Balance End.
[2025-04-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864755') end
[2025-04-08 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:50:04] Production.INFO: 1
[2025-04-08 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:50:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:50:04] Production.INFO: ==21195== Releasing lock...
[2025-04-08 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:50:04] Production.INFO: ==21201== Releasing lock...
[2025-04-08 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:50:05
[end_date_ymd] => 2025-04-08 20:50:05
[RateCDR] => 1
)
[2025-04-08 20:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:50:05' and `end` < '2025-04-08 20:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864754', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 20:50:08] Production.INFO: ProcessCDR(1,14864754,1,1,2)
[2025-04-08 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864754,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864754,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:50:08] Production.INFO: ==21199== Releasing lock...
[2025-04-08 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 20:50:13] Production.ERROR: CronJobId end10
[2025-04-08 20:50:13] Production.INFO: ==21193== Releasing lock...
[2025-04-08 20:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:50:15] Production.INFO: call_cost start
[2025-04-08 20:50:15] Production.INFO: call_cost end
[2025-04-08 20:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:50:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:50:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:50:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:50:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:50:16] Production.INFO: ==21189== Releasing lock...
[2025-04-08 20:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:50:18] Production.INFO: count ==1461
[2025-04-08 20:50:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:50:05 - End Time 2025-04-08 20:50:05
[2025-04-08 20:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864756', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864756', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864756', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864756', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:50:18] Production.INFO: ProcessCDR(1,14864756,1,1,2)
[2025-04-08 20:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864756', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864756', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:50:21] Production.INFO: ==21197== Releasing lock...
[2025-04-08 20:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:50:21] Production.INFO: 38.75 MB #Memory Used#
[2025-04-09 01:51:01] Production.INFO: ==21266== Lock acquired, processing the job...
[2025-04-09 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:51:01] Production.INFO: neon service started
[2025-04-09 01:51:01] Production.INFO: neon service started
[2025-04-09 01:51:01] Production.INFO: ==21266== Releasing lock...
[2025-04-09 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:51:02] Production.INFO: ==21270== Lock acquired, processing the job...
[2025-04-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:51:02] Production.INFO: ==21270== Releasing lock...
[2025-04-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:51:02] Production.INFO: ==21268== Lock acquired, processing the job...
[2025-04-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:51:02] Production.INFO: ==21268== Releasing lock...
[2025-04-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:51:03] Production.INFO: ==21273== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:51:03] Production.INFO: ==21275== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:51:03] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:51:03] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:51:03] Production.INFO: Account Balance Start.
[2025-04-08 20:51:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:51:03] Production.INFO: 117
[2025-04-08 20:51:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:51:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:51:03] Production.INFO: Total Charge 0
[2025-04-08 20:51:03] Production.INFO: CreateAllLog End
[2025-04-08 20:51:03] Production.INFO: ==21283== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:51:03] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-04-08 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:51:03] Production.INFO: ==21275== Releasing lock...
[2025-04-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:51:04] Production.INFO: Account Balance End.
[2025-04-08 20:51:04] Production.INFO: count ==12
[2025-04-08 20:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:51:04] Production.INFO: count ==23
[2025-04-08 20:51:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:51:04] Production.INFO: ==21279== Releasing lock...
[2025-04-08 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864760') start
[2025-04-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864760') end
[2025-04-08 20:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:51:04] Production.INFO: 1
[2025-04-08 20:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:51:04] Production.INFO: ==21283== Releasing lock...
[2025-04-08 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:51:04] Production.ERROR: done
[2025-04-08 20:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:51:04] Production.ERROR: done
[2025-04-08 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:51:05
[end_date_ymd] => 2025-04-08 20:51:05
[RateCDR] => 1
)
[2025-04-08 20:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:51:05' and `end` < '2025-04-08 20:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:51:13] Production.ERROR: CronJobId end10
[2025-04-08 20:51:13] Production.INFO: ==21277== Releasing lock...
[2025-04-08 20:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:51:14] Production.INFO: call_cost start
[2025-04-08 20:51:14] Production.INFO: call_cost end
[2025-04-08 20:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:51:15] Production.INFO: ==21273== Releasing lock...
[2025-04-08 20:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:51:18] Production.INFO: count ==1416
[2025-04-08 20:51:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:51:05 - End Time 2025-04-08 20:51:05
[2025-04-08 20:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864761', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864761', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864761', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864761', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:51:19] Production.INFO: ProcessCDR(1,14864761,1,1,2)
[2025-04-08 20:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864761', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864761', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:51:22] Production.INFO: ==21281== Releasing lock...
[2025-04-08 20:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:51:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:52:02] Production.INFO: ==21345== Lock acquired, processing the job...
[2025-04-09 01:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:52:02] Production.INFO: neon service started
[2025-04-09 01:52:02] Production.INFO: neon service started
[2025-04-09 01:52:02] Production.INFO: ==21345== Releasing lock...
[2025-04-09 01:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:52:02] Production.INFO: ==21347== Lock acquired, processing the job...
[2025-04-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:52:02] Production.INFO: ==21347== Releasing lock...
[2025-04-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:52:03] Production.INFO: ==21349== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:52:03] Production.INFO: ==21349== Releasing lock...
[2025-04-09 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:52:03] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-04-08 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:52:03] Production.INFO: ==21355== Lock acquired, processing the job...
[2025-04-08 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:52:03] Production.INFO: ==21351== Lock acquired, processing the job...
[2025-04-08 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:52:03] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-04-08 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:52:04] Production.INFO: Account Balance Start.
[2025-04-08 20:52:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:52:04] Production.INFO: 117
[2025-04-08 20:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:52:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:52:04] Production.INFO: ==21359== Lock acquired, processing the job...
[2025-04-08 20:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:52:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:52:04] Production.INFO: Total Charge 0
[2025-04-08 20:52:04] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-04-08 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:52:04] Production.INFO: CreateAllLog End
[2025-04-08 20:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:52:04] Production.INFO: count ==12
[2025-04-08 20:52:04] Production.INFO: ==21353== Releasing lock...
[2025-04-08 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:52:04] Production.INFO: count ==23
[2025-04-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864765') start
[2025-04-08 20:52:04] Production.INFO: Account Balance End.
[2025-04-08 20:52:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:52:04] Production.INFO: ==21357== Releasing lock...
[2025-04-08 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:52:04] Production.ERROR: done
[2025-04-08 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864765') end
[2025-04-08 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:52:04] Production.INFO: 1
[2025-04-08 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:52:04] Production.INFO: ==21361== Releasing lock...
[2025-04-08 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:52:04] Production.ERROR: done
[2025-04-08 20:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:52:06
[end_date_ymd] => 2025-04-08 20:52:06
[RateCDR] => 1
)
[2025-04-08 20: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-04-08 17:52:06' and `end` < '2025-04-08 20: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-04-08 20:52:13] Production.ERROR: CronJobId end10
[2025-04-08 20:52:13] Production.INFO: ==21355== Releasing lock...
[2025-04-08 20:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:52:15] Production.INFO: call_cost start
[2025-04-08 20:52:15] Production.INFO: call_cost end
[2025-04-08 20:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:52:16] Production.INFO: ==21351== Releasing lock...
[2025-04-08 20:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:52:19] Production.INFO: count ==1415
[2025-04-08 20:52:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:52:06 - End Time 2025-04-08 20:52:06
[2025-04-08 20:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864766', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864766', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864766', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864766', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:52:19] Production.INFO: ProcessCDR(1,14864766,1,1,2)
[2025-04-08 20:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864766', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864766', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:52:22] Production.INFO: ==21359== Releasing lock...
[2025-04-08 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:52:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:53:01] Production.INFO: ==21418== Lock acquired, processing the job...
[2025-04-09 01:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:53:01] Production.INFO: neon service started
[2025-04-09 01:53:01] Production.INFO: neon service started
[2025-04-09 01:53:01] Production.INFO: ==21418== Releasing lock...
[2025-04-09 01:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:53:02] Production.INFO: ==21420== Lock acquired, processing the job...
[2025-04-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:53:02] Production.INFO: ==21422== Lock acquired, processing the job...
[2025-04-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:53:02] Production.INFO: ==21422== Releasing lock...
[2025-04-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:53:02] Production.INFO: ==21420== Releasing lock...
[2025-04-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:53:03] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:53:03] Production.INFO: ==21435== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20: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-04-08 20:53:03] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:53:03] Production.INFO: count ==12
[2025-04-08 20:53:03] Production.INFO: ==21429== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20: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-04-08 20:53:03] Production.INFO: count ==23
[2025-04-08 20:53:03] Production.INFO: ==21431== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864767') start
[2025-04-08 20:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:53:03] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-04-08 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:53:04] Production.INFO: Account Balance Start.
[2025-04-08 20:53:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:53:04] Production.INFO: 117
[2025-04-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864767') end
[2025-04-08 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:53:04] Production.INFO: 1
[2025-04-08 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:53:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:53:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:53:04] Production.INFO: ==21427== Releasing lock...
[2025-04-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:53:04] Production.INFO: ==21435== Releasing lock...
[2025-04-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:53:04] Production.INFO: Total Charge 0
[2025-04-08 20:53:04] Production.INFO: CreateAllLog End
[2025-04-08 20:53:04] Production.ERROR: done
[2025-04-08 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:53:04] Production.ERROR: done
[2025-04-08 20:53:04] Production.INFO: Account Balance End.
[2025-04-08 20:53:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:53:04] Production.INFO: ==21431== Releasing lock...
[2025-04-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:53:05
[end_date_ymd] => 2025-04-08 20:53:05
[RateCDR] => 1
)
[2025-04-08 20:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:53:05' and `end` < '2025-04-08 20:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:53:12] Production.ERROR: CronJobId end10
[2025-04-08 20:53:12] Production.INFO: ==21429== Releasing lock...
[2025-04-08 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:53:15] Production.INFO: call_cost start
[2025-04-08 20:53:15] Production.INFO: call_cost end
[2025-04-08 20:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:53:16] Production.INFO: ==21425== Releasing lock...
[2025-04-08 20:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:53:18] Production.INFO: count ==1413
[2025-04-08 20:53:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:53:05 - End Time 2025-04-08 20:53:05
[2025-04-08 20:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864771', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864771', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864771', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864771', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:53:18] Production.INFO: ProcessCDR(1,14864771,1,1,2)
[2025-04-08 20:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864771', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864771', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:53:22] Production.INFO: ==21433== Releasing lock...
[2025-04-08 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:53:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:54:02] Production.INFO: ==21492== Lock acquired, processing the job...
[2025-04-09 01:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:54:02] Production.INFO: neon service started
[2025-04-09 01:54:02] Production.INFO: neon service started
[2025-04-09 01:54:02] Production.INFO: ==21492== Releasing lock...
[2025-04-09 01:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:54:02] Production.INFO: ==21494== Lock acquired, processing the job...
[2025-04-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:54:02] Production.INFO: ==21496== Lock acquired, processing the job...
[2025-04-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:54:03] Production.INFO: ==21496== Releasing lock...
[2025-04-09 00:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:54:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:54:03] Production.INFO: ==21494== Releasing lock...
[2025-04-08 20:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:54:04] Production.INFO: ==21499== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:54:04] Production.INFO: ==21501== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:54:04] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:54:04] Production.INFO: ==21505== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:54:04] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:54:04] Production.INFO: ==21503== Lock acquired, processing the job...
[2025-04-08 20:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20: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-04-08 20:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:54:04] Production.INFO: count ==12
[2025-04-08 20:54:04] Production.INFO: Account Balance Start.
[2025-04-08 20:54:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:54:04] Production.INFO: 117
[2025-04-08 20:54:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:54:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:54:04] Production.INFO: Total Charge 0
[2025-04-08 20:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:54:04] Production.INFO: count ==23
[2025-04-08 20:54:04] Production.INFO: CreateAllLog End
[2025-04-08 20:54:04] Production.INFO: ==21501== Releasing lock...
[2025-04-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864774') start
[2025-04-08 20:54:04] Production.ERROR: done
[2025-04-08 20:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864774') end
[2025-04-08 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:54:04] Production.INFO: 1
[2025-04-08 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:54:04] Production.INFO: ==21509== Releasing lock...
[2025-04-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:54:04] Production.INFO: Account Balance End.
[2025-04-08 20:54:04] Production.ERROR: done
[2025-04-08 20:54:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:54:04] Production.INFO: ==21505== Releasing lock...
[2025-04-08 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:54:05
[end_date_ymd] => 2025-04-08 20:54:05
[RateCDR] => 1
)
[2025-04-08 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:54:05' and `end` < '2025-04-08 20:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:54:13] Production.ERROR: CronJobId end10
[2025-04-08 20:54:13] Production.INFO: ==21503== Releasing lock...
[2025-04-08 20:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:54:15] Production.INFO: call_cost start
[2025-04-08 20:54:15] Production.INFO: call_cost end
[2025-04-08 20:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:54:16] Production.INFO: ==21499== Releasing lock...
[2025-04-08 20:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:54:19] Production.INFO: count ==1415
[2025-04-08 20:54:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:54:05 - End Time 2025-04-08 20:54:05
[2025-04-08 20:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864776', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864776', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864776', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864776', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:54:19] Production.INFO: ProcessCDR(1,14864776,1,1,2)
[2025-04-08 20:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864776', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864776', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:54:22] Production.INFO: ==21507== Releasing lock...
[2025-04-08 20:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:54:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:55:01] Production.INFO: ==21568== Lock acquired, processing the job...
[2025-04-09 01:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:55:01] Production.INFO: neon service started
[2025-04-09 01:55:01] Production.INFO: neon service started
[2025-04-09 01:55:01] Production.INFO: ==21568== Releasing lock...
[2025-04-09 01:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:55:02] Production.INFO: ==21570== Lock acquired, processing the job...
[2025-04-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:55:02] Production.INFO: ==21570== Releasing lock...
[2025-04-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:55:02] Production.INFO: ==21572== Lock acquired, processing the job...
[2025-04-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:55:02] Production.INFO: ==21572== Releasing lock...
[2025-04-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:55:03] Production.INFO: ==21577== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:55:03] Production.INFO: ==21577== Releasing lock...
[2025-04-08 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:55:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:55:03] Production.INFO: ==21575== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:55:03] Production.INFO: ==21579== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:55:03] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:55:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-04-08 20:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:55:03] Production.INFO: Account Balance Start.
[2025-04-08 20:55:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:55:03] Production.INFO: 117
[2025-04-08 20:55:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:55:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:55:04] Production.INFO: Total Charge 0
[2025-04-08 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:55:04] Production.INFO: CreateAllLog End
[2025-04-08 20:55:04] Production.ERROR: done
[2025-04-08 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:55:04] Production.INFO: count ==12
[2025-04-08 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:55:04] Production.INFO: count ==23
[2025-04-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864780') start
[2025-04-08 20:55:04] Production.INFO: Account Balance End.
[2025-04-08 20:55:04] Production.ERROR: done
[2025-04-08 20:55:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:55:04] Production.INFO: ==21581== Releasing lock...
[2025-04-08 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864780') end
[2025-04-08 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:55:04] Production.INFO: 1
[2025-04-08 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:55:04] Production.INFO: ==21585== Releasing lock...
[2025-04-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:55:05
[end_date_ymd] => 2025-04-08 20:55:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 17:55:05' and `end` < '2025-04-08 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-04-08 20:55:12] Production.ERROR: CronJobId end10
[2025-04-08 20:55:12] Production.INFO: ==21579== Releasing lock...
[2025-04-08 20:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:55:14] Production.INFO: call_cost start
[2025-04-08 20:55:14] Production.INFO: call_cost end
[2025-04-08 20:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:55:15] Production.INFO: ==21575== Releasing lock...
[2025-04-08 20:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:55:18] Production.INFO: count ==1415
[2025-04-08 20:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:55:05 - End Time 2025-04-08 20:55:05
[2025-04-08 20:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864781', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864781', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864781', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864781', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:55:18] Production.INFO: ProcessCDR(1,14864781,1,1,2)
[2025-04-08 20:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864781', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864781', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:55:22] Production.INFO: ==21583== Releasing lock...
[2025-04-08 20:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:55:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:56:02] Production.INFO: ==21642== Lock acquired, processing the job...
[2025-04-09 01:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:56:02] Production.INFO: neon service started
[2025-04-09 01:56:02] Production.INFO: neon service started
[2025-04-09 01:56:02] Production.INFO: ==21642== Releasing lock...
[2025-04-09 01:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:56:02] Production.INFO: ==21644== Lock acquired, processing the job...
[2025-04-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:56:02] Production.INFO: ==21644== Releasing lock...
[2025-04-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:56:03] Production.INFO: ==21646== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:56:03] Production.INFO: ==21646== Releasing lock...
[2025-04-09 00:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:56:03] Production.INFO: ==21649== Lock acquired, processing the job...
[2025-04-08 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:56:03] Production.INFO: ==21653== Lock acquired, processing the job...
[2025-04-08 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:56:03] Production.INFO: ==21659== Lock acquired, processing the job...
[2025-04-08 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:56:04] Production.INFO: ==21657== Lock acquired, processing the job...
[2025-04-08 20:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:56:04] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-04-08 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:56:04] Production.INFO: count ==12
[2025-04-08 20:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:56:04] Production.INFO: count ==23
[2025-04-08 20:56:04] Production.INFO: ==21655== Lock acquired, processing the job...
[2025-04-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864783') start
[2025-04-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864783') end
[2025-04-08 20:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:56:04] Production.INFO: 1
[2025-04-08 20:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:56:04] Production.INFO: Account Balance Start.
[2025-04-08 20:56:04] Production.INFO: CreateAllLog Start
[2025-04-08 20:56:04] Production.INFO: 117
[2025-04-08 20:56:04] Production.INFO: Date 2025-04-08
[2025-04-08 20:56:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:56:04] Production.ERROR: done
[2025-04-08 20:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:56:04] Production.INFO: ==21659== Releasing lock...
[2025-04-08 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:56:04] Production.INFO: Total Charge 0
[2025-04-08 20:56:04] Production.INFO: CreateAllLog End
[2025-04-08 20:56:04] Production.INFO: ==21651== Releasing lock...
[2025-04-08 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:56:04] Production.ERROR: done
[2025-04-08 20:56:04] Production.INFO: Account Balance End.
[2025-04-08 20:56:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:56:04] Production.INFO: ==21655== Releasing lock...
[2025-04-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:56:05
[end_date_ymd] => 2025-04-08 20:56:05
[RateCDR] => 1
)
[2025-04-08 20:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:56:05' and `end` < '2025-04-08 20:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:56:13] Production.ERROR: CronJobId end10
[2025-04-08 20:56:13] Production.INFO: ==21653== Releasing lock...
[2025-04-08 20:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:56:14] Production.INFO: call_cost start
[2025-04-08 20:56:14] Production.INFO: call_cost end
[2025-04-08 20:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:56:15] Production.INFO: ==21649== Releasing lock...
[2025-04-08 20:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:56:18] Production.INFO: count ==1413
[2025-04-08 20:56:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:56:05 - End Time 2025-04-08 20:56:05
[2025-04-08 20:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864786', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864786', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864786', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864786', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:56:19] Production.INFO: ProcessCDR(1,14864786,1,1,2)
[2025-04-08 20:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864786', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864786', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:56:22] Production.INFO: ==21657== Releasing lock...
[2025-04-08 20:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:56:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:57:01] Production.INFO: ==21712== Lock acquired, processing the job...
[2025-04-09 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:57:01] Production.INFO: neon service started
[2025-04-09 01:57:01] Production.INFO: neon service started
[2025-04-09 01:57:01] Production.INFO: ==21712== Releasing lock...
[2025-04-09 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:57:02] Production.INFO: ==21716== Lock acquired, processing the job...
[2025-04-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 20:57:02] Production.INFO: ==21714== Lock acquired, processing the job...
[2025-04-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:57:02] Production.INFO: ==21716== Releasing lock...
[2025-04-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:57:02] Production.INFO: ==21714== Releasing lock...
[2025-04-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:57:03] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:57:03] Production.INFO: ==21729== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:57:03] Production.INFO: ==21721== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:57:03] Production.INFO: ==21723== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:57:03] Production.INFO: count ==12
[2025-04-08 20: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-04-08 20:57:03] Production.INFO: count ==23
[2025-04-08 20:57:03] Production.INFO: ==21725== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:57:03] Production.INFO: ==21727== Lock acquired, processing the job...
[2025-04-08 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864788') start
[2025-04-08 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:57:03] Production.INFO: Account Balance Start.
[2025-04-08 20:57:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:57:03] Production.INFO: 117
[2025-04-08 20:57:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:57:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864788') end
[2025-04-08 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:57:04] Production.INFO: 1
[2025-04-08 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:57:04] Production.INFO: Total Charge 0
[2025-04-08 20:57:04] Production.INFO: CreateAllLog End
[2025-04-08 20:57:04] Production.INFO: ==21729== Releasing lock...
[2025-04-08 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:57:04] Production.INFO: ==21721== Releasing lock...
[2025-04-08 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:57:04] Production.ERROR: done
[2025-04-08 20:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:57:04] Production.ERROR: done
[2025-04-08 20:57:04] Production.INFO: Account Balance End.
[2025-04-08 20:57:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:57:04] Production.INFO: ==21725== Releasing lock...
[2025-04-08 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:57:05
[end_date_ymd] => 2025-04-08 20:57:05
[RateCDR] => 1
)
[2025-04-08 20:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:57:05' and `end` < '2025-04-08 20:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:57:12] Production.ERROR: CronJobId end10
[2025-04-08 20:57:12] Production.INFO: ==21723== Releasing lock...
[2025-04-08 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:57:14] Production.INFO: call_cost start
[2025-04-08 20:57:14] Production.INFO: call_cost end
[2025-04-08 20:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:57:15] Production.INFO: ==21719== Releasing lock...
[2025-04-08 20:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:57:18] Production.INFO: count ==1412
[2025-04-08 20:57:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:57:05 - End Time 2025-04-08 20:57:05
[2025-04-08 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864791', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864791', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864791', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864791', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:57:19] Production.INFO: ProcessCDR(1,14864791,1,1,2)
[2025-04-08 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864791', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864791', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:57:22] Production.INFO: ==21727== Releasing lock...
[2025-04-08 20:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:57:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:58:02] Production.INFO: ==21788== Lock acquired, processing the job...
[2025-04-09 01:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:58:02] Production.INFO: neon service started
[2025-04-09 01:58:02] Production.INFO: neon service started
[2025-04-09 01:58:02] Production.INFO: ==21788== Releasing lock...
[2025-04-09 01:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 20:58:02] Production.INFO: ==21790== Lock acquired, processing the job...
[2025-04-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:58:02] Production.INFO: ==21790== Releasing lock...
[2025-04-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:58:02] Production.INFO: ==21792== Lock acquired, processing the job...
[2025-04-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:58:03] Production.INFO: ==21792== Releasing lock...
[2025-04-09 00:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:58:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:58:03] Production.INFO: ==21795== Lock acquired, processing the job...
[2025-04-08 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:58:03] Production.INFO: ==21799== Lock acquired, processing the job...
[2025-04-08 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:58:03] Production.INFO: ==21801== Lock acquired, processing the job...
[2025-04-08 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:58:03] Production.INFO: ==21797== Lock acquired, processing the job...
[2025-04-08 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:58:03] Production.INFO: Account Balance Start.
[2025-04-08 20:58:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:58:03] Production.INFO: 117
[2025-04-08 20:58:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:58:03] Production.INFO: Reseller ==> 0
[2025-04-08 20:58:03] Production.INFO: Total Charge 0
[2025-04-08 20:58:03] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-04-08 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:58:03] Production.INFO: CreateAllLog End
[2025-04-08 20:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:58:04] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-04-08 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:58:04] Production.INFO: Account Balance End.
[2025-04-08 20:58:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:58:04] Production.INFO: ==21801== Releasing lock...
[2025-04-08 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 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-04-08 20:58:04] Production.INFO: count ==12
[2025-04-08 20:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:58:04] Production.INFO: count ==23
[2025-04-08 20:58:04] Production.ERROR: done
[2025-04-08 20:58:04] Production.INFO: ==21797== Releasing lock...
[2025-04-08 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864795') start
[2025-04-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864795') end
[2025-04-08 20:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:58:04] Production.INFO: 1
[2025-04-08 20:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:58:04] Production.INFO: ==21805== Releasing lock...
[2025-04-08 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:58:04] Production.ERROR: done
[2025-04-08 20:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:58:06
[end_date_ymd] => 2025-04-08 20:58:06
[RateCDR] => 1
)
[2025-04-08 20:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:58:06' and `end` < '2025-04-08 20:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:58:14] Production.ERROR: CronJobId end10
[2025-04-08 20:58:14] Production.INFO: ==21799== Releasing lock...
[2025-04-08 20:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:58:15] Production.INFO: call_cost start
[2025-04-08 20:58:15] Production.INFO: call_cost end
[2025-04-08 20:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:58:16] Production.INFO: ==21795== Releasing lock...
[2025-04-08 20:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:58:19] Production.INFO: count ==1412
[2025-04-08 20:58:19] Production.ERROR: pbx CDR StartTime 2025-04-08 17:58:06 - End Time 2025-04-08 20:58:06
[2025-04-08 20:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864796', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864796', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864796', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864796', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:58:19] Production.INFO: ProcessCDR(1,14864796,1,1,2)
[2025-04-08 20:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864796', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864796', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:58:22] Production.INFO: ==21803== Releasing lock...
[2025-04-08 20:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:58:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 01:59:01] Production.INFO: ==21900== Lock acquired, processing the job...
[2025-04-09 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 01:59:01] Production.INFO: neon service started
[2025-04-09 01:59:01] Production.INFO: neon service started
[2025-04-09 01:59:01] Production.INFO: ==21900== Releasing lock...
[2025-04-09 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:59:02] Production.INFO: ==21904== Lock acquired, processing the job...
[2025-04-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:59:02] Production.INFO: ==21904== Releasing lock...
[2025-04-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 20:59:02] Production.INFO: ==21902== Lock acquired, processing the job...
[2025-04-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 20:59:02] Production.INFO: ==21902== Releasing lock...
[2025-04-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 20:59:03] Production.INFO: ==21909== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 20:59:03] Production.INFO: ==21907== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 20:59:03] Production.INFO: ==21915== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 20:59:03] Production.INFO: ==21911== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 20:59:03] Production.INFO: ==21913== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 20:59:03] Production.INFO: ==21909== Releasing lock...
[2025-04-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 20:59:03] Production.INFO: ==21917== Lock acquired, processing the job...
[2025-04-08 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 20:59:03] Production.ERROR: done
[2025-04-08 20:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 20:59:03] Production.INFO: Account Balance Start.
[2025-04-08 20:59:03] Production.INFO: CreateAllLog Start
[2025-04-08 20:59:03] Production.INFO: 117
[2025-04-08 20:59:03] Production.INFO: Date 2025-04-08
[2025-04-08 20:59:04] Production.INFO: Reseller ==> 0
[2025-04-08 20:59:04] Production.INFO: Total Charge 0
[2025-04-08 20:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:59:04] Production.INFO: count ==12
[2025-04-08 20:59:04] Production.INFO: CreateAllLog End
[2025-04-08 20:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 20:59:04] Production.INFO: count ==23
[2025-04-08 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864799') start
[2025-04-08 20:59:04] Production.ERROR: done
[2025-04-08 20:59:04] Production.INFO: Account Balance End.
[2025-04-08 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864799') end
[2025-04-08 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 20:59:04] Production.INFO: 1
[2025-04-08 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 20:59:04] Production.ERROR: CronJobId end 12
[2025-04-08 20:59:04] Production.INFO: ==21913== Releasing lock...
[2025-04-08 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 20:59:04] Production.INFO: ==21917== Releasing lock...
[2025-04-08 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 17:59:05
[end_date_ymd] => 2025-04-08 20:59:05
[RateCDR] => 1
)
[2025-04-08 20:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 17:59:05' and `end` < '2025-04-08 20:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 20:59:12] Production.ERROR: CronJobId end10
[2025-04-08 20:59:12] Production.INFO: ==21911== Releasing lock...
[2025-04-08 20:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 20:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 20:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 20:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 20:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 20:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 20:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 20:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 20:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 20:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 20:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 20:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 20:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 20:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 20:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 20:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 20:59:14] Production.INFO: call_cost start
[2025-04-08 20:59:14] Production.INFO: call_cost end
[2025-04-08 20:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 20:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 20:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 20:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 20:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 20:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 20:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 20:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 20:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 20:59:15] Production.INFO: ==21907== Releasing lock...
[2025-04-08 20:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 20:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 20:59:18] Production.INFO: count ==1411
[2025-04-08 20:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 17:59:05 - End Time 2025-04-08 20:59:05
[2025-04-08 20:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864801', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864801', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864801', 'tblTempVendorCDR_20' ) start
[2025-04-08 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864801', 'tblTempVendorCDR_20' ) end
[2025-04-08 20:59:18] Production.INFO: ProcessCDR(1,14864801,1,1,2)
[2025-04-08 20:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 20:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864801', 'tblTempUsageDetail_20' ) start
[2025-04-08 20:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864801', 'tblTempUsageDetail_20' ) end
[2025-04-08 20:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 20:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 20:59:22] Production.INFO: ==21915== Releasing lock...
[2025-04-08 20:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 20:59:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 02:00:02] Production.INFO: ==21972== Lock acquired, processing the job...
[2025-04-09 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:00:02] Production.INFO: neon service started
[2025-04-09 02:00:02] Production.INFO: neon service started
[2025-04-09 02:00:02] Production.INFO: ==21972== Releasing lock...
[2025-04-09 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:00:02] Production.INFO: ==21974== Lock acquired, processing the job...
[2025-04-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:00:02] Production.INFO: ==21974== Releasing lock...
[2025-04-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:00:03] Production.INFO: ==21976== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==21976== Releasing lock...
[2025-04-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:00:03] Production.INFO: ==21980== Lock acquired, processing the job...
[2025-04-08 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:00:03] Production.INFO: ==21982== Lock acquired, processing the job...
[2025-04-08 21:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:00:04] Production.INFO: ==21978== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:00:04] Production.INFO: ==21986== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:00:04] Production.INFO: ==21984== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:00:04] Production.ERROR: CronJob PID - 21980
[2025-04-08 21:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 21:00:04] Production.ERROR: CronJob ID - 5
[2025-04-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 21:00:00
[2025-04-08 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:00:04] Production.ERROR: CronJob PID - 21982
[2025-04-08 21:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 21:00:04] Production.ERROR: CronJob ID - 7
[2025-04-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 21:00:00
[2025-04-08 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:00:04] Production.ERROR: CronJob PID - 21986
[2025-04-08 21:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 21:00:04] Production.ERROR: CronJob ID - 12
[2025-04-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 21:00:00
[2025-04-08 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:00:04] Production.INFO: Account Balance Start.
[2025-04-08 21:00:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:00:04] Production.INFO: 117
[2025-04-08 21:00:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:00:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:00:04] Production.INFO: ==21978== Releasing lock...
[2025-04-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:00:04] Production.INFO: ==21988== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:00:04] Production.INFO: Total Charge 0
[2025-04-08 21:00:04] Production.INFO: ==21991== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:00:04] Production.INFO: CreateAllLog End
[2025-04-08 21:00:04] Production.INFO: ==21982== Releasing lock...
[2025-04-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:00:04] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-04-08 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:00:04] Production.INFO: count ==12
[2025-04-08 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:00:04] Production.INFO: count ==23
[2025-04-08 21:00:04] Production.ERROR: done
[2025-04-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864805') start
[2025-04-08 21:00:04] Production.ERROR: done
[2025-04-08 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864805') end
[2025-04-08 21:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:00:04] Production.INFO: 1
[2025-04-08 21:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864806', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:00:05] Production.INFO: Account Balance End.
[2025-04-08 21:00:05] Production.ERROR: done
[2025-04-08 21:00:05] Production.INFO: ==21993== Releasing lock...
[2025-04-08 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:00:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:00:05] Production.INFO: ==21986== Releasing lock...
[2025-04-08 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:00:05
[end_date_ymd] => 2025-04-08 21:00:05
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:00:05' and `end` < '2025-04-08 21: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-04-08 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864806', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:00:09] Production.INFO: ProcessCDR(1,14864806,1,1,2)
[2025-04-08 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:00:09] Production.INFO: ==21991== Releasing lock...
[2025-04-08 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:00:15] Production.ERROR: CronJobId end10
[2025-04-08 21:00:15] Production.INFO: ==21984== Releasing lock...
[2025-04-08 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:00:17] Production.INFO: call_cost start
[2025-04-08 21:00:17] Production.INFO: call_cost end
[2025-04-08 21:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:00:18] Production.INFO: ==21980== Releasing lock...
[2025-04-08 21:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:00:18] Production.INFO: count ==1410
[2025-04-08 21:00:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:00:05 - End Time 2025-04-08 21:00:05
[2025-04-08 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864807', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864807', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864807', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864807', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:00:19] Production.INFO: ProcessCDR(1,14864807,1,1,2)
[2025-04-08 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864807', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864807', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:00:22] Production.INFO: ==21988== Releasing lock...
[2025-04-08 21:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:00:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 02:01:01] Production.INFO: ==22052== Lock acquired, processing the job...
[2025-04-09 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:01:01] Production.INFO: neon service started
[2025-04-09 02:01:01] Production.INFO: neon service started
[2025-04-09 02:01:01] Production.INFO: ==22052== Releasing lock...
[2025-04-09 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:01:01] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-04-09 01:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:01:01] Production.INFO: ==22066== Releasing lock...
[2025-04-09 01:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:01:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:01:02] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-04-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:01:02] Production.INFO: ==22064== Releasing lock...
[2025-04-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:01:03] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:01:03] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:01:03] Production.INFO: ==22069== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:01:03] Production.INFO: Account Balance Start.
[2025-04-08 21:01:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:01:03] Production.INFO: 117
[2025-04-08 21:01:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:01:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:01:03] Production.INFO: count ==12
[2025-04-08 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:01:03] Production.INFO: count ==23
[2025-04-08 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:01:03] Production.INFO: ==22071== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864808') start
[2025-04-08 21:01:03] Production.INFO: Total Charge 0
[2025-04-08 21:01:03] Production.INFO: ==22073== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:01:03] Production.INFO: CreateAllLog End
[2025-04-08 21:01:03] Production.INFO: ==22077== Lock acquired, processing the job...
[2025-04-08 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:01:03] Production.INFO: Account Balance End.
[2025-04-08 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864808') end
[2025-04-08 21:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:01:03] Production.INFO: 1
[2025-04-08 21:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:01:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:01:03] Production.INFO: ==22075== Releasing lock...
[2025-04-08 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:01:03] Production.INFO: ==22079== Releasing lock...
[2025-04-08 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:01:03] Production.INFO: ==22071== Releasing lock...
[2025-04-08 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:01:03] Production.ERROR: done
[2025-04-08 21:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:01:03] Production.ERROR: done
[2025-04-08 21:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:01:04
[end_date_ymd] => 2025-04-08 21:01:04
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:01:04' and `end` < '2025-04-08 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-04-08 21:01:12] Production.ERROR: CronJobId end10
[2025-04-08 21:01:12] Production.INFO: ==22073== Releasing lock...
[2025-04-08 21:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:01:14] Production.INFO: call_cost start
[2025-04-08 21:01:14] Production.INFO: call_cost end
[2025-04-08 21:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:01:15] Production.INFO: ==22069== Releasing lock...
[2025-04-08 21:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:01:17] Production.INFO: count ==1367
[2025-04-08 21:01:17] Production.ERROR: pbx CDR StartTime 2025-04-08 18:01:04 - End Time 2025-04-08 21:01:04
[2025-04-08 21:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864812', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864812', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864812', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864812', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:01:18] Production.INFO: ProcessCDR(1,14864812,1,1,2)
[2025-04-08 21:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864812', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864812', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:01:22] Production.INFO: ==22077== Releasing lock...
[2025-04-08 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:01:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 02:02:01] Production.INFO: ==22138== Lock acquired, processing the job...
[2025-04-09 02:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:02:01] Production.INFO: neon service started
[2025-04-09 02:02:01] Production.INFO: neon service started
[2025-04-09 02:02:02] Production.INFO: ==22138== Releasing lock...
[2025-04-09 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:02:02] Production.INFO: ==22140== Lock acquired, processing the job...
[2025-04-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:02:02] Production.INFO: ==22140== Releasing lock...
[2025-04-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:02:02] Production.INFO: ==22142== Lock acquired, processing the job...
[2025-04-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:02:02] Production.INFO: ==22142== Releasing lock...
[2025-04-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:02:03] Production.INFO: ==22146== Lock acquired, processing the job...
[2025-04-08 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:02:03] Production.INFO: ==22144== Lock acquired, processing the job...
[2025-04-08 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:02:03] Production.INFO: ==22148== Lock acquired, processing the job...
[2025-04-08 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:02:03] Production.INFO: ==22150== Lock acquired, processing the job...
[2025-04-08 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:02:03] Production.INFO: ==22152== Lock acquired, processing the job...
[2025-04-08 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:02:03] Production.INFO: Account Balance Start.
[2025-04-08 21:02:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:02:03] Production.INFO: 117
[2025-04-08 21:02:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:02:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:02:03] Production.INFO: Total Charge 0
[2025-04-08 21:02:04] Production.INFO: ==22154== Lock acquired, processing the job...
[2025-04-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:02:04] Production.INFO: CreateAllLog End
[2025-04-08 21:02:04] Production.INFO: ==22146== Releasing lock...
[2025-04-08 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 21:02:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:02:04] Production.INFO: count ==23
[2025-04-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864816') start
[2025-04-08 21:02:04] Production.INFO: Account Balance End.
[2025-04-08 21:02:04] Production.ERROR: done
[2025-04-08 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:02:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:02:04] Production.INFO: ==22150== Releasing lock...
[2025-04-08 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864816') end
[2025-04-08 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:02:04] Production.INFO: 1
[2025-04-08 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:02:04] Production.INFO: ==22154== Releasing lock...
[2025-04-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:02:04] Production.ERROR: done
[2025-04-08 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:02:05
[end_date_ymd] => 2025-04-08 21:02:05
[RateCDR] => 1
)
[2025-04-08 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:02:05' and `end` < '2025-04-08 21:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:02:13] Production.ERROR: CronJobId end10
[2025-04-08 21:02:13] Production.INFO: ==22148== Releasing lock...
[2025-04-08 21:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:02:15] Production.INFO: call_cost start
[2025-04-08 21:02:15] Production.INFO: call_cost end
[2025-04-08 21:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:02:16] Production.INFO: ==22144== Releasing lock...
[2025-04-08 21:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:02:18] Production.INFO: count ==1366
[2025-04-08 21:02:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:02:05 - End Time 2025-04-08 21:02:05
[2025-04-08 21:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864817', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864817', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864817', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864817', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:02:18] Production.INFO: ProcessCDR(1,14864817,1,1,2)
[2025-04-08 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864817', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864817', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:02:23] Production.INFO: ==22152== Releasing lock...
[2025-04-08 21:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:02:23] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:03:01] Production.INFO: ==22208== Lock acquired, processing the job...
[2025-04-09 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:03:01] Production.INFO: neon service started
[2025-04-09 02:03:01] Production.INFO: neon service started
[2025-04-09 02:03:01] Production.INFO: ==22208== Releasing lock...
[2025-04-09 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:03:02] Production.INFO: ==22210== Lock acquired, processing the job...
[2025-04-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:03:02] Production.INFO: ==22212== Lock acquired, processing the job...
[2025-04-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:03:02] Production.INFO: ==22212== Releasing lock...
[2025-04-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:03:02] Production.INFO: ==22210== Releasing lock...
[2025-04-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:03:03] Production.INFO: ==22219== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:03:03] Production.INFO: ==22221== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:03:03] Production.INFO: Account Balance Start.
[2025-04-08 21:03:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:03:03] Production.INFO: 117
[2025-04-08 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:03:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:03:03] Production.INFO: ==22223== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:03:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:03:03] Production.INFO: Total Charge 0
[2025-04-08 21:03:03] Production.INFO: CreateAllLog End
[2025-04-08 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:03:03] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:03:03] Production.INFO: ==22217== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:03:03] Production.INFO: Account Balance End.
[2025-04-08 21:03:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:03:03] Production.INFO: ==22221== Releasing lock...
[2025-04-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:03:03] Production.INFO: ==22225== Lock acquired, processing the job...
[2025-04-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:03:03] Production.ERROR: done
[2025-04-08 21:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 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-04-08 21:03:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:03:03] Production.INFO: count ==23
[2025-04-08 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864821') start
[2025-04-08 21:03:03] Production.INFO: ==22217== Releasing lock...
[2025-04-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:03:04] Production.ERROR: done
[2025-04-08 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864821') end
[2025-04-08 21:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:03:04] Production.INFO: 1
[2025-04-08 21:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:03:04] Production.INFO: ==22225== Releasing lock...
[2025-04-08 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:03:05
[end_date_ymd] => 2025-04-08 21:03:05
[RateCDR] => 1
)
[2025-04-08 21:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:03:05' and `end` < '2025-04-08 21:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:03:13] Production.ERROR: CronJobId end10
[2025-04-08 21:03:13] Production.INFO: ==22219== Releasing lock...
[2025-04-08 21:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:03:14] Production.INFO: call_cost start
[2025-04-08 21:03:14] Production.INFO: call_cost end
[2025-04-08 21:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:03:15] Production.INFO: ==22215== Releasing lock...
[2025-04-08 21:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:03:17] Production.INFO: count ==1365
[2025-04-08 21:03:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:03:05 - End Time 2025-04-08 21:03:05
[2025-04-08 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864822', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864822', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864822', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864822', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:03:18] Production.INFO: ProcessCDR(1,14864822,1,1,2)
[2025-04-08 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864822', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864822', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:03:21] Production.INFO: ==22223== Releasing lock...
[2025-04-08 21:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:03:21] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:04:01] Production.INFO: ==22282== Lock acquired, processing the job...
[2025-04-09 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:04:01] Production.INFO: neon service started
[2025-04-09 02:04:01] Production.INFO: neon service started
[2025-04-09 02:04:01] Production.INFO: ==22282== Releasing lock...
[2025-04-09 02:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:04:02] Production.INFO: ==22284== Lock acquired, processing the job...
[2025-04-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:04:02] Production.INFO: ==22284== Releasing lock...
[2025-04-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:04:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:04:02] Production.INFO: ==22286== Lock acquired, processing the job...
[2025-04-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:04:02] Production.INFO: ==22286== Releasing lock...
[2025-04-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:04:03] Production.INFO: ==22299== Lock acquired, processing the job...
[2025-04-08 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:04:03] Production.INFO: count ==12
[2025-04-08 21:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:04:03] Production.INFO: count ==23
[2025-04-08 21:04:03] Production.INFO: ==22297== Lock acquired, processing the job...
[2025-04-08 21:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864823') start
[2025-04-08 21:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:04:03] Production.INFO: ==22288== Lock acquired, processing the job...
[2025-04-08 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864823') end
[2025-04-08 21:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:04:03] Production.INFO: 1
[2025-04-08 21:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:04:04] Production.INFO: ==22290== Lock acquired, processing the job...
[2025-04-08 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:04:04] Production.INFO: ==22292== Lock acquired, processing the job...
[2025-04-08 21:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:04:04] Production.INFO: ==22299== Releasing lock...
[2025-04-08 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:04:04] Production.INFO: ==22295== Lock acquired, processing the job...
[2025-04-08 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:04:04] Production.INFO: Account Balance Start.
[2025-04-08 21:04:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:04:04] Production.INFO: 117
[2025-04-08 21:04:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:04:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:04:04] Production.INFO: Total Charge 0
[2025-04-08 21:04:04] Production.INFO: CreateAllLog End
[2025-04-08 21:04:04] Production.ERROR: done
[2025-04-08 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:04:04] Production.INFO: ==22290== Releasing lock...
[2025-04-08 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:04:04] Production.INFO: Account Balance End.
[2025-04-08 21:04:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:04:04] Production.INFO: ==22295== Releasing lock...
[2025-04-08 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:04:04] Production.ERROR: done
[2025-04-08 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:04:05
[end_date_ymd] => 2025-04-08 21:04:05
[RateCDR] => 1
)
[2025-04-08 21:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:04:05' and `end` < '2025-04-08 21:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:04:14] Production.ERROR: CronJobId end10
[2025-04-08 21:04:14] Production.INFO: ==22292== Releasing lock...
[2025-04-08 21:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:04:15] Production.INFO: call_cost start
[2025-04-08 21:04:15] Production.INFO: call_cost end
[2025-04-08 21:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:04:16] Production.INFO: ==22288== Releasing lock...
[2025-04-08 21:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:04:18] Production.INFO: count ==1350
[2025-04-08 21:04:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:04:05 - End Time 2025-04-08 21:04:05
[2025-04-08 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864827', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864827', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864827', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864827', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:04:18] Production.INFO: ProcessCDR(1,14864827,1,1,2)
[2025-04-08 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864827', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864827', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:04:22] Production.INFO: ==22297== Releasing lock...
[2025-04-08 21:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:04:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 02:05:02] Production.INFO: ==22364== Lock acquired, processing the job...
[2025-04-09 02:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:05:02] Production.INFO: neon service started
[2025-04-09 02:05:02] Production.INFO: neon service started
[2025-04-09 02:05:02] Production.INFO: ==22364== Releasing lock...
[2025-04-09 02:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:05:02] Production.INFO: ==22366== Lock acquired, processing the job...
[2025-04-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:05:03] Production.INFO: ==22368== Lock acquired, processing the job...
[2025-04-09 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:05:03] Production.INFO: ==22368== Releasing lock...
[2025-04-09 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:05:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:05:03] Production.INFO: ==22366== Releasing lock...
[2025-04-08 21:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:05:04] Production.INFO: ==22370== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:05:04] Production.INFO: ==22374== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:05:04] Production.INFO: ==22372== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:05:04] Production.INFO: ==22376== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:05:04] Production.INFO: ==22379== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:05:04] Production.INFO: Account Balance Start.
[2025-04-08 21:05:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:05:04] Production.INFO: 117
[2025-04-08 21:05:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:05:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:05:04] Production.INFO: ==22381== Lock acquired, processing the job...
[2025-04-08 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:05:04] Production.INFO: Total Charge 0
[2025-04-08 21:05:04] Production.INFO: CreateAllLog End
[2025-04-08 21:05:04] Production.INFO: ==22372== Releasing lock...
[2025-04-08 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:05:04] Production.INFO: Account Balance End.
[2025-04-08 21: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-04-08 21:05:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:05:04] Production.INFO: ==22376== Releasing lock...
[2025-04-08 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:05:04] Production.INFO: count ==12
[2025-04-08 21:05:04] Production.ERROR: done
[2025-04-08 21:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:05:04] Production.INFO: count ==23
[2025-04-08 21:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864831') start
[2025-04-08 21:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864831') end
[2025-04-08 21:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:05:05] Production.INFO: 1
[2025-04-08 21:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:05:05] Production.INFO: ==22381== Releasing lock...
[2025-04-08 21:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:05:05] Production.ERROR: done
[2025-04-08 21:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:05:06
[end_date_ymd] => 2025-04-08 21:05:06
[RateCDR] => 1
)
[2025-04-08 21:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:05:06' and `end` < '2025-04-08 21:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:05:13] Production.ERROR: CronJobId end10
[2025-04-08 21:05:13] Production.INFO: ==22374== Releasing lock...
[2025-04-08 21:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:05:15] Production.INFO: call_cost start
[2025-04-08 21:05:15] Production.INFO: call_cost end
[2025-04-08 21:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:05:16] Production.INFO: ==22370== Releasing lock...
[2025-04-08 21:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:05:19] Production.INFO: count ==1351
[2025-04-08 21:05:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:05:06 - End Time 2025-04-08 21:05:06
[2025-04-08 21:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864832', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864832', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864832', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864832', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:05:19] Production.INFO: ProcessCDR(1,14864832,1,1,2)
[2025-04-08 21:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864832', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864832', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:05:22] Production.INFO: ==22379== Releasing lock...
[2025-04-08 21:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:05:22] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:06:02] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-04-09 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:06:02] Production.INFO: neon service started
[2025-04-09 02:06:02] Production.INFO: neon service started
[2025-04-09 02:06:02] Production.INFO: ==22459== Releasing lock...
[2025-04-09 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:06:02] Production.INFO: ==22461== Lock acquired, processing the job...
[2025-04-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:06:02] Production.INFO: ==22463== Lock acquired, processing the job...
[2025-04-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:06:02] Production.INFO: ==22463== Releasing lock...
[2025-04-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:06:03] Production.INFO: ==22461== Releasing lock...
[2025-04-08 21:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:06:04] Production.INFO: ==22474== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:06:04] Production.INFO: ==22472== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:06:04] Production.INFO: ==22466== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:06:04] Production.INFO: Account Balance Start.
[2025-04-08 21:06:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:06:04] Production.INFO: 117
[2025-04-08 21:06:04] Production.INFO: ==22468== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:06:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:06:04] Production.INFO: ==22470== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:06:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:06:04] Production.INFO: Total Charge 0
[2025-04-08 21:06:04] Production.INFO: CreateAllLog End
[2025-04-08 21:06:04] Production.INFO: ==22476== Lock acquired, processing the job...
[2025-04-08 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:06:04] Production.ERROR: done
[2025-04-08 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:06:04] Production.ERROR: done
[2025-04-08 21:06:04] Production.INFO: count ==12
[2025-04-08 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:06:04] Production.INFO: count ==23
[2025-04-08 21:06:04] Production.INFO: ==22468== Releasing lock...
[2025-04-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:06:04] Production.INFO: Account Balance End.
[2025-04-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864836') start
[2025-04-08 21:06:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:06:04] Production.INFO: ==22472== Releasing lock...
[2025-04-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864836') end
[2025-04-08 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:06:04] Production.INFO: 1
[2025-04-08 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:06:05] Production.INFO: ==22476== Releasing lock...
[2025-04-08 21:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:06:05
[end_date_ymd] => 2025-04-08 21:06:05
[RateCDR] => 1
)
[2025-04-08 21:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:06:05' and `end` < '2025-04-08 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-04-08 21:06:14] Production.ERROR: CronJobId end10
[2025-04-08 21:06:14] Production.INFO: ==22470== Releasing lock...
[2025-04-08 21:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:06:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:06:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:06:16] Production.INFO: call_cost start
[2025-04-08 21:06:16] Production.INFO: call_cost end
[2025-04-08 21:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:06:17] Production.INFO: ==22466== Releasing lock...
[2025-04-08 21:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:06:18] Production.INFO: count ==1350
[2025-04-08 21:06:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:06:05 - End Time 2025-04-08 21:06:05
[2025-04-08 21:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864837', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864837', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864837', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864837', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:06:19] Production.INFO: ProcessCDR(1,14864837,1,1,2)
[2025-04-08 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864837', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864837', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:06:22] Production.INFO: ==22474== Releasing lock...
[2025-04-08 21:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:06:22] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:07:01] Production.INFO: ==22537== Lock acquired, processing the job...
[2025-04-09 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:07:01] Production.INFO: neon service started
[2025-04-09 02:07:01] Production.INFO: neon service started
[2025-04-09 02:07:01] Production.INFO: ==22537== Releasing lock...
[2025-04-09 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:07:01] Production.INFO: ==22539== Lock acquired, processing the job...
[2025-04-08 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:07:02] Production.INFO: ==22539== Releasing lock...
[2025-04-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:07:02] Production.INFO: ==22541== Lock acquired, processing the job...
[2025-04-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:07:02] Production.INFO: ==22541== Releasing lock...
[2025-04-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:07:02] Production.INFO: ==22543== Lock acquired, processing the job...
[2025-04-08 21:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:07:02] Production.INFO: ==22545== Lock acquired, processing the job...
[2025-04-08 21:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:07:03] Production.INFO: ==22552== Lock acquired, processing the job...
[2025-04-08 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:07:03] Production.INFO: ==22547== Lock acquired, processing the job...
[2025-04-08 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:07:03] Production.INFO: ==22549== Lock acquired, processing the job...
[2025-04-08 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:07:03] Production.INFO: ==22554== Lock acquired, processing the job...
[2025-04-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:07:03] Production.INFO: ==22545== Releasing lock...
[2025-04-08 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:07:03] Production.INFO: Account Balance Start.
[2025-04-08 21:07:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:07:03] Production.INFO: 117
[2025-04-08 21:07:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:07:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:07:03] Production.INFO: count ==12
[2025-04-08 21:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:07:03] Production.INFO: count ==23
[2025-04-08 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864841') start
[2025-04-08 21:07:03] Production.INFO: Total Charge 0
[2025-04-08 21:07:03] Production.ERROR: done
[2025-04-08 21:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:07:03] Production.INFO: CreateAllLog End
[2025-04-08 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864841') end
[2025-04-08 21:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:07:03] Production.INFO: 1
[2025-04-08 21:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:07:03] Production.INFO: ==22554== Releasing lock...
[2025-04-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:07:04] Production.ERROR: done
[2025-04-08 21:07:04] Production.INFO: Account Balance End.
[2025-04-08 21:07:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:07:04] Production.INFO: ==22549== Releasing lock...
[2025-04-08 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:07:04
[end_date_ymd] => 2025-04-08 21:07:04
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:07:04' and `end` < '2025-04-08 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-04-08 21:07:12] Production.ERROR: CronJobId end10
[2025-04-08 21:07:12] Production.INFO: ==22547== Releasing lock...
[2025-04-08 21:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:07:13] Production.INFO: call_cost start
[2025-04-08 21:07:13] Production.INFO: call_cost end
[2025-04-08 21:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:07:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:07:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:07:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:07:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:07:14] Production.INFO: ==22543== Releasing lock...
[2025-04-08 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:07:17] Production.INFO: count ==1351
[2025-04-08 21:07:17] Production.ERROR: pbx CDR StartTime 2025-04-08 18:07:04 - End Time 2025-04-08 21:07:04
[2025-04-08 21:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864842', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864842', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864842', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864842', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:07:17] Production.INFO: ProcessCDR(1,14864842,1,1,2)
[2025-04-08 21:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864842', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864842', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:07:22] Production.INFO: ==22552== Releasing lock...
[2025-04-08 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:07:22] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:08:01] Production.INFO: ==22607== Lock acquired, processing the job...
[2025-04-09 02:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:08:01] Production.INFO: neon service started
[2025-04-09 02:08:01] Production.INFO: neon service started
[2025-04-09 02:08:01] Production.INFO: ==22607== Releasing lock...
[2025-04-09 02:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:08:02] Production.INFO: ==22609== Lock acquired, processing the job...
[2025-04-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:08:02] Production.INFO: ==22609== Releasing lock...
[2025-04-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:08:02] Production.INFO: ==22611== Lock acquired, processing the job...
[2025-04-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:08:02] Production.INFO: ==22611== Releasing lock...
[2025-04-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:08:03] Production.INFO: ==22614== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:08:03] Production.INFO: ==22618== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:08:03] Production.INFO: ==22616== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:08:03] Production.INFO: ==22622== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:08:03] Production.INFO: ==22620== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:08:03] Production.INFO: ==22624== Lock acquired, processing the job...
[2025-04-08 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:08:04] Production.INFO: Account Balance Start.
[2025-04-08 21:08:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:08:04] Production.INFO: 117
[2025-04-08 21:08:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:08:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:08:04] Production.INFO: Total Charge 0
[2025-04-08 21:08:04] Production.INFO: CreateAllLog End
[2025-04-08 21:08:04] Production.ERROR: done
[2025-04-08 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:08:04] Production.INFO: ==22616== Releasing lock...
[2025-04-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:08:04] Production.INFO: Account Balance End.
[2025-04-08 21:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:08:04] Production.INFO: count ==12
[2025-04-08 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:08:04] Production.INFO: count ==23
[2025-04-08 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864846') start
[2025-04-08 21:08:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:08:04] Production.INFO: ==22620== Releasing lock...
[2025-04-08 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:08:04] Production.ERROR: done
[2025-04-08 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864846') end
[2025-04-08 21:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:08:04] Production.INFO: 1
[2025-04-08 21:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:08:04] Production.INFO: ==22624== Releasing lock...
[2025-04-08 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:08:05
[end_date_ymd] => 2025-04-08 21:08:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:08:05' and `end` < '2025-04-08 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-04-08 21:08:12] Production.ERROR: CronJobId end10
[2025-04-08 21:08:12] Production.INFO: ==22618== Releasing lock...
[2025-04-08 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:08:14] Production.INFO: call_cost start
[2025-04-08 21:08:14] Production.INFO: call_cost end
[2025-04-08 21:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:08:15] Production.INFO: ==22614== Releasing lock...
[2025-04-08 21:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:08:18] Production.INFO: count ==1353
[2025-04-08 21:08:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:08:05 - End Time 2025-04-08 21:08:05
[2025-04-08 21:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864847', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864847', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864847', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864847', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:08:18] Production.INFO: ProcessCDR(1,14864847,1,1,2)
[2025-04-08 21:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864847', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864847', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:08:22] Production.INFO: ==22622== Releasing lock...
[2025-04-08 21:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:08:22] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:09:01] Production.INFO: ==22683== Lock acquired, processing the job...
[2025-04-09 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:09:01] Production.INFO: neon service started
[2025-04-09 02:09:01] Production.INFO: neon service started
[2025-04-09 02:09:01] Production.INFO: ==22683== Releasing lock...
[2025-04-09 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:09:01] Production.INFO: ==22685== Lock acquired, processing the job...
[2025-04-08 21:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:09:02] Production.INFO: ==22685== Releasing lock...
[2025-04-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:09:02] Production.INFO: ==22687== Lock acquired, processing the job...
[2025-04-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:09:02] Production.INFO: ==22687== Releasing lock...
[2025-04-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:09:02] Production.INFO: ==22689== Lock acquired, processing the job...
[2025-04-08 21:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:09:02] Production.INFO: ==22691== Lock acquired, processing the job...
[2025-04-08 21:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:09:02] Production.INFO: ==22693== Lock acquired, processing the job...
[2025-04-08 21:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:09:03] Production.INFO: ==22695== Lock acquired, processing the job...
[2025-04-08 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:09:03] Production.INFO: ==22697== Lock acquired, processing the job...
[2025-04-08 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:09:03] Production.INFO: Account Balance Start.
[2025-04-08 21:09:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:09:03] Production.INFO: 117
[2025-04-08 21:09:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:09:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:09:03] Production.INFO: Total Charge 0
[2025-04-08 21:09:03] Production.INFO: ==22699== Lock acquired, processing the job...
[2025-04-08 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:09:03] Production.INFO: CreateAllLog End
[2025-04-08 21:09:03] Production.INFO: ==22691== Releasing lock...
[2025-04-08 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:09:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:09:03] Production.INFO: count ==23
[2025-04-08 21:09:03] Production.INFO: Account Balance End.
[2025-04-08 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864851') start
[2025-04-08 21:09:03] Production.ERROR: done
[2025-04-08 21:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:09:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:09:03] Production.INFO: ==22695== Releasing lock...
[2025-04-08 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864851') end
[2025-04-08 21:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:09:03] Production.INFO: 1
[2025-04-08 21:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:09:03] Production.ERROR: done
[2025-04-08 21:09:03] Production.INFO: ==22699== Releasing lock...
[2025-04-08 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:09:04
[end_date_ymd] => 2025-04-08 21:09:04
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:09:04' and `end` < '2025-04-08 21: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-04-08 21:09:12] Production.ERROR: CronJobId end10
[2025-04-08 21:09:12] Production.INFO: ==22693== Releasing lock...
[2025-04-08 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:09:14] Production.INFO: call_cost start
[2025-04-08 21:09:14] Production.INFO: call_cost end
[2025-04-08 21:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:09:15] Production.INFO: ==22689== Releasing lock...
[2025-04-08 21:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:09:17] Production.INFO: count ==1355
[2025-04-08 21:09:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:09:04 - End Time 2025-04-08 21:09:04
[2025-04-08 21:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864852', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864852', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864852', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864852', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:09:18] Production.INFO: ProcessCDR(1,14864852,1,1,2)
[2025-04-08 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864852', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864852', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:09:21] Production.INFO: ==22697== Releasing lock...
[2025-04-08 21:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:09:21] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:10:01] Production.INFO: ==22760== Lock acquired, processing the job...
[2025-04-09 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:10:01] Production.INFO: neon service started
[2025-04-09 02:10:01] Production.INFO: neon service started
[2025-04-09 02:10:01] Production.INFO: ==22760== Releasing lock...
[2025-04-09 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:10:02] Production.INFO: ==22764== Lock acquired, processing the job...
[2025-04-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:10:02] Production.INFO: ==22764== Releasing lock...
[2025-04-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:10:02] Production.INFO: ==22762== Lock acquired, processing the job...
[2025-04-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:10:02] Production.INFO: ==22762== Releasing lock...
[2025-04-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:10:03] Production.INFO: ==22769== Lock acquired, processing the job...
[2025-04-08 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:10:04] Production.INFO: ==22771== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:10:04] Production.INFO: ==22767== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:10:04] Production.INFO: ==22777== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:10:04] Production.ERROR: CronJob PID - 22769
[2025-04-08 21:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 21:10:04] Production.ERROR: CronJob ID - 5
[2025-04-08 21:10:04] Production.ERROR: CronJob Last Run Time 2025-04-08 21:10:00
[2025-04-08 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:10:04] Production.ERROR: CronJob PID - 22771
[2025-04-08 21:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 21:10:04] Production.ERROR: CronJob ID - 7
[2025-04-08 21:10:04] Production.ERROR: CronJob Last Run Time 2025-04-08 21:10:00
[2025-04-08 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:10:04] Production.INFO: ==22767== Releasing lock...
[2025-04-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:10:04] Production.INFO: ==22779== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:10:04] Production.INFO: ==22775== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:10:04] Production.INFO: ==22773== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:10:04] Production.INFO: ==22781== Lock acquired, processing the job...
[2025-04-08 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:10:04] Production.INFO: ==22771== Releasing lock...
[2025-04-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:10:04] Production.INFO: Account Balance Start.
[2025-04-08 21:10:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:10:04] Production.INFO: 117
[2025-04-08 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-04-08 21:10:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:10:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:10:04] Production.INFO: count ==12
[2025-04-08 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 21:10:04] Production.INFO: count ==23
[2025-04-08 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864855') start
[2025-04-08 21:10:04] Production.INFO: Total Charge 0
[2025-04-08 21:10:04] Production.INFO: CreateAllLog End
[2025-04-08 21:10:05] Production.ERROR: done
[2025-04-08 21:10:05] Production.ERROR: done
[2025-04-08 21:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864855') end
[2025-04-08 21:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:10:05] Production.INFO: 1
[2025-04-08 21:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:10:05] Production.INFO: Account Balance End.
[2025-04-08 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864857', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:10:05] Production.INFO: ==22781== Releasing lock...
[2025-04-08 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:10:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:10:05] Production.INFO: ==22775== Releasing lock...
[2025-04-08 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:10:05] Production.ERROR: done
[2025-04-08 21:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:10:06
[end_date_ymd] => 2025-04-08 21:10:06
[RateCDR] => 1
)
[2025-04-08 21:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:10:06' and `end` < '2025-04-08 21:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864857', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:10:09] Production.INFO: ProcessCDR(1,14864857,1,1,2)
[2025-04-08 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:10:10] Production.INFO: ==22779== Releasing lock...
[2025-04-08 21:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:10:16] Production.ERROR: CronJobId end10
[2025-04-08 21:10:16] Production.INFO: ==22773== Releasing lock...
[2025-04-08 21:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:10:17] Production.INFO: call_cost start
[2025-04-08 21:10:17] Production.INFO: call_cost end
[2025-04-08 21:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:10:18] Production.INFO: ==22769== Releasing lock...
[2025-04-08 21:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:10:19] Production.INFO: count ==1351
[2025-04-08 21:10:20] Production.ERROR: pbx CDR StartTime 2025-04-08 18:10:06 - End Time 2025-04-08 21:10:06
[2025-04-08 21:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864858', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864858', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864858', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864858', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:10:20] Production.INFO: ProcessCDR(1,14864858,1,1,2)
[2025-04-08 21:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864858', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864858', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:10:23] Production.INFO: ==22777== Releasing lock...
[2025-04-08 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:10:23] Production.INFO: 38 MB #Memory Used#
[2025-04-09 02:11:02] Production.INFO: ==22837== Lock acquired, processing the job...
[2025-04-09 02:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:11:02] Production.INFO: neon service started
[2025-04-09 02:11:02] Production.INFO: neon service started
[2025-04-09 02:11:02] Production.INFO: ==22837== Releasing lock...
[2025-04-09 02:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:11:02] Production.INFO: ==22839== Lock acquired, processing the job...
[2025-04-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:11:02] Production.INFO: ==22839== Releasing lock...
[2025-04-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:11:03] Production.INFO: ==22841== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:11:03] Production.INFO: ==22841== Releasing lock...
[2025-04-09 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:11:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:11:03] Production.INFO: ==22843== Lock acquired, processing the job...
[2025-04-08 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:11:04] Production.INFO: ==22845== Lock acquired, processing the job...
[2025-04-08 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:11:04] Production.INFO: ==22847== Lock acquired, processing the job...
[2025-04-08 21:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:11:04] Production.INFO: ==22853== Lock acquired, processing the job...
[2025-04-08 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:11:04] Production.INFO: ==22849== Lock acquired, processing the job...
[2025-04-08 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:11:04] Production.INFO: ==22851== Lock acquired, processing the job...
[2025-04-08 21:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 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-04-08 21:11:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:11:04] Production.INFO: count ==23
[2025-04-08 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864861') start
[2025-04-08 21:11:04] Production.INFO: Account Balance Start.
[2025-04-08 21:11:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:11:04] Production.INFO: 117
[2025-04-08 21:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:11:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:11:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:11:04] Production.INFO: Total Charge 0
[2025-04-08 21:11:04] Production.INFO: CreateAllLog End
[2025-04-08 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864861') end
[2025-04-08 21:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:11:04] Production.INFO: 1
[2025-04-08 21:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:11:04] Production.INFO: ==22853== Releasing lock...
[2025-04-08 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:11:04] Production.INFO: ==22845== Releasing lock...
[2025-04-08 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:11:04] Production.ERROR: done
[2025-04-08 21:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:11:04] Production.ERROR: done
[2025-04-08 21:11:04] Production.INFO: Account Balance End.
[2025-04-08 21:11:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:11:04] Production.INFO: ==22849== Releasing lock...
[2025-04-08 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:11:05
[end_date_ymd] => 2025-04-08 21:11:05
[RateCDR] => 1
)
[2025-04-08 21:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:11:05' and `end` < '2025-04-08 21:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:11:13] Production.ERROR: CronJobId end10
[2025-04-08 21:11:13] Production.INFO: ==22847== Releasing lock...
[2025-04-08 21:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:11:15] Production.INFO: call_cost start
[2025-04-08 21:11:15] Production.INFO: call_cost end
[2025-04-08 21:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:11:16] Production.INFO: ==22843== Releasing lock...
[2025-04-08 21:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:11:19] Production.INFO: count ==1289
[2025-04-08 21:11:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:11:05 - End Time 2025-04-08 21:11:05
[2025-04-08 21:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864863', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864863', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864863', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864863', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:11:19] Production.INFO: ProcessCDR(1,14864863,1,1,2)
[2025-04-08 21:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864863', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864863', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:11:22] Production.INFO: ==22851== Releasing lock...
[2025-04-08 21:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:11:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-09 02:12:01] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-04-09 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:12:01] Production.INFO: neon service started
[2025-04-09 02:12:01] Production.INFO: neon service started
[2025-04-09 02:12:01] Production.INFO: ==22910== Releasing lock...
[2025-04-09 02:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:12:02] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-04-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:12:02] Production.INFO: ==22914== Releasing lock...
[2025-04-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:12:02] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-04-08 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:12:02] Production.INFO: ==22912== Releasing lock...
[2025-04-08 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:12:03] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:12:03] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:12:03] Production.INFO: ==22922== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:12:03] Production.INFO: Account Balance Start.
[2025-04-08 21:12:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:12:03] Production.INFO: 117
[2025-04-08 21:12:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:12:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:12:03] Production.INFO: ==22920== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:12:03] Production.INFO: Total Charge 0
[2025-04-08 21:12:03] Production.INFO: CreateAllLog End
[2025-04-08 21:12:03] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:12:03] Production.INFO: ==22918== Releasing lock...
[2025-04-08 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:12:03] Production.INFO: ==22927== Lock acquired, processing the job...
[2025-04-08 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:12:03] Production.INFO: Account Balance End.
[2025-04-08 21:12:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:12:03] Production.INFO: ==22922== Releasing lock...
[2025-04-08 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:12:04] Production.INFO: count ==12
[2025-04-08 21:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:12:04] Production.INFO: count ==23
[2025-04-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864867') start
[2025-04-08 21:12:04] Production.ERROR: done
[2025-04-08 21:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864867') end
[2025-04-08 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:12:04] Production.INFO: 1
[2025-04-08 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:12:04] Production.INFO: ==22927== Releasing lock...
[2025-04-08 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:12:04] Production.ERROR: done
[2025-04-08 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:12:05
[end_date_ymd] => 2025-04-08 21:12:05
[RateCDR] => 1
)
[2025-04-08 21:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:12:05' and `end` < '2025-04-08 21:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:12:12] Production.ERROR: CronJobId end10
[2025-04-08 21:12:12] Production.INFO: ==22920== Releasing lock...
[2025-04-08 21:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:12:14] Production.INFO: call_cost start
[2025-04-08 21:12:14] Production.INFO: call_cost end
[2025-04-08 21:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:12:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:12:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:12:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:12:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:12:14] Production.INFO: ==22916== Releasing lock...
[2025-04-08 21:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:12:18] Production.INFO: count ==1288
[2025-04-08 21:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:12:05 - End Time 2025-04-08 21:12:05
[2025-04-08 21:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864868', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864868', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864868', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864868', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:12:18] Production.INFO: ProcessCDR(1,14864868,1,1,2)
[2025-04-08 21:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864868', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864868', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:12:22] Production.INFO: ==22924== Releasing lock...
[2025-04-08 21:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:12:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-09 02:13:02] Production.INFO: ==22985== Lock acquired, processing the job...
[2025-04-09 02:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:13:02] Production.INFO: neon service started
[2025-04-09 02:13:02] Production.INFO: neon service started
[2025-04-09 02:13:02] Production.INFO: ==22985== Releasing lock...
[2025-04-09 02:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:13:02] Production.INFO: ==22987== Lock acquired, processing the job...
[2025-04-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:13:02] Production.INFO: ==22987== Releasing lock...
[2025-04-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:13:02] Production.INFO: ==22989== Lock acquired, processing the job...
[2025-04-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:13:02] Production.INFO: ==22989== Releasing lock...
[2025-04-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:13:03] Production.INFO: ==22995== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:13:03] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:13:03] Production.INFO: ==22993== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:13:03] Production.INFO: ==23001== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:13:03] Production.INFO: ==22997== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:13:03] Production.INFO: ==22999== Lock acquired, processing the job...
[2025-04-08 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21: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-04-08 21:13:04] Production.INFO: Account Balance Start.
[2025-04-08 21:13:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:13:04] Production.INFO: 117
[2025-04-08 21:13:04] Production.INFO: count ==12
[2025-04-08 21:13:04] Production.INFO: Date 2025-04-08
[2025-04-08 21: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-04-08 21:13:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:13:04] Production.INFO: count ==23
[2025-04-08 21:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:13:04] Production.INFO: Total Charge 0
[2025-04-08 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864871') start
[2025-04-08 21:13:04] Production.INFO: CreateAllLog End
[2025-04-08 21:13:04] Production.INFO: ==22993== Releasing lock...
[2025-04-08 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864871') end
[2025-04-08 21:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:13:04] Production.INFO: 1
[2025-04-08 21:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:13:04] Production.INFO: ==23001== Releasing lock...
[2025-04-08 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:13:04] Production.ERROR: done
[2025-04-08 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:13:04] Production.INFO: Account Balance End.
[2025-04-08 21:13:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:13:04] Production.INFO: ==22997== Releasing lock...
[2025-04-08 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:13:04] Production.ERROR: done
[2025-04-08 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:13:05
[end_date_ymd] => 2025-04-08 21:13:05
[RateCDR] => 1
)
[2025-04-08 21:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:13:05' and `end` < '2025-04-08 21:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:13:12] Production.ERROR: CronJobId end10
[2025-04-08 21:13:12] Production.INFO: ==22995== Releasing lock...
[2025-04-08 21:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:13:15] Production.INFO: call_cost start
[2025-04-08 21:13:15] Production.INFO: call_cost end
[2025-04-08 21:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:13:16] Production.INFO: ==22991== Releasing lock...
[2025-04-08 21:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:13:18] Production.INFO: count ==1282
[2025-04-08 21:13:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:13:05 - End Time 2025-04-08 21:13:05
[2025-04-08 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864873', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864873', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864873', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864873', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:13:18] Production.INFO: ProcessCDR(1,14864873,1,1,2)
[2025-04-08 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864873', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864873', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:13:22] Production.INFO: ==22999== Releasing lock...
[2025-04-08 21:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:13:22] Production.INFO: 37.5 MB #Memory Used#
[2025-04-09 02:14:01] Production.INFO: ==23055== Lock acquired, processing the job...
[2025-04-09 02:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:14:01] Production.INFO: neon service started
[2025-04-09 02:14:01] Production.INFO: neon service started
[2025-04-09 02:14:01] Production.INFO: ==23055== Releasing lock...
[2025-04-09 02:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:14:02] Production.INFO: ==23057== Lock acquired, processing the job...
[2025-04-08 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:14:02] Production.INFO: ==23059== Lock acquired, processing the job...
[2025-04-08 21:14:02] Production.INFO: ==23057== Releasing lock...
[2025-04-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:14:02] Production.INFO: ==23059== Releasing lock...
[2025-04-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:14:03] Production.INFO: ==23061== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:14:03] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:14:03] Production.INFO: ==23068== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:14:03] Production.INFO: Account Balance Start.
[2025-04-08 21:14:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:14:03] Production.INFO: 117
[2025-04-08 21:14:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:14:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:14:03] Production.INFO: ==23066== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:14:03] Production.INFO: Total Charge 0
[2025-04-08 21:14:03] Production.INFO: CreateAllLog End
[2025-04-08 21:14:03] Production.INFO: ==23070== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:14:03] Production.INFO: ==23064== Releasing lock...
[2025-04-08 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:14:03] Production.INFO: Account Balance End.
[2025-04-08 21:14:03] Production.INFO: ==23072== Lock acquired, processing the job...
[2025-04-08 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:14:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:14:03] Production.INFO: ==23068== Releasing lock...
[2025-04-08 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 21:14:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:14:03] Production.INFO: count ==23
[2025-04-08 21:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864877') start
[2025-04-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864877') end
[2025-04-08 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:14:04] Production.INFO: 1
[2025-04-08 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:14:04] Production.INFO: ==23072== Releasing lock...
[2025-04-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:14:04] Production.ERROR: done
[2025-04-08 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:14:04] Production.ERROR: done
[2025-04-08 21:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:14:05
[end_date_ymd] => 2025-04-08 21:14:05
[RateCDR] => 1
)
[2025-04-08 21:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:14:05' and `end` < '2025-04-08 21:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:14:12] Production.ERROR: CronJobId end10
[2025-04-08 21:14:12] Production.INFO: ==23066== Releasing lock...
[2025-04-08 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:14:14] Production.INFO: call_cost start
[2025-04-08 21:14:14] Production.INFO: call_cost end
[2025-04-08 21:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:14:15] Production.INFO: ==23061== Releasing lock...
[2025-04-08 21:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:14:18] Production.INFO: count ==1277
[2025-04-08 21:14:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:14:05 - End Time 2025-04-08 21:14:05
[2025-04-08 21:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864878', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864878', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864878', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864878', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:14:18] Production.INFO: ProcessCDR(1,14864878,1,1,2)
[2025-04-08 21:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864878', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864878', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:14:22] Production.INFO: ==23070== Releasing lock...
[2025-04-08 21:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:14:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 02:15:02] Production.INFO: ==23169== Lock acquired, processing the job...
[2025-04-09 02:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:15:02] Production.INFO: neon service started
[2025-04-09 02:15:02] Production.INFO: neon service started
[2025-04-09 02:15:02] Production.INFO: ==23169== Releasing lock...
[2025-04-09 02:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:15:02] Production.INFO: ==23173== Lock acquired, processing the job...
[2025-04-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:15:02] Production.INFO: ==23173== Releasing lock...
[2025-04-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:15:02] Production.INFO: ==23171== Lock acquired, processing the job...
[2025-04-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:15:02] Production.INFO: ==23171== Releasing lock...
[2025-04-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:15:03] Production.INFO: ==23177== Lock acquired, processing the job...
[2025-04-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:15:03] Production.INFO: ==23181== Lock acquired, processing the job...
[2025-04-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:15:04] Production.INFO: Account Balance Start.
[2025-04-08 21:15:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:15:04] Production.INFO: 117
[2025-04-08 21:15:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:15:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:15:04] Production.INFO: Total Charge 0
[2025-04-08 21:15:04] Production.INFO: ==23175== Lock acquired, processing the job...
[2025-04-08 21:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:15:04] Production.INFO: CreateAllLog End
[2025-04-08 21:15:04] Production.INFO: ==23179== Lock acquired, processing the job...
[2025-04-08 21:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:15:04] Production.INFO: ==23183== Lock acquired, processing the job...
[2025-04-08 21:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:15:04] Production.INFO: ==23185== Lock acquired, processing the job...
[2025-04-08 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:15:04] Production.INFO: ==23177== Releasing lock...
[2025-04-08 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 21:15:04] Production.INFO: Account Balance End.
[2025-04-08 21:15:04] Production.INFO: count ==12
[2025-04-08 21:15:04] Production.ERROR: CronJobId end 12
[2025-04-08 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-04-08 21:15:04] Production.INFO: ==23181== Releasing lock...
[2025-04-08 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:15:04] Production.INFO: count ==23
[2025-04-08 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864882') start
[2025-04-08 21:15:04] Production.ERROR: done
[2025-04-08 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864882') end
[2025-04-08 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:15:04] Production.INFO: 1
[2025-04-08 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:15:04] Production.INFO: ==23185== Releasing lock...
[2025-04-08 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:15:04] Production.ERROR: done
[2025-04-08 21:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:15:05
[end_date_ymd] => 2025-04-08 21:15:05
[RateCDR] => 1
)
[2025-04-08 21:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:15:05' and `end` < '2025-04-08 21:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:15:13] Production.ERROR: CronJobId end10
[2025-04-08 21:15:13] Production.INFO: ==23179== Releasing lock...
[2025-04-08 21:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:15:15] Production.INFO: call_cost start
[2025-04-08 21:15:15] Production.INFO: call_cost end
[2025-04-08 21:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:15:16] Production.INFO: ==23175== Releasing lock...
[2025-04-08 21:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:15:18] Production.INFO: count ==1273
[2025-04-08 21:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:15:05 - End Time 2025-04-08 21:15:05
[2025-04-08 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864883', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864883', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864883', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864883', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:15:19] Production.INFO: ProcessCDR(1,14864883,1,1,2)
[2025-04-08 21:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864883', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864883', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:15:22] Production.INFO: ==23183== Releasing lock...
[2025-04-08 21:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:15:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 02:16:01] Production.INFO: ==23242== Lock acquired, processing the job...
[2025-04-09 02:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:16:01] Production.INFO: neon service started
[2025-04-09 02:16:01] Production.INFO: neon service started
[2025-04-09 02:16:01] Production.INFO: ==23242== Releasing lock...
[2025-04-09 02:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:16:01] Production.INFO: ==23246== Lock acquired, processing the job...
[2025-04-09 01:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:16:01] Production.INFO: ==23246== Releasing lock...
[2025-04-09 01:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:16:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:16:02] Production.INFO: ==23244== Lock acquired, processing the job...
[2025-04-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:16:02] Production.INFO: ==23244== Releasing lock...
[2025-04-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:16:03] Production.INFO: ==23249== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:16:03] Production.INFO: ==23251== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:16:03] Production.INFO: ==23255== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:16:03] Production.INFO: Account Balance Start.
[2025-04-08 21:16:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:16:03] Production.INFO: 117
[2025-04-08 21:16:03] Production.INFO: ==23253== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:16:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:16:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:16:03] Production.INFO: ==23257== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:16:03] Production.INFO: Total Charge 0
[2025-04-08 21:16:03] Production.INFO: CreateAllLog End
[2025-04-08 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:16:03] Production.INFO: ==23259== Lock acquired, processing the job...
[2025-04-08 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:16:03] Production.INFO: ==23251== Releasing lock...
[2025-04-08 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:16:04] Production.INFO: Account Balance End.
[2025-04-08 21:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:16:04] Production.INFO: count ==12
[2025-04-08 21:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:16:04] Production.INFO: count ==23
[2025-04-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864887') start
[2025-04-08 21:16:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:16:04] Production.INFO: ==23255== Releasing lock...
[2025-04-08 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:16:04] Production.ERROR: done
[2025-04-08 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864887') end
[2025-04-08 21:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:16:04] Production.INFO: 1
[2025-04-08 21:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:16:04] Production.INFO: ==23259== Releasing lock...
[2025-04-08 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:16:04] Production.ERROR: done
[2025-04-08 21:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:16:05
[end_date_ymd] => 2025-04-08 21:16:05
[RateCDR] => 1
)
[2025-04-08 21:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:16:05' and `end` < '2025-04-08 21:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:16:13] Production.ERROR: CronJobId end10
[2025-04-08 21:16:13] Production.INFO: ==23253== Releasing lock...
[2025-04-08 21:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:16:15] Production.INFO: call_cost start
[2025-04-08 21:16:15] Production.INFO: call_cost end
[2025-04-08 21:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:16:16] Production.INFO: ==23249== Releasing lock...
[2025-04-08 21:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:16:18] Production.INFO: count ==1278
[2025-04-08 21:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:16:05 - End Time 2025-04-08 21:16:05
[2025-04-08 21:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864888', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864888', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864888', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864888', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:16:18] Production.INFO: ProcessCDR(1,14864888,1,1,2)
[2025-04-08 21:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864888', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864888', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:16:23] Production.INFO: ==23257== Releasing lock...
[2025-04-08 21:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:16:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-09 02:17:01] Production.INFO: ==23315== Lock acquired, processing the job...
[2025-04-09 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:17:02] Production.INFO: neon service started
[2025-04-09 02:17:02] Production.INFO: neon service started
[2025-04-09 02:17:02] Production.INFO: ==23315== Releasing lock...
[2025-04-09 02:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:17:02] Production.INFO: ==23317== Lock acquired, processing the job...
[2025-04-08 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:17:02] Production.INFO: ==23317== Releasing lock...
[2025-04-08 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:17:02] Production.INFO: ==23319== Lock acquired, processing the job...
[2025-04-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:17:02] Production.INFO: ==23319== Releasing lock...
[2025-04-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:17:03] Production.INFO: ==23324== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:17:03] Production.INFO: ==23332== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:17:03] Production.INFO: ==23322== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:17:03] Production.INFO: count ==12
[2025-04-08 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:17:03] Production.INFO: count ==23
[2025-04-08 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864890') start
[2025-04-08 21:17:03] Production.INFO: ==23324== Releasing lock...
[2025-04-08 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864890') end
[2025-04-08 21:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:17:03] Production.INFO: 1
[2025-04-08 21:17:03] Production.INFO: ==23326== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:17:03] Production.INFO: ==23330== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:17:03] Production.INFO: ==23328== Lock acquired, processing the job...
[2025-04-08 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:17:03] Production.INFO: ==23332== Releasing lock...
[2025-04-08 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:17:04] Production.INFO: Account Balance Start.
[2025-04-08 21:17:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:17:04] Production.INFO: 117
[2025-04-08 21:17:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:17:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:17:04] Production.INFO: Total Charge 0
[2025-04-08 21:17:04] Production.INFO: CreateAllLog End
[2025-04-08 21:17:04] Production.ERROR: done
[2025-04-08 21:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:17:04] Production.ERROR: done
[2025-04-08 21:17:04] Production.INFO: Account Balance End.
[2025-04-08 21:17:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:17:04] Production.INFO: ==23328== Releasing lock...
[2025-04-08 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:17:05
[end_date_ymd] => 2025-04-08 21:17:05
[RateCDR] => 1
)
[2025-04-08 21:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:17:05' and `end` < '2025-04-08 21:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:17:12] Production.ERROR: CronJobId end10
[2025-04-08 21:17:12] Production.INFO: ==23326== Releasing lock...
[2025-04-08 21:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:17:14] Production.INFO: call_cost start
[2025-04-08 21:17:14] Production.INFO: call_cost end
[2025-04-08 21:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:17:15] Production.INFO: ==23322== Releasing lock...
[2025-04-08 21:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:17:18] Production.INFO: count ==1272
[2025-04-08 21:17:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:17:05 - End Time 2025-04-08 21:17:05
[2025-04-08 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864893', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864893', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864893', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864893', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:17:18] Production.INFO: ProcessCDR(1,14864893,1,1,2)
[2025-04-08 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864893', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864893', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:17:22] Production.INFO: ==23330== Releasing lock...
[2025-04-08 21:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:17:22] Production.INFO: 37.5 MB #Memory Used#
[2025-04-09 02:18:01] Production.INFO: ==23398== Lock acquired, processing the job...
[2025-04-09 02:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:18:01] Production.INFO: neon service started
[2025-04-09 02:18:01] Production.INFO: neon service started
[2025-04-09 02:18:01] Production.INFO: ==23398== Releasing lock...
[2025-04-09 02:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:18:01] Production.INFO: ==23400== Lock acquired, processing the job...
[2025-04-08 21:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:18:02] Production.INFO: ==23402== Lock acquired, processing the job...
[2025-04-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:18:02] Production.INFO: ==23400== Releasing lock...
[2025-04-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:18:02] Production.INFO: ==23402== Releasing lock...
[2025-04-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:18:02] Production.INFO: ==23404== Lock acquired, processing the job...
[2025-04-08 21:18:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:18:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:18:02] Production.INFO: ==23406== Lock acquired, processing the job...
[2025-04-08 21:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:18:03] Production.INFO: ==23406== Releasing lock...
[2025-04-08 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:18:03] Production.INFO: ==23414== Lock acquired, processing the job...
[2025-04-08 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:18:03] Production.INFO: ==23408== Lock acquired, processing the job...
[2025-04-08 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:18:03] Production.INFO: ==23410== Lock acquired, processing the job...
[2025-04-08 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:18:03] Production.INFO: ==23412== Lock acquired, processing the job...
[2025-04-08 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:18:03] Production.INFO: count ==12
[2025-04-08 21:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:18:03] Production.INFO: count ==23
[2025-04-08 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864896') start
[2025-04-08 21:18:03] Production.INFO: Account Balance Start.
[2025-04-08 21:18:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:18:03] Production.INFO: 117
[2025-04-08 21:18:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:18:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:18:03] Production.INFO: Total Charge 0
[2025-04-08 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864896') end
[2025-04-08 21:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:18:03] Production.INFO: 1
[2025-04-08 21:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:18:03] Production.INFO: CreateAllLog End
[2025-04-08 21:18:04] Production.INFO: ==23414== Releasing lock...
[2025-04-08 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:18:04] Production.ERROR: done
[2025-04-08 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:18:04] Production.ERROR: done
[2025-04-08 21:18:04] Production.INFO: Account Balance End.
[2025-04-08 21:18:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:18:04] Production.INFO: ==23410== Releasing lock...
[2025-04-08 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:18:05
[end_date_ymd] => 2025-04-08 21:18:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:18:05' and `end` < '2025-04-08 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-04-08 21:18:13] Production.ERROR: CronJobId end10
[2025-04-08 21:18:13] Production.INFO: ==23408== Releasing lock...
[2025-04-08 21:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:18:14] Production.INFO: call_cost start
[2025-04-08 21:18:14] Production.INFO: call_cost end
[2025-04-08 21:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:18:15] Production.INFO: ==23404== Releasing lock...
[2025-04-08 21:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:18:18] Production.INFO: count ==1264
[2025-04-08 21:18:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:18:05 - End Time 2025-04-08 21:18:05
[2025-04-08 21:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864898', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864898', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864898', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864898', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:18:18] Production.INFO: ProcessCDR(1,14864898,1,1,2)
[2025-04-08 21:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864898', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864898', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:18:23] Production.INFO: ==23412== Releasing lock...
[2025-04-08 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:18:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 02:19:01] Production.INFO: ==23470== Lock acquired, processing the job...
[2025-04-09 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:19:01] Production.INFO: neon service started
[2025-04-09 02:19:01] Production.INFO: neon service started
[2025-04-09 02:19:01] Production.INFO: ==23470== Releasing lock...
[2025-04-09 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:19:02] Production.INFO: ==23472== Lock acquired, processing the job...
[2025-04-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:19:02] Production.INFO: ==23472== Releasing lock...
[2025-04-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:19:02] Production.INFO: ==23474== Lock acquired, processing the job...
[2025-04-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:19:02] Production.INFO: ==23474== Releasing lock...
[2025-04-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:19:03] Production.INFO: ==23482== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:19:03] Production.INFO: ==23484== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:19:03] Production.INFO: ==23476== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:19:03] Production.INFO: Account Balance Start.
[2025-04-08 21:19:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:19:03] Production.INFO: 117
[2025-04-08 21:19:03] Production.INFO: ==23478== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:19:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:19:03] Production.INFO: ==23480== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:19:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:19:03] Production.INFO: ==23486== Lock acquired, processing the job...
[2025-04-08 21:19:03] Production.INFO: Total Charge 0
[2025-04-08 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:19:03] Production.INFO: CreateAllLog End
[2025-04-08 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:19:03] Production.INFO: count ==12
[2025-04-08 21:19:03] Production.ERROR: done
[2025-04-08 21:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:19:03] Production.INFO: count ==23
[2025-04-08 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864902') start
[2025-04-08 21:19:04] Production.INFO: ==23478== Releasing lock...
[2025-04-08 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:19:04] Production.ERROR: done
[2025-04-08 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864902') end
[2025-04-08 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:19:04] Production.INFO: 1
[2025-04-08 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:19:04] Production.INFO: ==23486== Releasing lock...
[2025-04-08 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:19:04] Production.INFO: Account Balance End.
[2025-04-08 21:19:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:19:04] Production.INFO: ==23482== Releasing lock...
[2025-04-08 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:19:05
[end_date_ymd] => 2025-04-08 21:19:05
[RateCDR] => 1
)
[2025-04-08 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:19:05' and `end` < '2025-04-08 21:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:19:13] Production.ERROR: CronJobId end10
[2025-04-08 21:19:13] Production.INFO: ==23480== Releasing lock...
[2025-04-08 21:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:19:15] Production.INFO: call_cost start
[2025-04-08 21:19:15] Production.INFO: call_cost end
[2025-04-08 21:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:19:16] Production.INFO: ==23476== Releasing lock...
[2025-04-08 21:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:19:18] Production.INFO: count ==1261
[2025-04-08 21:19:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:19:05 - End Time 2025-04-08 21:19:05
[2025-04-08 21:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864903', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864903', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864903', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864903', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:19:18] Production.INFO: ProcessCDR(1,14864903,1,1,2)
[2025-04-08 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864903', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864903', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:19:21] Production.INFO: ==23484== Releasing lock...
[2025-04-08 21:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:19:21] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 02:20:02] Production.INFO: ==23544== Lock acquired, processing the job...
[2025-04-09 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:20:02] Production.INFO: neon service started
[2025-04-09 02:20:02] Production.INFO: neon service started
[2025-04-09 02:20:02] Production.INFO: ==23544== Releasing lock...
[2025-04-09 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:20:02] Production.INFO: ==23547== Lock acquired, processing the job...
[2025-04-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:20:03] Production.INFO: ==23547== Releasing lock...
[2025-04-08 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:20:03] Production.INFO: ==23549== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:20:03] Production.INFO: ==23549== Releasing lock...
[2025-04-09 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:20:04] Production.INFO: ==23551== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:20:04] Production.INFO: ==23553== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:20:04] Production.INFO: ==23559== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:20:04] Production.INFO: ==23555== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:20:04] Production.INFO: ==23551== Releasing lock...
[2025-04-08 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:20:04] Production.INFO: ==23557== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:20:04] Production.INFO: ==23563== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:20:04] Production.INFO: ==23561== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:20:04] Production.INFO: Account Balance Start.
[2025-04-08 21:20:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:20:04] Production.INFO: 117
[2025-04-08 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:20:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:20:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:20:04] Production.INFO: ==23565== Lock acquired, processing the job...
[2025-04-08 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:20:04] Production.INFO: Total Charge 0
[2025-04-08 21:20:04] Production.INFO: CreateAllLog End
[2025-04-08 21:20:04] Production.INFO: ==23555== Releasing lock...
[2025-04-08 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:20:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:20:04] Production.INFO: count ==23
[2025-04-08 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864907') start
[2025-04-08 21:20:04] Production.ERROR: done
[2025-04-08 21:20:05] Production.INFO: Account Balance End.
[2025-04-08 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864907') end
[2025-04-08 21:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:20:05] Production.INFO: 1
[2025-04-08 21:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864908', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:20:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:20:05] Production.INFO: ==23559== Releasing lock...
[2025-04-08 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:20:05] Production.INFO: ==23565== Releasing lock...
[2025-04-08 21:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:20:05] Production.ERROR: done
[2025-04-08 21:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:20:05] Production.ERROR: done
[2025-04-08 21:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:20:07
[end_date_ymd] => 2025-04-08 21:20:07
[RateCDR] => 1
)
[2025-04-08 21:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:20:07' and `end` < '2025-04-08 21:20:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864908', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:20:09] Production.INFO: ProcessCDR(1,14864908,1,1,2)
[2025-04-08 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:20:09] Production.INFO: ==23563== Releasing lock...
[2025-04-08 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:20:14] Production.ERROR: CronJobId end10
[2025-04-08 21:20:14] Production.INFO: ==23557== Releasing lock...
[2025-04-08 21:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:20:16] Production.INFO: call_cost start
[2025-04-08 21:20:16] Production.INFO: call_cost end
[2025-04-08 21:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:20:17] Production.INFO: ==23553== Releasing lock...
[2025-04-08 21:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:20:20] Production.INFO: count ==1260
[2025-04-08 21:20:20] Production.ERROR: pbx CDR StartTime 2025-04-08 18:20:07 - End Time 2025-04-08 21:20:07
[2025-04-08 21:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864909', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864909', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864909', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864909', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:20:20] Production.INFO: ProcessCDR(1,14864909,1,1,2)
[2025-04-08 21:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864909', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864909', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:20:23] Production.INFO: ==23561== Releasing lock...
[2025-04-08 21:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:20:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 02:21:01] Production.INFO: ==23627== Lock acquired, processing the job...
[2025-04-09 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:21:01] Production.INFO: neon service started
[2025-04-09 02:21:01] Production.INFO: neon service started
[2025-04-09 02:21:01] Production.INFO: ==23627== Releasing lock...
[2025-04-09 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:21:02] Production.INFO: ==23629== Lock acquired, processing the job...
[2025-04-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:21:02] Production.INFO: ==23629== Releasing lock...
[2025-04-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:21:02] Production.INFO: ==23631== Lock acquired, processing the job...
[2025-04-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:21:02] Production.INFO: ==23631== Releasing lock...
[2025-04-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:21:03] Production.INFO: ==23635== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:21:03] Production.INFO: ==23637== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:21:03] Production.INFO: ==23641== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:21:03] Production.INFO: ==23635== Releasing lock...
[2025-04-08 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:21:03] Production.INFO: ==23639== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:21:03] Production.INFO: ==23633== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:21:03] Production.INFO: ==23643== Lock acquired, processing the job...
[2025-04-08 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:21:03] Production.INFO: Account Balance Start.
[2025-04-08 21:21:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:21:03] Production.INFO: 117
[2025-04-08 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:21:03] Production.INFO: count ==12
[2025-04-08 21:21:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:21:03] Production.INFO: count ==23
[2025-04-08 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864913') start
[2025-04-08 21:21:03] Production.ERROR: done
[2025-04-08 21:21:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:21:03] Production.INFO: Total Charge 0
[2025-04-08 21:21:04] Production.INFO: CreateAllLog End
[2025-04-08 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864913') end
[2025-04-08 21:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:21:04] Production.INFO: 1
[2025-04-08 21:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:21:04] Production.ERROR: done
[2025-04-08 21:21:04] Production.INFO: ==23643== Releasing lock...
[2025-04-08 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:21:04] Production.INFO: Account Balance End.
[2025-04-08 21:21:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:21:04] Production.INFO: ==23639== Releasing lock...
[2025-04-08 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:21:05
[end_date_ymd] => 2025-04-08 21:21:05
[RateCDR] => 1
)
[2025-04-08 21:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:21:05' and `end` < '2025-04-08 21:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:21:12] Production.ERROR: CronJobId end10
[2025-04-08 21:21:12] Production.INFO: ==23637== Releasing lock...
[2025-04-08 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:21:15] Production.INFO: call_cost start
[2025-04-08 21:21:15] Production.INFO: call_cost end
[2025-04-08 21:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:21:16] Production.INFO: ==23633== Releasing lock...
[2025-04-08 21:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:21:18] Production.INFO: count ==1196
[2025-04-08 21:21:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:21:05 - End Time 2025-04-08 21:21:05
[2025-04-08 21:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864914', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864914', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864914', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864914', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:21:18] Production.INFO: ProcessCDR(1,14864914,1,1,2)
[2025-04-08 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864914', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864914', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:21:23] Production.INFO: ==23641== Releasing lock...
[2025-04-08 21:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:21:23] Production.INFO: 37 MB #Memory Used#
[2025-04-09 02:22:02] Production.INFO: ==23702== Lock acquired, processing the job...
[2025-04-09 02:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:22:02] Production.INFO: neon service started
[2025-04-09 02:22:02] Production.INFO: neon service started
[2025-04-09 02:22:02] Production.INFO: ==23702== Releasing lock...
[2025-04-09 02:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:22:02] Production.INFO: ==23706== Lock acquired, processing the job...
[2025-04-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:22:02] Production.INFO: ==23706== Releasing lock...
[2025-04-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:22:02] Production.INFO: ==23704== Lock acquired, processing the job...
[2025-04-08 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:22:03] Production.INFO: ==23704== Releasing lock...
[2025-04-08 21:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:22:03] Production.INFO: ==23710== Lock acquired, processing the job...
[2025-04-08 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:22:04] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-04-08 21:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:22:04] Production.INFO: ==23708== Lock acquired, processing the job...
[2025-04-08 21:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:22:04] Production.INFO: ==23712== Lock acquired, processing the job...
[2025-04-08 21:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:22:04] Production.INFO: ==23715== Lock acquired, processing the job...
[2025-04-08 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:22:04] Production.INFO: ==23710== Releasing lock...
[2025-04-08 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:22:04] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-04-08 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:22:04] Production.INFO: Account Balance Start.
[2025-04-08 21:22:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:22:04] Production.INFO: 117
[2025-04-08 21:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:22:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:22:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:22:04] Production.INFO: Total Charge 0
[2025-04-08 21:22:04] Production.INFO: CreateAllLog End
[2025-04-08 21:22:04] Production.INFO: count ==12
[2025-04-08 21:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:22:04] Production.INFO: count ==23
[2025-04-08 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864918') start
[2025-04-08 21:22:04] Production.ERROR: done
[2025-04-08 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864918') end
[2025-04-08 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:22:04] Production.INFO: 1
[2025-04-08 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:22:04] Production.INFO: ==23719== Releasing lock...
[2025-04-08 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:22:04] Production.ERROR: done
[2025-04-08 21:22:04] Production.INFO: Account Balance End.
[2025-04-08 21:22:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:22:04] Production.INFO: ==23715== Releasing lock...
[2025-04-08 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:22:05
[end_date_ymd] => 2025-04-08 21:22:05
[RateCDR] => 1
)
[2025-04-08 21:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:22:05' and `end` < '2025-04-08 21:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:22:14] Production.ERROR: CronJobId end10
[2025-04-08 21:22:14] Production.INFO: ==23712== Releasing lock...
[2025-04-08 21:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:22:15] Production.INFO: call_cost start
[2025-04-08 21:22:15] Production.INFO: call_cost end
[2025-04-08 21:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:22:16] Production.INFO: ==23708== Releasing lock...
[2025-04-08 21:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:22:18] Production.INFO: count ==1187
[2025-04-08 21:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:22:05 - End Time 2025-04-08 21:22:05
[2025-04-08 21:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864919', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864919', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864919', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864919', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:22:18] Production.INFO: ProcessCDR(1,14864919,1,1,2)
[2025-04-08 21:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864919', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864919', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:22:21] Production.INFO: ==23717== Releasing lock...
[2025-04-08 21:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:22:21] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 02:23:01] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-04-09 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:23:01] Production.INFO: neon service started
[2025-04-09 02:23:01] Production.INFO: neon service started
[2025-04-09 02:23:01] Production.INFO: ==23777== Releasing lock...
[2025-04-09 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:23:02] Production.INFO: ==23779== Lock acquired, processing the job...
[2025-04-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:23:02] Production.INFO: ==23779== Releasing lock...
[2025-04-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:23:02] Production.INFO: ==23781== Lock acquired, processing the job...
[2025-04-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:23:02] Production.INFO: ==23781== Releasing lock...
[2025-04-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:23:03] Production.INFO: ==23783== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:23:03] Production.INFO: ==23785== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:23:03] Production.INFO: ==23787== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:23:03] Production.INFO: ==23792== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:23:03] Production.INFO: ==23789== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:23:03] Production.INFO: Account Balance Start.
[2025-04-08 21:23:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:23:03] Production.INFO: 117
[2025-04-08 21:23:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:23:03] Production.INFO: ==23794== Lock acquired, processing the job...
[2025-04-08 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:23:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:23:03] Production.INFO: Total Charge 0
[2025-04-08 21:23:03] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 21:23:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:23:03] Production.INFO: count ==23
[2025-04-08 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864923') start
[2025-04-08 21:23:03] Production.INFO: ==23785== Releasing lock...
[2025-04-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:23:03] Production.INFO: Account Balance End.
[2025-04-08 21:23:03] Production.ERROR: done
[2025-04-08 21:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:23:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:23:03] Production.INFO: ==23789== Releasing lock...
[2025-04-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864923') end
[2025-04-08 21:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:23:03] Production.INFO: 1
[2025-04-08 21:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:23:03] Production.INFO: ==23794== Releasing lock...
[2025-04-08 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:23:03] Production.ERROR: done
[2025-04-08 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:23:05
[end_date_ymd] => 2025-04-08 21:23:05
[RateCDR] => 1
)
[2025-04-08 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:23:05' and `end` < '2025-04-08 21:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:23:12] Production.ERROR: CronJobId end10
[2025-04-08 21:23:12] Production.INFO: ==23787== Releasing lock...
[2025-04-08 21:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:23:14] Production.INFO: call_cost start
[2025-04-08 21:23:14] Production.INFO: call_cost end
[2025-04-08 21:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:23:15] Production.INFO: ==23783== Releasing lock...
[2025-04-08 21:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:23:18] Production.INFO: count ==1188
[2025-04-08 21:23:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:23:05 - End Time 2025-04-08 21:23:05
[2025-04-08 21:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864924', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864924', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864924', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864924', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:23:18] Production.INFO: ProcessCDR(1,14864924,1,1,2)
[2025-04-08 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864924', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864924', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:23:23] Production.INFO: ==23792== Releasing lock...
[2025-04-08 21:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:23:23] Production.INFO: 37 MB #Memory Used#
[2025-04-09 02:24:02] Production.INFO: ==23851== Lock acquired, processing the job...
[2025-04-09 02:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:24:02] Production.INFO: neon service started
[2025-04-09 02:24:02] Production.INFO: neon service started
[2025-04-09 02:24:02] Production.INFO: ==23851== Releasing lock...
[2025-04-09 02:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:24:03] Production.INFO: ==23853== Lock acquired, processing the job...
[2025-04-08 21:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:24:03] Production.INFO: ==23855== Lock acquired, processing the job...
[2025-04-09 01:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:24:03] Production.INFO: ==23855== Releasing lock...
[2025-04-09 01:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:24:03] Production.INFO: ==23853== Releasing lock...
[2025-04-08 21:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:24:04] Production.INFO: ==23858== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:24:04] Production.INFO: ==23866== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:24:04] Production.INFO: ==23860== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:24:04] Production.INFO: ==23862== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:24:04] Production.INFO: ==23864== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:24:04] Production.INFO: ==23868== Lock acquired, processing the job...
[2025-04-08 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:24:04] Production.INFO: Account Balance Start.
[2025-04-08 21:24:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:24:04] Production.INFO: 117
[2025-04-08 21:24:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:24:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:24:04] Production.INFO: count ==12
[2025-04-08 21:24:04] Production.INFO: Total Charge 0
[2025-04-08 21:24:04] Production.INFO: CreateAllLog End
[2025-04-08 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:24:05] Production.INFO: count ==23
[2025-04-08 21:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864928') start
[2025-04-08 21:24:05] Production.INFO: ==23860== Releasing lock...
[2025-04-08 21:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:24:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:24:05] Production.ERROR: done
[2025-04-08 21:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:24:05] Production.INFO: Account Balance End.
[2025-04-08 21:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14864928') end
[2025-04-08 21:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:24:05] Production.INFO: 1
[2025-04-08 21:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:24:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:24:05] Production.INFO: ==23864== Releasing lock...
[2025-04-08 21:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:24:05] Production.INFO: ==23868== Releasing lock...
[2025-04-08 21:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:24:05] Production.ERROR: done
[2025-04-08 21:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:24:06
[end_date_ymd] => 2025-04-08 21:24:06
[RateCDR] => 1
)
[2025-04-08 21:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:24:06' and `end` < '2025-04-08 21:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:24:14] Production.ERROR: CronJobId end10
[2025-04-08 21:24:14] Production.INFO: ==23862== Releasing lock...
[2025-04-08 21:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:24:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:24:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:24:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:24:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:24:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:24:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:24:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:24:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:24:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:24:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:24:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:24:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:24:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:24:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:24:16] Production.INFO: call_cost start
[2025-04-08 21:24:16] Production.INFO: call_cost end
[2025-04-08 21:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:24:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:24:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:24:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:24:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:24:17] Production.INFO: ==23858== Releasing lock...
[2025-04-08 21:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:24:19] Production.INFO: count ==1186
[2025-04-08 21:24:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:24:06 - End Time 2025-04-08 21:24:06
[2025-04-08 21:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864929', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864929', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864929', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864929', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:24:19] Production.INFO: ProcessCDR(1,14864929,1,1,2)
[2025-04-08 21:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864929', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864929', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:24:23] Production.INFO: ==23866== Releasing lock...
[2025-04-08 21:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:24:23] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 02:25:01] Production.INFO: ==23923== Lock acquired, processing the job...
[2025-04-09 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:25:01] Production.INFO: neon service started
[2025-04-09 02:25:01] Production.INFO: neon service started
[2025-04-09 02:25:01] Production.INFO: ==23923== Releasing lock...
[2025-04-09 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:25:02] Production.INFO: ==23927== Lock acquired, processing the job...
[2025-04-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:25:02] Production.INFO: ==23927== Releasing lock...
[2025-04-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:25:02] Production.INFO: ==23925== Lock acquired, processing the job...
[2025-04-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:25:02] Production.INFO: ==23925== Releasing lock...
[2025-04-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:25:03] Production.INFO: ==23934== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:25:03] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:25:03] Production.INFO: ==23930== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:25:03] Production.INFO: ==23932== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:25:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:25:03] Production.INFO: count ==23
[2025-04-08 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864930') start
[2025-04-08 21:25:03] Production.INFO: ==23936== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:25:03] Production.INFO: ==23938== Lock acquired, processing the job...
[2025-04-08 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864930') end
[2025-04-08 21:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:25:03] Production.INFO: 1
[2025-04-08 21:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:25:04] Production.INFO: Account Balance Start.
[2025-04-08 21:25:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:25:04] Production.INFO: 117
[2025-04-08 21:25:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:25:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:25:04] Production.INFO: Total Charge 0
[2025-04-08 21:25:04] Production.INFO: CreateAllLog End
[2025-04-08 21:25:04] Production.INFO: ==23940== Releasing lock...
[2025-04-08 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:25:04] Production.INFO: ==23932== Releasing lock...
[2025-04-08 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:25:04] Production.ERROR: done
[2025-04-08 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:25:04] Production.INFO: Account Balance End.
[2025-04-08 21:25:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:25:04] Production.INFO: ==23936== Releasing lock...
[2025-04-08 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:25:04] Production.ERROR: done
[2025-04-08 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:25:05
[end_date_ymd] => 2025-04-08 21:25:05
[RateCDR] => 1
)
[2025-04-08 21:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:25:05' and `end` < '2025-04-08 21:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:25:12] Production.ERROR: CronJobId end10
[2025-04-08 21:25:12] Production.INFO: ==23934== Releasing lock...
[2025-04-08 21:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:25:14] Production.INFO: call_cost start
[2025-04-08 21:25:14] Production.INFO: call_cost end
[2025-04-08 21:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:25:15] Production.INFO: ==23930== Releasing lock...
[2025-04-08 21:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:25:18] Production.INFO: count ==1178
[2025-04-08 21:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:25:05 - End Time 2025-04-08 21:25:05
[2025-04-08 21:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864934', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864934', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864934', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864934', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:25:18] Production.INFO: ProcessCDR(1,14864934,1,1,2)
[2025-04-08 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864934', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864934', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:25:23] Production.INFO: ==23938== Releasing lock...
[2025-04-08 21:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:25:23] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 02:26:02] Production.INFO: ==23996== Lock acquired, processing the job...
[2025-04-09 02:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:26:02] Production.INFO: neon service started
[2025-04-09 02:26:02] Production.INFO: neon service started
[2025-04-09 02:26:02] Production.INFO: ==23996== Releasing lock...
[2025-04-09 02:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:26:02] Production.INFO: ==23998== Lock acquired, processing the job...
[2025-04-08 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:26:02] Production.INFO: ==24000== Lock acquired, processing the job...
[2025-04-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:26:03] Production.INFO: ==23998== Releasing lock...
[2025-04-08 21:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:26:03] Production.INFO: ==24000== Releasing lock...
[2025-04-09 01:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:26:03] Production.INFO: ==24012== Lock acquired, processing the job...
[2025-04-08 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:26:03] Production.INFO: ==24010== Lock acquired, processing the job...
[2025-04-08 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:26:04] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-04-08 21:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:26:04] Production.INFO: ==24004== Lock acquired, processing the job...
[2025-04-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:26:04] Production.INFO: ==24006== Lock acquired, processing the job...
[2025-04-08 21:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:26:04] Production.INFO: count ==12
[2025-04-08 21:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:26:04] Production.INFO: ==24008== Lock acquired, processing the job...
[2025-04-08 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:26:04] Production.INFO: count ==23
[2025-04-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864935') start
[2025-04-08 21:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864935') end
[2025-04-08 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:26:04] Production.INFO: 1
[2025-04-08 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:26:04] Production.INFO: Account Balance Start.
[2025-04-08 21:26:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:26:04] Production.INFO: 117
[2025-04-08 21:26:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:26:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:26:04] Production.ERROR: done
[2025-04-08 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:26:04] Production.INFO: ==24012== Releasing lock...
[2025-04-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:26:04] Production.INFO: Total Charge 0
[2025-04-08 21:26:04] Production.INFO: CreateAllLog End
[2025-04-08 21:26:04] Production.INFO: ==24004== Releasing lock...
[2025-04-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:26:04] Production.ERROR: done
[2025-04-08 21:26:05] Production.INFO: Account Balance End.
[2025-04-08 21:26:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:26:05] Production.INFO: ==24008== Releasing lock...
[2025-04-08 21:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:26:05
[end_date_ymd] => 2025-04-08 21:26:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:26:05' and `end` < '2025-04-08 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-04-08 21:26:12] Production.ERROR: CronJobId end10
[2025-04-08 21:26:12] Production.INFO: ==24006== Releasing lock...
[2025-04-08 21:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:26:15] Production.INFO: call_cost start
[2025-04-08 21:26:15] Production.INFO: call_cost end
[2025-04-08 21:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:26:16] Production.INFO: ==24002== Releasing lock...
[2025-04-08 21:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:26:18] Production.INFO: count ==1171
[2025-04-08 21:26:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:26:05 - End Time 2025-04-08 21:26:05
[2025-04-08 21:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864939', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864939', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864939', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864939', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:26:18] Production.INFO: ProcessCDR(1,14864939,1,1,2)
[2025-04-08 21:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864939', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864939', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:26:22] Production.INFO: ==24010== Releasing lock...
[2025-04-08 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:26:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-09 02:27:01] Production.INFO: ==24068== Lock acquired, processing the job...
[2025-04-09 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:27:01] Production.INFO: neon service started
[2025-04-09 02:27:01] Production.INFO: neon service started
[2025-04-09 02:27:01] Production.INFO: ==24068== Releasing lock...
[2025-04-09 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:27:02] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-04-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:27:02] Production.INFO: ==24070== Releasing lock...
[2025-04-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:27:02] Production.INFO: ==24072== Lock acquired, processing the job...
[2025-04-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:27:02] Production.INFO: ==24072== Releasing lock...
[2025-04-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:27:03] Production.INFO: ==24074== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:27:03] Production.INFO: ==24076== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:27:03] Production.INFO: ==24080== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:27:03] Production.INFO: Account Balance Start.
[2025-04-08 21:27:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:27:03] Production.INFO: 117
[2025-04-08 21:27:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:27:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:27:03] Production.INFO: Total Charge 0
[2025-04-08 21:27:03] Production.INFO: ==24078== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:27:03] Production.INFO: CreateAllLog End
[2025-04-08 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:27:03] Production.INFO: ==24082== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:27:03] Production.INFO: ==24076== Releasing lock...
[2025-04-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:27:03] Production.INFO: ==24085== Lock acquired, processing the job...
[2025-04-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:27:03] Production.INFO: Account Balance End.
[2025-04-08 21:27:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:27:04] Production.INFO: ==24080== Releasing lock...
[2025-04-08 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 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-04-08 21:27:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:27:04] Production.INFO: count ==23
[2025-04-08 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864943') start
[2025-04-08 21:27:04] Production.ERROR: done
[2025-04-08 21:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864943') end
[2025-04-08 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:27:04] Production.INFO: 1
[2025-04-08 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:27:04] Production.INFO: ==24085== Releasing lock...
[2025-04-08 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:27:04] Production.ERROR: done
[2025-04-08 21:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:27:05
[end_date_ymd] => 2025-04-08 21:27:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:27:05' and `end` < '2025-04-08 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-04-08 21:27:13] Production.ERROR: CronJobId end10
[2025-04-08 21:27:13] Production.INFO: ==24078== Releasing lock...
[2025-04-08 21:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:27:14] Production.INFO: call_cost start
[2025-04-08 21:27:14] Production.INFO: call_cost end
[2025-04-08 21:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:27:15] Production.INFO: ==24074== Releasing lock...
[2025-04-08 21:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:27:18] Production.INFO: count ==1169
[2025-04-08 21:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:27:05 - End Time 2025-04-08 21:27:05
[2025-04-08 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864944', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864944', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864944', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864944', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:27:18] Production.INFO: ProcessCDR(1,14864944,1,1,2)
[2025-04-08 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864944', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864944', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:27:23] Production.INFO: ==24082== Releasing lock...
[2025-04-08 21:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:27:23] Production.INFO: 36.5 MB #Memory Used#
[2025-04-09 02:28:02] Production.INFO: ==24139== Lock acquired, processing the job...
[2025-04-09 02:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:28:02] Production.INFO: neon service started
[2025-04-09 02:28:02] Production.INFO: neon service started
[2025-04-09 02:28:02] Production.INFO: ==24139== Releasing lock...
[2025-04-09 02:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:28:02] Production.INFO: ==24141== Lock acquired, processing the job...
[2025-04-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:28:02] Production.INFO: ==24143== Lock acquired, processing the job...
[2025-04-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:28:02] Production.INFO: ==24143== Releasing lock...
[2025-04-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:28:02] Production.INFO: ==24141== Releasing lock...
[2025-04-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:28:03] Production.INFO: ==24154== Lock acquired, processing the job...
[2025-04-08 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:28:03] Production.INFO: ==24156== Lock acquired, processing the job...
[2025-04-08 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:28:04] Production.INFO: ==24146== Lock acquired, processing the job...
[2025-04-08 21:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:28:04] Production.INFO: ==24148== Lock acquired, processing the job...
[2025-04-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:28:04] Production.INFO: ==24150== Lock acquired, processing the job...
[2025-04-08 21:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:28:04] Production.INFO: count ==12
[2025-04-08 21:28:04] Production.INFO: ==24152== Lock acquired, processing the job...
[2025-04-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:28:04] Production.INFO: count ==23
[2025-04-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864945') start
[2025-04-08 21:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:28:04] Production.INFO: Account Balance Start.
[2025-04-08 21:28:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:28:04] Production.INFO: 117
[2025-04-08 21:28:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:28:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864945') end
[2025-04-08 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:28:04] Production.INFO: 1
[2025-04-08 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:28:04] Production.INFO: Total Charge 0
[2025-04-08 21:28:04] Production.INFO: CreateAllLog End
[2025-04-08 21:28:04] Production.INFO: ==24156== Releasing lock...
[2025-04-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:28:04] Production.ERROR: done
[2025-04-08 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:28:04] Production.INFO: ==24148== Releasing lock...
[2025-04-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:28:04] Production.ERROR: done
[2025-04-08 21:28:04] Production.INFO: Account Balance End.
[2025-04-08 21:28:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:28:04] Production.INFO: ==24152== Releasing lock...
[2025-04-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:28:05
[end_date_ymd] => 2025-04-08 21:28:05
[RateCDR] => 1
)
[2025-04-08 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:28:05' and `end` < '2025-04-08 21:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:28:12] Production.ERROR: CronJobId end10
[2025-04-08 21:28:12] Production.INFO: ==24150== Releasing lock...
[2025-04-08 21:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:28:14] Production.INFO: call_cost start
[2025-04-08 21:28:14] Production.INFO: call_cost end
[2025-04-08 21:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:28:15] Production.INFO: ==24146== Releasing lock...
[2025-04-08 21:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:28:18] Production.INFO: count ==1150
[2025-04-08 21:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:28:05 - End Time 2025-04-08 21:28:05
[2025-04-08 21:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864949', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864949', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864949', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864949', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:28:18] Production.INFO: ProcessCDR(1,14864949,1,1,2)
[2025-04-08 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864949', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864949', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:28:22] Production.INFO: ==24154== Releasing lock...
[2025-04-08 21:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:28:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-09 02:29:01] Production.INFO: ==24216== Lock acquired, processing the job...
[2025-04-09 02:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:29:01] Production.INFO: neon service started
[2025-04-09 02:29:01] Production.INFO: neon service started
[2025-04-09 02:29:01] Production.INFO: ==24216== Releasing lock...
[2025-04-09 02:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:29:02] Production.INFO: ==24218== Lock acquired, processing the job...
[2025-04-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:29:02] Production.INFO: ==24220== Lock acquired, processing the job...
[2025-04-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:29:02] Production.INFO: ==24220== Releasing lock...
[2025-04-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:29:02] Production.INFO: ==24218== Releasing lock...
[2025-04-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:29:03] Production.INFO: ==24223== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:29:03] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:29:03] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:29:03] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:29:03] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:29:03] Production.INFO: ==24225== Releasing lock...
[2025-04-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:29:03] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-04-08 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:29:03] Production.INFO: Account Balance Start.
[2025-04-08 21:29:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:29:03] Production.INFO: 117
[2025-04-08 21:29:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:29:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:29:04] Production.INFO: Total Charge 0
[2025-04-08 21:29:04] Production.INFO: CreateAllLog End
[2025-04-08 21:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:29:04] Production.ERROR: done
[2025-04-08 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:29:04] Production.INFO: count ==12
[2025-04-08 21:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:29:04] Production.INFO: count ==23
[2025-04-08 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864953') start
[2025-04-08 21:29:04] Production.ERROR: done
[2025-04-08 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864953') end
[2025-04-08 21:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:29:04] Production.INFO: 1
[2025-04-08 21:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:29:04] Production.INFO: Account Balance End.
[2025-04-08 21:29:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:29:04] Production.INFO: ==24229== Releasing lock...
[2025-04-08 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:29:04] Production.INFO: ==24233== Releasing lock...
[2025-04-08 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:29:05
[end_date_ymd] => 2025-04-08 21:29:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:29:05' and `end` < '2025-04-08 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-04-08 21:29:13] Production.ERROR: CronJobId end10
[2025-04-08 21:29:13] Production.INFO: ==24227== Releasing lock...
[2025-04-08 21:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:29:14] Production.INFO: call_cost start
[2025-04-08 21:29:14] Production.INFO: call_cost end
[2025-04-08 21:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:29:15] Production.INFO: ==24223== Releasing lock...
[2025-04-08 21:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:29:18] Production.INFO: count ==1140
[2025-04-08 21:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:29:05 - End Time 2025-04-08 21:29:05
[2025-04-08 21:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864954', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864954', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864954', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864954', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:29:18] Production.INFO: ProcessCDR(1,14864954,1,1,2)
[2025-04-08 21:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864954', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864954', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:29:21] Production.INFO: ==24231== Releasing lock...
[2025-04-08 21:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:29:21] Production.INFO: 36.25 MB #Memory Used#
[2025-04-09 02:30:02] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-04-09 02:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:30:02] Production.INFO: neon service started
[2025-04-09 02:30:02] Production.INFO: neon service started
[2025-04-09 02:30:02] Production.INFO: ==24329== Releasing lock...
[2025-04-09 02:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:30:02] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-04-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:30:02] Production.INFO: ==24333== Releasing lock...
[2025-04-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:30:02] Production.INFO: ==24331== Lock acquired, processing the job...
[2025-04-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:30:03] Production.INFO: ==24331== Releasing lock...
[2025-04-08 21:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:30:04] Production.INFO: ==24336== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:30:04] Production.INFO: ==24336== Releasing lock...
[2025-04-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:30:04] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:30:04] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:30:04] Production.INFO: ==24338== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:30:04] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:30:04] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:30:04] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:30:04] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-04-08 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:30:04] Production.INFO: count ==12
[2025-04-08 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:30:04] Production.INFO: count ==23
[2025-04-08 21:30:04] Production.INFO: Account Balance Start.
[2025-04-08 21:30:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:30:04] Production.INFO: 117
[2025-04-08 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864957') start
[2025-04-08 21:30:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:30:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:30:04] Production.INFO: Total Charge 0
[2025-04-08 21:30:04] Production.INFO: CreateAllLog End
[2025-04-08 21:30:04] Production.INFO: ==24340== Releasing lock...
[2025-04-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:30:04] Production.ERROR: done
[2025-04-08 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864957') end
[2025-04-08 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:30:04] Production.INFO: 1
[2025-04-08 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:30:05] Production.INFO: ==24350== Releasing lock...
[2025-04-08 21:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:30:05] Production.ERROR: done
[2025-04-08 21:30:05] Production.ERROR: done
[2025-04-08 21:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864959', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:30:05] Production.INFO: Account Balance End.
[2025-04-08 21:30:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:30:05] Production.INFO: ==24344== Releasing lock...
[2025-04-08 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:30:06
[end_date_ymd] => 2025-04-08 21:30:06
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:30:06' and `end` < '2025-04-08 21: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-04-08 21:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14864959', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:30:09] Production.INFO: ProcessCDR(1,14864959,1,1,2)
[2025-04-08 21:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14864959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14864959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:30:09] Production.INFO: ==24348== Releasing lock...
[2025-04-08 21:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:30:14] Production.ERROR: CronJobId end10
[2025-04-08 21:30:14] Production.INFO: ==24342== Releasing lock...
[2025-04-08 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:30:17] Production.INFO: call_cost start
[2025-04-08 21:30:17] Production.INFO: call_cost end
[2025-04-08 21:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:30:18] Production.INFO: ==24338== Releasing lock...
[2025-04-08 21:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:30:19] Production.INFO: count ==1134
[2025-04-08 21:30:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:30:06 - End Time 2025-04-08 21:30:06
[2025-04-08 21:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864960', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864960', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864960', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864960', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:30:19] Production.INFO: ProcessCDR(1,14864960,1,1,2)
[2025-04-08 21:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864960', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864960', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:30:24] Production.INFO: ==24346== Releasing lock...
[2025-04-08 21:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:30:24] Production.INFO: 36 MB #Memory Used#
[2025-04-09 02:31:01] Production.INFO: ==24406== Lock acquired, processing the job...
[2025-04-09 02:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:31:01] Production.INFO: neon service started
[2025-04-09 02:31:01] Production.INFO: neon service started
[2025-04-09 02:31:01] Production.INFO: ==24406== Releasing lock...
[2025-04-09 02:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:31:02] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-04-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:31:02] Production.INFO: ==24410== Releasing lock...
[2025-04-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:31:02] Production.INFO: ==24408== Lock acquired, processing the job...
[2025-04-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:31:02] Production.INFO: ==24408== Releasing lock...
[2025-04-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:31:03] Production.INFO: ==24417== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:31:03] Production.INFO: ==24423== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:31:03] Production.INFO: ==24413== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 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-04-08 21:31:03] Production.INFO: count ==12
[2025-04-08 21:31:03] Production.INFO: ==24415== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 21:31:03] Production.INFO: count ==23
[2025-04-08 21:31:03] Production.INFO: ==24419== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:31:03] Production.INFO: ==24421== Lock acquired, processing the job...
[2025-04-08 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864961') start
[2025-04-08 21:31:03] Production.INFO: Account Balance Start.
[2025-04-08 21:31:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:31:03] Production.INFO: 117
[2025-04-08 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:31:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:31:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864961') end
[2025-04-08 21:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:31:03] Production.INFO: 1
[2025-04-08 21:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:31:04] Production.INFO: Total Charge 0
[2025-04-08 21:31:04] Production.INFO: CreateAllLog End
[2025-04-08 21:31:04] Production.INFO: ==24423== Releasing lock...
[2025-04-08 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:31:04] Production.ERROR: done
[2025-04-08 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:31:04] Production.ERROR: done
[2025-04-08 21:31:04] Production.INFO: ==24415== Releasing lock...
[2025-04-08 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:31:04] Production.INFO: Account Balance End.
[2025-04-08 21:31:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:31:04] Production.INFO: ==24419== Releasing lock...
[2025-04-08 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:31:05
[end_date_ymd] => 2025-04-08 21:31:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:31:05' and `end` < '2025-04-08 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-04-08 21:31:12] Production.ERROR: CronJobId end10
[2025-04-08 21:31:12] Production.INFO: ==24417== Releasing lock...
[2025-04-08 21:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:31:14] Production.INFO: call_cost start
[2025-04-08 21:31:14] Production.INFO: call_cost end
[2025-04-08 21:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:31:15] Production.INFO: ==24413== Releasing lock...
[2025-04-08 21:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:31:18] Production.INFO: count ==1060
[2025-04-08 21:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:31:05 - End Time 2025-04-08 21:31:05
[2025-04-08 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864965', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864965', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864965', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864965', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:31:18] Production.INFO: ProcessCDR(1,14864965,1,1,2)
[2025-04-08 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864965', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864965', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:31:21] Production.INFO: ==24421== Releasing lock...
[2025-04-08 21:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:31:21] Production.INFO: 35.75 MB #Memory Used#
[2025-04-09 02:32:02] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-04-09 02:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:32:02] Production.INFO: neon service started
[2025-04-09 02:32:02] Production.INFO: neon service started
[2025-04-09 02:32:02] Production.INFO: ==24479== Releasing lock...
[2025-04-09 02:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:32:02] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-04-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:32:02] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-04-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:32:02] Production.INFO: ==24483== Releasing lock...
[2025-04-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:32:03] Production.INFO: ==24481== Releasing lock...
[2025-04-08 21:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:32:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-04-08 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:32:03] Production.INFO: ==24496== Lock acquired, processing the job...
[2025-04-08 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:32:04] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-04-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 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-04-08 21:32:04] Production.INFO: ==24490== Lock acquired, processing the job...
[2025-04-08 21:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:32:04] Production.INFO: count ==12
[2025-04-08 21:32:04] Production.INFO: ==24492== Lock acquired, processing the job...
[2025-04-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 21:32:04] Production.INFO: count ==23
[2025-04-08 21:32:04] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-04-08 21:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864967') start
[2025-04-08 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864967') end
[2025-04-08 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:32:04] Production.INFO: 1
[2025-04-08 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:32:04] Production.INFO: Account Balance Start.
[2025-04-08 21:32:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:32:04] Production.INFO: 117
[2025-04-08 21:32:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:32:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:32:04] Production.INFO: Total Charge 0
[2025-04-08 21:32:04] Production.INFO: CreateAllLog End
[2025-04-08 21:32:04] Production.INFO: ==24496== Releasing lock...
[2025-04-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:32:04] Production.INFO: ==24488== Releasing lock...
[2025-04-08 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:32:04] Production.ERROR: done
[2025-04-08 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:32:04] Production.INFO: Account Balance End.
[2025-04-08 21:32:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:32:04] Production.INFO: ==24492== Releasing lock...
[2025-04-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:32:04] Production.ERROR: done
[2025-04-08 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:32:05
[end_date_ymd] => 2025-04-08 21:32:05
[RateCDR] => 1
)
[2025-04-08 21:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:32:05' and `end` < '2025-04-08 21:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:32:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-08 21:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:32:13] Production.INFO: call_cost start
[2025-04-08 21:32:13] Production.INFO: call_cost end
[2025-04-08 21:32:13] Production.ERROR: CronJobId end10
[2025-04-08 21:32:13] Production.INFO: ==24490== Releasing lock...
[2025-04-08 21:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:32:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:32:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:32:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:32:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:32:14] Production.INFO: ==24486== Releasing lock...
[2025-04-08 21:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:32:18] Production.INFO: count ==1059
[2025-04-08 21:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:32:05 - End Time 2025-04-08 21:32:05
[2025-04-08 21:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864970', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864970', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864970', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864970', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:32:19] Production.INFO: ProcessCDR(1,14864970,1,1,2)
[2025-04-08 21:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864970', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864970', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:32:22] Production.INFO: ==24494== Releasing lock...
[2025-04-08 21:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:32:22] Production.INFO: 36 MB #Memory Used#
[2025-04-09 02:33:01] Production.INFO: ==24549== Lock acquired, processing the job...
[2025-04-09 02:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:33:01] Production.INFO: neon service started
[2025-04-09 02:33:01] Production.INFO: neon service started
[2025-04-09 02:33:01] Production.INFO: ==24549== Releasing lock...
[2025-04-09 02:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:33:02] Production.INFO: ==24551== Lock acquired, processing the job...
[2025-04-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:33:02] Production.INFO: ==24553== Lock acquired, processing the job...
[2025-04-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:33:02] Production.INFO: ==24553== Releasing lock...
[2025-04-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:33:02] Production.INFO: ==24551== Releasing lock...
[2025-04-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:33:03] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:33:03] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:33:03] Production.INFO: ==24566== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:33:03] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:33:03] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:33:03] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-04-08 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:33:03] Production.INFO: Account Balance Start.
[2025-04-08 21:33:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:33:03] Production.INFO: 117
[2025-04-08 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-04-08 21:33:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:33:03] Production.INFO: count ==12
[2025-04-08 21:33:03] Production.INFO: ==24558== Releasing lock...
[2025-04-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:33:03] Production.INFO: Reseller ==> 0
[2025-04-08 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-04-08 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:33:03] Production.INFO: count ==23
[2025-04-08 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864973') start
[2025-04-08 21:33:04] Production.INFO: Total Charge 0
[2025-04-08 21:33:04] Production.INFO: CreateAllLog End
[2025-04-08 21:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864973') end
[2025-04-08 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:33:04] Production.INFO: 1
[2025-04-08 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:33:04] Production.INFO: ==24566== Releasing lock...
[2025-04-08 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:33:04] Production.ERROR: done
[2025-04-08 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:33:04] Production.ERROR: done
[2025-04-08 21:33:04] Production.INFO: Account Balance End.
[2025-04-08 21:33:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:33:04] Production.INFO: ==24562== Releasing lock...
[2025-04-08 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:33:05
[end_date_ymd] => 2025-04-08 21:33:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:33:05' and `end` < '2025-04-08 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-04-08 21:33:13] Production.ERROR: CronJobId end10
[2025-04-08 21:33:13] Production.INFO: ==24560== Releasing lock...
[2025-04-08 21:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:33:15] Production.INFO: call_cost start
[2025-04-08 21:33:15] Production.INFO: call_cost end
[2025-04-08 21:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:33:16] Production.INFO: ==24556== Releasing lock...
[2025-04-08 21:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:33:18] Production.INFO: count ==1057
[2025-04-08 21:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:33:05 - End Time 2025-04-08 21:33:05
[2025-04-08 21:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864975', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864975', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864975', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864975', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:33:18] Production.INFO: ProcessCDR(1,14864975,1,1,2)
[2025-04-08 21:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864975', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864975', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:33:22] Production.INFO: ==24564== Releasing lock...
[2025-04-08 21:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:33:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:34:02] Production.INFO: ==24626== Lock acquired, processing the job...
[2025-04-09 02:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:34:02] Production.INFO: neon service started
[2025-04-09 02:34:02] Production.INFO: neon service started
[2025-04-09 02:34:02] Production.INFO: ==24626== Releasing lock...
[2025-04-09 02:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:34:02] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-04-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:34:02] Production.INFO: ==24630== Releasing lock...
[2025-04-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:34:02] Production.INFO: ==24628== Lock acquired, processing the job...
[2025-04-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:34:03] Production.INFO: ==24628== Releasing lock...
[2025-04-08 21:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:34:03] Production.INFO: ==24635== Lock acquired, processing the job...
[2025-04-08 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:34:03] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-04-08 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:34:04] Production.INFO: ==24639== Lock acquired, processing the job...
[2025-04-08 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:34:04] Production.INFO: ==24633== Lock acquired, processing the job...
[2025-04-08 21:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:34:04] Production.INFO: ==24635== Releasing lock...
[2025-04-08 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:34:04] Production.INFO: Account Balance Start.
[2025-04-08 21:34:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:34:04] Production.INFO: 117
[2025-04-08 21:34:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:34:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:34:04] Production.INFO: Total Charge 0
[2025-04-08 21:34:04] Production.INFO: CreateAllLog End
[2025-04-08 21:34:04] Production.INFO: ==24643== Lock acquired, processing the job...
[2025-04-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:34:04] Production.INFO: ==24641== Lock acquired, processing the job...
[2025-04-08 21:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 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-04-08 21:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:34:04] Production.INFO: Account Balance End.
[2025-04-08 21:34:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:34:04] Production.INFO: count ==23
[2025-04-08 21:34:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:34:04] Production.INFO: ==24639== Releasing lock...
[2025-04-08 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864979') start
[2025-04-08 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864979') end
[2025-04-08 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:34:04] Production.INFO: 1
[2025-04-08 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:34:04] Production.INFO: ==24643== Releasing lock...
[2025-04-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:34:04] Production.ERROR: done
[2025-04-08 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:34:05] Production.ERROR: done
[2025-04-08 21:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:34:06
[end_date_ymd] => 2025-04-08 21:34:06
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:34:06' and `end` < '2025-04-08 21: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-04-08 21:34:14] Production.ERROR: CronJobId end10
[2025-04-08 21:34:14] Production.INFO: ==24637== Releasing lock...
[2025-04-08 21:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:34:15] Production.INFO: call_cost start
[2025-04-08 21:34:15] Production.INFO: call_cost end
[2025-04-08 21:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:34:16] Production.INFO: ==24633== Releasing lock...
[2025-04-08 21:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:34:19] Production.INFO: count ==1051
[2025-04-08 21:34:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:34:06 - End Time 2025-04-08 21:34:06
[2025-04-08 21:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864980', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864980', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864980', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864980', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:34:19] Production.INFO: ProcessCDR(1,14864980,1,1,2)
[2025-04-08 21:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864980', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864980', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:34:23] Production.INFO: ==24641== Releasing lock...
[2025-04-08 21:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:34:23] Production.INFO: 35.75 MB #Memory Used#
[2025-04-09 02:35:01] Production.INFO: ==24697== Lock acquired, processing the job...
[2025-04-09 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:35:01] Production.INFO: neon service started
[2025-04-09 02:35:01] Production.INFO: neon service started
[2025-04-09 02:35:01] Production.INFO: ==24697== Releasing lock...
[2025-04-09 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:35:02] Production.INFO: ==24701== Lock acquired, processing the job...
[2025-04-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:35:02] Production.INFO: ==24701== Releasing lock...
[2025-04-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:35:02] Production.INFO: ==24699== Lock acquired, processing the job...
[2025-04-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:35:02] Production.INFO: ==24699== Releasing lock...
[2025-04-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:35:03] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:35:03] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:35:03] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:35:03] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:35:03] Production.INFO: Account Balance Start.
[2025-04-08 21:35:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:35:03] Production.INFO: 117
[2025-04-08 21:35:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:35:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:35:03] Production.INFO: Total Charge 0
[2025-04-08 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:35:03] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:35:03] Production.INFO: CreateAllLog End
[2025-04-08 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:35:03] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-04-08 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:35:03] Production.INFO: Account Balance End.
[2025-04-08 21:35:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:35:03] Production.INFO: ==24709== Releasing lock...
[2025-04-08 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:35:03] Production.INFO: ==24705== Releasing lock...
[2025-04-08 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:35:04] Production.INFO: count ==12
[2025-04-08 21:35:04] Production.ERROR: done
[2025-04-08 21:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:35:04] Production.INFO: count ==23
[2025-04-08 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864984') start
[2025-04-08 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864984') end
[2025-04-08 21:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:35:04] Production.INFO: 1
[2025-04-08 21:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:35:04] Production.ERROR: done
[2025-04-08 21:35:04] Production.INFO: ==24713== Releasing lock...
[2025-04-08 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:35:05
[end_date_ymd] => 2025-04-08 21:35:05
[RateCDR] => 1
)
[2025-04-08 21:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:35:05' and `end` < '2025-04-08 21:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:35:11] Production.ERROR: CronJobId end10
[2025-04-08 21:35:11] Production.INFO: ==24707== Releasing lock...
[2025-04-08 21:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:35:14] Production.INFO: call_cost start
[2025-04-08 21:35:14] Production.INFO: call_cost end
[2025-04-08 21:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:35:15] Production.INFO: ==24703== Releasing lock...
[2025-04-08 21:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:35:18] Production.INFO: count ==1049
[2025-04-08 21:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:35:05 - End Time 2025-04-08 21:35:05
[2025-04-08 21:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864985', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864985', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864985', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864985', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:35:18] Production.INFO: ProcessCDR(1,14864985,1,1,2)
[2025-04-08 21:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864985', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864985', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:35:21] Production.INFO: ==24711== Releasing lock...
[2025-04-08 21:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:35:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:36:02] Production.INFO: ==24773== Lock acquired, processing the job...
[2025-04-09 02:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:36:02] Production.INFO: neon service started
[2025-04-09 02:36:02] Production.INFO: neon service started
[2025-04-09 02:36:02] Production.INFO: ==24773== Releasing lock...
[2025-04-09 02:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:36:02] Production.INFO: ==24777== Lock acquired, processing the job...
[2025-04-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:36:02] Production.INFO: ==24777== Releasing lock...
[2025-04-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:36:02] Production.INFO: ==24775== Lock acquired, processing the job...
[2025-04-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:36:02] Production.INFO: ==24775== Releasing lock...
[2025-04-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:36:03] Production.INFO: ==24786== Lock acquired, processing the job...
[2025-04-08 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:36:03] Production.INFO: ==24792== Lock acquired, processing the job...
[2025-04-08 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:36:03] Production.INFO: ==24781== Lock acquired, processing the job...
[2025-04-08 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:36:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:36:04] Production.INFO: ==24783== Lock acquired, processing the job...
[2025-04-08 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:36:04] Production.INFO: count ==23
[2025-04-08 21:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:36:04] Production.INFO: ==24790== Lock acquired, processing the job...
[2025-04-08 21:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864986') start
[2025-04-08 21:36:04] Production.INFO: ==24788== Lock acquired, processing the job...
[2025-04-08 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864986') end
[2025-04-08 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:36:04] Production.INFO: 1
[2025-04-08 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:36:04] Production.INFO: Account Balance Start.
[2025-04-08 21:36:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:36:04] Production.INFO: 117
[2025-04-08 21:36:04] Production.INFO: ==24792== Releasing lock...
[2025-04-08 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:36:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:36:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:36:04] Production.INFO: Total Charge 0
[2025-04-08 21:36:04] Production.INFO: CreateAllLog End
[2025-04-08 21:36:04] Production.INFO: ==24783== Releasing lock...
[2025-04-08 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:36:04] Production.ERROR: done
[2025-04-08 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:36:04] Production.INFO: Account Balance End.
[2025-04-08 21:36:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:36:04] Production.INFO: ==24788== Releasing lock...
[2025-04-08 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:36:04] Production.ERROR: done
[2025-04-08 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:36:05
[end_date_ymd] => 2025-04-08 21:36:05
[RateCDR] => 1
)
[2025-04-08 21:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:36:05' and `end` < '2025-04-08 21:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:36:12] Production.ERROR: CronJobId end10
[2025-04-08 21:36:12] Production.INFO: ==24786== Releasing lock...
[2025-04-08 21:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:36:14] Production.INFO: call_cost start
[2025-04-08 21:36:14] Production.INFO: call_cost end
[2025-04-08 21:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:36:15] Production.INFO: ==24781== Releasing lock...
[2025-04-08 21:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:36:18] Production.INFO: count ==1047
[2025-04-08 21:36:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:36:05 - End Time 2025-04-08 21:36:05
[2025-04-08 21:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864990', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864990', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864990', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864990', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:36:19] Production.INFO: ProcessCDR(1,14864990,1,1,2)
[2025-04-08 21:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864990', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864990', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:36:22] Production.INFO: ==24790== Releasing lock...
[2025-04-08 21:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:36:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:37:01] Production.INFO: ==24849== Lock acquired, processing the job...
[2025-04-09 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:37:01] Production.INFO: neon service started
[2025-04-09 02:37:01] Production.INFO: neon service started
[2025-04-09 02:37:01] Production.INFO: ==24849== Releasing lock...
[2025-04-09 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:37:02] Production.INFO: ==24853== Lock acquired, processing the job...
[2025-04-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:37:02] Production.INFO: ==24851== Lock acquired, processing the job...
[2025-04-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:37:02] Production.INFO: ==24853== Releasing lock...
[2025-04-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:37:02] Production.INFO: ==24851== Releasing lock...
[2025-04-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:37:03] Production.INFO: ==24860== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:37:03] Production.INFO: ==24866== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 21:37:03] Production.INFO: ==24856== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:37:03] Production.INFO: ==24858== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:37:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:37:03] Production.INFO: count ==23
[2025-04-08 21:37:03] Production.INFO: ==24862== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864991') start
[2025-04-08 21:37:03] Production.INFO: ==24864== Lock acquired, processing the job...
[2025-04-08 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864991') end
[2025-04-08 21:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:37:03] Production.INFO: 1
[2025-04-08 21:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:37:03] Production.INFO: Account Balance Start.
[2025-04-08 21:37:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:37:03] Production.INFO: 117
[2025-04-08 21:37:03] Production.INFO: ==24866== Releasing lock...
[2025-04-08 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:37:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:37:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:37:03] Production.INFO: Total Charge 0
[2025-04-08 21:37:04] Production.INFO: CreateAllLog End
[2025-04-08 21:37:04] Production.INFO: ==24858== Releasing lock...
[2025-04-08 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:37:04] Production.ERROR: done
[2025-04-08 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:37:04] Production.INFO: Account Balance End.
[2025-04-08 21:37:04] Production.ERROR: done
[2025-04-08 21:37:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:37:04] Production.INFO: ==24862== Releasing lock...
[2025-04-08 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:37:05
[end_date_ymd] => 2025-04-08 21:37:05
[RateCDR] => 1
)
[2025-04-08 21:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:37:05' and `end` < '2025-04-08 21:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:37:11] Production.ERROR: CronJobId end10
[2025-04-08 21:37:11] Production.INFO: ==24860== Releasing lock...
[2025-04-08 21:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:37:14] Production.INFO: call_cost start
[2025-04-08 21:37:14] Production.INFO: call_cost end
[2025-04-08 21:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:37:15] Production.INFO: ==24856== Releasing lock...
[2025-04-08 21:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:37:18] Production.INFO: count ==1048
[2025-04-08 21:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:37:05 - End Time 2025-04-08 21:37:05
[2025-04-08 21:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864995', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14864995', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864995', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14864995', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:37:18] Production.INFO: ProcessCDR(1,14864995,1,1,2)
[2025-04-08 21:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14864995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14864995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14864995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14864995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864995', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14864995', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:37:21] Production.INFO: ==24864== Releasing lock...
[2025-04-08 21:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:37:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:38:01] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-04-09 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:38:02] Production.INFO: neon service started
[2025-04-09 02:38:02] Production.INFO: neon service started
[2025-04-09 02:38:02] Production.INFO: ==24922== Releasing lock...
[2025-04-09 02:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:38:02] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-04-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:38:02] Production.INFO: ==24924== Releasing lock...
[2025-04-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:38:02] Production.INFO: ==24926== Lock acquired, processing the job...
[2025-04-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:38:02] Production.INFO: ==24926== Releasing lock...
[2025-04-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:38:03] Production.INFO: ==24936== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:38:03] Production.INFO: ==24938== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:38:03] Production.INFO: ==24928== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:38:03] Production.INFO: ==24930== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:38:03] Production.INFO: ==24932== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:38:03] Production.INFO: count ==12
[2025-04-08 21:38:03] Production.INFO: ==24934== Lock acquired, processing the job...
[2025-04-08 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:38:03] Production.INFO: count ==23
[2025-04-08 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14864996') start
[2025-04-08 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:38:04] Production.INFO: Account Balance Start.
[2025-04-08 21:38:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:38:04] Production.INFO: 117
[2025-04-08 21:38:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:38:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14864996') end
[2025-04-08 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:38:04] Production.INFO: 1
[2025-04-08 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:38:04] Production.INFO: Total Charge 0
[2025-04-08 21:38:04] Production.INFO: CreateAllLog End
[2025-04-08 21:38:04] Production.INFO: ==24938== Releasing lock...
[2025-04-08 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:38:04] Production.ERROR: done
[2025-04-08 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:38:04] Production.ERROR: done
[2025-04-08 21:38:04] Production.INFO: Account Balance End.
[2025-04-08 21:38:04] Production.INFO: ==24930== Releasing lock...
[2025-04-08 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:38:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:38:04] Production.INFO: ==24934== Releasing lock...
[2025-04-08 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:38:05
[end_date_ymd] => 2025-04-08 21:38:05
[RateCDR] => 1
)
[2025-04-08 21:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:38:05' and `end` < '2025-04-08 21:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:38:13] Production.ERROR: CronJobId end10
[2025-04-08 21:38:13] Production.INFO: ==24932== Releasing lock...
[2025-04-08 21:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:38:15] Production.INFO: call_cost start
[2025-04-08 21:38:15] Production.INFO: call_cost end
[2025-04-08 21:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:38:16] Production.INFO: ==24928== Releasing lock...
[2025-04-08 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:38:18] Production.INFO: count ==1048
[2025-04-08 21:38:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:38:05 - End Time 2025-04-08 21:38:05
[2025-04-08 21:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865000', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865000', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865000', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865000', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:38:18] Production.INFO: ProcessCDR(1,14865000,1,1,2)
[2025-04-08 21:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865000', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865000', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:38:23] Production.INFO: ==24936== Releasing lock...
[2025-04-08 21:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:38:23] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:39:01] Production.INFO: ==24995== Lock acquired, processing the job...
[2025-04-09 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:39:01] Production.INFO: neon service started
[2025-04-09 02:39:01] Production.INFO: neon service started
[2025-04-09 02:39:01] Production.INFO: ==24995== Releasing lock...
[2025-04-09 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:39:01] Production.INFO: ==24997== Lock acquired, processing the job...
[2025-04-08 21:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:39:02] Production.INFO: ==24997== Releasing lock...
[2025-04-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:39:02] Production.INFO: ==24999== Lock acquired, processing the job...
[2025-04-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:39:02] Production.INFO: ==24999== Releasing lock...
[2025-04-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:39:02] Production.INFO: ==25010== Lock acquired, processing the job...
[2025-04-08 21:39:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:39:03] Production.INFO: ==25012== Lock acquired, processing the job...
[2025-04-08 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:39:03] Production.INFO: ==25001== Lock acquired, processing the job...
[2025-04-08 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21: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-04-08 21:39:03] Production.INFO: ==25003== Lock acquired, processing the job...
[2025-04-08 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:39:03] Production.INFO: ==25005== Lock acquired, processing the job...
[2025-04-08 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:39:03] Production.INFO: count ==12
[2025-04-08 21:39:03] Production.INFO: ==25007== Lock acquired, processing the job...
[2025-04-08 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21: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-04-08 21:39:03] Production.INFO: count ==23
[2025-04-08 21:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865001') start
[2025-04-08 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865001') end
[2025-04-08 21:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:39:03] Production.INFO: 1
[2025-04-08 21:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:39:03] Production.INFO: Account Balance Start.
[2025-04-08 21:39:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:39:03] Production.INFO: 117
[2025-04-08 21:39:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:39:03] Production.INFO: ==25012== Releasing lock...
[2025-04-08 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:39:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:39:03] Production.INFO: Total Charge 0
[2025-04-08 21:39:03] Production.ERROR: done
[2025-04-08 21:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:39:03] Production.INFO: CreateAllLog End
[2025-04-08 21:39:03] Production.INFO: ==25003== Releasing lock...
[2025-04-08 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:39:03] Production.ERROR: done
[2025-04-08 21:39:03] Production.INFO: Account Balance End.
[2025-04-08 21:39:03] Production.ERROR: CronJobId end 12
[2025-04-08 21:39:03] Production.INFO: ==25007== Releasing lock...
[2025-04-08 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:39:04
[end_date_ymd] => 2025-04-08 21:39:04
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:39:04' and `end` < '2025-04-08 21: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-04-08 21:39:11] Production.ERROR: CronJobId end10
[2025-04-08 21:39:11] Production.INFO: ==25005== Releasing lock...
[2025-04-08 21:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:39:13] Production.INFO: call_cost start
[2025-04-08 21:39:13] Production.INFO: call_cost end
[2025-04-08 21:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:39:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:39:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:39:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:39:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:39:14] Production.INFO: ==25001== Releasing lock...
[2025-04-08 21:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:39:17] Production.INFO: count ==1034
[2025-04-08 21:39:17] Production.ERROR: pbx CDR StartTime 2025-04-08 18:39:04 - End Time 2025-04-08 21:39:04
[2025-04-08 21:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865005', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865005', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865005', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865005', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:39:17] Production.INFO: ProcessCDR(1,14865005,1,1,2)
[2025-04-08 21:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865005', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865005', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:39:21] Production.INFO: ==25010== Releasing lock...
[2025-04-08 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:39:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:40:01] Production.INFO: ==25068== Lock acquired, processing the job...
[2025-04-09 02:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:40:01] Production.INFO: neon service started
[2025-04-09 02:40:01] Production.INFO: neon service started
[2025-04-09 02:40:01] Production.INFO: ==25068== Releasing lock...
[2025-04-09 02:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:40:02] Production.INFO: ==25070== Lock acquired, processing the job...
[2025-04-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:40:02] Production.INFO: ==25072== Lock acquired, processing the job...
[2025-04-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:40:02] Production.INFO: ==25070== Releasing lock...
[2025-04-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:40:02] Production.INFO: ==25072== Releasing lock...
[2025-04-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:40:03] Production.INFO: ==25074== Lock acquired, processing the job...
[2025-04-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:40:03] Production.INFO: ==25080== Lock acquired, processing the job...
[2025-04-08 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:40:03] Production.INFO: ==25082== Lock acquired, processing the job...
[2025-04-08 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 21:40:03] Production.ERROR: CronJob PID - 25080
[2025-04-08 21:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 21:40:03] Production.ERROR: CronJob ID - 10
[2025-04-08 21:40:03] Production.ERROR: CronJob Last Run Time 2025-04-08 21:40:00
[2025-04-08 21:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 21:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 21:40:03] Production.INFO: ==25076== Lock acquired, processing the job...
[2025-04-08 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:40:03] Production.INFO: ==25074== Releasing lock...
[2025-04-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:40:03] Production.INFO: ==25078== Lock acquired, processing the job...
[2025-04-08 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:40:04] Production.INFO: ==25088== Lock acquired, processing the job...
[2025-04-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:40:04] Production.INFO: Account Balance Start.
[2025-04-08 21:40:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:40:04] Production.INFO: 117
[2025-04-08 21:40:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:40:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:40:04] Production.INFO: Total Charge 0
[2025-04-08 21:40:04] Production.INFO: CreateAllLog End
[2025-04-08 21:40:04] Production.INFO: ==25084== Lock acquired, processing the job...
[2025-04-08 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:40:04] Production.INFO: ==25086== Lock acquired, processing the job...
[2025-04-08 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:40:04] Production.INFO: count ==12
[2025-04-08 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:40:04] Production.INFO: count ==23
[2025-04-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865009') start
[2025-04-08 21:40:04] Production.INFO: ==25078== Releasing lock...
[2025-04-08 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865009') end
[2025-04-08 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:40:04] Production.INFO: 1
[2025-04-08 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:40:04] Production.INFO: Account Balance End.
[2025-04-08 21:40:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:40:04] Production.INFO: ==25088== Releasing lock...
[2025-04-08 21:40:04] Production.INFO: ==25082== Releasing lock...
[2025-04-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:40:04] Production.ERROR: done
[2025-04-08 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:40:04] Production.ERROR: done
[2025-04-08 21:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865010', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:40:05] Production.ERROR: done
[2025-04-08 21:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:40:06
[end_date_ymd] => 2025-04-08 21:40:06
[RateCDR] => 1
)
[2025-04-08 21:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:40:06' and `end` < '2025-04-08 21:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865010', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:40:09] Production.INFO: ProcessCDR(1,14865010,1,1,2)
[2025-04-08 21:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:40:09] Production.INFO: ==25086== Releasing lock...
[2025-04-08 21:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:40:15] Production.ERROR: CronJobId end10
[2025-04-08 21:40:15] Production.INFO: ==25080== Releasing lock...
[2025-04-08 21:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:40:17] Production.INFO: call_cost start
[2025-04-08 21:40:17] Production.INFO: call_cost end
[2025-04-08 21:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:40:18] Production.INFO: ==25076== Releasing lock...
[2025-04-08 21:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:40:19] Production.INFO: count ==1035
[2025-04-08 21:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:40:06 - End Time 2025-04-08 21:40:06
[2025-04-08 21:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865011', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865011', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865011', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865011', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:40:19] Production.INFO: ProcessCDR(1,14865011,1,1,2)
[2025-04-08 21:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865011', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865011', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:40:22] Production.INFO: ==25084== Releasing lock...
[2025-04-08 21:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:40:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-09 02:41:01] Production.INFO: ==25148== Lock acquired, processing the job...
[2025-04-09 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:41:01] Production.INFO: neon service started
[2025-04-09 02:41:01] Production.INFO: neon service started
[2025-04-09 02:41:01] Production.INFO: ==25148== Releasing lock...
[2025-04-09 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:41:02] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-04-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:41:02] Production.INFO: ==25150== Lock acquired, processing the job...
[2025-04-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:41:02] Production.INFO: ==25152== Releasing lock...
[2025-04-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:41:02] Production.INFO: ==25150== Releasing lock...
[2025-04-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:41:03] Production.INFO: ==25155== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:41:03] Production.INFO: ==25163== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:41:03] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:41:03] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:41:03] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:41:03] Production.INFO: ==25165== Lock acquired, processing the job...
[2025-04-08 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:41:03] Production.INFO: Account Balance Start.
[2025-04-08 21:41:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:41:03] Production.INFO: 117
[2025-04-08 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:41:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:41:03] Production.INFO: Reseller ==> 0
[2025-04-08 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-04-08 21:41:03] Production.INFO: Total Charge 0
[2025-04-08 21:41:03] Production.INFO: CreateAllLog End
[2025-04-08 21:41:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:41:03] Production.INFO: count ==23
[2025-04-08 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865013') start
[2025-04-08 21:41:03] Production.ERROR: done
[2025-04-08 21:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:41:03] Production.INFO: ==25157== Releasing lock...
[2025-04-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:41:04] Production.ERROR: done
[2025-04-08 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865013') end
[2025-04-08 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:41:04] Production.INFO: 1
[2025-04-08 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:41:04] Production.INFO: ==25165== Releasing lock...
[2025-04-08 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:41:04] Production.INFO: Account Balance End.
[2025-04-08 21:41:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:41:04] Production.INFO: ==25161== Releasing lock...
[2025-04-08 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:41:05
[end_date_ymd] => 2025-04-08 21:41:05
[RateCDR] => 1
)
[2025-04-08 21:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:41:05' and `end` < '2025-04-08 21:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:41:12] Production.ERROR: CronJobId end10
[2025-04-08 21:41:12] Production.INFO: ==25159== Releasing lock...
[2025-04-08 21:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:41:14] Production.INFO: call_cost start
[2025-04-08 21:41:14] Production.INFO: call_cost end
[2025-04-08 21:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:41:15] Production.INFO: ==25155== Releasing lock...
[2025-04-08 21:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:41:17] Production.INFO: count ==987
[2025-04-08 21:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:41:05 - End Time 2025-04-08 21:41:05
[2025-04-08 21:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865016', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865016', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865016', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865016', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:41:18] Production.INFO: ProcessCDR(1,14865016,1,1,2)
[2025-04-08 21:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865016', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865016', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:41:21] Production.INFO: ==25163== Releasing lock...
[2025-04-08 21:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:41:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 02:42:01] Production.INFO: ==25221== Lock acquired, processing the job...
[2025-04-09 02:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:42:01] Production.INFO: neon service started
[2025-04-09 02:42:01] Production.INFO: neon service started
[2025-04-09 02:42:01] Production.INFO: ==25221== Releasing lock...
[2025-04-09 02:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:42:02] Production.INFO: ==25223== Lock acquired, processing the job...
[2025-04-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:42:02] Production.INFO: ==25223== Releasing lock...
[2025-04-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:42:02] Production.INFO: ==25225== Lock acquired, processing the job...
[2025-04-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:42:02] Production.INFO: ==25225== Releasing lock...
[2025-04-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:42:03] Production.INFO: ==25237== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:42:03] Production.INFO: ==25235== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:42:03] Production.INFO: ==25227== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:42:03] Production.INFO: ==25229== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 21:42:03] Production.INFO: ==25231== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:42:03] Production.INFO: ==25233== Lock acquired, processing the job...
[2025-04-08 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:42:03] Production.INFO: count ==12
[2025-04-08 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 21:42:03] Production.INFO: count ==23
[2025-04-08 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865017') start
[2025-04-08 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:42:03] Production.INFO: Account Balance Start.
[2025-04-08 21:42:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:42:03] Production.INFO: 117
[2025-04-08 21:42:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865017') end
[2025-04-08 21:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:42:04] Production.INFO: 1
[2025-04-08 21:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:42:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:42:04] Production.INFO: Total Charge 0
[2025-04-08 21:42:04] Production.INFO: CreateAllLog End
[2025-04-08 21:42:04] Production.INFO: ==25237== Releasing lock...
[2025-04-08 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:42:04] Production.INFO: ==25229== Releasing lock...
[2025-04-08 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:42:04] Production.ERROR: done
[2025-04-08 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:42:04] Production.INFO: Account Balance End.
[2025-04-08 21:42:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:42:04] Production.INFO: ==25233== Releasing lock...
[2025-04-08 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:42:04] Production.ERROR: done
[2025-04-08 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:42:05
[end_date_ymd] => 2025-04-08 21:42:05
[RateCDR] => 1
)
[2025-04-08 21:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:42:05' and `end` < '2025-04-08 21:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:42:13] Production.ERROR: CronJobId end10
[2025-04-08 21:42:13] Production.INFO: ==25231== Releasing lock...
[2025-04-08 21:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:42:14] Production.INFO: call_cost start
[2025-04-08 21:42:14] Production.INFO: call_cost end
[2025-04-08 21:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:42:15] Production.INFO: ==25227== Releasing lock...
[2025-04-08 21:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:42:18] Production.INFO: count ==987
[2025-04-08 21:42:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:42:05 - End Time 2025-04-08 21:42:05
[2025-04-08 21:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865021', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865021', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865021', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865021', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:42:18] Production.INFO: ProcessCDR(1,14865021,1,1,2)
[2025-04-08 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865021', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865021', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:42:23] Production.INFO: ==25235== Releasing lock...
[2025-04-08 21:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:42:23] Production.INFO: 35 MB #Memory Used#
[2025-04-09 02:43:02] Production.INFO: ==25295== Lock acquired, processing the job...
[2025-04-09 02:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:43:02] Production.INFO: neon service started
[2025-04-09 02:43:02] Production.INFO: neon service started
[2025-04-09 02:43:02] Production.INFO: ==25295== Releasing lock...
[2025-04-09 02:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:43:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:43:03] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-04-09 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:43:03] Production.INFO: ==25297== Lock acquired, processing the job...
[2025-04-08 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:43:03] Production.INFO: ==25299== Releasing lock...
[2025-04-09 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:43:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:43:03] Production.INFO: ==25297== Releasing lock...
[2025-04-08 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:43:04] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:43:04] Production.INFO: ==25306== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:43:04] Production.INFO: ==25304== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:43:04] Production.INFO: ==25308== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:43:04] Production.INFO: ==25304== Releasing lock...
[2025-04-08 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:43:04] Production.INFO: Account Balance Start.
[2025-04-08 21:43:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:43:04] Production.INFO: 117
[2025-04-08 21:43:04] Production.INFO: ==25310== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:43:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:43:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:43:04] Production.INFO: Total Charge 0
[2025-04-08 21:43:04] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-04-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:43:04] Production.INFO: CreateAllLog End
[2025-04-08 21:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:43:04] Production.INFO: count ==12
[2025-04-08 21:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:43:04] Production.INFO: count ==23
[2025-04-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865025') start
[2025-04-08 21:43:04] Production.INFO: Account Balance End.
[2025-04-08 21:43:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:43:04] Production.INFO: ==25308== Releasing lock...
[2025-04-08 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865025') end
[2025-04-08 21:43:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:43:05] Production.INFO: 1
[2025-04-08 21:43:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:43:05] Production.INFO: ==25312== Releasing lock...
[2025-04-08 21:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:43:05] Production.ERROR: done
[2025-04-08 21:43:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:43:05] Production.ERROR: done
[2025-04-08 21:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:43:06
[end_date_ymd] => 2025-04-08 21:43:06
[RateCDR] => 1
)
[2025-04-08 21:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:43:06' and `end` < '2025-04-08 21:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:43:14] Production.ERROR: CronJobId end10
[2025-04-08 21:43:14] Production.INFO: ==25306== Releasing lock...
[2025-04-08 21:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:43:15] Production.INFO: call_cost start
[2025-04-08 21:43:15] Production.INFO: call_cost end
[2025-04-08 21:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:43:16] Production.INFO: ==25302== Releasing lock...
[2025-04-08 21:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:43:19] Production.INFO: count ==962
[2025-04-08 21:43:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:43:06 - End Time 2025-04-08 21:43:06
[2025-04-08 21:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865026', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865026', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865026', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865026', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:43:19] Production.INFO: ProcessCDR(1,14865026,1,1,2)
[2025-04-08 21:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865026', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865026', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:43:24] Production.INFO: ==25310== Releasing lock...
[2025-04-08 21:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:43:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-09 02:44:01] Production.INFO: ==25368== Lock acquired, processing the job...
[2025-04-09 02:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:44:01] Production.INFO: neon service started
[2025-04-09 02:44:01] Production.INFO: neon service started
[2025-04-09 02:44:01] Production.INFO: ==25368== Releasing lock...
[2025-04-09 02:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:44:02] Production.INFO: ==25370== Lock acquired, processing the job...
[2025-04-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:44:02] Production.INFO: ==25370== Releasing lock...
[2025-04-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:44:02] Production.INFO: ==25372== Lock acquired, processing the job...
[2025-04-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:44:02] Production.INFO: ==25372== Releasing lock...
[2025-04-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:44:03] Production.INFO: ==25375== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:44:03] Production.INFO: ==25377== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:44:03] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:44:03] Production.INFO: ==25379== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:44:03] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:44:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-04-08 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:44:04] Production.ERROR: done
[2025-04-08 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:44:04] Production.INFO: ==25377== Releasing lock...
[2025-04-08 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:44:04] Production.INFO: Account Balance Start.
[2025-04-08 21:44:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:44:04] Production.INFO: 117
[2025-04-08 21:44:04] Production.INFO: count ==12
[2025-04-08 21:44:04] Production.INFO: Date 2025-04-08
[2025-04-08 21: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-04-08 21:44:04] Production.INFO: count ==23
[2025-04-08 21:44:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865030') start
[2025-04-08 21:44:04] Production.ERROR: done
[2025-04-08 21:44:04] Production.INFO: Total Charge 0
[2025-04-08 21:44:04] Production.INFO: CreateAllLog End
[2025-04-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865030') end
[2025-04-08 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:44:04] Production.INFO: 1
[2025-04-08 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:44:04] Production.INFO: ==25385== Releasing lock...
[2025-04-08 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:44:04] Production.INFO: Account Balance End.
[2025-04-08 21:44:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:44:04] Production.INFO: ==25381== Releasing lock...
[2025-04-08 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:44:05
[end_date_ymd] => 2025-04-08 21:44:05
[RateCDR] => 1
)
[2025-04-08 21:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:44:05' and `end` < '2025-04-08 21:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:44:13] Production.ERROR: CronJobId end10
[2025-04-08 21:44:13] Production.INFO: ==25379== Releasing lock...
[2025-04-08 21:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:44:15] Production.INFO: call_cost start
[2025-04-08 21:44:15] Production.INFO: call_cost end
[2025-04-08 21:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:44:16] Production.INFO: ==25375== Releasing lock...
[2025-04-08 21:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:44:18] Production.INFO: count ==945
[2025-04-08 21:44:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:44:05 - End Time 2025-04-08 21:44:05
[2025-04-08 21:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865031', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865031', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865031', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865031', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:44:18] Production.INFO: ProcessCDR(1,14865031,1,1,2)
[2025-04-08 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865031', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865031', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:44:21] Production.INFO: ==25383== Releasing lock...
[2025-04-08 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:44:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-09 02:45:02] Production.INFO: ==25441== Lock acquired, processing the job...
[2025-04-09 02:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:45:02] Production.INFO: neon service started
[2025-04-09 02:45:02] Production.INFO: neon service started
[2025-04-09 02:45:02] Production.INFO: ==25441== Releasing lock...
[2025-04-09 02:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:45:02] Production.INFO: ==25443== Lock acquired, processing the job...
[2025-04-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:45:02] Production.INFO: ==25443== Releasing lock...
[2025-04-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:45:03] Production.INFO: ==25445== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:45:03] Production.INFO: ==25445== Releasing lock...
[2025-04-09 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:45:03] Production.INFO: ==25455== Lock acquired, processing the job...
[2025-04-08 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:45:03] Production.INFO: ==25457== Lock acquired, processing the job...
[2025-04-08 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:45:03] Production.INFO: ==25447== Lock acquired, processing the job...
[2025-04-08 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21: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-04-08 21:45:04] Production.INFO: ==25449== Lock acquired, processing the job...
[2025-04-08 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:45:04] Production.INFO: count ==12
[2025-04-08 21: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-04-08 21:45:04] Production.INFO: count ==23
[2025-04-08 21:45:04] Production.INFO: ==25451== Lock acquired, processing the job...
[2025-04-08 21:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865032') start
[2025-04-08 21:45:04] Production.INFO: ==25453== Lock acquired, processing the job...
[2025-04-08 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:45:04] Production.INFO: Account Balance Start.
[2025-04-08 21:45:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:45:04] Production.INFO: 117
[2025-04-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865032') end
[2025-04-08 21:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:45:04] Production.INFO: 1
[2025-04-08 21:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:45:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:45:04] Production.INFO: ==25457== Releasing lock...
[2025-04-08 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:45:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:45:04] Production.ERROR: done
[2025-04-08 21:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:45:04] Production.INFO: Total Charge 0
[2025-04-08 21:45:04] Production.INFO: CreateAllLog End
[2025-04-08 21:45:04] Production.ERROR: done
[2025-04-08 21:45:04] Production.INFO: ==25449== Releasing lock...
[2025-04-08 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:45:04] Production.INFO: Account Balance End.
[2025-04-08 21:45:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:45:04] Production.INFO: ==25453== Releasing lock...
[2025-04-08 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:45:05
[end_date_ymd] => 2025-04-08 21:45:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:45:05' and `end` < '2025-04-08 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-04-08 21:45:12] Production.ERROR: CronJobId end10
[2025-04-08 21:45:12] Production.INFO: ==25451== Releasing lock...
[2025-04-08 21:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:45:14] Production.INFO: call_cost start
[2025-04-08 21:45:14] Production.INFO: call_cost end
[2025-04-08 21:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:45:15] Production.INFO: ==25447== Releasing lock...
[2025-04-08 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:45:18] Production.INFO: count ==939
[2025-04-08 21:45:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:45:05 - End Time 2025-04-08 21:45:05
[2025-04-08 21:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865036', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865036', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865036', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865036', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:45:18] Production.INFO: ProcessCDR(1,14865036,1,1,2)
[2025-04-08 21:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865036', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865036', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:45:21] Production.INFO: ==25455== Releasing lock...
[2025-04-08 21:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:45:21] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 02:46:01] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-04-09 02:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:46:01] Production.INFO: neon service started
[2025-04-09 02:46:01] Production.INFO: neon service started
[2025-04-09 02:46:01] Production.INFO: ==25550== Releasing lock...
[2025-04-09 02:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:46:02] Production.INFO: ==25553== Lock acquired, processing the job...
[2025-04-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:46:02] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-04-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:46:02] Production.INFO: ==25555== Releasing lock...
[2025-04-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:46:02] Production.INFO: ==25553== Releasing lock...
[2025-04-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:46:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-04-08 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:46:03] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-04-08 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:46:03] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-04-08 21:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:46:03] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-04-08 21:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:46:03] Production.INFO: Account Balance Start.
[2025-04-08 21:46:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:46:03] Production.INFO: 117
[2025-04-08 21:46:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:46:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:46:03] Production.INFO: ==25559== Releasing lock...
[2025-04-08 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:46:04] Production.INFO: Total Charge 0
[2025-04-08 21:46:04] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-04-08 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:46:04] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-04-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:46:04] Production.INFO: CreateAllLog End
[2025-04-08 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:46:04] Production.INFO: Account Balance End.
[2025-04-08 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:46:04] Production.INFO: count ==12
[2025-04-08 21:46:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:46:04] Production.INFO: ==25563== Releasing lock...
[2025-04-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:46:04] Production.INFO: count ==23
[2025-04-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865040') start
[2025-04-08 21:46:04] Production.ERROR: done
[2025-04-08 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865040') end
[2025-04-08 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:46:04] Production.INFO: 1
[2025-04-08 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:46:04] Production.INFO: ==25567== Releasing lock...
[2025-04-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:46:04] Production.ERROR: done
[2025-04-08 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:46:05
[end_date_ymd] => 2025-04-08 21:46:05
[RateCDR] => 1
)
[2025-04-08 21:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:46:05' and `end` < '2025-04-08 21:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:46:12] Production.ERROR: CronJobId end10
[2025-04-08 21:46:12] Production.INFO: ==25561== Releasing lock...
[2025-04-08 21:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:46:14] Production.INFO: call_cost start
[2025-04-08 21:46:14] Production.INFO: call_cost end
[2025-04-08 21:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:46:15] Production.INFO: ==25557== Releasing lock...
[2025-04-08 21:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:46:18] Production.INFO: count ==934
[2025-04-08 21:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:46:05 - End Time 2025-04-08 21:46:05
[2025-04-08 21:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865041', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865041', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865041', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865041', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:46:18] Production.INFO: ProcessCDR(1,14865041,1,1,2)
[2025-04-08 21:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865041', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865041', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:46:23] Production.INFO: ==25565== Releasing lock...
[2025-04-08 21:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:46:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 02:47:02] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-04-09 02:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:47:02] Production.INFO: neon service started
[2025-04-09 02:47:02] Production.INFO: neon service started
[2025-04-09 02:47:02] Production.INFO: ==25622== Releasing lock...
[2025-04-09 02:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:47:02] Production.INFO: ==25624== Lock acquired, processing the job...
[2025-04-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:47:02] Production.INFO: ==25624== Releasing lock...
[2025-04-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:47:03] Production.INFO: ==25626== Lock acquired, processing the job...
[2025-04-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:47:03] Production.INFO: ==25626== Releasing lock...
[2025-04-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:47:03] Production.INFO: ==25637== Lock acquired, processing the job...
[2025-04-08 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:47:03] Production.INFO: ==25639== Lock acquired, processing the job...
[2025-04-08 21:47:03] Production.INFO: ==25629== Lock acquired, processing the job...
[2025-04-08 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:47:04] Production.INFO: ==25631== Lock acquired, processing the job...
[2025-04-08 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:47:04] Production.INFO: ==25633== Lock acquired, processing the job...
[2025-04-08 21:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:47:04] Production.INFO: ==25635== Lock acquired, processing the job...
[2025-04-08 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:47:04] Production.INFO: count ==12
[2025-04-08 21:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:47:04] Production.INFO: count ==23
[2025-04-08 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865042') start
[2025-04-08 21:47:04] Production.INFO: Account Balance Start.
[2025-04-08 21:47:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:47:04] Production.INFO: 117
[2025-04-08 21:47:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:47:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865042') end
[2025-04-08 21:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:47:04] Production.INFO: 1
[2025-04-08 21:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:47:04] Production.INFO: ==25639== Releasing lock...
[2025-04-08 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:47:04] Production.INFO: Total Charge 0
[2025-04-08 21:47:04] Production.ERROR: done
[2025-04-08 21:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:47:04] Production.INFO: CreateAllLog End
[2025-04-08 21:47:04] Production.ERROR: done
[2025-04-08 21:47:04] Production.INFO: ==25631== Releasing lock...
[2025-04-08 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:47:04] Production.INFO: Account Balance End.
[2025-04-08 21:47:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:47:04] Production.INFO: ==25635== Releasing lock...
[2025-04-08 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:47:05
[end_date_ymd] => 2025-04-08 21:47:05
[RateCDR] => 1
)
[2025-04-08 21:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:47:05' and `end` < '2025-04-08 21:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:47:12] Production.ERROR: CronJobId end10
[2025-04-08 21:47:12] Production.INFO: ==25633== Releasing lock...
[2025-04-08 21:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:47:14] Production.INFO: call_cost start
[2025-04-08 21:47:14] Production.INFO: call_cost end
[2025-04-08 21:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:47:15] Production.INFO: ==25629== Releasing lock...
[2025-04-08 21:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:47:18] Production.INFO: count ==929
[2025-04-08 21:47:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:47:05 - End Time 2025-04-08 21:47:05
[2025-04-08 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865046', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865046', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865046', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865046', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:47:18] Production.INFO: ProcessCDR(1,14865046,1,1,2)
[2025-04-08 21:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865046', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865046', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:47:21] Production.INFO: ==25637== Releasing lock...
[2025-04-08 21:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:47:21] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 02:48:01] Production.INFO: ==25698== Lock acquired, processing the job...
[2025-04-09 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:48:01] Production.INFO: neon service started
[2025-04-09 02:48:01] Production.INFO: neon service started
[2025-04-09 02:48:01] Production.INFO: ==25698== Releasing lock...
[2025-04-09 02:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:48:02] Production.INFO: ==25702== Lock acquired, processing the job...
[2025-04-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 21:48:02] Production.INFO: ==25700== Lock acquired, processing the job...
[2025-04-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:48:02] Production.INFO: ==25702== Releasing lock...
[2025-04-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:48:02] Production.INFO: ==25700== Releasing lock...
[2025-04-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:48:03] Production.INFO: ==25707== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:48:03] Production.INFO: ==25711== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:48:03] Production.INFO: ==25705== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:48:03] Production.INFO: ==25709== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:48:03] Production.INFO: Account Balance Start.
[2025-04-08 21:48:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:48:03] Production.INFO: 117
[2025-04-08 21:48:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:48:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:48:03] Production.INFO: ==25713== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:48:03] Production.INFO: Total Charge 0
[2025-04-08 21:48:03] Production.INFO: CreateAllLog End
[2025-04-08 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:48:03] Production.INFO: ==25715== Lock acquired, processing the job...
[2025-04-08 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:48:04] Production.INFO: Account Balance End.
[2025-04-08 21:48:04] Production.INFO: count ==12
[2025-04-08 21:48:04] Production.INFO: ==25707== Releasing lock...
[2025-04-08 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:48:04] Production.INFO: count ==23
[2025-04-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865050') start
[2025-04-08 21:48:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:48:04] Production.INFO: ==25711== Releasing lock...
[2025-04-08 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865050') end
[2025-04-08 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:48:04] Production.INFO: 1
[2025-04-08 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:48:04] Production.INFO: ==25715== Releasing lock...
[2025-04-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:48:04] Production.ERROR: done
[2025-04-08 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:48:04] Production.ERROR: done
[2025-04-08 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:48:05
[end_date_ymd] => 2025-04-08 21:48:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:48:05' and `end` < '2025-04-08 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-04-08 21:48:12] Production.ERROR: CronJobId end10
[2025-04-08 21:48:12] Production.INFO: ==25709== Releasing lock...
[2025-04-08 21:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:48:15] Production.INFO: call_cost start
[2025-04-08 21:48:15] Production.INFO: call_cost end
[2025-04-08 21:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:48:16] Production.INFO: ==25705== Releasing lock...
[2025-04-08 21:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:48:18] Production.INFO: count ==929
[2025-04-08 21:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:48:05 - End Time 2025-04-08 21:48:05
[2025-04-08 21:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865051', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865051', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865051', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865051', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:48:18] Production.INFO: ProcessCDR(1,14865051,1,1,2)
[2025-04-08 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865051', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865051', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:48:22] Production.INFO: ==25713== Releasing lock...
[2025-04-08 21:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:48:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 02:49:02] Production.INFO: ==25774== Lock acquired, processing the job...
[2025-04-09 02:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:49:02] Production.INFO: neon service started
[2025-04-09 02:49:02] Production.INFO: neon service started
[2025-04-09 02:49:02] Production.INFO: ==25774== Releasing lock...
[2025-04-09 02:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:49:02] Production.INFO: ==25776== Lock acquired, processing the job...
[2025-04-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:49:02] Production.INFO: ==25776== Releasing lock...
[2025-04-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:49:03] Production.INFO: ==25778== Lock acquired, processing the job...
[2025-04-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:49:03] Production.INFO: ==25778== Releasing lock...
[2025-04-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:49:03] Production.INFO: ==25780== Lock acquired, processing the job...
[2025-04-08 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:49:03] Production.INFO: ==25786== Lock acquired, processing the job...
[2025-04-08 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:49:03] Production.INFO: ==25790== Lock acquired, processing the job...
[2025-04-08 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:49:03] Production.INFO: ==25782== Lock acquired, processing the job...
[2025-04-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:49:03] Production.INFO: ==25784== Lock acquired, processing the job...
[2025-04-08 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:49:04] Production.INFO: ==25788== Lock acquired, processing the job...
[2025-04-08 21:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:49:04] Production.INFO: Account Balance Start.
[2025-04-08 21:49:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:49:04] Production.INFO: 117
[2025-04-08 21:49:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:49:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:49:04] Production.INFO: count ==12
[2025-04-08 21:49:04] Production.INFO: Total Charge 0
[2025-04-08 21:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:49:04] Production.INFO: count ==23
[2025-04-08 21:49:04] Production.INFO: CreateAllLog End
[2025-04-08 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865054') start
[2025-04-08 21:49:04] Production.ERROR: done
[2025-04-08 21:49:04] Production.INFO: ==25782== Releasing lock...
[2025-04-08 21:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865054') end
[2025-04-08 21:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:49:04] Production.INFO: 1
[2025-04-08 21:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:49:04] Production.INFO: ==25790== Releasing lock...
[2025-04-08 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:49:04] Production.ERROR: done
[2025-04-08 21:49:05] Production.INFO: Account Balance End.
[2025-04-08 21:49:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:49:05] Production.INFO: ==25786== Releasing lock...
[2025-04-08 21:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:49:05
[end_date_ymd] => 2025-04-08 21:49:05
[RateCDR] => 1
)
[2025-04-08 21:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:49:05' and `end` < '2025-04-08 21:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:49:13] Production.ERROR: CronJobId end10
[2025-04-08 21:49:13] Production.INFO: ==25784== Releasing lock...
[2025-04-08 21:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:49:15] Production.INFO: call_cost start
[2025-04-08 21:49:15] Production.INFO: call_cost end
[2025-04-08 21:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:49:16] Production.INFO: ==25780== Releasing lock...
[2025-04-08 21:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:49:18] Production.INFO: count ==925
[2025-04-08 21:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:49:05 - End Time 2025-04-08 21:49:05
[2025-04-08 21:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865056', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865056', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865056', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865056', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:49:18] Production.INFO: ProcessCDR(1,14865056,1,1,2)
[2025-04-08 21:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865056', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865056', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:49:23] Production.INFO: ==25788== Releasing lock...
[2025-04-08 21:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:49:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 02:50:01] Production.INFO: ==25849== Lock acquired, processing the job...
[2025-04-09 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:50:01] Production.INFO: neon service started
[2025-04-09 02:50:01] Production.INFO: neon service started
[2025-04-09 02:50:01] Production.INFO: ==25849== Releasing lock...
[2025-04-09 02:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:50:02] Production.INFO: ==25851== Lock acquired, processing the job...
[2025-04-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:50:02] Production.INFO: ==25853== Lock acquired, processing the job...
[2025-04-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:50:02] Production.INFO: ==25853== Releasing lock...
[2025-04-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:50:02] Production.INFO: ==25851== Releasing lock...
[2025-04-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:50:03] Production.INFO: ==25855== Lock acquired, processing the job...
[2025-04-08 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 21:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 21:50:03] Production.INFO: ==25857== Lock acquired, processing the job...
[2025-04-08 21:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 21:50:03] Production.INFO: ==25855== Releasing lock...
[2025-04-08 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 21:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 21:50:03] Production.INFO: ==25861== Lock acquired, processing the job...
[2025-04-08 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:50:03] Production.INFO: ==25863== Lock acquired, processing the job...
[2025-04-08 21:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:50:03] Production.INFO: ==25859== Lock acquired, processing the job...
[2025-04-08 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:50:03] Production.INFO: Account Balance Start.
[2025-04-08 21:50:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:50:04] Production.INFO: 117
[2025-04-08 21:50:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:50:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:50:04] Production.INFO: Total Charge 0
[2025-04-08 21:50:04] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-04-08 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:50:04] Production.INFO: CreateAllLog End
[2025-04-08 21:50:04] Production.INFO: ==25868== Lock acquired, processing the job...
[2025-04-08 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 21:50:04] Production.INFO: ==25870== Lock acquired, processing the job...
[2025-04-08 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:50:04] Production.INFO: ==25859== Releasing lock...
[2025-04-08 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:50:04] Production.INFO: count ==12
[2025-04-08 21:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:50:04] Production.INFO: count ==23
[2025-04-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865060') start
[2025-04-08 21:50:04] Production.ERROR: done
[2025-04-08 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:50:04] Production.ERROR: done
[2025-04-08 21:50:04] Production.ERROR: done
[2025-04-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865060') end
[2025-04-08 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:50:04] Production.INFO: 1
[2025-04-08 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865061', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 21:50:05] Production.INFO: Account Balance End.
[2025-04-08 21:50:05] Production.INFO: ==25870== Releasing lock...
[2025-04-08 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:50:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:50:05] Production.INFO: ==25863== Releasing lock...
[2025-04-08 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:50:06
[end_date_ymd] => 2025-04-08 21:50:06
[RateCDR] => 1
)
[2025-04-08 21:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:50:06' and `end` < '2025-04-08 21:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865061', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 21:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 21:50:09] Production.INFO: ProcessCDR(1,14865061,1,1,2)
[2025-04-08 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:50:09] Production.INFO: ==25868== Releasing lock...
[2025-04-08 21:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 21:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 21:50:15] Production.ERROR: CronJobId end10
[2025-04-08 21:50:15] Production.INFO: ==25861== Releasing lock...
[2025-04-08 21:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:50:16] Production.INFO: call_cost start
[2025-04-08 21:50:16] Production.INFO: call_cost end
[2025-04-08 21:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:50:17] Production.INFO: ==25857== Releasing lock...
[2025-04-08 21:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:50:19] Production.INFO: count ==925
[2025-04-08 21:50:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:50:06 - End Time 2025-04-08 21:50:06
[2025-04-08 21:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865062', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865062', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865062', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865062', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:50:19] Production.INFO: ProcessCDR(1,14865062,1,1,2)
[2025-04-08 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865062', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865062', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:50:24] Production.INFO: ==25865== Releasing lock...
[2025-04-08 21:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:50:24] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 02:51:02] Production.INFO: ==25929== Lock acquired, processing the job...
[2025-04-09 02:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:51:02] Production.INFO: neon service started
[2025-04-09 02:51:02] Production.INFO: neon service started
[2025-04-09 02:51:02] Production.INFO: ==25929== Releasing lock...
[2025-04-09 02:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:51:02] Production.INFO: ==25931== Lock acquired, processing the job...
[2025-04-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:51:02] Production.INFO: ==25933== Lock acquired, processing the job...
[2025-04-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:51:02] Production.INFO: ==25933== Releasing lock...
[2025-04-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:51:03] Production.INFO: ==25931== Releasing lock...
[2025-04-08 21:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:51:04] Production.INFO: ==25936== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:51:04] Production.INFO: ==25938== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:51:04] Production.INFO: ==25940== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:51:04] Production.INFO: ==25942== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:51:04] Production.INFO: ==25944== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:51:04] Production.INFO: Account Balance Start.
[2025-04-08 21:51:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:51:04] Production.INFO: 117
[2025-04-08 21:51:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:51:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:51:04] Production.INFO: ==25946== Lock acquired, processing the job...
[2025-04-08 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:51:04] Production.INFO: Total Charge 0
[2025-04-08 21:51:04] Production.INFO: CreateAllLog End
[2025-04-08 21:51:04] Production.INFO: ==25938== Releasing lock...
[2025-04-08 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21: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-04-08 21:51:04] Production.INFO: count ==12
[2025-04-08 21: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-04-08 21:51:04] Production.INFO: count ==23
[2025-04-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865066') start
[2025-04-08 21:51:04] Production.ERROR: done
[2025-04-08 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:51:04] Production.INFO: Account Balance End.
[2025-04-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865066') end
[2025-04-08 21:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:51:04] Production.INFO: 1
[2025-04-08 21:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:51:05] Production.ERROR: CronJobId end 12
[2025-04-08 21:51:05] Production.INFO: ==25942== Releasing lock...
[2025-04-08 21:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:51:05] Production.INFO: ==25946== Releasing lock...
[2025-04-08 21:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:51:05] Production.ERROR: done
[2025-04-08 21:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:51:06
[end_date_ymd] => 2025-04-08 21:51:06
[RateCDR] => 1
)
[2025-04-08 21: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-04-08 18:51:06' and `end` < '2025-04-08 21: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-04-08 21:51:12] Production.ERROR: CronJobId end10
[2025-04-08 21:51:12] Production.INFO: ==25940== Releasing lock...
[2025-04-08 21:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:51:14] Production.INFO: call_cost start
[2025-04-08 21:51:14] Production.INFO: call_cost end
[2025-04-08 21:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:51:15] Production.INFO: ==25936== Releasing lock...
[2025-04-08 21:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:51:19] Production.INFO: count ==892
[2025-04-08 21:51:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:51:06 - End Time 2025-04-08 21:51:06
[2025-04-08 21:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865067', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865067', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865067', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865067', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:51:19] Production.INFO: ProcessCDR(1,14865067,1,1,2)
[2025-04-08 21:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865067', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865067', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:51:22] Production.INFO: ==25944== Releasing lock...
[2025-04-08 21:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:51:22] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:52:01] Production.INFO: ==26000== Lock acquired, processing the job...
[2025-04-09 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:52:01] Production.INFO: neon service started
[2025-04-09 02:52:01] Production.INFO: neon service started
[2025-04-09 02:52:01] Production.INFO: ==26000== Releasing lock...
[2025-04-09 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:52:02] Production.INFO: ==26002== Lock acquired, processing the job...
[2025-04-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:52:02] Production.INFO: ==26004== Lock acquired, processing the job...
[2025-04-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:52:02] Production.INFO: ==26004== Releasing lock...
[2025-04-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:52:02] Production.INFO: ==26002== Releasing lock...
[2025-04-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:52:03] Production.INFO: ==26007== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:52:03] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:52:03] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:52:03] Production.INFO: Account Balance Start.
[2025-04-08 21:52:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:52:03] Production.INFO: 117
[2025-04-08 21:52:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:52:03] Production.INFO: ==26011== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:52:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:52:03] Production.INFO: Total Charge 0
[2025-04-08 21:52:03] Production.INFO: CreateAllLog End
[2025-04-08 21:52:03] Production.INFO: ==26009== Releasing lock...
[2025-04-08 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:52:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:52:03] Production.INFO: ==26017== Lock acquired, processing the job...
[2025-04-08 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:52:04] Production.INFO: Account Balance End.
[2025-04-08 21:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:52:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:52:04] Production.INFO: count ==12
[2025-04-08 21:52:04] Production.INFO: ==26013== Releasing lock...
[2025-04-08 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:52:04] Production.ERROR: done
[2025-04-08 21:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:52:04] Production.INFO: count ==23
[2025-04-08 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865071') start
[2025-04-08 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865071') end
[2025-04-08 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:52:04] Production.INFO: 1
[2025-04-08 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:52:04] Production.INFO: ==26017== Releasing lock...
[2025-04-08 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:52:04] Production.ERROR: done
[2025-04-08 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:52:05
[end_date_ymd] => 2025-04-08 21:52:05
[RateCDR] => 1
)
[2025-04-08 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:52:05' and `end` < '2025-04-08 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:52:13] Production.ERROR: CronJobId end10
[2025-04-08 21:52:13] Production.INFO: ==26011== Releasing lock...
[2025-04-08 21:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:52:13] Production.INFO: call_cost start
[2025-04-08 21:52:13] Production.INFO: call_cost end
[2025-04-08 21:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:52:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:52:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:52:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:52:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:52:14] Production.INFO: ==26007== Releasing lock...
[2025-04-08 21:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:52:18] Production.INFO: count ==890
[2025-04-08 21:52:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:52:05 - End Time 2025-04-08 21:52:05
[2025-04-08 21:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865072', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865072', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865072', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865072', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:52:18] Production.INFO: ProcessCDR(1,14865072,1,1,2)
[2025-04-08 21:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865072', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865072', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:52:21] Production.INFO: ==26015== Releasing lock...
[2025-04-08 21:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:52:21] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:53:02] Production.INFO: ==26073== Lock acquired, processing the job...
[2025-04-09 02:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:53:02] Production.INFO: neon service started
[2025-04-09 02:53:02] Production.INFO: neon service started
[2025-04-09 02:53:02] Production.INFO: ==26073== Releasing lock...
[2025-04-09 02:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:53:02] Production.INFO: ==26075== Lock acquired, processing the job...
[2025-04-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:53:02] Production.INFO: ==26077== Lock acquired, processing the job...
[2025-04-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:53:02] Production.INFO: ==26077== Releasing lock...
[2025-04-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:53:03] Production.INFO: ==26075== Releasing lock...
[2025-04-08 21:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:53:03] Production.INFO: ==26080== Lock acquired, processing the job...
[2025-04-08 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:53:03] Production.INFO: ==26086== Lock acquired, processing the job...
[2025-04-08 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:53:04] Production.INFO: Account Balance Start.
[2025-04-08 21:53:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:53:04] Production.INFO: 117
[2025-04-08 21:53:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:53:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:53:04] Production.INFO: Total Charge 0
[2025-04-08 21:53:04] Production.INFO: CreateAllLog End
[2025-04-08 21:53:04] Production.INFO: ==26082== Lock acquired, processing the job...
[2025-04-08 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:53:04] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-04-08 21:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:53:04] Production.INFO: Account Balance End.
[2025-04-08 21:53:04] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-04-08 21:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:53:04] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-04-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:53:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:53:04] Production.INFO: ==26086== Releasing lock...
[2025-04-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:53:04] Production.INFO: count ==12
[2025-04-08 21:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 21:53:04] Production.INFO: count ==23
[2025-04-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865076') start
[2025-04-08 21:53:04] Production.INFO: ==26082== Releasing lock...
[2025-04-08 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865076') end
[2025-04-08 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:53:04] Production.INFO: 1
[2025-04-08 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:53:04] Production.INFO: ==26090== Releasing lock...
[2025-04-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:53:04] Production.ERROR: done
[2025-04-08 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:53:05] Production.ERROR: done
[2025-04-08 21:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:53:06
[end_date_ymd] => 2025-04-08 21:53:06
[RateCDR] => 1
)
[2025-04-08 21:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:53:06' and `end` < '2025-04-08 21:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:53:13] Production.ERROR: CronJobId end10
[2025-04-08 21:53:13] Production.INFO: ==26084== Releasing lock...
[2025-04-08 21:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:53:14] Production.INFO: call_cost start
[2025-04-08 21:53:14] Production.INFO: call_cost end
[2025-04-08 21:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:53:15] Production.INFO: ==26080== Releasing lock...
[2025-04-08 21:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:53:19] Production.INFO: count ==893
[2025-04-08 21:53:19] Production.ERROR: pbx CDR StartTime 2025-04-08 18:53:06 - End Time 2025-04-08 21:53:06
[2025-04-08 21:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865077', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865077', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865077', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865077', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:53:19] Production.INFO: ProcessCDR(1,14865077,1,1,2)
[2025-04-08 21:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865077', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865077', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:53:24] Production.INFO: ==26088== Releasing lock...
[2025-04-08 21:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:53:24] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:54:01] Production.INFO: ==26145== Lock acquired, processing the job...
[2025-04-09 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:54:01] Production.INFO: neon service started
[2025-04-09 02:54:01] Production.INFO: neon service started
[2025-04-09 02:54:01] Production.INFO: ==26145== Releasing lock...
[2025-04-09 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:54:02] Production.INFO: ==26147== Lock acquired, processing the job...
[2025-04-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:54:02] Production.INFO: ==26147== Releasing lock...
[2025-04-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:54:02] Production.INFO: ==26149== Lock acquired, processing the job...
[2025-04-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:54:02] Production.INFO: ==26149== Releasing lock...
[2025-04-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:54:03] Production.INFO: ==26154== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:54:03] Production.INFO: ==26152== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:54:03] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:54:03] Production.INFO: ==26156== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:54:03] Production.INFO: ==26158== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:54:03] Production.INFO: ==26160== Lock acquired, processing the job...
[2025-04-08 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21: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-04-08 21:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:54:03] Production.INFO: count ==12
[2025-04-08 21:54:03] Production.INFO: ==26154== Releasing lock...
[2025-04-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21: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-04-08 21:54:03] Production.INFO: count ==23
[2025-04-08 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865080') start
[2025-04-08 21:54:03] Production.INFO: Account Balance Start.
[2025-04-08 21:54:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:54:03] Production.INFO: 117
[2025-04-08 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:54:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:54:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865080') end
[2025-04-08 21:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:54:03] Production.INFO: 1
[2025-04-08 21:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:54:03] Production.INFO: Total Charge 0
[2025-04-08 21:54:03] Production.INFO: CreateAllLog End
[2025-04-08 21:54:03] Production.INFO: ==26162== Releasing lock...
[2025-04-08 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:54:04] Production.ERROR: done
[2025-04-08 21:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:54:04] Production.ERROR: done
[2025-04-08 21:54:04] Production.INFO: Account Balance End.
[2025-04-08 21:54:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:54:04] Production.INFO: ==26158== Releasing lock...
[2025-04-08 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:54:05
[end_date_ymd] => 2025-04-08 21:54:05
[RateCDR] => 1
)
[2025-04-08 21:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:54:05' and `end` < '2025-04-08 21:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:54:13] Production.ERROR: CronJobId end10
[2025-04-08 21:54:13] Production.INFO: ==26156== Releasing lock...
[2025-04-08 21:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:54:15] Production.INFO: call_cost start
[2025-04-08 21:54:15] Production.INFO: call_cost end
[2025-04-08 21:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:54:16] Production.INFO: ==26152== Releasing lock...
[2025-04-08 21:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:54:18] Production.INFO: count ==892
[2025-04-08 21:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:54:05 - End Time 2025-04-08 21:54:05
[2025-04-08 21:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865082', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865082', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865082', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865082', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:54:18] Production.INFO: ProcessCDR(1,14865082,1,1,2)
[2025-04-08 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865082', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865082', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:54:23] Production.INFO: ==26160== Releasing lock...
[2025-04-08 21:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:54:23] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:55:02] Production.INFO: ==26218== Lock acquired, processing the job...
[2025-04-09 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:55:02] Production.INFO: neon service started
[2025-04-09 02:55:02] Production.INFO: neon service started
[2025-04-09 02:55:02] Production.INFO: ==26218== Releasing lock...
[2025-04-09 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:55:02] Production.INFO: ==26222== Lock acquired, processing the job...
[2025-04-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:55:02] Production.INFO: ==26222== Releasing lock...
[2025-04-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:55:02] Production.INFO: ==26220== Lock acquired, processing the job...
[2025-04-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:55:03] Production.INFO: ==26220== Releasing lock...
[2025-04-08 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 21:55:03] Production.INFO: ==26227== Lock acquired, processing the job...
[2025-04-08 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:55:03] Production.INFO: ==26229== Lock acquired, processing the job...
[2025-04-08 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:55:03] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-04-08 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:55:04] Production.INFO: ==26231== Lock acquired, processing the job...
[2025-04-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:55:04] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-04-08 21:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:55:04] Production.INFO: ==26227== Releasing lock...
[2025-04-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:55:04] Production.INFO: Account Balance Start.
[2025-04-08 21:55:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:55:04] Production.ERROR: done
[2025-04-08 21:55:04] Production.INFO: 117
[2025-04-08 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:55:04] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-04-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:55:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:55:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:55:04] Production.ERROR: done
[2025-04-08 21:55:04] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 21:55:04] Production.INFO: CreateAllLog End
[2025-04-08 21:55:04] Production.INFO: count ==12
[2025-04-08 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-04-08 21:55:04] Production.INFO: count ==23
[2025-04-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865086') start
[2025-04-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865086') end
[2025-04-08 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:55:04] Production.INFO: 1
[2025-04-08 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:55:04] Production.INFO: Account Balance End.
[2025-04-08 21:55:04] Production.INFO: ==26235== Releasing lock...
[2025-04-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:55:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:55:04] Production.INFO: ==26231== Releasing lock...
[2025-04-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:55:05
[end_date_ymd] => 2025-04-08 21:55:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 18:55:05' and `end` < '2025-04-08 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-04-08 21:55:13] Production.ERROR: CronJobId end10
[2025-04-08 21:55:13] Production.INFO: ==26229== Releasing lock...
[2025-04-08 21:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:55:15] Production.INFO: call_cost start
[2025-04-08 21:55:15] Production.INFO: call_cost end
[2025-04-08 21:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:55:16] Production.INFO: ==26225== Releasing lock...
[2025-04-08 21:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:55:18] Production.INFO: count ==889
[2025-04-08 21:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:55:05 - End Time 2025-04-08 21:55:05
[2025-04-08 21:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865087', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865087', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865087', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865087', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:55:18] Production.INFO: ProcessCDR(1,14865087,1,1,2)
[2025-04-08 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865087', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865087', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:55:22] Production.INFO: ==26233== Releasing lock...
[2025-04-08 21:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:55:22] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:56:01] Production.INFO: ==26292== Lock acquired, processing the job...
[2025-04-09 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:56:01] Production.INFO: neon service started
[2025-04-09 02:56:01] Production.INFO: neon service started
[2025-04-09 02:56:01] Production.INFO: ==26292== Releasing lock...
[2025-04-09 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:56:01] Production.INFO: ==26294== Lock acquired, processing the job...
[2025-04-08 21:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:56:02] Production.INFO: ==26294== Releasing lock...
[2025-04-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:56:02] Production.INFO: ==26296== Lock acquired, processing the job...
[2025-04-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:56:02] Production.INFO: ==26296== Releasing lock...
[2025-04-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:56:03] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:56:03] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:56:03] Production.INFO: ==26308== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:56:03] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:56:03] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:56:03] Production.INFO: ==26310== Lock acquired, processing the job...
[2025-04-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:56:03] Production.INFO: ==26302== Releasing lock...
[2025-04-08 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:56:03] Production.INFO: Account Balance Start.
[2025-04-08 21:56:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:56:03] Production.ERROR: done
[2025-04-08 21:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:56:03] Production.INFO: 117
[2025-04-08 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-04-08 21:56:03] Production.INFO: count ==12
[2025-04-08 21:56:03] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 21:56:03] Production.INFO: count ==23
[2025-04-08 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865091') start
[2025-04-08 21:56:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:56:03] Production.ERROR: done
[2025-04-08 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865091') end
[2025-04-08 21:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:56:03] Production.INFO: 1
[2025-04-08 21:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:56:03] Production.INFO: Total Charge 0
[2025-04-08 21:56:03] Production.INFO: ==26310== Releasing lock...
[2025-04-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:56:03] Production.INFO: CreateAllLog End
[2025-04-08 21:56:04] Production.INFO: Account Balance End.
[2025-04-08 21:56:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:56:04] Production.INFO: ==26306== Releasing lock...
[2025-04-08 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:56:05
[end_date_ymd] => 2025-04-08 21:56:05
[RateCDR] => 1
)
[2025-04-08 21:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:56:05' and `end` < '2025-04-08 21:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:56:12] Production.ERROR: CronJobId end10
[2025-04-08 21:56:12] Production.INFO: ==26304== Releasing lock...
[2025-04-08 21:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:56:14] Production.INFO: call_cost start
[2025-04-08 21:56:14] Production.INFO: call_cost end
[2025-04-08 21:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:56:15] Production.INFO: ==26300== Releasing lock...
[2025-04-08 21:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:56:17] Production.INFO: count ==887
[2025-04-08 21:56:17] Production.ERROR: pbx CDR StartTime 2025-04-08 18:56:05 - End Time 2025-04-08 21:56:05
[2025-04-08 21:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865092', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865092', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865092', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865092', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:56:17] Production.INFO: ProcessCDR(1,14865092,1,1,2)
[2025-04-08 21:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865092', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865092', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:56:21] Production.INFO: ==26308== Releasing lock...
[2025-04-08 21:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:56:21] Production.INFO: 34 MB #Memory Used#
[2025-04-09 02:57:02] Production.INFO: ==26363== Lock acquired, processing the job...
[2025-04-09 02:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:57:02] Production.INFO: neon service started
[2025-04-09 02:57:02] Production.INFO: neon service started
[2025-04-09 02:57:02] Production.INFO: ==26363== Releasing lock...
[2025-04-09 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:57:02] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-04-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:57:02] Production.INFO: ==26366== Releasing lock...
[2025-04-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:57:02] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-04-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:57:02] Production.INFO: ==26368== Releasing lock...
[2025-04-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:57:03] Production.INFO: ==26374== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:57:03] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:57:03] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:57:03] Production.INFO: ==26378== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:57:03] Production.INFO: ==26380== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:57:03] Production.INFO: ==26376== Lock acquired, processing the job...
[2025-04-08 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 21:57:04] Production.INFO: count ==12
[2025-04-08 21:57:04] Production.INFO: ==26372== Releasing lock...
[2025-04-08 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 21:57:04] Production.INFO: count ==23
[2025-04-08 21:57:04] Production.INFO: Account Balance Start.
[2025-04-08 21:57:04] Production.INFO: CreateAllLog Start
[2025-04-08 21:57:04] Production.INFO: 117
[2025-04-08 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865095') start
[2025-04-08 21:57:04] Production.INFO: Date 2025-04-08
[2025-04-08 21:57:04] Production.INFO: Reseller ==> 0
[2025-04-08 21:57:04] Production.INFO: Total Charge 0
[2025-04-08 21:57:04] Production.INFO: CreateAllLog End
[2025-04-08 21:57:04] Production.ERROR: done
[2025-04-08 21:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865095') end
[2025-04-08 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:57:04] Production.INFO: 1
[2025-04-08 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:57:04] Production.INFO: ==26380== Releasing lock...
[2025-04-08 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:57:04] Production.INFO: Account Balance End.
[2025-04-08 21:57:04] Production.ERROR: done
[2025-04-08 21:57:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:57:04] Production.INFO: ==26376== Releasing lock...
[2025-04-08 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:57:05
[end_date_ymd] => 2025-04-08 21:57:05
[RateCDR] => 1
)
[2025-04-08 21:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:57:05' and `end` < '2025-04-08 21:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:57:12] Production.ERROR: CronJobId end10
[2025-04-08 21:57:12] Production.INFO: ==26374== Releasing lock...
[2025-04-08 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:57:16] Production.INFO: call_cost start
[2025-04-08 21:57:16] Production.INFO: call_cost end
[2025-04-08 21:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:57:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:57:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:57:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:57:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:57:17] Production.INFO: ==26370== Releasing lock...
[2025-04-08 21:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:57:18] Production.INFO: count ==883
[2025-04-08 21:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:57:05 - End Time 2025-04-08 21:57:05
[2025-04-08 21:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865097', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865097', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865097', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865097', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:57:18] Production.INFO: ProcessCDR(1,14865097,1,1,2)
[2025-04-08 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865097', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865097', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:57:22] Production.INFO: ==26378== Releasing lock...
[2025-04-08 21:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:57:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 02:58:01] Production.INFO: ==26434== Lock acquired, processing the job...
[2025-04-09 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:58:01] Production.INFO: neon service started
[2025-04-09 02:58:01] Production.INFO: neon service started
[2025-04-09 02:58:01] Production.INFO: ==26434== Releasing lock...
[2025-04-09 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:58:01] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-04-08 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:58:02] Production.INFO: ==26436== Releasing lock...
[2025-04-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:58:02] Production.INFO: ==26438== Lock acquired, processing the job...
[2025-04-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:58:02] Production.INFO: ==26438== Releasing lock...
[2025-04-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:58:03] Production.INFO: ==26445== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:58:03] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 21:58:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:58:03] Production.INFO: count ==23
[2025-04-08 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865098') start
[2025-04-08 21:58:03] Production.INFO: ==26447== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865098') end
[2025-04-08 21:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:58:03] Production.INFO: 1
[2025-04-08 21:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:58:03] Production.INFO: ==26441== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:58:03] Production.INFO: ==26443== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:58:03] Production.INFO: ==26451== Releasing lock...
[2025-04-08 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:58:03] Production.INFO: Account Balance Start.
[2025-04-08 21:58:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:58:03] Production.INFO: ==26449== Lock acquired, processing the job...
[2025-04-08 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:58:03] Production.INFO: 117
[2025-04-08 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:58:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:58:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:58:03] Production.INFO: Total Charge 0
[2025-04-08 21:58:03] Production.INFO: CreateAllLog End
[2025-04-08 21:58:04] Production.INFO: ==26443== Releasing lock...
[2025-04-08 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 21:58:04] Production.INFO: Account Balance End.
[2025-04-08 21:58:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:58:04] Production.INFO: ==26447== Releasing lock...
[2025-04-08 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:58:04] Production.ERROR: done
[2025-04-08 21:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:58:04] Production.ERROR: done
[2025-04-08 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:58:05
[end_date_ymd] => 2025-04-08 21:58:05
[RateCDR] => 1
)
[2025-04-08 21:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:58:05' and `end` < '2025-04-08 21:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:58:12] Production.ERROR: CronJobId end10
[2025-04-08 21:58:12] Production.INFO: ==26445== Releasing lock...
[2025-04-08 21:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:58:14] Production.INFO: call_cost start
[2025-04-08 21:58:14] Production.INFO: call_cost end
[2025-04-08 21:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:58:15] Production.INFO: ==26441== Releasing lock...
[2025-04-08 21:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:58:18] Production.INFO: count ==877
[2025-04-08 21:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:58:05 - End Time 2025-04-08 21:58:05
[2025-04-08 21:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865102', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865102', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865102', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865102', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:58:18] Production.INFO: ProcessCDR(1,14865102,1,1,2)
[2025-04-08 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865102', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865102', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:58:21] Production.INFO: ==26449== Releasing lock...
[2025-04-08 21:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:58:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 02:59:01] Production.INFO: ==26509== Lock acquired, processing the job...
[2025-04-09 02:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 02:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 02:59:02] Production.INFO: neon service started
[2025-04-09 02:59:02] Production.INFO: neon service started
[2025-04-09 02:59:02] Production.INFO: ==26509== Releasing lock...
[2025-04-09 02:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 02:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 21:59:02] Production.INFO: ==26511== Lock acquired, processing the job...
[2025-04-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 21:59:02] Production.INFO: ==26511== Releasing lock...
[2025-04-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:59:02] Production.INFO: ==26513== Lock acquired, processing the job...
[2025-04-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:59:02] Production.INFO: ==26513== Releasing lock...
[2025-04-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 21:59:03] Production.INFO: ==26518== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 21:59:03] Production.INFO: ==26520== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 21:59:03] Production.INFO: ==26522== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 21:59:03] Production.INFO: ==26516== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 21:59:03] Production.INFO: Account Balance Start.
[2025-04-08 21:59:03] Production.INFO: CreateAllLog Start
[2025-04-08 21:59:03] Production.INFO: 117
[2025-04-08 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 21:59:03] Production.INFO: Date 2025-04-08
[2025-04-08 21:59:03] Production.INFO: ==26526== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 21:59:03] Production.INFO: Reseller ==> 0
[2025-04-08 21:59:03] Production.INFO: ==26524== Lock acquired, processing the job...
[2025-04-08 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 21:59:03] Production.INFO: Total Charge 0
[2025-04-08 21:59:03] Production.INFO: CreateAllLog End
[2025-04-08 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 21:59:03] Production.INFO: ==26518== Releasing lock...
[2025-04-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 21:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 21:59:03] Production.INFO: count ==12
[2025-04-08 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-04-08 21:59:04] Production.INFO: count ==23
[2025-04-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865106') start
[2025-04-08 21:59:04] Production.INFO: Account Balance End.
[2025-04-08 21:59:04] Production.ERROR: done
[2025-04-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865106') end
[2025-04-08 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 21:59:04] Production.INFO: 1
[2025-04-08 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 21:59:04] Production.INFO: ==26526== Releasing lock...
[2025-04-08 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 21:59:04] Production.ERROR: CronJobId end 12
[2025-04-08 21:59:04] Production.INFO: ==26522== Releasing lock...
[2025-04-08 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 21:59:04] Production.ERROR: done
[2025-04-08 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 18:59:05
[end_date_ymd] => 2025-04-08 21:59:05
[RateCDR] => 1
)
[2025-04-08 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 18:59:05' and `end` < '2025-04-08 21:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 21:59:12] Production.ERROR: CronJobId end10
[2025-04-08 21:59:12] Production.INFO: ==26520== Releasing lock...
[2025-04-08 21:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 21:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 21:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 21:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 21:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 21:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 21:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 21:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 21:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 21:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 21:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 21:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 21:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 21:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 21:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 21:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 21:59:14] Production.INFO: call_cost start
[2025-04-08 21:59:14] Production.INFO: call_cost end
[2025-04-08 21:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 21:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 21:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 21:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 21:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 21:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 21:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 21:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 21:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 21:59:15] Production.INFO: ==26516== Releasing lock...
[2025-04-08 21:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 21:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 21:59:18] Production.INFO: count ==876
[2025-04-08 21:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 18:59:05 - End Time 2025-04-08 21:59:05
[2025-04-08 21:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865107', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865107', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865107', 'tblTempVendorCDR_20' ) start
[2025-04-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865107', 'tblTempVendorCDR_20' ) end
[2025-04-08 21:59:18] Production.INFO: ProcessCDR(1,14865107,1,1,2)
[2025-04-08 21:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 21:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865107', 'tblTempUsageDetail_20' ) start
[2025-04-08 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865107', 'tblTempUsageDetail_20' ) end
[2025-04-08 21:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 21:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 21:59:21] Production.INFO: ==26524== Releasing lock...
[2025-04-08 21:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 21:59:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 03:00:01] Production.INFO: ==26581== Lock acquired, processing the job...
[2025-04-09 03:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:00:01] Production.INFO: neon service started
[2025-04-09 03:00:01] Production.INFO: neon service started
[2025-04-09 03:00:01] Production.INFO: ==26581== Releasing lock...
[2025-04-09 03:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:00:01] Production.INFO: ==26583== Lock acquired, processing the job...
[2025-04-08 22:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:00:02] Production.INFO: ==26585== Lock acquired, processing the job...
[2025-04-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:00:02] Production.INFO: ==26583== Releasing lock...
[2025-04-08 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:00:02] Production.INFO: ==26585== Releasing lock...
[2025-04-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:00:03] Production.INFO: ==26593== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:00:03] Production.INFO: ==26595== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:00:03] Production.INFO: ==26597== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:00:03] Production.INFO: ==26587== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:00:03] Production.INFO: Account Balance Start.
[2025-04-08 22:00:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:00:03] Production.INFO: 117
[2025-04-08 22:00:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:00:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:00:03] Production.INFO: ==26589== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:00:03] Production.INFO: Total Charge 0
[2025-04-08 22:00:03] Production.INFO: CreateAllLog End
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:00:03] Production.ERROR: CronJob PID - 26593
[2025-04-08 22:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 22:00:03] Production.ERROR: CronJob ID - 10
[2025-04-08 22:00:03] Production.ERROR: CronJob Last Run Time 2025-04-08 22:00:00
[2025-04-08 22:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:00:03] Production.ERROR: CronJob PID - 26595
[2025-04-08 22:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 22:00:03] Production.ERROR: CronJob ID - 12
[2025-04-08 22:00:03] Production.ERROR: CronJob Last Run Time 2025-04-08 22:00:00
[2025-04-08 22:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:00:03] Production.ERROR: CronJob PID - 26597
[2025-04-08 22:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-08 22:00:03] Production.ERROR: CronJob ID - 16
[2025-04-08 22:00:03] Production.ERROR: CronJob Last Run Time 2025-04-08 22:00:00
[2025-04-08 22:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:00:03] Production.INFO: ==26587== Releasing lock...
[2025-04-08 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:00:03] Production.INFO: ==26591== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:00:03] Production.INFO: ==26599== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:00:03] Production.INFO: ==26601== Lock acquired, processing the job...
[2025-04-08 22:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:00:04] Production.ERROR: done
[2025-04-08 22:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:00:04] Production.INFO: Account Balance End.
[2025-04-08 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:00:04] Production.INFO: count ==12
[2025-04-08 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-04-08 22:00:04] Production.INFO: count ==23
[2025-04-08 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865111') start
[2025-04-08 22:00:04] Production.ERROR: done
[2025-04-08 22:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865112', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:00:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:00:04] Production.INFO: ==26595== Releasing lock...
[2025-04-08 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:00:04] Production.INFO: ==26591== Releasing lock...
[2025-04-08 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865111') end
[2025-04-08 22:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:00:04] Production.INFO: 1
[2025-04-08 22:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:00:04] Production.ERROR: done
[2025-04-08 22:00:04] Production.INFO: ==26601== Releasing lock...
[2025-04-08 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:00:06
[end_date_ymd] => 2025-04-08 22:00:06
[RateCDR] => 1
)
[2025-04-08 22:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:00:06' and `end` < '2025-04-08 22:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865112', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:00:08] Production.INFO: ProcessCDR(1,14865112,1,1,2)
[2025-04-08 22:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:00:09] Production.INFO: ==26599== Releasing lock...
[2025-04-08 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:00:13] Production.ERROR: CronJobId end10
[2025-04-08 22:00:13] Production.INFO: ==26593== Releasing lock...
[2025-04-08 22:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:00:16] Production.INFO: call_cost start
[2025-04-08 22:00:16] Production.INFO: call_cost end
[2025-04-08 22:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:00:17] Production.INFO: ==26589== Releasing lock...
[2025-04-08 22:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:00:18] Production.INFO: count ==874
[2025-04-08 22:00:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:00:06 - End Time 2025-04-08 22:00:06
[2025-04-08 22:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865113', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865113', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865113', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865113', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:00:19] Production.INFO: ProcessCDR(1,14865113,1,1,2)
[2025-04-08 22:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865113', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865113', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:00:22] Production.INFO: ==26597== Releasing lock...
[2025-04-08 22:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:00:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 03:01:01] Production.INFO: ==26702== Lock acquired, processing the job...
[2025-04-09 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:01:01] Production.INFO: neon service started
[2025-04-09 03:01:01] Production.INFO: neon service started
[2025-04-09 03:01:01] Production.INFO: ==26702== Releasing lock...
[2025-04-09 03:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:01:02] Production.INFO: ==26714== Lock acquired, processing the job...
[2025-04-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:01:02] Production.INFO: ==26714== Releasing lock...
[2025-04-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:01:02] Production.INFO: ==26712== Lock acquired, processing the job...
[2025-04-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:01:02] Production.INFO: ==26712== Releasing lock...
[2025-04-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:01:03] Production.INFO: ==26716== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:01:03] Production.INFO: ==26718== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:01:03] Production.INFO: ==26726== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 22:01:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:01:03] Production.INFO: count ==23
[2025-04-08 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865116') start
[2025-04-08 22:01:03] Production.INFO: ==26720== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:01:03] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:01:03] Production.INFO: ==26718== Releasing lock...
[2025-04-08 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865116') end
[2025-04-08 22:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:01:03] Production.INFO: 1
[2025-04-08 22:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:01:03] Production.INFO: ==26724== Lock acquired, processing the job...
[2025-04-08 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:01:04] Production.INFO: ==26726== Releasing lock...
[2025-04-08 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:01:04] Production.INFO: Account Balance Start.
[2025-04-08 22:01:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:01:04] Production.INFO: 117
[2025-04-08 22:01:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:01:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:01:04] Production.INFO: Total Charge 0
[2025-04-08 22:01:04] Production.INFO: CreateAllLog End
[2025-04-08 22:01:04] Production.INFO: Account Balance End.
[2025-04-08 22:01:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:01:04] Production.INFO: ==26722== Releasing lock...
[2025-04-08 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:01:04] Production.ERROR: done
[2025-04-08 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:01:04] Production.ERROR: done
[2025-04-08 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:01:05
[end_date_ymd] => 2025-04-08 22:01:05
[RateCDR] => 1
)
[2025-04-08 22:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:01:05' and `end` < '2025-04-08 22:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:01:14] Production.ERROR: CronJobId end10
[2025-04-08 22:01:14] Production.INFO: ==26720== Releasing lock...
[2025-04-08 22:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:01:15] Production.INFO: call_cost start
[2025-04-08 22:01:15] Production.INFO: call_cost end
[2025-04-08 22:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:01:16] Production.INFO: ==26716== Releasing lock...
[2025-04-08 22:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:01:18] Production.INFO: count ==844
[2025-04-08 22:01:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:01:05 - End Time 2025-04-08 22:01:05
[2025-04-08 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865118', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865118', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865118', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865118', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:01:18] Production.INFO: ProcessCDR(1,14865118,1,1,2)
[2025-04-08 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865118', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865118', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:01:21] Production.INFO: ==26724== Releasing lock...
[2025-04-08 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:01:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:02:02] Production.INFO: ==26782== Lock acquired, processing the job...
[2025-04-09 03:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:02:02] Production.INFO: neon service started
[2025-04-09 03:02:02] Production.INFO: neon service started
[2025-04-09 03:02:02] Production.INFO: ==26782== Releasing lock...
[2025-04-09 03:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:02:02] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-04-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:02:02] Production.INFO: ==26784== Releasing lock...
[2025-04-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:02:03] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-04-09 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:02:03] Production.INFO: ==26786== Releasing lock...
[2025-04-09 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:02:03] Production.INFO: ==26789== Lock acquired, processing the job...
[2025-04-08 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:02:03] Production.INFO: ==26791== Lock acquired, processing the job...
[2025-04-08 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:02:03] Production.INFO: ==26797== Lock acquired, processing the job...
[2025-04-08 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:02:03] Production.INFO: ==26793== Lock acquired, processing the job...
[2025-04-08 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:02:03] Production.INFO: ==26795== Lock acquired, processing the job...
[2025-04-08 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:02:04] Production.INFO: ==26799== Lock acquired, processing the job...
[2025-04-08 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:02:04] Production.INFO: Account Balance Start.
[2025-04-08 22:02:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:02:04] Production.INFO: 117
[2025-04-08 22:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:02:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:02:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:02:04] Production.INFO: Total Charge 0
[2025-04-08 22:02:04] Production.INFO: CreateAllLog End
[2025-04-08 22:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:02:04] Production.INFO: count ==12
[2025-04-08 22:02:04] Production.INFO: ==26791== Releasing lock...
[2025-04-08 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:02:04] Production.INFO: count ==23
[2025-04-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865122') start
[2025-04-08 22:02:04] Production.ERROR: done
[2025-04-08 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865122') end
[2025-04-08 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:02:04] Production.INFO: 1
[2025-04-08 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:02:04] Production.INFO: Account Balance End.
[2025-04-08 22:02:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:02:04] Production.INFO: ==26795== Releasing lock...
[2025-04-08 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:02:04] Production.ERROR: done
[2025-04-08 22:02:04] Production.INFO: ==26799== Releasing lock...
[2025-04-08 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:02:05
[end_date_ymd] => 2025-04-08 22:02:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:02:05' and `end` < '2025-04-08 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-04-08 22:02:12] Production.ERROR: CronJobId end10
[2025-04-08 22:02:12] Production.INFO: ==26793== Releasing lock...
[2025-04-08 22:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:02:15] Production.INFO: call_cost start
[2025-04-08 22:02:15] Production.INFO: call_cost end
[2025-04-08 22:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:02:15] Production.INFO: ==26789== Releasing lock...
[2025-04-08 22:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:02:18] Production.INFO: count ==838
[2025-04-08 22:02:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:02:05 - End Time 2025-04-08 22:02:05
[2025-04-08 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865123', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865123', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865123', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865123', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:02:18] Production.INFO: ProcessCDR(1,14865123,1,1,2)
[2025-04-08 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865123', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865123', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:02:22] Production.INFO: ==26797== Releasing lock...
[2025-04-08 22:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:02:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 03:03:01] Production.INFO: ==26852== Lock acquired, processing the job...
[2025-04-09 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:03:01] Production.INFO: neon service started
[2025-04-09 03:03:01] Production.INFO: neon service started
[2025-04-09 03:03:01] Production.INFO: ==26852== Releasing lock...
[2025-04-09 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:03:02] Production.INFO: ==26854== Lock acquired, processing the job...
[2025-04-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:03:02] Production.INFO: ==26854== Releasing lock...
[2025-04-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:03:02] Production.INFO: ==26856== Lock acquired, processing the job...
[2025-04-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:03:02] Production.INFO: ==26856== Releasing lock...
[2025-04-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:03:03] Production.INFO: ==26865== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:03:03] Production.INFO: ==26869== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:03:03] Production.INFO: Account Balance Start.
[2025-04-08 22:03:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:03:03] Production.INFO: 117
[2025-04-08 22:03:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:03:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:03:03] Production.INFO: Total Charge 0
[2025-04-08 22:03:03] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 22:03:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:03:03] Production.INFO: count ==23
[2025-04-08 22:03:03] Production.INFO: ==26861== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865125') start
[2025-04-08 22:03:03] Production.INFO: ==26863== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:03:03] Production.INFO: ==26859== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:03:03] Production.INFO: Account Balance End.
[2025-04-08 22:03:03] Production.INFO: ==26867== Lock acquired, processing the job...
[2025-04-08 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865125') end
[2025-04-08 22:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:03:03] Production.INFO: 1
[2025-04-08 22:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:03:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:03:03] Production.INFO: ==26865== Releasing lock...
[2025-04-08 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:03:03] Production.INFO: ==26869== Releasing lock...
[2025-04-08 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:03:03] Production.INFO: ==26861== Releasing lock...
[2025-04-08 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:03:03] Production.ERROR: done
[2025-04-08 22:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:03:04] Production.ERROR: done
[2025-04-08 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:03:05
[end_date_ymd] => 2025-04-08 22:03:05
[RateCDR] => 1
)
[2025-04-08 22:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:03:05' and `end` < '2025-04-08 22:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:03:12] Production.ERROR: CronJobId end10
[2025-04-08 22:03:12] Production.INFO: ==26863== Releasing lock...
[2025-04-08 22:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:03:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:03:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:03:14] Production.INFO: call_cost start
[2025-04-08 22:03:14] Production.INFO: call_cost end
[2025-04-08 22:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:03:15] Production.INFO: ==26859== Releasing lock...
[2025-04-08 22:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:03:17] Production.INFO: count ==832
[2025-04-08 22:03:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:03:05 - End Time 2025-04-08 22:03:05
[2025-04-08 22:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865128', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865128', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865128', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865128', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:03:17] Production.INFO: ProcessCDR(1,14865128,1,1,2)
[2025-04-08 22:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865128', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865128', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:03:21] Production.INFO: ==26867== Releasing lock...
[2025-04-08 22:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:03:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:04:02] Production.INFO: ==26927== Lock acquired, processing the job...
[2025-04-09 03:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:04:02] Production.INFO: neon service started
[2025-04-09 03:04:02] Production.INFO: neon service started
[2025-04-09 03:04:02] Production.INFO: ==26927== Releasing lock...
[2025-04-09 03:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:04:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:04:02] Production.INFO: ==26929== Lock acquired, processing the job...
[2025-04-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:04:02] Production.INFO: ==26929== Releasing lock...
[2025-04-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:04:02] Production.INFO: ==26931== Lock acquired, processing the job...
[2025-04-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:04:02] Production.INFO: ==26931== Releasing lock...
[2025-04-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:04:03] Production.INFO: ==26941== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:04:03] Production.INFO: ==26933== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:04:03] Production.INFO: ==26943== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:04:03] Production.INFO: ==26935== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:04:03] Production.INFO: ==26937== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:04:03] Production.INFO: ==26939== Lock acquired, processing the job...
[2025-04-08 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:04:04] Production.INFO: Account Balance Start.
[2025-04-08 22:04:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:04:04] Production.INFO: 117
[2025-04-08 22:04:04] Production.INFO: count ==12
[2025-04-08 22:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:04:04] Production.INFO: count ==23
[2025-04-08 22:04:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:04:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865131') start
[2025-04-08 22:04:04] Production.ERROR: done
[2025-04-08 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865131') end
[2025-04-08 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:04:04] Production.INFO: 1
[2025-04-08 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:04:04] Production.INFO: Total Charge 0
[2025-04-08 22:04:04] Production.INFO: CreateAllLog End
[2025-04-08 22:04:04] Production.INFO: ==26943== Releasing lock...
[2025-04-08 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:04:04] Production.ERROR: done
[2025-04-08 22:04:04] Production.INFO: ==26935== Releasing lock...
[2025-04-08 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:04:04] Production.INFO: Account Balance End.
[2025-04-08 22:04:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:04:04] Production.INFO: ==26939== Releasing lock...
[2025-04-08 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:04:05
[end_date_ymd] => 2025-04-08 22:04:05
[RateCDR] => 1
)
[2025-04-08 22:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:04:05' and `end` < '2025-04-08 22:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:04:13] Production.ERROR: CronJobId end10
[2025-04-08 22:04:13] Production.INFO: ==26937== Releasing lock...
[2025-04-08 22:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:04:14] Production.INFO: call_cost start
[2025-04-08 22:04:14] Production.INFO: call_cost end
[2025-04-08 22:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:04:15] Production.INFO: ==26933== Releasing lock...
[2025-04-08 22:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:04:18] Production.INFO: count ==841
[2025-04-08 22:04:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:04:05 - End Time 2025-04-08 22:04:05
[2025-04-08 22:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865133', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865133', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865133', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865133', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:04:18] Production.INFO: ProcessCDR(1,14865133,1,1,2)
[2025-04-08 22:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865133', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865133', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:04:22] Production.INFO: ==26941== Releasing lock...
[2025-04-08 22:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:04:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 03:05:01] Production.INFO: ==26998== Lock acquired, processing the job...
[2025-04-09 03:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:05:01] Production.INFO: neon service started
[2025-04-09 03:05:01] Production.INFO: neon service started
[2025-04-09 03:05:01] Production.INFO: ==26998== Releasing lock...
[2025-04-09 03:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:05:02] Production.INFO: ==27003== Lock acquired, processing the job...
[2025-04-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:05:02] Production.INFO: ==27003== Releasing lock...
[2025-04-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:05:02] Production.INFO: ==27001== Lock acquired, processing the job...
[2025-04-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:05:02] Production.INFO: ==27001== Releasing lock...
[2025-04-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:05:03] Production.INFO: ==27005== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:05:03] Production.INFO: ==27007== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:05:03] Production.INFO: ==27011== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:05:03] Production.INFO: Account Balance Start.
[2025-04-08 22:05:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:05:03] Production.INFO: 117
[2025-04-08 22:05:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:05:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:05:03] Production.INFO: Total Charge 0
[2025-04-08 22:05:03] Production.INFO: CreateAllLog End
[2025-04-08 22:05:03] Production.INFO: ==27009== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:05:03] Production.INFO: ==27013== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:05:03] Production.INFO: Account Balance End.
[2025-04-08 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:05:03] Production.INFO: ==27015== Lock acquired, processing the job...
[2025-04-08 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:05:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:05:03] Production.INFO: ==27011== Releasing lock...
[2025-04-08 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:05:03] Production.INFO: ==27007== Releasing lock...
[2025-04-08 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:05:04] Production.INFO: count ==12
[2025-04-08 22:05:04] Production.ERROR: done
[2025-04-08 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:05:04] Production.INFO: count ==23
[2025-04-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865137') start
[2025-04-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865137') end
[2025-04-08 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:05:04] Production.INFO: 1
[2025-04-08 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:05:04] Production.ERROR: done
[2025-04-08 22:05:04] Production.INFO: ==27015== Releasing lock...
[2025-04-08 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:05:05
[end_date_ymd] => 2025-04-08 22:05:05
[RateCDR] => 1
)
[2025-04-08 22:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:05:05' and `end` < '2025-04-08 22:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:05:12] Production.ERROR: CronJobId end10
[2025-04-08 22:05:12] Production.INFO: ==27009== Releasing lock...
[2025-04-08 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:05:14] Production.INFO: call_cost start
[2025-04-08 22:05:14] Production.INFO: call_cost end
[2025-04-08 22:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:05:15] Production.INFO: ==27005== Releasing lock...
[2025-04-08 22:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:05:18] Production.INFO: count ==837
[2025-04-08 22:05:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:05:05 - End Time 2025-04-08 22:05:05
[2025-04-08 22:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865138', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865138', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865138', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865138', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:05:18] Production.INFO: ProcessCDR(1,14865138,1,1,2)
[2025-04-08 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865138', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865138', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:05:22] Production.INFO: ==27013== Releasing lock...
[2025-04-08 22:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:05:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:06:02] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-04-09 03:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:06:02] Production.INFO: neon service started
[2025-04-09 03:06:02] Production.INFO: neon service started
[2025-04-09 03:06:02] Production.INFO: ==27072== Releasing lock...
[2025-04-09 03:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:06:02] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-04-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:06:02] Production.INFO: ==27074== Releasing lock...
[2025-04-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:06:02] Production.INFO: ==27076== Lock acquired, processing the job...
[2025-04-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:06:02] Production.INFO: ==27076== Releasing lock...
[2025-04-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:06:03] Production.INFO: ==27078== Lock acquired, processing the job...
[2025-04-08 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:06:03] Production.INFO: ==27080== Lock acquired, processing the job...
[2025-04-08 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:06:03] Production.INFO: ==27084== Lock acquired, processing the job...
[2025-04-08 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:06:03] Production.INFO: Account Balance Start.
[2025-04-08 22:06:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:06:03] Production.INFO: 117
[2025-04-08 22:06:03] Production.INFO: ==27082== Lock acquired, processing the job...
[2025-04-08 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:06:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:06:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:06:04] Production.INFO: ==27087== Lock acquired, processing the job...
[2025-04-08 22:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:06:04] Production.INFO: Total Charge 0
[2025-04-08 22:06:04] Production.INFO: CreateAllLog End
[2025-04-08 22:06:04] Production.INFO: ==27089== Lock acquired, processing the job...
[2025-04-08 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:06:04] Production.INFO: ==27080== Releasing lock...
[2025-04-08 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:06:04] Production.INFO: count ==12
[2025-04-08 22:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:06:04] Production.INFO: count ==23
[2025-04-08 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865142') start
[2025-04-08 22:06:04] Production.INFO: Account Balance End.
[2025-04-08 22:06:04] Production.ERROR: done
[2025-04-08 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:06:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:06:04] Production.INFO: ==27084== Releasing lock...
[2025-04-08 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865142') end
[2025-04-08 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:06:04] Production.INFO: 1
[2025-04-08 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:06:04] Production.INFO: ==27089== Releasing lock...
[2025-04-08 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:06:04] Production.ERROR: done
[2025-04-08 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:06:05
[end_date_ymd] => 2025-04-08 22:06:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:06:05' and `end` < '2025-04-08 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-04-08 22:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:06:14] Production.INFO: call_cost start
[2025-04-08 22:06:14] Production.INFO: call_cost end
[2025-04-08 22:06:14] Production.ERROR: CronJobId end10
[2025-04-08 22:06:14] Production.INFO: ==27082== Releasing lock...
[2025-04-08 22:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:06:15] Production.INFO: ==27078== Releasing lock...
[2025-04-08 22:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:06:18] Production.INFO: count ==835
[2025-04-08 22:06:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:06:05 - End Time 2025-04-08 22:06:05
[2025-04-08 22:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865143', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865143', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865143', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865143', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:06:18] Production.INFO: ProcessCDR(1,14865143,1,1,2)
[2025-04-08 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865143', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865143', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:06:22] Production.INFO: ==27087== Releasing lock...
[2025-04-08 22:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:06:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:07:01] Production.INFO: ==27145== Lock acquired, processing the job...
[2025-04-09 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:07:01] Production.INFO: neon service started
[2025-04-09 03:07:01] Production.INFO: neon service started
[2025-04-09 03:07:01] Production.INFO: ==27145== Releasing lock...
[2025-04-09 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:07:01] Production.INFO: ==27147== Lock acquired, processing the job...
[2025-04-08 22:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:07:02] Production.INFO: ==27147== Releasing lock...
[2025-04-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:07:02] Production.INFO: ==27149== Lock acquired, processing the job...
[2025-04-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:07:02] Production.INFO: ==27149== Releasing lock...
[2025-04-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:07:03] Production.INFO: ==27155== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:07:03] Production.INFO: ==27161== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:07:03] Production.INFO: ==27151== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:07:03] Production.INFO: ==27153== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:07:03] Production.INFO: ==27157== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 22:07:03] Production.INFO: ==27159== Lock acquired, processing the job...
[2025-04-08 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:07:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:07:03] Production.INFO: count ==23
[2025-04-08 22:07:03] Production.INFO: Account Balance Start.
[2025-04-08 22:07:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:07:03] Production.INFO: 117
[2025-04-08 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865144') start
[2025-04-08 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865144') end
[2025-04-08 22:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:07:03] Production.INFO: 1
[2025-04-08 22:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:07:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:07:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:07:03] Production.INFO: Total Charge 0
[2025-04-08 22:07:03] Production.INFO: CreateAllLog End
[2025-04-08 22:07:03] Production.INFO: ==27161== Releasing lock...
[2025-04-08 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:07:03] Production.INFO: ==27153== Releasing lock...
[2025-04-08 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:07:03] Production.ERROR: done
[2025-04-08 22:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:07:03] Production.INFO: Account Balance End.
[2025-04-08 22:07:03] Production.ERROR: done
[2025-04-08 22:07:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:07:04] Production.INFO: ==27157== Releasing lock...
[2025-04-08 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:07:04
[end_date_ymd] => 2025-04-08 22:07:04
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:07:04' and `end` < '2025-04-08 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-04-08 22:07:11] Production.ERROR: CronJobId end10
[2025-04-08 22:07:11] Production.INFO: ==27155== Releasing lock...
[2025-04-08 22:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:07:13] Production.INFO: call_cost start
[2025-04-08 22:07:13] Production.INFO: call_cost end
[2025-04-08 22:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:07:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:07:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:07:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:07:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:07:14] Production.INFO: ==27151== Releasing lock...
[2025-04-08 22:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:07:17] Production.INFO: count ==835
[2025-04-08 22:07:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:07:04 - End Time 2025-04-08 22:07:04
[2025-04-08 22:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865148', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865148', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865148', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865148', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:07:17] Production.INFO: ProcessCDR(1,14865148,1,1,2)
[2025-04-08 22:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865148', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865148', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:07:21] Production.INFO: ==27159== Releasing lock...
[2025-04-08 22:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:07:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:08:01] Production.INFO: ==27222== Lock acquired, processing the job...
[2025-04-09 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:08:01] Production.INFO: neon service started
[2025-04-09 03:08:01] Production.INFO: neon service started
[2025-04-09 03:08:01] Production.INFO: ==27222== Releasing lock...
[2025-04-09 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:08:02] Production.INFO: ==27224== Lock acquired, processing the job...
[2025-04-08 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:08:02] Production.INFO: ==27224== Releasing lock...
[2025-04-08 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:08:02] Production.INFO: ==27226== Lock acquired, processing the job...
[2025-04-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:08:02] Production.INFO: ==27226== Releasing lock...
[2025-04-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:08:03] Production.INFO: ==27232== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:08:03] Production.INFO: ==27228== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:08:03] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:08:03] Production.INFO: ==27230== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:08:03] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:08:03] Production.INFO: ==27238== Lock acquired, processing the job...
[2025-04-08 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:08:04] Production.INFO: Account Balance Start.
[2025-04-08 22:08:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:08:04] Production.INFO: 117
[2025-04-08 22:08:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:08:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:08:04] Production.INFO: count ==12
[2025-04-08 22:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:08:04] Production.INFO: count ==23
[2025-04-08 22:08:04] Production.ERROR: done
[2025-04-08 22:08:04] Production.INFO: Total Charge 0
[2025-04-08 22:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865150') start
[2025-04-08 22:08:04] Production.INFO: CreateAllLog End
[2025-04-08 22:08:04] Production.ERROR: done
[2025-04-08 22:08:04] Production.INFO: ==27230== Releasing lock...
[2025-04-08 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865150') end
[2025-04-08 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:08:04] Production.INFO: 1
[2025-04-08 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:08:04] Production.INFO: ==27238== Releasing lock...
[2025-04-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:08:04] Production.INFO: Account Balance End.
[2025-04-08 22:08:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:08:04] Production.INFO: ==27234== Releasing lock...
[2025-04-08 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:08:05
[end_date_ymd] => 2025-04-08 22:08:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:08:05' and `end` < '2025-04-08 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-04-08 22:08:12] Production.ERROR: CronJobId end10
[2025-04-08 22:08:12] Production.INFO: ==27232== Releasing lock...
[2025-04-08 22:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:08:14] Production.INFO: call_cost start
[2025-04-08 22:08:14] Production.INFO: call_cost end
[2025-04-08 22:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:08:15] Production.INFO: ==27228== Releasing lock...
[2025-04-08 22:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:08:18] Production.INFO: count ==834
[2025-04-08 22:08:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:08:05 - End Time 2025-04-08 22:08:05
[2025-04-08 22:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865153', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865153', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865153', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865153', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:08:18] Production.INFO: ProcessCDR(1,14865153,1,1,2)
[2025-04-08 22:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865153', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865153', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:08:21] Production.INFO: ==27236== Releasing lock...
[2025-04-08 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:08:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:09:01] Production.INFO: ==27292== Lock acquired, processing the job...
[2025-04-09 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:09:01] Production.INFO: neon service started
[2025-04-09 03:09:01] Production.INFO: neon service started
[2025-04-09 03:09:01] Production.INFO: ==27292== Releasing lock...
[2025-04-09 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:09:01] Production.INFO: ==27294== Lock acquired, processing the job...
[2025-04-08 22:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:09:02] Production.INFO: ==27296== Lock acquired, processing the job...
[2025-04-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:09:02] Production.INFO: ==27294== Releasing lock...
[2025-04-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:09:02] Production.INFO: ==27296== Releasing lock...
[2025-04-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:09:02] Production.INFO: ==27306== Lock acquired, processing the job...
[2025-04-08 22:09:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:09:03] Production.INFO: ==27298== Lock acquired, processing the job...
[2025-04-08 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:09:03] Production.INFO: ==27308== Lock acquired, processing the job...
[2025-04-08 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:09:03] Production.INFO: ==27300== Lock acquired, processing the job...
[2025-04-08 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:09:03] Production.INFO: ==27302== Lock acquired, processing the job...
[2025-04-08 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:09:03] Production.INFO: ==27304== Lock acquired, processing the job...
[2025-04-08 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:09:03] Production.INFO: Account Balance Start.
[2025-04-08 22:09:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:09:03] Production.INFO: 117
[2025-04-08 22:09:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:09:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:09:03] Production.INFO: Total Charge 0
[2025-04-08 22:09:03] Production.INFO: CreateAllLog End
[2025-04-08 22:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:09:03] Production.INFO: count ==12
[2025-04-08 22:09:03] Production.ERROR: done
[2025-04-08 22:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:09:03] Production.INFO: count ==23
[2025-04-08 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865155') start
[2025-04-08 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865155') end
[2025-04-08 22:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:09:03] Production.INFO: 1
[2025-04-08 22:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:09:03] Production.INFO: ==27308== Releasing lock...
[2025-04-08 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:09:03] Production.INFO: Account Balance End.
[2025-04-08 22:09:03] Production.ERROR: done
[2025-04-08 22:09:03] Production.INFO: ==27300== Releasing lock...
[2025-04-08 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:09:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:09:03] Production.INFO: ==27304== Releasing lock...
[2025-04-08 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:09:04
[end_date_ymd] => 2025-04-08 22:09:04
[RateCDR] => 1
)
[2025-04-08 22: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-04-08 19:09:04' and `end` < '2025-04-08 22: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-04-08 22:09:13] Production.ERROR: CronJobId end10
[2025-04-08 22:09:13] Production.INFO: ==27302== Releasing lock...
[2025-04-08 22:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:09:14] Production.INFO: call_cost start
[2025-04-08 22:09:14] Production.INFO: call_cost end
[2025-04-08 22:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:09:15] Production.INFO: ==27298== Releasing lock...
[2025-04-08 22:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:09:17] Production.INFO: count ==826
[2025-04-08 22:09:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:09:04 - End Time 2025-04-08 22:09:04
[2025-04-08 22:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865158', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865158', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865158', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865158', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:09:17] Production.INFO: ProcessCDR(1,14865158,1,1,2)
[2025-04-08 22:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865158', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865158', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:09:21] Production.INFO: ==27306== Releasing lock...
[2025-04-08 22:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:09:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:10:02] Production.INFO: ==27362== Lock acquired, processing the job...
[2025-04-09 03:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:10:02] Production.INFO: neon service started
[2025-04-09 03:10:02] Production.INFO: neon service started
[2025-04-09 03:10:02] Production.INFO: ==27362== Releasing lock...
[2025-04-09 03:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:10:02] Production.INFO: ==27364== Lock acquired, processing the job...
[2025-04-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:10:02] Production.INFO: ==27367== Lock acquired, processing the job...
[2025-04-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:10:02] Production.INFO: ==27364== Releasing lock...
[2025-04-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:10:02] Production.INFO: ==27367== Releasing lock...
[2025-04-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:10:03] Production.INFO: ==27369== Lock acquired, processing the job...
[2025-04-08 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:10:04] Production.INFO: ==27371== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:10:04] Production.INFO: ==27369== Releasing lock...
[2025-04-08 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:10:04] Production.INFO: ==27383== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:10:04] Production.INFO: ==27377== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:10:04] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:10:04] Production.INFO: Account Balance Start.
[2025-04-08 22:10:04] Production.INFO: count ==12
[2025-04-08 22:10:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:10:04] Production.INFO: 117
[2025-04-08 22:10:04] Production.INFO: count ==23
[2025-04-08 22:10:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:10:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865160') start
[2025-04-08 22:10:04] Production.INFO: Total Charge 0
[2025-04-08 22:10:04] Production.INFO: CreateAllLog End
[2025-04-08 22:10:04] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:10:04] Production.INFO: ==27379== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:10:04] Production.INFO: ==27381== Lock acquired, processing the job...
[2025-04-08 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865160') end
[2025-04-08 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:10:04] Production.INFO: 1
[2025-04-08 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:10:04] Production.INFO: Account Balance End.
[2025-04-08 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:10:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:10:04] Production.INFO: ==27377== Releasing lock...
[2025-04-08 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:10:04] Production.INFO: ==27383== Releasing lock...
[2025-04-08 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:10:04] Production.INFO: ==27373== Releasing lock...
[2025-04-08 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:10:04] Production.ERROR: done
[2025-04-08 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:10:04] Production.ERROR: done
[2025-04-08 22:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865163', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:10:05] Production.ERROR: done
[2025-04-08 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:10:06
[end_date_ymd] => 2025-04-08 22:10:06
[RateCDR] => 1
)
[2025-04-08 22:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:10:06' and `end` < '2025-04-08 22:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865163', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:10:09] Production.INFO: ProcessCDR(1,14865163,1,1,2)
[2025-04-08 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:10:09] Production.INFO: ==27381== Releasing lock...
[2025-04-08 22:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:10:14] Production.ERROR: CronJobId end10
[2025-04-08 22:10:14] Production.INFO: ==27375== Releasing lock...
[2025-04-08 22:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:10:17] Production.INFO: call_cost start
[2025-04-08 22:10:17] Production.INFO: call_cost end
[2025-04-08 22:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:10:18] Production.INFO: ==27371== Releasing lock...
[2025-04-08 22:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:10:19] Production.INFO: count ==816
[2025-04-08 22:10:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:10:06 - End Time 2025-04-08 22:10:06
[2025-04-08 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865164', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865164', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865164', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865164', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:10:19] Production.INFO: ProcessCDR(1,14865164,1,1,2)
[2025-04-08 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865164', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865164', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:10:23] Production.INFO: ==27379== Releasing lock...
[2025-04-08 22:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:10:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 03:11:01] Production.INFO: ==27439== Lock acquired, processing the job...
[2025-04-09 03:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:11:01] Production.INFO: neon service started
[2025-04-09 03:11:01] Production.INFO: neon service started
[2025-04-09 03:11:01] Production.INFO: ==27439== Releasing lock...
[2025-04-09 03:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:11:01] Production.INFO: ==27441== Lock acquired, processing the job...
[2025-04-08 22:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:11:02] Production.INFO: ==27441== Releasing lock...
[2025-04-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:11:02] Production.INFO: ==27443== Lock acquired, processing the job...
[2025-04-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:11:02] Production.INFO: ==27443== Releasing lock...
[2025-04-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:11:03] Production.INFO: ==27450== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:11:03] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:11:03] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:11:03] Production.INFO: ==27448== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:11:03] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:11:03] Production.INFO: count ==23
[2025-04-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865165') start
[2025-04-08 22:11:03] Production.INFO: ==27452== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:11:03] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-04-08 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865165') end
[2025-04-08 22:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:11:03] Production.INFO: 1
[2025-04-08 22:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:11:03] Production.INFO: ==27456== Releasing lock...
[2025-04-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:11:03] Production.INFO: Account Balance Start.
[2025-04-08 22:11:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:11:03] Production.INFO: 117
[2025-04-08 22:11:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:11:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:11:03] Production.INFO: ==27448== Releasing lock...
[2025-04-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:11:03] Production.INFO: Total Charge 0
[2025-04-08 22:11:03] Production.INFO: CreateAllLog End
[2025-04-08 22:11:04] Production.ERROR: done
[2025-04-08 22:11:04] Production.INFO: Account Balance End.
[2025-04-08 22:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:11:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:11:04] Production.INFO: ==27452== Releasing lock...
[2025-04-08 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:11:04] Production.ERROR: done
[2025-04-08 22:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:11:05
[end_date_ymd] => 2025-04-08 22:11:05
[RateCDR] => 1
)
[2025-04-08 22:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:11:05' and `end` < '2025-04-08 22:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:11:11] Production.ERROR: CronJobId end10
[2025-04-08 22:11:11] Production.INFO: ==27450== Releasing lock...
[2025-04-08 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:11:13] Production.INFO: call_cost start
[2025-04-08 22:11:13] Production.INFO: call_cost end
[2025-04-08 22:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:11:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:11:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:11:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:11:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:11:14] Production.INFO: ==27446== Releasing lock...
[2025-04-08 22:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:11:17] Production.INFO: count ==771
[2025-04-08 22:11:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:11:05 - End Time 2025-04-08 22:11:05
[2025-04-08 22:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865169', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865169', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865169', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865169', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:11:18] Production.INFO: ProcessCDR(1,14865169,1,1,2)
[2025-04-08 22:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865169', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865169', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:11:21] Production.INFO: ==27454== Releasing lock...
[2025-04-08 22:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:11:21] Production.INFO: 33.25 MB #Memory Used#
[2025-04-09 03:12:02] Production.INFO: ==27509== Lock acquired, processing the job...
[2025-04-09 03:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:12:02] Production.INFO: neon service started
[2025-04-09 03:12:02] Production.INFO: neon service started
[2025-04-09 03:12:02] Production.INFO: ==27509== Releasing lock...
[2025-04-09 03:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:12:02] Production.INFO: ==27513== Lock acquired, processing the job...
[2025-04-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:12:02] Production.INFO: ==27513== Releasing lock...
[2025-04-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:12:02] Production.INFO: ==27511== Lock acquired, processing the job...
[2025-04-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:12:02] Production.INFO: ==27511== Releasing lock...
[2025-04-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:12:03] Production.INFO: ==27515== Lock acquired, processing the job...
[2025-04-08 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:12:03] Production.INFO: ==27522== Lock acquired, processing the job...
[2025-04-08 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:12:03] Production.INFO: ==27524== Lock acquired, processing the job...
[2025-04-08 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:12:03] Production.INFO: Account Balance Start.
[2025-04-08 22:12:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:12:03] Production.INFO: 117
[2025-04-08 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:12:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:12:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:12:03] Production.INFO: ==27517== Lock acquired, processing the job...
[2025-04-08 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:12:04] Production.INFO: Total Charge 0
[2025-04-08 22:12:04] Production.INFO: ==27520== Lock acquired, processing the job...
[2025-04-08 22:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:12:04] Production.INFO: CreateAllLog End
[2025-04-08 22:12:04] Production.INFO: ==27526== Lock acquired, processing the job...
[2025-04-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:12:04] Production.ERROR: done
[2025-04-08 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:12:04] Production.INFO: Account Balance End.
[2025-04-08 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:12:04] Production.INFO: count ==12
[2025-04-08 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:12:04] Production.INFO: count ==23
[2025-04-08 22:12:04] Production.ERROR: done
[2025-04-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865173') start
[2025-04-08 22:12:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:12:04] Production.INFO: ==27522== Releasing lock...
[2025-04-08 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:12:04] Production.INFO: ==27517== Releasing lock...
[2025-04-08 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865173') end
[2025-04-08 22:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:12:04] Production.INFO: 1
[2025-04-08 22:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:12:04] Production.INFO: ==27526== Releasing lock...
[2025-04-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:12:05
[end_date_ymd] => 2025-04-08 22:12:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:12:05' and `end` < '2025-04-08 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-04-08 22:12:12] Production.ERROR: CronJobId end10
[2025-04-08 22:12:12] Production.INFO: ==27520== Releasing lock...
[2025-04-08 22:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:12:14] Production.INFO: call_cost start
[2025-04-08 22:12:14] Production.INFO: call_cost end
[2025-04-08 22:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:12:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:12:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:12:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:12:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:12:14] Production.INFO: ==27515== Releasing lock...
[2025-04-08 22:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:12:18] Production.INFO: count ==767
[2025-04-08 22:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:12:05 - End Time 2025-04-08 22:12:05
[2025-04-08 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865174', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865174', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865174', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865174', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:12:18] Production.INFO: ProcessCDR(1,14865174,1,1,2)
[2025-04-08 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865174', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865174', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:12:21] Production.INFO: ==27524== Releasing lock...
[2025-04-08 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:12:21] Production.INFO: 33 MB #Memory Used#
[2025-04-09 03:13:01] Production.INFO: ==27580== Lock acquired, processing the job...
[2025-04-09 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:13:01] Production.INFO: neon service started
[2025-04-09 03:13:01] Production.INFO: neon service started
[2025-04-09 03:13:01] Production.INFO: ==27580== Releasing lock...
[2025-04-09 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:13:01] Production.INFO: ==27582== Lock acquired, processing the job...
[2025-04-08 22:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:13:02] Production.INFO: ==27584== Lock acquired, processing the job...
[2025-04-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:13:02] Production.INFO: ==27582== Releasing lock...
[2025-04-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:13:02] Production.INFO: ==27584== Releasing lock...
[2025-04-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:13:03] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:13:03] Production.INFO: ==27587== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:13:03] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:13:03] Production.INFO: ==27589== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 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-04-08 22:13:03] Production.INFO: ==27591== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:13:03] Production.INFO: ==27593== Lock acquired, processing the job...
[2025-04-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:13:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:13:03] Production.INFO: count ==23
[2025-04-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865176') start
[2025-04-08 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:13:03] Production.INFO: Account Balance Start.
[2025-04-08 22:13:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:13:03] Production.INFO: 117
[2025-04-08 22:13:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865176') end
[2025-04-08 22:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:13:03] Production.INFO: 1
[2025-04-08 22:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:13:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:13:03] Production.INFO: Total Charge 0
[2025-04-08 22:13:03] Production.INFO: CreateAllLog End
[2025-04-08 22:13:03] Production.INFO: ==27597== Releasing lock...
[2025-04-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:13:03] Production.ERROR: done
[2025-04-08 22:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:13:03] Production.INFO: ==27589== Releasing lock...
[2025-04-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:13:04] Production.INFO: Account Balance End.
[2025-04-08 22:13:04] Production.ERROR: done
[2025-04-08 22:13:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:13:04] Production.INFO: ==27593== Releasing lock...
[2025-04-08 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:13:04
[end_date_ymd] => 2025-04-08 22:13:04
[RateCDR] => 1
)
[2025-04-08 22: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-04-08 19:13:04' and `end` < '2025-04-08 22: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-04-08 22:13:12] Production.ERROR: CronJobId end10
[2025-04-08 22:13:12] Production.INFO: ==27591== Releasing lock...
[2025-04-08 22:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:13:14] Production.INFO: call_cost start
[2025-04-08 22:13:14] Production.INFO: call_cost end
[2025-04-08 22:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:13:15] Production.INFO: ==27587== Releasing lock...
[2025-04-08 22:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:13:17] Production.INFO: count ==761
[2025-04-08 22:13:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:13:04 - End Time 2025-04-08 22:13:04
[2025-04-08 22:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865179', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865179', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865179', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865179', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:13:17] Production.INFO: ProcessCDR(1,14865179,1,1,2)
[2025-04-08 22:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865179', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865179', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:13:21] Production.INFO: ==27595== Releasing lock...
[2025-04-08 22:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:13:21] Production.INFO: 33 MB #Memory Used#
[2025-04-09 03:14:01] Production.INFO: ==27653== Lock acquired, processing the job...
[2025-04-09 03:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:14:02] Production.INFO: neon service started
[2025-04-09 03:14:02] Production.INFO: neon service started
[2025-04-09 03:14:02] Production.INFO: ==27653== Releasing lock...
[2025-04-09 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:14:02] Production.INFO: ==27655== Lock acquired, processing the job...
[2025-04-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:14:02] Production.INFO: ==27657== Lock acquired, processing the job...
[2025-04-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:14:02] Production.INFO: ==27655== Releasing lock...
[2025-04-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:14:02] Production.INFO: ==27657== Releasing lock...
[2025-04-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:14:03] Production.INFO: ==27660== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:14:03] Production.INFO: ==27662== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:14:03] Production.INFO: ==27664== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:14:03] Production.INFO: ==27666== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:14:03] Production.INFO: ==27668== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:14:03] Production.INFO: ==27670== Lock acquired, processing the job...
[2025-04-08 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:14:04] Production.INFO: Account Balance Start.
[2025-04-08 22:14:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:14:04] Production.INFO: 117
[2025-04-08 22:14:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:14:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:14:04] Production.INFO: ==27662== Releasing lock...
[2025-04-08 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:14:04] Production.INFO: Total Charge 0
[2025-04-08 22:14:04] Production.INFO: CreateAllLog End
[2025-04-08 22:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:14:04] Production.INFO: count ==12
[2025-04-08 22:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:14:04] Production.ERROR: done
[2025-04-08 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:14:04] Production.INFO: count ==23
[2025-04-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865183') start
[2025-04-08 22:14:04] Production.INFO: Account Balance End.
[2025-04-08 22:14:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:14:04] Production.INFO: ==27666== Releasing lock...
[2025-04-08 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:14:04] Production.ERROR: done
[2025-04-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865183') end
[2025-04-08 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:14:04] Production.INFO: 1
[2025-04-08 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:14:04] Production.INFO: ==27670== Releasing lock...
[2025-04-08 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:14:05
[end_date_ymd] => 2025-04-08 22:14:05
[RateCDR] => 1
)
[2025-04-08 22:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:14:05' and `end` < '2025-04-08 22:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:14:13] Production.ERROR: CronJobId end10
[2025-04-08 22:14:13] Production.INFO: ==27664== Releasing lock...
[2025-04-08 22:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:14:14] Production.INFO: call_cost start
[2025-04-08 22:14:14] Production.INFO: call_cost end
[2025-04-08 22:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:14:15] Production.INFO: ==27660== Releasing lock...
[2025-04-08 22:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:14:18] Production.INFO: count ==760
[2025-04-08 22:14:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:14:05 - End Time 2025-04-08 22:14:05
[2025-04-08 22:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865184', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865184', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865184', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865184', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:14:18] Production.INFO: ProcessCDR(1,14865184,1,1,2)
[2025-04-08 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865184', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865184', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:14:22] Production.INFO: ==27668== Releasing lock...
[2025-04-08 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:14:22] Production.INFO: 33 MB #Memory Used#
[2025-04-09 03:15:01] Production.INFO: ==27726== Lock acquired, processing the job...
[2025-04-09 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:15:01] Production.INFO: neon service started
[2025-04-09 03:15:01] Production.INFO: neon service started
[2025-04-09 03:15:01] Production.INFO: ==27726== Releasing lock...
[2025-04-09 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:15:02] Production.INFO: ==27728== Lock acquired, processing the job...
[2025-04-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:15:02] Production.INFO: ==27730== Lock acquired, processing the job...
[2025-04-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:15:02] Production.INFO: ==27730== Releasing lock...
[2025-04-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:15:02] Production.INFO: ==27728== Releasing lock...
[2025-04-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:15:03] Production.INFO: ==27733== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:15:03] Production.INFO: ==27737== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:15:03] Production.INFO: ==27735== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:15:03] Production.INFO: ==27741== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:15:03] Production.INFO: ==27739== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:15:03] Production.INFO: ==27743== Lock acquired, processing the job...
[2025-04-08 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:15:03] Production.INFO: Account Balance Start.
[2025-04-08 22:15:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:15:03] Production.INFO: 117
[2025-04-08 22:15:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:15:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:15:03] Production.INFO: Total Charge 0
[2025-04-08 22:15:03] Production.INFO: CreateAllLog End
[2025-04-08 22:15:03] Production.INFO: ==27735== Releasing lock...
[2025-04-08 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22: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-04-08 22:15:04] Production.INFO: Account Balance End.
[2025-04-08 22:15:04] Production.INFO: count ==12
[2025-04-08 22:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:15:04] Production.INFO: count ==23
[2025-04-08 22:15:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:15:04] Production.INFO: ==27739== Releasing lock...
[2025-04-08 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865188') start
[2025-04-08 22:15:04] Production.ERROR: done
[2025-04-08 22:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865188') end
[2025-04-08 22:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:15:04] Production.INFO: 1
[2025-04-08 22:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:15:04] Production.ERROR: done
[2025-04-08 22:15:04] Production.INFO: ==27743== Releasing lock...
[2025-04-08 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:15:05
[end_date_ymd] => 2025-04-08 22:15:05
[RateCDR] => 1
)
[2025-04-08 22:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:15:05' and `end` < '2025-04-08 22:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:15:12] Production.ERROR: CronJobId end10
[2025-04-08 22:15:12] Production.INFO: ==27737== Releasing lock...
[2025-04-08 22:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:15:14] Production.INFO: call_cost start
[2025-04-08 22:15:14] Production.INFO: call_cost end
[2025-04-08 22:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:15:15] Production.INFO: ==27733== Releasing lock...
[2025-04-08 22:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:15:18] Production.INFO: count ==758
[2025-04-08 22:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:15:05 - End Time 2025-04-08 22:15:05
[2025-04-08 22:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865189', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865189', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865189', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865189', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:15:18] Production.INFO: ProcessCDR(1,14865189,1,1,2)
[2025-04-08 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865189', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865189', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:15:21] Production.INFO: ==27741== Releasing lock...
[2025-04-08 22:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:15:21] Production.INFO: 33 MB #Memory Used#
[2025-04-09 03:16:01] Production.INFO: ==27799== Lock acquired, processing the job...
[2025-04-09 03:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:16:01] Production.INFO: neon service started
[2025-04-09 03:16:01] Production.INFO: neon service started
[2025-04-09 03:16:01] Production.INFO: ==27799== Releasing lock...
[2025-04-09 03:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:16:02] Production.INFO: ==27803== Lock acquired, processing the job...
[2025-04-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:16:02] Production.INFO: ==27803== Releasing lock...
[2025-04-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:16:02] Production.INFO: ==27801== Lock acquired, processing the job...
[2025-04-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:16:02] Production.INFO: ==27801== Releasing lock...
[2025-04-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:16:03] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:16:03] Production.INFO: ==27808== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:16:03] Production.INFO: ==27812== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:16:03] Production.INFO: ==27810== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:16:03] Production.INFO: Account Balance Start.
[2025-04-08 22:16:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:16:03] Production.INFO: 117
[2025-04-08 22:16:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:16:03] Production.INFO: ==27816== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:16:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:16:03] Production.INFO: ==27814== Lock acquired, processing the job...
[2025-04-08 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:16:03] Production.INFO: ==27808== Releasing lock...
[2025-04-08 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:16:03] Production.INFO: Total Charge 0
[2025-04-08 22:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:16:04] Production.INFO: CreateAllLog End
[2025-04-08 22:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:16:04] Production.INFO: count ==12
[2025-04-08 22:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:16:04] Production.INFO: count ==23
[2025-04-08 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865193') start
[2025-04-08 22:16:04] Production.ERROR: done
[2025-04-08 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865193') end
[2025-04-08 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:16:04] Production.INFO: 1
[2025-04-08 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:16:04] Production.INFO: Account Balance End.
[2025-04-08 22:16:04] Production.INFO: ==27816== Releasing lock...
[2025-04-08 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:16:04] Production.ERROR: done
[2025-04-08 22:16:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:16:04] Production.INFO: ==27812== Releasing lock...
[2025-04-08 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:16:05
[end_date_ymd] => 2025-04-08 22:16:05
[RateCDR] => 1
)
[2025-04-08 22:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:16:05' and `end` < '2025-04-08 22:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:16:13] Production.ERROR: CronJobId end10
[2025-04-08 22:16:13] Production.INFO: ==27810== Releasing lock...
[2025-04-08 22:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:16:14] Production.INFO: call_cost start
[2025-04-08 22:16:14] Production.INFO: call_cost end
[2025-04-08 22:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:16:15] Production.INFO: ==27806== Releasing lock...
[2025-04-08 22:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:16:18] Production.INFO: count ==755
[2025-04-08 22:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:16:05 - End Time 2025-04-08 22:16:05
[2025-04-08 22:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865194', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865194', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865194', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865194', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:16:18] Production.INFO: ProcessCDR(1,14865194,1,1,2)
[2025-04-08 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865194', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865194', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:16:21] Production.INFO: ==27814== Releasing lock...
[2025-04-08 22:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:16:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:17:01] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-04-09 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:17:01] Production.INFO: neon service started
[2025-04-09 03:17:01] Production.INFO: neon service started
[2025-04-09 03:17:01] Production.INFO: ==27907== Releasing lock...
[2025-04-09 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:17:01] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-04-08 22:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:17:02] Production.INFO: ==27909== Releasing lock...
[2025-04-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:17:02] Production.INFO: ==27911== Lock acquired, processing the job...
[2025-04-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:17:02] Production.INFO: ==27911== Releasing lock...
[2025-04-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:17:03] Production.INFO: ==27922== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:17:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:17:03] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:17:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:17:03] Production.INFO: ==27924== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:17:03] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-04-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:17:03] Production.INFO: Account Balance Start.
[2025-04-08 22:17:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:17:03] Production.INFO: 117
[2025-04-08 22:17:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:17:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:17:03] Production.INFO: Total Charge 0
[2025-04-08 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:17:03] Production.INFO: CreateAllLog End
[2025-04-08 22:17:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:17:03] Production.INFO: count ==23
[2025-04-08 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865196') start
[2025-04-08 22:17:03] Production.INFO: Account Balance End.
[2025-04-08 22:17:03] Production.ERROR: done
[2025-04-08 22:17:03] Production.INFO: ==27916== Releasing lock...
[2025-04-08 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865196') end
[2025-04-08 22:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:17:03] Production.INFO: 1
[2025-04-08 22:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:17:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:17:03] Production.INFO: ==27920== Releasing lock...
[2025-04-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:17:03] Production.INFO: ==27924== Releasing lock...
[2025-04-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:17:03] Production.ERROR: done
[2025-04-08 22:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:17:04
[end_date_ymd] => 2025-04-08 22:17:04
[RateCDR] => 1
)
[2025-04-08 22: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-04-08 19:17:04' and `end` < '2025-04-08 22: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-04-08 22:17:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-08 22:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:17:13] Production.ERROR: CronJobId end10
[2025-04-08 22:17:13] Production.INFO: ==27918== Releasing lock...
[2025-04-08 22:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:17:13] Production.INFO: call_cost start
[2025-04-08 22:17:13] Production.INFO: call_cost end
[2025-04-08 22:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:17:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:17:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:17:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:17:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:17:14] Production.INFO: ==27914== Releasing lock...
[2025-04-08 22:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:17:17] Production.INFO: count ==755
[2025-04-08 22:17:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:17:04 - End Time 2025-04-08 22:17:04
[2025-04-08 22:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865199', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865199', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865199', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865199', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:17:17] Production.INFO: ProcessCDR(1,14865199,1,1,2)
[2025-04-08 22:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865199', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865199', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:17:22] Production.INFO: ==27922== Releasing lock...
[2025-04-08 22:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:17:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:18:01] Production.INFO: ==27979== Lock acquired, processing the job...
[2025-04-09 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:18:02] Production.INFO: neon service started
[2025-04-09 03:18:02] Production.INFO: neon service started
[2025-04-09 03:18:02] Production.INFO: ==27979== Releasing lock...
[2025-04-09 03:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:18:02] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-04-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:18:02] Production.INFO: ==27983== Releasing lock...
[2025-04-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:18:02] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-04-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:18:02] Production.INFO: ==27981== Releasing lock...
[2025-04-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:18:03] Production.INFO: ==27986== Lock acquired, processing the job...
[2025-04-08 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:18:03] Production.INFO: ==27990== Lock acquired, processing the job...
[2025-04-08 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:18:03] Production.INFO: ==27996== Lock acquired, processing the job...
[2025-04-08 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 22:18:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:18:03] Production.INFO: count ==23
[2025-04-08 22:18:03] Production.INFO: ==27988== Lock acquired, processing the job...
[2025-04-08 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865201') start
[2025-04-08 22:18:04] Production.INFO: ==27992== Lock acquired, processing the job...
[2025-04-08 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:18:04] Production.INFO: ==27994== Lock acquired, processing the job...
[2025-04-08 22:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865201') end
[2025-04-08 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:18:04] Production.INFO: 1
[2025-04-08 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:18:04] Production.INFO: ==27996== Releasing lock...
[2025-04-08 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:18:04] Production.INFO: Account Balance Start.
[2025-04-08 22:18:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:18:04] Production.INFO: 117
[2025-04-08 22:18:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:18:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:18:04] Production.INFO: Total Charge 0
[2025-04-08 22:18:04] Production.INFO: CreateAllLog End
[2025-04-08 22:18:04] Production.ERROR: done
[2025-04-08 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:18:04] Production.INFO: Account Balance End.
[2025-04-08 22:18:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:18:04] Production.INFO: ==27992== Releasing lock...
[2025-04-08 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:18:04] Production.INFO: ==27988== Releasing lock...
[2025-04-08 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:18:04] Production.ERROR: done
[2025-04-08 22:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:18:06
[end_date_ymd] => 2025-04-08 22:18:06
[RateCDR] => 1
)
[2025-04-08 22:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:18:06' and `end` < '2025-04-08 22:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:18:14] Production.ERROR: CronJobId end10
[2025-04-08 22:18:14] Production.INFO: ==27990== Releasing lock...
[2025-04-08 22:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:18:15] Production.INFO: call_cost start
[2025-04-08 22:18:15] Production.INFO: call_cost end
[2025-04-08 22:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:18:15] Production.INFO: ==27986== Releasing lock...
[2025-04-08 22:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:18:18] Production.INFO: count ==754
[2025-04-08 22:18:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:18:06 - End Time 2025-04-08 22:18:06
[2025-04-08 22:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865204', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865204', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865204', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865204', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:18:19] Production.INFO: ProcessCDR(1,14865204,1,1,2)
[2025-04-08 22:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865204', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865204', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:18:22] Production.INFO: ==27994== Releasing lock...
[2025-04-08 22:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:18:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:19:01] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-04-09 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:19:01] Production.INFO: neon service started
[2025-04-09 03:19:01] Production.INFO: neon service started
[2025-04-09 03:19:01] Production.INFO: ==28054== Releasing lock...
[2025-04-09 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:19:01] Production.INFO: ==28056== Lock acquired, processing the job...
[2025-04-08 22:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:19:02] Production.INFO: ==28056== Releasing lock...
[2025-04-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:19:02] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-04-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:19:02] Production.INFO: ==28058== Releasing lock...
[2025-04-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:19:02] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-04-08 22:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:19:02] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-04-08 22:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:19:03] Production.INFO: ==28069== Lock acquired, processing the job...
[2025-04-08 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:19:03] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-04-08 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:19:03] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-04-08 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:19:03] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-04-08 22:19:03] Production.INFO: Account Balance Start.
[2025-04-08 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:19:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:19:03] Production.INFO: 117
[2025-04-08 22:19:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:19:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:19:03] Production.INFO: Total Charge 0
[2025-04-08 22:19:03] Production.INFO: CreateAllLog End
[2025-04-08 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 22:19:03] Production.INFO: ==28063== Releasing lock...
[2025-04-08 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:19:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:19:03] Production.INFO: count ==23
[2025-04-08 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865208') start
[2025-04-08 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865208') end
[2025-04-08 22:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:19:03] Production.INFO: 1
[2025-04-08 22:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:19:03] Production.INFO: ==28071== Releasing lock...
[2025-04-08 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:19:03] Production.ERROR: done
[2025-04-08 22:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:19:03] Production.ERROR: done
[2025-04-08 22:19:03] Production.INFO: Account Balance End.
[2025-04-08 22:19:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:19:03] Production.INFO: ==28067== Releasing lock...
[2025-04-08 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:19:05
[end_date_ymd] => 2025-04-08 22:19:05
[RateCDR] => 1
)
[2025-04-08 22:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:19:05' and `end` < '2025-04-08 22:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:19:12] Production.ERROR: CronJobId end10
[2025-04-08 22:19:12] Production.INFO: ==28065== Releasing lock...
[2025-04-08 22:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:19:14] Production.INFO: call_cost start
[2025-04-08 22:19:14] Production.INFO: call_cost end
[2025-04-08 22:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:19:15] Production.INFO: ==28061== Releasing lock...
[2025-04-08 22:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:19:17] Production.INFO: count ==752
[2025-04-08 22:19:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:19:05 - End Time 2025-04-08 22:19:05
[2025-04-08 22:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865209', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865209', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865209', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865209', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:19:18] Production.INFO: ProcessCDR(1,14865209,1,1,2)
[2025-04-08 22:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865209', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865209', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:19:21] Production.INFO: ==28069== Releasing lock...
[2025-04-08 22:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:19:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:20:01] Production.INFO: ==28128== Lock acquired, processing the job...
[2025-04-09 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:20:01] Production.INFO: neon service started
[2025-04-09 03:20:01] Production.INFO: neon service started
[2025-04-09 03:20:01] Production.INFO: ==28128== Releasing lock...
[2025-04-09 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:20:02] Production.INFO: ==28132== Lock acquired, processing the job...
[2025-04-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:20:02] Production.INFO: ==28132== Releasing lock...
[2025-04-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:20:02] Production.INFO: ==28130== Lock acquired, processing the job...
[2025-04-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:20:02] Production.INFO: ==28130== Releasing lock...
[2025-04-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:20:03] Production.INFO: ==28134== Lock acquired, processing the job...
[2025-04-08 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:20:03] Production.INFO: ==28134== Releasing lock...
[2025-04-08 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:20:03] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-04-08 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:20:03] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-04-08 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:20:03] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-04-08 22:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:20:04] Production.INFO: ==28136== Lock acquired, processing the job...
[2025-04-08 22:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:20:04] Production.INFO: ==28143== Lock acquired, processing the job...
[2025-04-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:20:04] Production.INFO: ==28139== Releasing lock...
[2025-04-08 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:20:04] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-04-08 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:20:04] Production.INFO: Account Balance Start.
[2025-04-08 22:20:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:20:04] Production.INFO: 117
[2025-04-08 22:20:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:20:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:20:04] Production.INFO: ==28149== Lock acquired, processing the job...
[2025-04-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:20:04] Production.INFO: Total Charge 0
[2025-04-08 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:20:04] Production.INFO: CreateAllLog End
[2025-04-08 22:20:04] Production.ERROR: done
[2025-04-08 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865213', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:20:04] Production.INFO: count ==12
[2025-04-08 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:20:04] Production.INFO: Account Balance End.
[2025-04-08 22:20:04] Production.INFO: count ==23
[2025-04-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865214') start
[2025-04-08 22:20:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:20:04] Production.INFO: ==28143== Releasing lock...
[2025-04-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:20:04] Production.ERROR: done
[2025-04-08 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865214') end
[2025-04-08 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:20:04] Production.INFO: 1
[2025-04-08 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:20:04] Production.ERROR: done
[2025-04-08 22:20:04] Production.INFO: ==28149== Releasing lock...
[2025-04-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:20:06
[end_date_ymd] => 2025-04-08 22:20:06
[RateCDR] => 1
)
[2025-04-08 22:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:20:06' and `end` < '2025-04-08 22:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865213', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:20:09] Production.INFO: ProcessCDR(1,14865213,1,1,2)
[2025-04-08 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:20:09] Production.INFO: ==28147== Releasing lock...
[2025-04-08 22:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:20:14] Production.ERROR: CronJobId end10
[2025-04-08 22:20:14] Production.INFO: ==28141== Releasing lock...
[2025-04-08 22:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:20:16] Production.INFO: call_cost start
[2025-04-08 22:20:16] Production.INFO: call_cost end
[2025-04-08 22:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:20:17] Production.INFO: ==28136== Releasing lock...
[2025-04-08 22:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:20:19] Production.INFO: count ==752
[2025-04-08 22:20:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:20:06 - End Time 2025-04-08 22:20:06
[2025-04-08 22:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865215', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865215', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865215', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865215', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:20:19] Production.INFO: ProcessCDR(1,14865215,1,1,2)
[2025-04-08 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865215', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865215', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:20:22] Production.INFO: ==28145== Releasing lock...
[2025-04-08 22:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:20:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:21:02] Production.INFO: ==28206== Lock acquired, processing the job...
[2025-04-09 03:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:21:02] Production.INFO: neon service started
[2025-04-09 03:21:02] Production.INFO: neon service started
[2025-04-09 03:21:02] Production.INFO: ==28206== Releasing lock...
[2025-04-09 03:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:21:02] Production.INFO: ==28208== Lock acquired, processing the job...
[2025-04-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:21:02] Production.INFO: ==28208== Releasing lock...
[2025-04-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:21:03] Production.INFO: ==28210== Lock acquired, processing the job...
[2025-04-09 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:21:03] Production.INFO: ==28210== Releasing lock...
[2025-04-09 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:21:03] Production.INFO: ==28214== Lock acquired, processing the job...
[2025-04-08 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:21:03] Production.INFO: ==28222== Lock acquired, processing the job...
[2025-04-08 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:21:03] Production.INFO: ==28212== Lock acquired, processing the job...
[2025-04-08 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:21:03] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-04-08 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:21:03] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-04-08 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:21:03] Production.INFO: count ==12
[2025-04-08 22:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:21:04] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-04-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 22:21:04] Production.INFO: count ==23
[2025-04-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865217') start
[2025-04-08 22:21:04] Production.INFO: Account Balance Start.
[2025-04-08 22:21:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:21:04] Production.INFO: ==28214== Releasing lock...
[2025-04-08 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:21:04] Production.INFO: 117
[2025-04-08 22:21:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:21:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:21:04] Production.INFO: Total Charge 0
[2025-04-08 22:21:04] Production.INFO: CreateAllLog End
[2025-04-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865217') end
[2025-04-08 22:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:21:04] Production.INFO: 1
[2025-04-08 22:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:21:04] Production.INFO: ==28222== Releasing lock...
[2025-04-08 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:21:04] Production.INFO: Account Balance End.
[2025-04-08 22:21:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:21:04] Production.INFO: ==28218== Releasing lock...
[2025-04-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:21:04] Production.ERROR: done
[2025-04-08 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:21:04] Production.ERROR: done
[2025-04-08 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:21:05
[end_date_ymd] => 2025-04-08 22:21:05
[RateCDR] => 1
)
[2025-04-08 22:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:21:05' and `end` < '2025-04-08 22:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:21:13] Production.ERROR: CronJobId end10
[2025-04-08 22:21:13] Production.INFO: ==28216== Releasing lock...
[2025-04-08 22:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:21:14] Production.INFO: call_cost start
[2025-04-08 22:21:14] Production.INFO: call_cost end
[2025-04-08 22:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:21:15] Production.INFO: ==28212== Releasing lock...
[2025-04-08 22:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:21:18] Production.INFO: count ==718
[2025-04-08 22:21:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:21:05 - End Time 2025-04-08 22:21:05
[2025-04-08 22:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865220', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865220', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865220', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865220', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:21:18] Production.INFO: ProcessCDR(1,14865220,1,1,2)
[2025-04-08 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865220', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865220', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:21:22] Production.INFO: ==28220== Releasing lock...
[2025-04-08 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:21:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:22:01] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-04-09 03:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:22:01] Production.INFO: neon service started
[2025-04-09 03:22:01] Production.INFO: neon service started
[2025-04-09 03:22:01] Production.INFO: ==28277== Releasing lock...
[2025-04-09 03:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:22:02] Production.INFO: ==28281== Lock acquired, processing the job...
[2025-04-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:22:02] Production.INFO: ==28281== Releasing lock...
[2025-04-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:22:02] Production.INFO: ==28279== Lock acquired, processing the job...
[2025-04-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:22:02] Production.INFO: ==28279== Releasing lock...
[2025-04-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:22:03] Production.INFO: ==28284== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:22:03] Production.INFO: ==28286== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:22:03] Production.INFO: ==28292== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:22:03] Production.INFO: ==28288== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:22:03] Production.INFO: ==28290== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:22:03] Production.INFO: ==28294== Lock acquired, processing the job...
[2025-04-08 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:22:03] Production.INFO: Account Balance Start.
[2025-04-08 22:22:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:22:03] Production.INFO: 117
[2025-04-08 22:22:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 22:22:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:22:03] Production.INFO: count ==12
[2025-04-08 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 22:22:03] Production.INFO: ==28286== Releasing lock...
[2025-04-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:22:03] Production.INFO: count ==23
[2025-04-08 22:22:03] Production.ERROR: done
[2025-04-08 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865224') start
[2025-04-08 22:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:22:03] Production.INFO: Total Charge 0
[2025-04-08 22:22:04] Production.INFO: CreateAllLog End
[2025-04-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865224') end
[2025-04-08 22:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:22:04] Production.INFO: 1
[2025-04-08 22:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:22:04] Production.INFO: ==28294== Releasing lock...
[2025-04-08 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:22:04] Production.ERROR: done
[2025-04-08 22:22:04] Production.INFO: Account Balance End.
[2025-04-08 22:22:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:22:04] Production.INFO: ==28290== Releasing lock...
[2025-04-08 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:22:05
[end_date_ymd] => 2025-04-08 22:22:05
[RateCDR] => 1
)
[2025-04-08 22:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:22:05' and `end` < '2025-04-08 22:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:22:13] Production.ERROR: CronJobId end10
[2025-04-08 22:22:13] Production.INFO: ==28288== Releasing lock...
[2025-04-08 22:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:22:13] Production.INFO: call_cost start
[2025-04-08 22:22:13] Production.INFO: call_cost end
[2025-04-08 22:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:22:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:22:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:22:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:22:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:22:14] Production.INFO: ==28284== Releasing lock...
[2025-04-08 22:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:22:18] Production.INFO: count ==718
[2025-04-08 22:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:22:05 - End Time 2025-04-08 22:22:05
[2025-04-08 22:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865225', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865225', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865225', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865225', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:22:18] Production.INFO: ProcessCDR(1,14865225,1,1,2)
[2025-04-08 22:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865225', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865225', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:22:21] Production.INFO: ==28292== Releasing lock...
[2025-04-08 22:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:22:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:23:02] Production.INFO: ==28348== Lock acquired, processing the job...
[2025-04-09 03:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:23:02] Production.INFO: neon service started
[2025-04-09 03:23:02] Production.INFO: neon service started
[2025-04-09 03:23:02] Production.INFO: ==28348== Releasing lock...
[2025-04-09 03:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:23:02] Production.INFO: ==28350== Lock acquired, processing the job...
[2025-04-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:23:02] Production.INFO: ==28352== Lock acquired, processing the job...
[2025-04-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:23:02] Production.INFO: ==28352== Releasing lock...
[2025-04-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:23:03] Production.INFO: ==28350== Releasing lock...
[2025-04-08 22:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:23:04] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:23:04] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:23:04] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:23:04] Production.INFO: Account Balance Start.
[2025-04-08 22:23:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:23:04] Production.INFO: 117
[2025-04-08 22:23:04] Production.INFO: ==28355== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:23:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:23:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:23:04] Production.INFO: Total Charge 0
[2025-04-08 22:23:04] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:23:04] Production.INFO: CreateAllLog End
[2025-04-08 22:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:23:04] Production.INFO: ==28357== Releasing lock...
[2025-04-08 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:23:04] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-04-08 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:23:04] Production.INFO: count ==12
[2025-04-08 22:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:23:04] Production.INFO: count ==23
[2025-04-08 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865229') start
[2025-04-08 22:23:04] Production.INFO: Account Balance End.
[2025-04-08 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865229') end
[2025-04-08 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:23:04] Production.INFO: 1
[2025-04-08 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:23:04] Production.ERROR: done
[2025-04-08 22:23:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:23:04] Production.INFO: ==28361== Releasing lock...
[2025-04-08 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:23:04] Production.INFO: ==28365== Releasing lock...
[2025-04-08 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:23:04] Production.ERROR: done
[2025-04-08 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:23:05
[end_date_ymd] => 2025-04-08 22:23:05
[RateCDR] => 1
)
[2025-04-08 22:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:23:05' and `end` < '2025-04-08 22:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:23:12] Production.ERROR: CronJobId end10
[2025-04-08 22:23:12] Production.INFO: ==28359== Releasing lock...
[2025-04-08 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:23:14] Production.INFO: call_cost start
[2025-04-08 22:23:14] Production.INFO: call_cost end
[2025-04-08 22:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:23:15] Production.INFO: ==28355== Releasing lock...
[2025-04-08 22:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:23:18] Production.INFO: count ==716
[2025-04-08 22:23:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:23:05 - End Time 2025-04-08 22:23:05
[2025-04-08 22:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865230', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865230', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865230', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865230', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:23:18] Production.INFO: ProcessCDR(1,14865230,1,1,2)
[2025-04-08 22:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865230', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865230', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:23:22] Production.INFO: ==28363== Releasing lock...
[2025-04-08 22:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:23:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:24:01] Production.INFO: ==28421== Lock acquired, processing the job...
[2025-04-09 03:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:24:01] Production.INFO: neon service started
[2025-04-09 03:24:01] Production.INFO: neon service started
[2025-04-09 03:24:01] Production.INFO: ==28421== Releasing lock...
[2025-04-09 03:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:24:02] Production.INFO: ==28423== Lock acquired, processing the job...
[2025-04-08 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:24:02] Production.INFO: ==28423== Releasing lock...
[2025-04-08 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:24:02] Production.INFO: ==28425== Lock acquired, processing the job...
[2025-04-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:24:02] Production.INFO: ==28425== Releasing lock...
[2025-04-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:24:03] Production.INFO: ==28434== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:24:03] Production.INFO: ==28436== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:24:03] Production.INFO: ==28438== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:24:03] Production.INFO: Account Balance Start.
[2025-04-08 22:24:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:24:03] Production.INFO: 117
[2025-04-08 22:24:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:24:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:24:03] Production.INFO: Total Charge 0
[2025-04-08 22:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:24:03] Production.INFO: CreateAllLog End
[2025-04-08 22:24:03] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:24:03] Production.INFO: count ==23
[2025-04-08 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865232') start
[2025-04-08 22:24:03] Production.INFO: ==28432== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:24:03] Production.INFO: ==28428== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:24:03] Production.INFO: ==28430== Lock acquired, processing the job...
[2025-04-08 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865232') end
[2025-04-08 22:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:24:03] Production.INFO: 1
[2025-04-08 22:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:24:03] Production.INFO: ==28438== Releasing lock...
[2025-04-08 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:24:03] Production.ERROR: done
[2025-04-08 22:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:24:03] Production.INFO: Account Balance End.
[2025-04-08 22:24:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:24:03] Production.INFO: ==28434== Releasing lock...
[2025-04-08 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:24:03] Production.ERROR: done
[2025-04-08 22:24:04] Production.INFO: ==28430== Releasing lock...
[2025-04-08 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:24:05
[end_date_ymd] => 2025-04-08 22:24:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:24:05' and `end` < '2025-04-08 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-04-08 22:24:13] Production.ERROR: CronJobId end10
[2025-04-08 22:24:13] Production.INFO: ==28432== Releasing lock...
[2025-04-08 22:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:24:15] Production.INFO: call_cost start
[2025-04-08 22:24:15] Production.INFO: call_cost end
[2025-04-08 22:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:24:16] Production.INFO: ==28428== Releasing lock...
[2025-04-08 22:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:24:17] Production.INFO: count ==715
[2025-04-08 22:24:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:24:05 - End Time 2025-04-08 22:24:05
[2025-04-08 22:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865235', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865235', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865235', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865235', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:24:17] Production.INFO: ProcessCDR(1,14865235,1,1,2)
[2025-04-08 22:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865235', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865235', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:24:21] Production.INFO: ==28436== Releasing lock...
[2025-04-08 22:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:24:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:25:02] Production.INFO: ==28494== Lock acquired, processing the job...
[2025-04-09 03:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:25:02] Production.INFO: neon service started
[2025-04-09 03:25:02] Production.INFO: neon service started
[2025-04-09 03:25:02] Production.INFO: ==28494== Releasing lock...
[2025-04-09 03:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:25:02] Production.INFO: ==28496== Lock acquired, processing the job...
[2025-04-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:25:02] Production.INFO: ==28498== Lock acquired, processing the job...
[2025-04-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:25:02] Production.INFO: ==28498== Releasing lock...
[2025-04-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:25:03] Production.INFO: ==28496== Releasing lock...
[2025-04-08 22:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:25:03] Production.INFO: ==28501== Lock acquired, processing the job...
[2025-04-08 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:25:04] Production.INFO: ==28509== Lock acquired, processing the job...
[2025-04-08 22:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:25:04] Production.INFO: ==28503== Lock acquired, processing the job...
[2025-04-08 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:25:04] Production.INFO: ==28505== Lock acquired, processing the job...
[2025-04-08 22:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:25:04] Production.INFO: ==28507== Lock acquired, processing the job...
[2025-04-08 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:25:04] Production.INFO: ==28511== Lock acquired, processing the job...
[2025-04-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:25:04] Production.INFO: Account Balance Start.
[2025-04-08 22:25:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:25:04] Production.INFO: 117
[2025-04-08 22:25:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:25:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:25:04] Production.INFO: Total Charge 0
[2025-04-08 22:25:04] Production.INFO: CreateAllLog End
[2025-04-08 22:25:04] Production.ERROR: done
[2025-04-08 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22: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-04-08 22:25:04] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:25:04] Production.INFO: count ==23
[2025-04-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865239') start
[2025-04-08 22:25:04] Production.INFO: ==28503== Releasing lock...
[2025-04-08 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:25:04] Production.ERROR: done
[2025-04-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865239') end
[2025-04-08 22:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:25:04] Production.INFO: 1
[2025-04-08 22:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:25:04] Production.INFO: Account Balance End.
[2025-04-08 22:25:04] Production.INFO: ==28511== Releasing lock...
[2025-04-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:25:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:25:04] Production.INFO: ==28507== Releasing lock...
[2025-04-08 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:25:05
[end_date_ymd] => 2025-04-08 22:25:05
[RateCDR] => 1
)
[2025-04-08 22:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:25:05' and `end` < '2025-04-08 22:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:25:13] Production.ERROR: CronJobId end10
[2025-04-08 22:25:13] Production.INFO: ==28505== Releasing lock...
[2025-04-08 22:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:25:15] Production.INFO: call_cost start
[2025-04-08 22:25:15] Production.INFO: call_cost end
[2025-04-08 22:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:25:15] Production.INFO: ==28501== Releasing lock...
[2025-04-08 22:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:25:18] Production.INFO: count ==715
[2025-04-08 22:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:25:05 - End Time 2025-04-08 22:25:05
[2025-04-08 22:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865240', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865240', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865240', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865240', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:25:18] Production.INFO: ProcessCDR(1,14865240,1,1,2)
[2025-04-08 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865240', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865240', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:25:22] Production.INFO: ==28509== Releasing lock...
[2025-04-08 22:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:25:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:26:01] Production.INFO: ==28564== Lock acquired, processing the job...
[2025-04-09 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:26:01] Production.INFO: neon service started
[2025-04-09 03:26:01] Production.INFO: neon service started
[2025-04-09 03:26:01] Production.INFO: ==28564== Releasing lock...
[2025-04-09 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:26:01] Production.INFO: ==28568== Lock acquired, processing the job...
[2025-04-09 02:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:26:01] Production.INFO: ==28568== Releasing lock...
[2025-04-09 02:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:26:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:26:02] Production.INFO: ==28566== Lock acquired, processing the job...
[2025-04-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:26:02] Production.INFO: ==28566== Releasing lock...
[2025-04-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:26:03] Production.INFO: ==28575== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:26:03] Production.INFO: ==28570== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:26:03] Production.INFO: ==28581== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:26:03] Production.INFO: ==28573== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:26:03] Production.INFO: ==28577== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:26:03] Production.INFO: Account Balance Start.
[2025-04-08 22:26:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:26:03] Production.INFO: 117
[2025-04-08 22:26:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:26:03] Production.INFO: ==28579== Lock acquired, processing the job...
[2025-04-08 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:26:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:26:03] Production.INFO: Total Charge 0
[2025-04-08 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:26:03] Production.INFO: CreateAllLog End
[2025-04-08 22:26:03] Production.INFO: count ==12
[2025-04-08 22:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:26:03] Production.INFO: count ==23
[2025-04-08 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865242') start
[2025-04-08 22:26:03] Production.INFO: ==28573== Releasing lock...
[2025-04-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865242') end
[2025-04-08 22:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:26:03] Production.INFO: 1
[2025-04-08 22:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:26:03] Production.ERROR: done
[2025-04-08 22:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:26:03] Production.INFO: ==28581== Releasing lock...
[2025-04-08 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:26:04] Production.INFO: Account Balance End.
[2025-04-08 22:26:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:26:04] Production.INFO: ==28577== Releasing lock...
[2025-04-08 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:26:04] Production.ERROR: done
[2025-04-08 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:26:05
[end_date_ymd] => 2025-04-08 22:26:05
[RateCDR] => 1
)
[2025-04-08 22:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:26:05' and `end` < '2025-04-08 22:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:26:12] Production.ERROR: CronJobId end10
[2025-04-08 22:26:12] Production.INFO: ==28575== Releasing lock...
[2025-04-08 22:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:26:15] Production.INFO: call_cost start
[2025-04-08 22:26:15] Production.INFO: call_cost end
[2025-04-08 22:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:26:16] Production.INFO: ==28570== Releasing lock...
[2025-04-08 22:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:26:17] Production.INFO: count ==711
[2025-04-08 22:26:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:26:05 - End Time 2025-04-08 22:26:05
[2025-04-08 22:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865245', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865245', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865245', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865245', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:26:17] Production.INFO: ProcessCDR(1,14865245,1,1,2)
[2025-04-08 22:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865245', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865245', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:26:21] Production.INFO: ==28579== Releasing lock...
[2025-04-08 22:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:26:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:27:01] Production.INFO: ==28640== Lock acquired, processing the job...
[2025-04-09 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:27:01] Production.INFO: neon service started
[2025-04-09 03:27:01] Production.INFO: neon service started
[2025-04-09 03:27:01] Production.INFO: ==28640== Releasing lock...
[2025-04-09 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:27:02] Production.INFO: ==28644== Lock acquired, processing the job...
[2025-04-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:27:02] Production.INFO: ==28644== Releasing lock...
[2025-04-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:27:02] Production.INFO: ==28642== Lock acquired, processing the job...
[2025-04-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:27:02] Production.INFO: ==28642== Releasing lock...
[2025-04-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:27:03] Production.INFO: ==28653== Lock acquired, processing the job...
[2025-04-08 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:27:03] Production.INFO: ==28657== Lock acquired, processing the job...
[2025-04-08 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:27:03] Production.INFO: ==28647== Lock acquired, processing the job...
[2025-04-08 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:27:03] Production.INFO: Account Balance Start.
[2025-04-08 22:27:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:27:03] Production.INFO: 117
[2025-04-08 22:27:03] Production.INFO: ==28649== Lock acquired, processing the job...
[2025-04-08 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:27:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:27:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:27:03] Production.INFO: ==28651== Lock acquired, processing the job...
[2025-04-08 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:27:03] Production.INFO: Total Charge 0
[2025-04-08 22:27:03] Production.INFO: count ==12
[2025-04-08 22:27:03] Production.INFO: CreateAllLog End
[2025-04-08 22:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:27:03] Production.INFO: count ==23
[2025-04-08 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865247') start
[2025-04-08 22:27:04] Production.INFO: ==28655== Lock acquired, processing the job...
[2025-04-08 22:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:27:04] Production.INFO: Account Balance End.
[2025-04-08 22:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865247') end
[2025-04-08 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:27:04] Production.INFO: 1
[2025-04-08 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:27:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:27:04] Production.INFO: ==28653== Releasing lock...
[2025-04-08 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:27:04] Production.INFO: ==28657== Releasing lock...
[2025-04-08 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:27:04] Production.ERROR: done
[2025-04-08 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:27:04] Production.INFO: ==28649== Releasing lock...
[2025-04-08 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:27:04] Production.ERROR: done
[2025-04-08 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:27:05
[end_date_ymd] => 2025-04-08 22:27:05
[RateCDR] => 1
)
[2025-04-08 22:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:27:05' and `end` < '2025-04-08 22:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:27:12] Production.ERROR: CronJobId end10
[2025-04-08 22:27:12] Production.INFO: ==28651== Releasing lock...
[2025-04-08 22:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:27:14] Production.INFO: call_cost start
[2025-04-08 22:27:14] Production.INFO: call_cost end
[2025-04-08 22:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:27:15] Production.INFO: ==28647== Releasing lock...
[2025-04-08 22:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:27:18] Production.INFO: count ==710
[2025-04-08 22:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:27:05 - End Time 2025-04-08 22:27:05
[2025-04-08 22:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865250', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865250', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865250', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865250', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:27:18] Production.INFO: ProcessCDR(1,14865250,1,1,2)
[2025-04-08 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865250', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865250', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:27:22] Production.INFO: ==28655== Releasing lock...
[2025-04-08 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:27:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:28:01] Production.INFO: ==28712== Lock acquired, processing the job...
[2025-04-09 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:28:01] Production.INFO: neon service started
[2025-04-09 03:28:01] Production.INFO: neon service started
[2025-04-09 03:28:01] Production.INFO: ==28712== Releasing lock...
[2025-04-09 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:28:02] Production.INFO: ==28714== Lock acquired, processing the job...
[2025-04-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:28:02] Production.INFO: ==28716== Lock acquired, processing the job...
[2025-04-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:28:02] Production.INFO: ==28716== Releasing lock...
[2025-04-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:28:02] Production.INFO: ==28714== Releasing lock...
[2025-04-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:28:03] Production.INFO: ==28725== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:28:03] Production.INFO: ==28727== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:28:03] Production.INFO: ==28729== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:28:03] Production.INFO: Account Balance Start.
[2025-04-08 22:28:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:28:03] Production.INFO: ==28719== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:28:03] Production.INFO: 117
[2025-04-08 22:28:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:28:03] Production.INFO: ==28723== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:28:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:28:03] Production.INFO: ==28721== Lock acquired, processing the job...
[2025-04-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:28:03] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 22:28:03] Production.INFO: CreateAllLog End
[2025-04-08 22:28:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:28:03] Production.INFO: count ==23
[2025-04-08 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865253') start
[2025-04-08 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:28:03] Production.ERROR: done
[2025-04-08 22:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865253') end
[2025-04-08 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:28:04] Production.INFO: 1
[2025-04-08 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:28:04] Production.INFO: ==28729== Releasing lock...
[2025-04-08 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:28:04] Production.INFO: Account Balance End.
[2025-04-08 22:28:04] Production.ERROR: done
[2025-04-08 22:28:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:28:04] Production.INFO: ==28725== Releasing lock...
[2025-04-08 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:28:04] Production.INFO: ==28721== Releasing lock...
[2025-04-08 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:28:05
[end_date_ymd] => 2025-04-08 22:28:05
[RateCDR] => 1
)
[2025-04-08 22:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:28:05' and `end` < '2025-04-08 22:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:28:12] Production.ERROR: CronJobId end10
[2025-04-08 22:28:12] Production.INFO: ==28723== Releasing lock...
[2025-04-08 22:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:28:15] Production.INFO: call_cost start
[2025-04-08 22:28:15] Production.INFO: call_cost end
[2025-04-08 22:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:28:15] Production.INFO: ==28719== Releasing lock...
[2025-04-08 22:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:28:18] Production.INFO: count ==709
[2025-04-08 22:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:28:05 - End Time 2025-04-08 22:28:05
[2025-04-08 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865255', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865255', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865255', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865255', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:28:18] Production.INFO: ProcessCDR(1,14865255,1,1,2)
[2025-04-08 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865255', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865255', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:28:22] Production.INFO: ==28727== Releasing lock...
[2025-04-08 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:28:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:29:01] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-04-09 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:29:02] Production.INFO: neon service started
[2025-04-09 03:29:02] Production.INFO: neon service started
[2025-04-09 03:29:02] Production.INFO: ==28784== Releasing lock...
[2025-04-09 03:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:29:02] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-04-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:29:02] Production.INFO: ==28788== Releasing lock...
[2025-04-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:29:02] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-04-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:29:02] Production.INFO: ==28786== Releasing lock...
[2025-04-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:29:03] Production.INFO: ==28793== Lock acquired, processing the job...
[2025-04-08 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:29:03] Production.INFO: ==28791== Lock acquired, processing the job...
[2025-04-08 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:29:03] Production.INFO: ==28799== Lock acquired, processing the job...
[2025-04-08 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:29:03] Production.INFO: ==28795== Lock acquired, processing the job...
[2025-04-08 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:29:03] Production.INFO: ==28797== Lock acquired, processing the job...
[2025-04-08 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:29:04] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-04-08 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:29:04] Production.INFO: ==28793== Releasing lock...
[2025-04-08 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:29:04] Production.INFO: Account Balance Start.
[2025-04-08 22:29:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:29:04] Production.INFO: 117
[2025-04-08 22:29:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:29:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:29:04] Production.INFO: Total Charge 0
[2025-04-08 22:29:04] Production.INFO: CreateAllLog End
[2025-04-08 22:29:04] Production.INFO: count ==12
[2025-04-08 22:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:29:04] Production.ERROR: done
[2025-04-08 22:29:04] Production.INFO: count ==23
[2025-04-08 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865259') start
[2025-04-08 22:29:04] Production.ERROR: done
[2025-04-08 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865259') end
[2025-04-08 22:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:29:04] Production.INFO: 1
[2025-04-08 22:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:29:04] Production.INFO: ==28801== Releasing lock...
[2025-04-08 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:29:04] Production.INFO: Account Balance End.
[2025-04-08 22:29:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:29:04] Production.INFO: ==28797== Releasing lock...
[2025-04-08 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:29:05
[end_date_ymd] => 2025-04-08 22:29:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:29:05' and `end` < '2025-04-08 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-04-08 22:29:11] Production.ERROR: CronJobId end10
[2025-04-08 22:29:11] Production.INFO: ==28795== Releasing lock...
[2025-04-08 22:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:29:14] Production.INFO: call_cost start
[2025-04-08 22:29:14] Production.INFO: call_cost end
[2025-04-08 22:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:29:15] Production.INFO: ==28791== Releasing lock...
[2025-04-08 22:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:29:18] Production.INFO: count ==707
[2025-04-08 22:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:29:05 - End Time 2025-04-08 22:29:05
[2025-04-08 22:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865260', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865260', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865260', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865260', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:29:18] Production.INFO: ProcessCDR(1,14865260,1,1,2)
[2025-04-08 22:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865260', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865260', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:29:21] Production.INFO: ==28799== Releasing lock...
[2025-04-08 22:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:29:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:30:01] Production.INFO: ==28857== Lock acquired, processing the job...
[2025-04-09 03:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:30:01] Production.INFO: neon service started
[2025-04-09 03:30:01] Production.INFO: neon service started
[2025-04-09 03:30:01] Production.INFO: ==28857== Releasing lock...
[2025-04-09 03:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:30:01] Production.INFO: ==28859== Lock acquired, processing the job...
[2025-04-08 22:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:30:02] Production.INFO: ==28861== Lock acquired, processing the job...
[2025-04-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 22:30:02] Production.INFO: ==28859== Releasing lock...
[2025-04-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:30:02] Production.INFO: ==28861== Releasing lock...
[2025-04-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:30:03] Production.INFO: ==28864== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:30:03] Production.INFO: ==28864== Releasing lock...
[2025-04-08 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:30:03] Production.INFO: ==28868== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:30:03] Production.INFO: ==28870== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:30:03] Production.INFO: ==28874== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:30:03] Production.INFO: ==28866== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:30:03] Production.INFO: ==28872== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:30:03] Production.INFO: ==28876== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:30:03] Production.INFO: Account Balance Start.
[2025-04-08 22:30:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:30:03] Production.INFO: 117
[2025-04-08 22:30:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:30:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:30:03] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-04-08 22:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:30:03] Production.INFO: ==28868== Releasing lock...
[2025-04-08 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:30:03] Production.INFO: Total Charge 0
[2025-04-08 22:30:03] Production.INFO: CreateAllLog End
[2025-04-08 22:30:03] Production.ERROR: done
[2025-04-08 22:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22: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-04-08 22:30:03] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:30:03] Production.INFO: count ==23
[2025-04-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865264') start
[2025-04-08 22:30:04] Production.ERROR: done
[2025-04-08 22:30:04] Production.ERROR: done
[2025-04-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865264') end
[2025-04-08 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:30:04] Production.INFO: 1
[2025-04-08 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:30:04] Production.INFO: ==28878== Releasing lock...
[2025-04-08 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:30:04] Production.INFO: Account Balance End.
[2025-04-08 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865266', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:30:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:30:04] Production.INFO: ==28872== Releasing lock...
[2025-04-08 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:30:05
[end_date_ymd] => 2025-04-08 22:30:05
[RateCDR] => 1
)
[2025-04-08 22: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-04-08 19:30:05' and `end` < '2025-04-08 22: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-04-08 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865266', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:30:09] Production.INFO: ProcessCDR(1,14865266,1,1,2)
[2025-04-08 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865266,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865266,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:30:09] Production.INFO: ==28876== Releasing lock...
[2025-04-08 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:30:13] Production.ERROR: CronJobId end10
[2025-04-08 22:30:13] Production.INFO: ==28870== Releasing lock...
[2025-04-08 22:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:30:15] Production.INFO: call_cost start
[2025-04-08 22:30:15] Production.INFO: call_cost end
[2025-04-08 22:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:30:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:30:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:30:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:30:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:30:16] Production.INFO: ==28866== Releasing lock...
[2025-04-08 22:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:30:18] Production.INFO: count ==707
[2025-04-08 22:30:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:30:05 - End Time 2025-04-08 22:30:05
[2025-04-08 22:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865265', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865265', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865265', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865265', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:30:18] Production.INFO: ProcessCDR(1,14865265,1,1,2)
[2025-04-08 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865265', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865265', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:30:21] Production.INFO: ==28874== Releasing lock...
[2025-04-08 22:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:30:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:31:01] Production.INFO: ==28931== Lock acquired, processing the job...
[2025-04-09 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:31:01] Production.INFO: neon service started
[2025-04-09 03:31:01] Production.INFO: neon service started
[2025-04-09 03:31:01] Production.INFO: ==28931== Releasing lock...
[2025-04-09 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:31:02] Production.INFO: ==28935== Lock acquired, processing the job...
[2025-04-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:31:02] Production.INFO: ==28935== Releasing lock...
[2025-04-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:31:02] Production.INFO: ==28933== Lock acquired, processing the job...
[2025-04-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:31:02] Production.INFO: ==28933== Releasing lock...
[2025-04-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:31:03] Production.INFO: ==28937== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:31:03] Production.INFO: ==28939== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:31:03] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:31:03] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:31:03] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:31:03] Production.INFO: Account Balance Start.
[2025-04-08 22:31:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:31:03] Production.INFO: 117
[2025-04-08 22:31:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:31:03] Production.INFO: ==28948== Lock acquired, processing the job...
[2025-04-08 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:31:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:31:04] Production.INFO: Total Charge 0
[2025-04-08 22:31:04] Production.INFO: CreateAllLog End
[2025-04-08 22:31:04] Production.INFO: ==28939== Releasing lock...
[2025-04-08 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:31:04] Production.ERROR: done
[2025-04-08 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:31:04] Production.INFO: Account Balance End.
[2025-04-08 22:31:04] Production.ERROR: done
[2025-04-08 22:31:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:31:04] Production.INFO: ==28944== Releasing lock...
[2025-04-08 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:31:04] Production.INFO: count ==12
[2025-04-08 22:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:31:04] Production.INFO: count ==23
[2025-04-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865270') start
[2025-04-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865270') end
[2025-04-08 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:31:04] Production.INFO: 1
[2025-04-08 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:31:04] Production.INFO: ==28948== Releasing lock...
[2025-04-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:31:05
[end_date_ymd] => 2025-04-08 22:31:05
[RateCDR] => 1
)
[2025-04-08 22:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:31:05' and `end` < '2025-04-08 22:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:31:12] Production.ERROR: CronJobId end10
[2025-04-08 22:31:12] Production.INFO: ==28942== Releasing lock...
[2025-04-08 22:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:31:14] Production.INFO: call_cost start
[2025-04-08 22:31:14] Production.INFO: call_cost end
[2025-04-08 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:31:15] Production.INFO: ==28937== Releasing lock...
[2025-04-08 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:31:18] Production.INFO: count ==679
[2025-04-08 22:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:31:05 - End Time 2025-04-08 22:31:05
[2025-04-08 22:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865271', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865271', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865271', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865271', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:31:18] Production.INFO: ProcessCDR(1,14865271,1,1,2)
[2025-04-08 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865271', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865271', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:31:21] Production.INFO: ==28946== Releasing lock...
[2025-04-08 22:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:31:21] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:32:02] Production.INFO: ==29042== Lock acquired, processing the job...
[2025-04-09 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:32:02] Production.INFO: neon service started
[2025-04-09 03:32:02] Production.INFO: neon service started
[2025-04-09 03:32:02] Production.INFO: ==29042== Releasing lock...
[2025-04-09 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:32:02] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-04-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:32:02] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-04-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:32:03] Production.INFO: ==29046== Releasing lock...
[2025-04-09 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:32:03] Production.INFO: ==29044== Releasing lock...
[2025-04-08 22:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:32:04] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:32:04] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:32:04] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:32:04] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:32:04] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 22:32:04] Production.INFO: count ==12
[2025-04-08 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:32:04] Production.INFO: count ==23
[2025-04-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865272') start
[2025-04-08 22:32:04] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-04-08 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865272') end
[2025-04-08 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:32:04] Production.INFO: 1
[2025-04-08 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:32:04] Production.INFO: Account Balance Start.
[2025-04-08 22:32:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:32:04] Production.INFO: 117
[2025-04-08 22:32:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:32:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:32:04] Production.INFO: ==29059== Releasing lock...
[2025-04-08 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:32:04] Production.INFO: Total Charge 0
[2025-04-08 22:32:04] Production.INFO: CreateAllLog End
[2025-04-08 22:32:04] Production.INFO: ==29051== Releasing lock...
[2025-04-08 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:32:04] Production.ERROR: done
[2025-04-08 22:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:32:04] Production.INFO: Account Balance End.
[2025-04-08 22:32:05] Production.ERROR: CronJobId end 12
[2025-04-08 22:32:05] Production.INFO: ==29055== Releasing lock...
[2025-04-08 22:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:32:05] Production.ERROR: done
[2025-04-08 22:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:32:06
[end_date_ymd] => 2025-04-08 22:32:06
[RateCDR] => 1
)
[2025-04-08 22:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:32:06' and `end` < '2025-04-08 22:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:32:13] Production.ERROR: CronJobId end10
[2025-04-08 22:32:13] Production.INFO: ==29053== Releasing lock...
[2025-04-08 22:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:32:14] Production.INFO: call_cost start
[2025-04-08 22:32:14] Production.INFO: call_cost end
[2025-04-08 22:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:32:15] Production.INFO: ==29049== Releasing lock...
[2025-04-08 22:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:32:19] Production.INFO: count ==678
[2025-04-08 22:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:32:06 - End Time 2025-04-08 22:32:06
[2025-04-08 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865276', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865276', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865276', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865276', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:32:19] Production.INFO: ProcessCDR(1,14865276,1,1,2)
[2025-04-08 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865276', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865276', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:32:23] Production.INFO: ==29057== Releasing lock...
[2025-04-08 22:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:32:23] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:33:01] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-04-09 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:33:01] Production.INFO: neon service started
[2025-04-09 03:33:01] Production.INFO: neon service started
[2025-04-09 03:33:01] Production.INFO: ==29115== Releasing lock...
[2025-04-09 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:33:02] Production.INFO: ==29119== Lock acquired, processing the job...
[2025-04-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:33:02] Production.INFO: ==29119== Releasing lock...
[2025-04-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:33:02] Production.INFO: ==29117== Lock acquired, processing the job...
[2025-04-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:33:02] Production.INFO: ==29117== Releasing lock...
[2025-04-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:33:03] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:33:03] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:33:03] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:33:03] Production.INFO: Account Balance Start.
[2025-04-08 22:33:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:33:03] Production.INFO: 117
[2025-04-08 22:33:03] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:33:03] Production.INFO: ==29126== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:33:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:33:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:33:03] Production.INFO: Total Charge 0
[2025-04-08 22:33:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-04-08 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:33:03] Production.INFO: CreateAllLog End
[2025-04-08 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:33:04] Production.ERROR: done
[2025-04-08 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:33:04] Production.INFO: count ==12
[2025-04-08 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:33:04] Production.INFO: count ==23
[2025-04-08 22:33:04] Production.INFO: ==29124== Releasing lock...
[2025-04-08 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865280') start
[2025-04-08 22:33:04] Production.ERROR: done
[2025-04-08 22:33:04] Production.INFO: Account Balance End.
[2025-04-08 22:33:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:33:04] Production.INFO: ==29128== Releasing lock...
[2025-04-08 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865280') end
[2025-04-08 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:33:04] Production.INFO: 1
[2025-04-08 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:33:04] Production.INFO: ==29132== Releasing lock...
[2025-04-08 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:33:05
[end_date_ymd] => 2025-04-08 22:33:05
[RateCDR] => 1
)
[2025-04-08 22:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:33:05' and `end` < '2025-04-08 22:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:33:11] Production.ERROR: CronJobId end10
[2025-04-08 22:33:11] Production.INFO: ==29126== Releasing lock...
[2025-04-08 22:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:33:13] Production.INFO: call_cost start
[2025-04-08 22:33:13] Production.INFO: call_cost end
[2025-04-08 22:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:33:14] Production.INFO: ==29122== Releasing lock...
[2025-04-08 22:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:33:18] Production.INFO: count ==678
[2025-04-08 22:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:33:05 - End Time 2025-04-08 22:33:05
[2025-04-08 22:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865281', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865281', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865281', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865281', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:33:18] Production.INFO: ProcessCDR(1,14865281,1,1,2)
[2025-04-08 22:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865281', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865281', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:33:22] Production.INFO: ==29130== Releasing lock...
[2025-04-08 22:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:33:22] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:34:02] Production.INFO: ==29192== Lock acquired, processing the job...
[2025-04-09 03:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:34:02] Production.INFO: neon service started
[2025-04-09 03:34:02] Production.INFO: neon service started
[2025-04-09 03:34:02] Production.INFO: ==29192== Releasing lock...
[2025-04-09 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:34:02] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-04-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:34:02] Production.INFO: ==29194== Releasing lock...
[2025-04-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:34:02] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-04-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:34:03] Production.INFO: ==29196== Releasing lock...
[2025-04-09 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:34:03] Production.INFO: ==29207== Lock acquired, processing the job...
[2025-04-08 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:34:04] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-04-08 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:34:04] Production.INFO: ==29199== Lock acquired, processing the job...
[2025-04-08 22:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:34:04] Production.INFO: ==29201== Lock acquired, processing the job...
[2025-04-08 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:34:04] Production.INFO: ==29203== Lock acquired, processing the job...
[2025-04-08 22:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:34:04] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-04-08 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:34:04] Production.INFO: count ==12
[2025-04-08 22:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:34:04] Production.INFO: count ==23
[2025-04-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865282') start
[2025-04-08 22:34:04] Production.ERROR: done
[2025-04-08 22:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865282') end
[2025-04-08 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:34:04] Production.INFO: 1
[2025-04-08 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:34:04] Production.INFO: Account Balance Start.
[2025-04-08 22:34:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:34:04] Production.INFO: 117
[2025-04-08 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:34:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:34:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:34:04] Production.INFO: Total Charge 0
[2025-04-08 22:34:04] Production.INFO: CreateAllLog End
[2025-04-08 22:34:04] Production.INFO: ==29209== Releasing lock...
[2025-04-08 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:34:04] Production.ERROR: done
[2025-04-08 22:34:04] Production.INFO: ==29201== Releasing lock...
[2025-04-08 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:34:04] Production.INFO: Account Balance End.
[2025-04-08 22:34:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:34:04] Production.INFO: ==29205== Releasing lock...
[2025-04-08 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:34:05
[end_date_ymd] => 2025-04-08 22:34:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:34:05' and `end` < '2025-04-08 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-04-08 22:34:14] Production.ERROR: CronJobId end10
[2025-04-08 22:34:14] Production.INFO: ==29203== Releasing lock...
[2025-04-08 22:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:34:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:34:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:34:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:34:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:34:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:34:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:34:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:34:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:34:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:34:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:34:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:34:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:34:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:34:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:34:17] Production.INFO: call_cost start
[2025-04-08 22:34:17] Production.INFO: call_cost end
[2025-04-08 22:34:18] Production.INFO: count ==679
[2025-04-08 22:34:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:34:05 - End Time 2025-04-08 22:34:05
[2025-04-08 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865286', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:34:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:34:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:34:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:34:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:34:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:34:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:34:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:34:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:34:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865286', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865286', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865286', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:34:18] Production.INFO: ProcessCDR(1,14865286,1,1,2)
[2025-04-08 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:34:18] Production.INFO: ==29199== Releasing lock...
[2025-04-08 22:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:34:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865286', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865286', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:34:24] Production.INFO: ==29207== Releasing lock...
[2025-04-08 22:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:34:24] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:35:01] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-04-09 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:35:01] Production.INFO: neon service started
[2025-04-09 03:35:01] Production.INFO: neon service started
[2025-04-09 03:35:01] Production.INFO: ==29265== Releasing lock...
[2025-04-09 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:35:02] Production.INFO: ==29269== Lock acquired, processing the job...
[2025-04-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:35:02] Production.INFO: ==29269== Releasing lock...
[2025-04-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:35:02] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-04-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:35:02] Production.INFO: ==29267== Releasing lock...
[2025-04-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:35:03] Production.INFO: ==29273== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:35:03] Production.INFO: ==29275== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:35:03] Production.INFO: ==29279== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:35:03] Production.INFO: ==29271== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:35:03] Production.INFO: ==29277== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:35:03] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-04-08 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:35:03] Production.INFO: ==29273== Releasing lock...
[2025-04-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:35:03] Production.INFO: Account Balance Start.
[2025-04-08 22:35:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:35:03] Production.INFO: 117
[2025-04-08 22:35:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:35:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:35:03] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 22:35:03] Production.ERROR: done
[2025-04-08 22:35:03] Production.INFO: count ==12
[2025-04-08 22:35:03] Production.INFO: CreateAllLog End
[2025-04-08 22:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 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-04-08 22:35:03] Production.INFO: count ==23
[2025-04-08 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865290') start
[2025-04-08 22:35:04] Production.ERROR: done
[2025-04-08 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865290') end
[2025-04-08 22:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:35:04] Production.INFO: 1
[2025-04-08 22:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:35:04] Production.INFO: Account Balance End.
[2025-04-08 22:35:04] Production.INFO: ==29282== Releasing lock...
[2025-04-08 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:35:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:35:04] Production.INFO: ==29277== Releasing lock...
[2025-04-08 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:35:05
[end_date_ymd] => 2025-04-08 22:35:05
[RateCDR] => 1
)
[2025-04-08 22:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:35:05' and `end` < '2025-04-08 22:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:35:13] Production.ERROR: CronJobId end10
[2025-04-08 22:35:13] Production.INFO: ==29275== Releasing lock...
[2025-04-08 22:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:35:15] Production.INFO: call_cost start
[2025-04-08 22:35:15] Production.INFO: call_cost end
[2025-04-08 22:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:35:16] Production.INFO: ==29271== Releasing lock...
[2025-04-08 22:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:35:18] Production.INFO: count ==678
[2025-04-08 22:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:35:05 - End Time 2025-04-08 22:35:05
[2025-04-08 22:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865291', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865291', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865291', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865291', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:35:18] Production.INFO: ProcessCDR(1,14865291,1,1,2)
[2025-04-08 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865291', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865291', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:35:21] Production.INFO: ==29279== Releasing lock...
[2025-04-08 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:35:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-09 03:36:02] Production.INFO: ==29337== Lock acquired, processing the job...
[2025-04-09 03:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:36:02] Production.INFO: neon service started
[2025-04-09 03:36:02] Production.INFO: neon service started
[2025-04-09 03:36:02] Production.INFO: ==29337== Releasing lock...
[2025-04-09 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:36:02] Production.INFO: ==29339== Lock acquired, processing the job...
[2025-04-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:36:02] Production.INFO: ==29341== Lock acquired, processing the job...
[2025-04-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:36:03] Production.INFO: ==29341== Releasing lock...
[2025-04-09 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:36:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:36:03] Production.INFO: ==29339== Releasing lock...
[2025-04-08 22:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:36:04] Production.INFO: ==29350== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:36:04] Production.INFO: Account Balance Start.
[2025-04-08 22:36:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:36:04] Production.INFO: 117
[2025-04-08 22:36:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:36:04] Production.INFO: ==29354== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:36:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:36:04] Production.INFO: Total Charge 0
[2025-04-08 22:36:04] Production.INFO: ==29344== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:36:04] Production.INFO: CreateAllLog End
[2025-04-08 22:36:04] Production.INFO: ==29346== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:36:04] Production.INFO: ==29348== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:36:04] Production.INFO: Account Balance End.
[2025-04-08 22:36:04] Production.INFO: count ==12
[2025-04-08 22:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:36:04] Production.INFO: count ==23
[2025-04-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865293') start
[2025-04-08 22:36:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:36:04] Production.INFO: ==29350== Releasing lock...
[2025-04-08 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:36:04] Production.INFO: ==29352== Lock acquired, processing the job...
[2025-04-08 22:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865293') end
[2025-04-08 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:36:04] Production.INFO: 1
[2025-04-08 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:36:04] Production.INFO: ==29354== Releasing lock...
[2025-04-08 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:36:04] Production.INFO: ==29346== Releasing lock...
[2025-04-08 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:36:05] Production.ERROR: done
[2025-04-08 22:36:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:36:05] Production.ERROR: done
[2025-04-08 22:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:36:06
[end_date_ymd] => 2025-04-08 22:36:06
[RateCDR] => 1
)
[2025-04-08 22:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:36:06' and `end` < '2025-04-08 22:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:36:14] Production.ERROR: CronJobId end10
[2025-04-08 22:36:14] Production.INFO: ==29348== Releasing lock...
[2025-04-08 22:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:36:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:36:16] Production.INFO: call_cost start
[2025-04-08 22:36:16] Production.INFO: call_cost end
[2025-04-08 22:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:36:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:36:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:36:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:36:17] Production.INFO: ==29344== Releasing lock...
[2025-04-08 22:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:36:19] Production.INFO: count ==677
[2025-04-08 22:36:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:36:06 - End Time 2025-04-08 22:36:06
[2025-04-08 22:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865296', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865296', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865296', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865296', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:36:19] Production.INFO: ProcessCDR(1,14865296,1,1,2)
[2025-04-08 22:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865296', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865296', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:36:22] Production.INFO: ==29352== Releasing lock...
[2025-04-08 22:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:36:22] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:37:01] Production.INFO: ==29405== Lock acquired, processing the job...
[2025-04-09 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:37:01] Production.INFO: neon service started
[2025-04-09 03:37:01] Production.INFO: neon service started
[2025-04-09 03:37:01] Production.INFO: ==29405== Releasing lock...
[2025-04-09 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:37:02] Production.INFO: ==29407== Lock acquired, processing the job...
[2025-04-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:37:02] Production.INFO: ==29407== Releasing lock...
[2025-04-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:37:02] Production.INFO: ==29409== Lock acquired, processing the job...
[2025-04-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:37:02] Production.INFO: ==29409== Releasing lock...
[2025-04-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:37:03] Production.INFO: ==29414== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:37:03] Production.INFO: ==29412== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:37:03] Production.INFO: ==29416== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:37:03] Production.INFO: ==29418== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:37:03] Production.INFO: ==29420== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:37:03] Production.INFO: ==29422== Lock acquired, processing the job...
[2025-04-08 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:37:03] Production.INFO: Account Balance Start.
[2025-04-08 22:37:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:37:03] Production.INFO: 117
[2025-04-08 22:37:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:37:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:37:03] Production.INFO: Total Charge 0
[2025-04-08 22:37:03] Production.INFO: CreateAllLog End
[2025-04-08 22:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:37:03] Production.INFO: ==29414== Releasing lock...
[2025-04-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:37:03] Production.INFO: count ==12
[2025-04-08 22:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:37:03] Production.INFO: count ==23
[2025-04-08 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865300') start
[2025-04-08 22:37:04] Production.INFO: Account Balance End.
[2025-04-08 22:37:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:37:04] Production.INFO: ==29418== Releasing lock...
[2025-04-08 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:37:04] Production.ERROR: done
[2025-04-08 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865300') end
[2025-04-08 22:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:37:04] Production.INFO: 1
[2025-04-08 22:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:37:04] Production.INFO: ==29422== Releasing lock...
[2025-04-08 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:37:04] Production.ERROR: done
[2025-04-08 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:37:05
[end_date_ymd] => 2025-04-08 22:37:05
[RateCDR] => 1
)
[2025-04-08 22:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:37:05' and `end` < '2025-04-08 22:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:37:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-04-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-08 22:37:11] Production.ERROR: CronJobId end10
[2025-04-08 22:37:11] Production.INFO: ==29416== Releasing lock...
[2025-04-08 22:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:37:14] Production.INFO: call_cost start
[2025-04-08 22:37:14] Production.INFO: call_cost end
[2025-04-08 22:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:37:15] Production.INFO: ==29412== Releasing lock...
[2025-04-08 22:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:37:18] Production.INFO: count ==675
[2025-04-08 22:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:37:05 - End Time 2025-04-08 22:37:05
[2025-04-08 22:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865301', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865301', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865301', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865301', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:37:18] Production.INFO: ProcessCDR(1,14865301,1,1,2)
[2025-04-08 22:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865301', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865301', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:37:21] Production.INFO: ==29420== Releasing lock...
[2025-04-08 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:37:21] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 03:38:02] Production.INFO: ==29478== Lock acquired, processing the job...
[2025-04-09 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:38:02] Production.INFO: neon service started
[2025-04-09 03:38:02] Production.INFO: neon service started
[2025-04-09 03:38:02] Production.INFO: ==29478== Releasing lock...
[2025-04-09 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:38:02] Production.INFO: ==29480== Lock acquired, processing the job...
[2025-04-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:38:02] Production.INFO: ==29482== Lock acquired, processing the job...
[2025-04-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:38:03] Production.INFO: ==29482== Releasing lock...
[2025-04-09 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:38:03] Production.INFO: ==29480== Releasing lock...
[2025-04-08 22:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:38:04] Production.INFO: ==29487== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:38:04] Production.INFO: ==29491== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:38:04] Production.INFO: Account Balance Start.
[2025-04-08 22:38:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:38:04] Production.INFO: 117
[2025-04-08 22:38:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:38:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:38:04] Production.INFO: ==29485== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:38:04] Production.INFO: Total Charge 0
[2025-04-08 22:38:04] Production.INFO: CreateAllLog End
[2025-04-08 22:38:04] Production.INFO: ==29489== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:38:04] Production.INFO: ==29493== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:38:04] Production.INFO: Account Balance End.
[2025-04-08 22:38:04] Production.INFO: ==29495== Lock acquired, processing the job...
[2025-04-08 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:38:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:38:04] Production.INFO: ==29491== Releasing lock...
[2025-04-08 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:38:04] Production.INFO: ==29487== Releasing lock...
[2025-04-08 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:38:04] Production.INFO: count ==12
[2025-04-08 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-04-08 22:38:04] Production.INFO: count ==23
[2025-04-08 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865305') start
[2025-04-08 22:38:04] Production.ERROR: done
[2025-04-08 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865305') end
[2025-04-08 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:38:04] Production.INFO: 1
[2025-04-08 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:38:04] Production.INFO: ==29495== Releasing lock...
[2025-04-08 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:38:05] Production.ERROR: done
[2025-04-08 22:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:38:06
[end_date_ymd] => 2025-04-08 22:38:06
[RateCDR] => 1
)
[2025-04-08 22:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:38:06' and `end` < '2025-04-08 22:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:38:13] Production.ERROR: CronJobId end10
[2025-04-08 22:38:13] Production.INFO: ==29489== Releasing lock...
[2025-04-08 22:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:38:15] Production.INFO: call_cost start
[2025-04-08 22:38:15] Production.INFO: call_cost end
[2025-04-08 22:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:38:16] Production.INFO: ==29485== Releasing lock...
[2025-04-08 22:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:38:18] Production.INFO: count ==662
[2025-04-08 22:38:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:38:06 - End Time 2025-04-08 22:38:06
[2025-04-08 22:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865306', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865306', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865306', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865306', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:38:18] Production.INFO: ProcessCDR(1,14865306,1,1,2)
[2025-04-08 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865306', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865306', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:38:22] Production.INFO: ==29493== Releasing lock...
[2025-04-08 22:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:38:22] Production.INFO: 32.25 MB #Memory Used#
[2025-04-09 03:39:01] Production.INFO: ==29547== Lock acquired, processing the job...
[2025-04-09 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:39:01] Production.INFO: neon service started
[2025-04-09 03:39:01] Production.INFO: neon service started
[2025-04-09 03:39:01] Production.INFO: ==29547== Releasing lock...
[2025-04-09 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:39:02] Production.INFO: ==29549== Lock acquired, processing the job...
[2025-04-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:39:02] Production.INFO: ==29549== Releasing lock...
[2025-04-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:39:02] Production.INFO: ==29551== Lock acquired, processing the job...
[2025-04-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:39:02] Production.INFO: ==29551== Releasing lock...
[2025-04-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:39:03] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:39:03] Production.INFO: ==29562== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:39:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:39:03] Production.INFO: ==29558== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:39:03] Production.INFO: count ==23
[2025-04-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865307') start
[2025-04-08 22:39:03] Production.INFO: ==29554== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:39:03] Production.INFO: ==29556== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:39:03] Production.INFO: ==29560== Lock acquired, processing the job...
[2025-04-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865307') end
[2025-04-08 22:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:39:03] Production.INFO: 1
[2025-04-08 22:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:39:03] Production.INFO: ==29564== Releasing lock...
[2025-04-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:39:03] Production.ERROR: done
[2025-04-08 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:39:04] Production.INFO: Account Balance Start.
[2025-04-08 22:39:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:39:04] Production.INFO: 117
[2025-04-08 22:39:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:39:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:39:04] Production.INFO: Total Charge 0
[2025-04-08 22:39:04] Production.INFO: CreateAllLog End
[2025-04-08 22:39:04] Production.INFO: ==29556== Releasing lock...
[2025-04-08 22:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:39:04] Production.ERROR: done
[2025-04-08 22:39:04] Production.INFO: Account Balance End.
[2025-04-08 22:39:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:39:04] Production.INFO: ==29560== Releasing lock...
[2025-04-08 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:39:05
[end_date_ymd] => 2025-04-08 22:39:05
[RateCDR] => 1
)
[2025-04-08 22:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:39:05' and `end` < '2025-04-08 22:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:39:12] Production.ERROR: CronJobId end10
[2025-04-08 22:39:12] Production.INFO: ==29558== Releasing lock...
[2025-04-08 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:39:15] Production.INFO: call_cost start
[2025-04-08 22:39:15] Production.INFO: call_cost end
[2025-04-08 22:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:39:16] Production.INFO: ==29554== Releasing lock...
[2025-04-08 22:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:39:18] Production.INFO: count ==661
[2025-04-08 22:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:39:05 - End Time 2025-04-08 22:39:05
[2025-04-08 22:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865311', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865311', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865311', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865311', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:39:18] Production.INFO: ProcessCDR(1,14865311,1,1,2)
[2025-04-08 22:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865311', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865311', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:39:21] Production.INFO: ==29562== Releasing lock...
[2025-04-08 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:39:21] Production.INFO: 32.25 MB #Memory Used#
[2025-04-09 03:40:02] Production.INFO: ==29619== Lock acquired, processing the job...
[2025-04-09 03:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:40:02] Production.INFO: neon service started
[2025-04-09 03:40:02] Production.INFO: neon service started
[2025-04-09 03:40:02] Production.INFO: ==29619== Releasing lock...
[2025-04-09 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:40:02] Production.INFO: ==29621== Lock acquired, processing the job...
[2025-04-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:40:02] Production.INFO: ==29624== Lock acquired, processing the job...
[2025-04-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:40:03] Production.INFO: ==29624== Releasing lock...
[2025-04-09 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:40:03] Production.INFO: ==29621== Releasing lock...
[2025-04-08 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:40:04] Production.INFO: ==29626== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:40:04] Production.INFO: ==29628== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:40:04] Production.INFO: ==29636== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:40:04] Production.INFO: ==29630== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:40:04] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:40:04] Production.ERROR: CronJob PID - 29628
[2025-04-08 22:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 22:40:04] Production.ERROR: CronJob ID - 5
[2025-04-08 22:40:04] Production.ERROR: CronJob Last Run Time 2025-04-08 22:40:00
[2025-04-08 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:40:04] Production.INFO: ==29626== Releasing lock...
[2025-04-08 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:40:04] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:40:04] Production.INFO: ==29632== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:40:04] Production.INFO: ==29634== Lock acquired, processing the job...
[2025-04-08 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:40:04] Production.INFO: count ==12
[2025-04-08 22:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:40:04] Production.INFO: count ==23
[2025-04-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865313') start
[2025-04-08 22:40:04] Production.INFO: Account Balance Start.
[2025-04-08 22:40:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:40:04] Production.INFO: 117
[2025-04-08 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:40:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865313') end
[2025-04-08 22:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:40:04] Production.INFO: 1
[2025-04-08 22:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:40:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:40:04] Production.ERROR: done
[2025-04-08 22:40:04] Production.INFO: ==29640== Releasing lock...
[2025-04-08 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:40:04] Production.INFO: Total Charge 0
[2025-04-08 22:40:04] Production.INFO: CreateAllLog End
[2025-04-08 22:40:04] Production.ERROR: done
[2025-04-08 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:40:04] Production.INFO: ==29630== Releasing lock...
[2025-04-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865316', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:40:05] Production.ERROR: done
[2025-04-08 22:40:05] Production.INFO: Account Balance End.
[2025-04-08 22:40:05] Production.ERROR: CronJobId end 12
[2025-04-08 22:40:05] Production.INFO: ==29634== Releasing lock...
[2025-04-08 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:40:06
[end_date_ymd] => 2025-04-08 22:40:06
[RateCDR] => 1
)
[2025-04-08 22:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:40:06' and `end` < '2025-04-08 22:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865316', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:40:08] Production.INFO: ProcessCDR(1,14865316,1,1,2)
[2025-04-08 22:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:40:08] Production.INFO: ==29638== Releasing lock...
[2025-04-08 22:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:40:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:40:15] Production.ERROR: CronJobId end10
[2025-04-08 22:40:15] Production.INFO: ==29632== Releasing lock...
[2025-04-08 22:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:40:16] Production.INFO: call_cost start
[2025-04-08 22:40:16] Production.INFO: call_cost end
[2025-04-08 22:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:40:17] Production.INFO: ==29628== Releasing lock...
[2025-04-08 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:40:18] Production.INFO: count ==660
[2025-04-08 22:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:40:06 - End Time 2025-04-08 22:40:06
[2025-04-08 22:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865317', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865317', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865317', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865317', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:40:19] Production.INFO: ProcessCDR(1,14865317,1,1,2)
[2025-04-08 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865317', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865317', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:40:22] Production.INFO: ==29636== Releasing lock...
[2025-04-08 22:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:40:22] Production.INFO: 32.25 MB #Memory Used#
[2025-04-09 03:41:01] Production.INFO: ==29696== Lock acquired, processing the job...
[2025-04-09 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:41:01] Production.INFO: neon service started
[2025-04-09 03:41:01] Production.INFO: neon service started
[2025-04-09 03:41:01] Production.INFO: ==29696== Releasing lock...
[2025-04-09 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:41:02] Production.INFO: ==29698== Lock acquired, processing the job...
[2025-04-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:41:02] Production.INFO: ==29700== Lock acquired, processing the job...
[2025-04-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:41:02] Production.INFO: ==29700== Releasing lock...
[2025-04-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:41:02] Production.INFO: ==29698== Releasing lock...
[2025-04-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:41:03] Production.INFO: ==29713== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:41:03] Production.INFO: ==29711== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:41:03] Production.INFO: ==29703== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:41:03] Production.INFO: ==29705== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 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-04-08 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:41:03] Production.INFO: ==29709== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:41:03] Production.INFO: ==29707== Lock acquired, processing the job...
[2025-04-08 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:41:03] Production.INFO: count ==12
[2025-04-08 22:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:41:03] Production.INFO: count ==23
[2025-04-08 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865318') start
[2025-04-08 22:41:04] Production.INFO: Account Balance Start.
[2025-04-08 22:41:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:41:04] Production.INFO: 117
[2025-04-08 22:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:41:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:41:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865318') end
[2025-04-08 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:41:04] Production.INFO: 1
[2025-04-08 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:41:04] Production.INFO: Total Charge 0
[2025-04-08 22:41:04] Production.INFO: ==29713== Releasing lock...
[2025-04-08 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:41:04] Production.INFO: CreateAllLog End
[2025-04-08 22:41:04] Production.ERROR: done
[2025-04-08 22:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:41:04] Production.INFO: ==29705== Releasing lock...
[2025-04-08 22:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:41:04] Production.ERROR: done
[2025-04-08 22:41:04] Production.INFO: Account Balance End.
[2025-04-08 22:41:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:41:04] Production.INFO: ==29709== Releasing lock...
[2025-04-08 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:41:05
[end_date_ymd] => 2025-04-08 22:41:05
[RateCDR] => 1
)
[2025-04-08 22:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:41:05' and `end` < '2025-04-08 22:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:41:12] Production.ERROR: CronJobId end10
[2025-04-08 22:41:12] Production.INFO: ==29707== Releasing lock...
[2025-04-08 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:41:14] Production.INFO: call_cost start
[2025-04-08 22:41:14] Production.INFO: call_cost end
[2025-04-08 22:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:41:15] Production.INFO: ==29703== Releasing lock...
[2025-04-08 22:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:41:18] Production.INFO: count ==626
[2025-04-08 22:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:41:05 - End Time 2025-04-08 22:41:05
[2025-04-08 22:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865322', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865322', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865322', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865322', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:41:18] Production.INFO: ProcessCDR(1,14865322,1,1,2)
[2025-04-08 22:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865322', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865322', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:41:23] Production.INFO: ==29711== Releasing lock...
[2025-04-08 22:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:41:23] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:42:02] Production.INFO: ==29766== Lock acquired, processing the job...
[2025-04-09 03:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:42:02] Production.INFO: neon service started
[2025-04-09 03:42:02] Production.INFO: neon service started
[2025-04-09 03:42:02] Production.INFO: ==29766== Releasing lock...
[2025-04-09 03:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:42:02] Production.INFO: ==29768== Lock acquired, processing the job...
[2025-04-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:42:02] Production.INFO: ==29770== Lock acquired, processing the job...
[2025-04-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:42:02] Production.INFO: ==29770== Releasing lock...
[2025-04-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:42:03] Production.INFO: ==29768== Releasing lock...
[2025-04-08 22:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:42:04] Production.INFO: ==29779== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:42:04] Production.INFO: ==29773== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:42:04] Production.INFO: ==29783== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:42:04] Production.INFO: ==29775== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:42:04] Production.INFO: ==29777== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:42:04] Production.INFO: Account Balance Start.
[2025-04-08 22:42:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:42:04] Production.INFO: 117
[2025-04-08 22:42:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:42:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:42:04] Production.INFO: count ==12
[2025-04-08 22:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:42:04] Production.INFO: count ==23
[2025-04-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865323') start
[2025-04-08 22:42:04] Production.INFO: Total Charge 0
[2025-04-08 22:42:04] Production.INFO: CreateAllLog End
[2025-04-08 22:42:04] Production.INFO: ==29781== Lock acquired, processing the job...
[2025-04-08 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865323') end
[2025-04-08 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:42:04] Production.INFO: 1
[2025-04-08 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:42:04] Production.INFO: ==29783== Releasing lock...
[2025-04-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:42:04] Production.INFO: Account Balance End.
[2025-04-08 22:42:04] Production.INFO: ==29775== Releasing lock...
[2025-04-08 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:42:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:42:04] Production.INFO: ==29779== Releasing lock...
[2025-04-08 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:42:04] Production.ERROR: done
[2025-04-08 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:42:05] Production.ERROR: done
[2025-04-08 22:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:42:06
[end_date_ymd] => 2025-04-08 22:42:06
[RateCDR] => 1
)
[2025-04-08 22:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:42:06' and `end` < '2025-04-08 22:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:42:13] Production.ERROR: CronJobId end10
[2025-04-08 22:42:13] Production.INFO: ==29777== Releasing lock...
[2025-04-08 22:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:42:14] Production.INFO: call_cost start
[2025-04-08 22:42:14] Production.INFO: call_cost end
[2025-04-08 22:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:42:15] Production.INFO: ==29773== Releasing lock...
[2025-04-08 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:42:19] Production.INFO: count ==623
[2025-04-08 22:42:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:42:06 - End Time 2025-04-08 22:42:06
[2025-04-08 22:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865327', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865327', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865327', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865327', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:42:19] Production.INFO: ProcessCDR(1,14865327,1,1,2)
[2025-04-08 22:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865327', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865327', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:42:22] Production.INFO: ==29781== Releasing lock...
[2025-04-08 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:42:22] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:43:01] Production.INFO: ==29841== Lock acquired, processing the job...
[2025-04-09 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:43:01] Production.INFO: neon service started
[2025-04-09 03:43:01] Production.INFO: neon service started
[2025-04-09 03:43:01] Production.INFO: ==29841== Releasing lock...
[2025-04-09 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:43:02] Production.INFO: ==29843== Lock acquired, processing the job...
[2025-04-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:43:02] Production.INFO: ==29845== Lock acquired, processing the job...
[2025-04-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:43:02] Production.INFO: ==29845== Releasing lock...
[2025-04-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:43:02] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:43:02] Production.INFO: ==29843== Releasing lock...
[2025-04-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:43:03] Production.INFO: ==29852== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:43:03] Production.INFO: ==29858== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:43:03] Production.INFO: ==29848== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:43:03] Production.INFO: ==29850== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:43:03] Production.INFO: count ==12
[2025-04-08 22:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:43:03] Production.INFO: count ==23
[2025-04-08 22:43:03] Production.INFO: ==29854== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865328') start
[2025-04-08 22:43:03] Production.INFO: ==29856== Lock acquired, processing the job...
[2025-04-08 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865328') end
[2025-04-08 22:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:43:03] Production.INFO: 1
[2025-04-08 22:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:43:03] Production.INFO: Account Balance Start.
[2025-04-08 22:43:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:43:03] Production.INFO: 117
[2025-04-08 22:43:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:43:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:43:03] Production.INFO: Total Charge 0
[2025-04-08 22:43:03] Production.INFO: CreateAllLog End
[2025-04-08 22:43:04] Production.INFO: ==29858== Releasing lock...
[2025-04-08 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:43:04] Production.INFO: ==29850== Releasing lock...
[2025-04-08 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:43:04] Production.INFO: Account Balance End.
[2025-04-08 22:43:04] Production.ERROR: done
[2025-04-08 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:43:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:43:04] Production.INFO: ==29854== Releasing lock...
[2025-04-08 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:43:04] Production.ERROR: done
[2025-04-08 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:43:05
[end_date_ymd] => 2025-04-08 22:43:05
[RateCDR] => 1
)
[2025-04-08 22:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:43:05' and `end` < '2025-04-08 22:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:43:12] Production.ERROR: CronJobId end10
[2025-04-08 22:43:12] Production.INFO: ==29852== Releasing lock...
[2025-04-08 22:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:43:14] Production.INFO: call_cost start
[2025-04-08 22:43:14] Production.INFO: call_cost end
[2025-04-08 22:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:43:15] Production.INFO: ==29848== Releasing lock...
[2025-04-08 22:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:43:18] Production.INFO: count ==622
[2025-04-08 22:43:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:43:05 - End Time 2025-04-08 22:43:05
[2025-04-08 22:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865332', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865332', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865332', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865332', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:43:18] Production.INFO: ProcessCDR(1,14865332,1,1,2)
[2025-04-08 22:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865332', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865332', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:43:22] Production.INFO: ==29856== Releasing lock...
[2025-04-08 22:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:43:22] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:44:02] Production.INFO: ==29918== Lock acquired, processing the job...
[2025-04-09 03:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:44:02] Production.INFO: neon service started
[2025-04-09 03:44:02] Production.INFO: neon service started
[2025-04-09 03:44:02] Production.INFO: ==29918== Releasing lock...
[2025-04-09 03:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:44:02] Production.INFO: ==29920== Lock acquired, processing the job...
[2025-04-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:44:02] Production.INFO: ==29922== Lock acquired, processing the job...
[2025-04-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:44:02] Production.INFO: ==29922== Releasing lock...
[2025-04-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:44:03] Production.INFO: ==29920== Releasing lock...
[2025-04-08 22:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:44:04] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:44:04] Production.INFO: ==29927== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:44:04] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:44:04] Production.INFO: ==29929== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:44:04] Production.INFO: ==29931== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:44:04] Production.INFO: count ==12
[2025-04-08 22:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:44:04] Production.INFO: count ==23
[2025-04-08 22:44:04] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-04-08 22:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865335') start
[2025-04-08 22:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865335') end
[2025-04-08 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:44:04] Production.INFO: 1
[2025-04-08 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:44:04] Production.INFO: Account Balance Start.
[2025-04-08 22:44:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:44:04] Production.INFO: 117
[2025-04-08 22:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:44:04] Production.INFO: ==29935== Releasing lock...
[2025-04-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:44:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:44:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:44:04] Production.INFO: Total Charge 0
[2025-04-08 22:44:04] Production.INFO: CreateAllLog End
[2025-04-08 22:44:04] Production.INFO: ==29927== Releasing lock...
[2025-04-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:44:04] Production.ERROR: done
[2025-04-08 22:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:44:05] Production.INFO: Account Balance End.
[2025-04-08 22:44:05] Production.ERROR: CronJobId end 12
[2025-04-08 22:44:05] Production.INFO: ==29931== Releasing lock...
[2025-04-08 22:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:44:05] Production.ERROR: done
[2025-04-08 22:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:44:06
[end_date_ymd] => 2025-04-08 22:44:06
[RateCDR] => 1
)
[2025-04-08 22:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:44:06' and `end` < '2025-04-08 22:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:44:13] Production.ERROR: CronJobId end10
[2025-04-08 22:44:13] Production.INFO: ==29929== Releasing lock...
[2025-04-08 22:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:44:14] Production.INFO: call_cost start
[2025-04-08 22:44:14] Production.INFO: call_cost end
[2025-04-08 22:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:44:15] Production.INFO: ==29925== Releasing lock...
[2025-04-08 22:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:44:18] Production.INFO: count ==623
[2025-04-08 22:44:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:44:06 - End Time 2025-04-08 22:44:06
[2025-04-08 22:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865337', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865337', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865337', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865337', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:44:19] Production.INFO: ProcessCDR(1,14865337,1,1,2)
[2025-04-08 22:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865337', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865337', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:44:24] Production.INFO: ==29933== Releasing lock...
[2025-04-08 22:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:44:24] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:45:01] Production.INFO: ==29989== Lock acquired, processing the job...
[2025-04-09 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:45:01] Production.INFO: neon service started
[2025-04-09 03:45:01] Production.INFO: neon service started
[2025-04-09 03:45:01] Production.INFO: ==29989== Releasing lock...
[2025-04-09 03:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:45:02] Production.INFO: ==29991== Lock acquired, processing the job...
[2025-04-08 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:45:02] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-04-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:45:02] Production.INFO: ==29993== Releasing lock...
[2025-04-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:45:02] Production.INFO: ==29991== Releasing lock...
[2025-04-08 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:45:03] Production.INFO: ==29996== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:45:03] Production.INFO: ==29998== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:45:03] Production.INFO: ==30006== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:45:03] Production.INFO: count ==12
[2025-04-08 22:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:45:03] Production.INFO: count ==23
[2025-04-08 22:45:03] Production.INFO: ==29998== Releasing lock...
[2025-04-08 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865340') start
[2025-04-08 22:45:03] Production.INFO: ==30000== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:45:03] Production.INFO: ==30004== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:45:03] Production.INFO: ==30002== Lock acquired, processing the job...
[2025-04-08 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865340') end
[2025-04-08 22:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:45:03] Production.INFO: 1
[2025-04-08 22:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:45:03] Production.INFO: ==30006== Releasing lock...
[2025-04-08 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:45:03] Production.INFO: Account Balance Start.
[2025-04-08 22:45:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:45:03] Production.INFO: 117
[2025-04-08 22:45:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:45:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:45:03] Production.INFO: Total Charge 0
[2025-04-08 22:45:03] Production.INFO: CreateAllLog End
[2025-04-08 22:45:04] Production.ERROR: done
[2025-04-08 22:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:45:04] Production.ERROR: done
[2025-04-08 22:45:04] Production.INFO: Account Balance End.
[2025-04-08 22:45:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:45:04] Production.INFO: ==30002== Releasing lock...
[2025-04-08 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:45:05
[end_date_ymd] => 2025-04-08 22:45:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:45:05' and `end` < '2025-04-08 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-04-08 22:45:12] Production.ERROR: CronJobId end10
[2025-04-08 22:45:12] Production.INFO: ==30000== Releasing lock...
[2025-04-08 22:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:45:14] Production.INFO: call_cost start
[2025-04-08 22:45:14] Production.INFO: call_cost end
[2025-04-08 22:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:45:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:45:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:45:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:45:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:45:14] Production.INFO: ==29996== Releasing lock...
[2025-04-08 22:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:45:18] Production.INFO: count ==623
[2025-04-08 22:45:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:45:05 - End Time 2025-04-08 22:45:05
[2025-04-08 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865342', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865342', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865342', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865342', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:45:18] Production.INFO: ProcessCDR(1,14865342,1,1,2)
[2025-04-08 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865342', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865342', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:45:21] Production.INFO: ==30004== Releasing lock...
[2025-04-08 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:45:21] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:46:01] Production.INFO: ==30062== Lock acquired, processing the job...
[2025-04-09 03:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:46:02] Production.INFO: neon service started
[2025-04-09 03:46:02] Production.INFO: neon service started
[2025-04-09 03:46:02] Production.INFO: ==30062== Releasing lock...
[2025-04-09 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:46:02] Production.INFO: ==30064== Lock acquired, processing the job...
[2025-04-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:46:02] Production.INFO: ==30064== Releasing lock...
[2025-04-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:46:02] Production.INFO: ==30066== Lock acquired, processing the job...
[2025-04-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:46:02] Production.INFO: ==30066== Releasing lock...
[2025-04-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:46:03] Production.INFO: ==30068== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:46:03] Production.INFO: ==30072== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:46:03] Production.INFO: ==30076== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:46:03] Production.INFO: ==30074== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:46:03] Production.INFO: ==30070== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:46:03] Production.INFO: ==30078== Lock acquired, processing the job...
[2025-04-08 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:46:04] Production.INFO: Account Balance Start.
[2025-04-08 22:46:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:46:04] Production.INFO: 117
[2025-04-08 22:46:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:46:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:46:04] Production.INFO: count ==12
[2025-04-08 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:46:04] Production.INFO: count ==23
[2025-04-08 22:46:04] Production.INFO: Total Charge 0
[2025-04-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865346') start
[2025-04-08 22:46:04] Production.INFO: CreateAllLog End
[2025-04-08 22:46:04] Production.ERROR: done
[2025-04-08 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:46:04] Production.INFO: ==30070== Releasing lock...
[2025-04-08 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865346') end
[2025-04-08 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:46:04] Production.INFO: 1
[2025-04-08 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:46:04] Production.ERROR: done
[2025-04-08 22:46:04] Production.INFO: Account Balance End.
[2025-04-08 22:46:04] Production.INFO: ==30078== Releasing lock...
[2025-04-08 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:46:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:46:04] Production.INFO: ==30074== Releasing lock...
[2025-04-08 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:46:05
[end_date_ymd] => 2025-04-08 22:46:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:46:05' and `end` < '2025-04-08 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-04-08 22:46:14] Production.ERROR: CronJobId end10
[2025-04-08 22:46:14] Production.INFO: ==30072== Releasing lock...
[2025-04-08 22:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:46:15] Production.INFO: call_cost start
[2025-04-08 22:46:15] Production.INFO: call_cost end
[2025-04-08 22:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:46:16] Production.INFO: ==30068== Releasing lock...
[2025-04-08 22:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:46:18] Production.INFO: count ==616
[2025-04-08 22:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:46:05 - End Time 2025-04-08 22:46:05
[2025-04-08 22:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865347', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865347', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865347', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865347', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:46:18] Production.INFO: ProcessCDR(1,14865347,1,1,2)
[2025-04-08 22:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865347', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865347', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:46:23] Production.INFO: ==30076== Releasing lock...
[2025-04-08 22:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:46:23] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:47:01] Production.INFO: ==30138== Lock acquired, processing the job...
[2025-04-09 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:47:01] Production.INFO: neon service started
[2025-04-09 03:47:01] Production.INFO: neon service started
[2025-04-09 03:47:01] Production.INFO: ==30138== Releasing lock...
[2025-04-09 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:47:02] Production.INFO: ==30140== Lock acquired, processing the job...
[2025-04-08 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:47:02] Production.INFO: ==30142== Lock acquired, processing the job...
[2025-04-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:47:02] Production.INFO: ==30142== Releasing lock...
[2025-04-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:47:02] Production.INFO: ==30140== Releasing lock...
[2025-04-08 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:47:03] Production.INFO: ==30145== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:47:03] Production.INFO: ==30149== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:47:03] Production.INFO: ==30151== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:47:03] Production.INFO: Account Balance Start.
[2025-04-08 22:47:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:47:03] Production.INFO: 117
[2025-04-08 22:47:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:47:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:47:03] Production.INFO: ==30147== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:47:03] Production.INFO: Total Charge 0
[2025-04-08 22:47:03] Production.INFO: CreateAllLog End
[2025-04-08 22:47:03] Production.INFO: ==30153== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:47:03] Production.INFO: ==30155== Lock acquired, processing the job...
[2025-04-08 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:47:03] Production.INFO: Account Balance End.
[2025-04-08 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:47:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:47:03] Production.INFO: ==30151== Releasing lock...
[2025-04-08 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22: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-04-08 22:47:04] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:47:04] Production.INFO: count ==23
[2025-04-08 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865351') start
[2025-04-08 22:47:04] Production.INFO: ==30147== Releasing lock...
[2025-04-08 22:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865351') end
[2025-04-08 22:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:47:04] Production.INFO: 1
[2025-04-08 22:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:47:04] Production.ERROR: done
[2025-04-08 22:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:47:04] Production.INFO: ==30155== Releasing lock...
[2025-04-08 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:47:04] Production.ERROR: done
[2025-04-08 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:47:05
[end_date_ymd] => 2025-04-08 22:47:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:47:05' and `end` < '2025-04-08 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-04-08 22:47:12] Production.ERROR: CronJobId end10
[2025-04-08 22:47:12] Production.INFO: ==30149== Releasing lock...
[2025-04-08 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:47:14] Production.INFO: call_cost start
[2025-04-08 22:47:14] Production.INFO: call_cost end
[2025-04-08 22:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:47:15] Production.INFO: ==30145== Releasing lock...
[2025-04-08 22:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:47:18] Production.INFO: count ==615
[2025-04-08 22:47:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:47:05 - End Time 2025-04-08 22:47:05
[2025-04-08 22:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865352', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865352', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865352', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865352', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:47:18] Production.INFO: ProcessCDR(1,14865352,1,1,2)
[2025-04-08 22:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865352', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865352', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:47:23] Production.INFO: ==30153== Releasing lock...
[2025-04-08 22:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:47:23] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:48:01] Production.INFO: ==30249== Lock acquired, processing the job...
[2025-04-09 03:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:48:01] Production.INFO: neon service started
[2025-04-09 03:48:01] Production.INFO: neon service started
[2025-04-09 03:48:01] Production.INFO: ==30249== Releasing lock...
[2025-04-09 03:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:48:02] Production.INFO: ==30251== Lock acquired, processing the job...
[2025-04-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:48:02] Production.INFO: ==30253== Lock acquired, processing the job...
[2025-04-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:48:02] Production.INFO: ==30253== Releasing lock...
[2025-04-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:48:02] Production.INFO: ==30251== Releasing lock...
[2025-04-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:48:03] Production.INFO: ==30256== Lock acquired, processing the job...
[2025-04-08 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:48:03] Production.INFO: ==30264== Lock acquired, processing the job...
[2025-04-08 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:48:03] Production.INFO: ==30262== Lock acquired, processing the job...
[2025-04-08 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:48:03] Production.INFO: Account Balance Start.
[2025-04-08 22:48:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:48:04] Production.INFO: 117
[2025-04-08 22:48:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:48:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:48:04] Production.INFO: Total Charge 0
[2025-04-08 22:48:04] Production.INFO: CreateAllLog End
[2025-04-08 22:48:04] Production.INFO: ==30260== Lock acquired, processing the job...
[2025-04-08 22:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:48:04] Production.INFO: ==30258== Lock acquired, processing the job...
[2025-04-08 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:48:04] Production.INFO: ==30266== Lock acquired, processing the job...
[2025-04-08 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:48:04] Production.INFO: Account Balance End.
[2025-04-08 22:48:04] Production.ERROR: done
[2025-04-08 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:48:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:48:04] Production.INFO: ==30262== Releasing lock...
[2025-04-08 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:48:04] Production.INFO: count ==12
[2025-04-08 22:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:48:04] Production.ERROR: done
[2025-04-08 22:48:04] Production.INFO: count ==23
[2025-04-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865356') start
[2025-04-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865356') end
[2025-04-08 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:48:04] Production.INFO: 1
[2025-04-08 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:48:04] Production.INFO: ==30266== Releasing lock...
[2025-04-08 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:48:04] Production.INFO: ==30258== Releasing lock...
[2025-04-08 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:48:05
[end_date_ymd] => 2025-04-08 22:48:05
[RateCDR] => 1
)
[2025-04-08 22:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:48:05' and `end` < '2025-04-08 22:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:48:13] Production.ERROR: CronJobId end10
[2025-04-08 22:48:13] Production.INFO: ==30260== Releasing lock...
[2025-04-08 22:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:48:14] Production.INFO: call_cost start
[2025-04-08 22:48:14] Production.INFO: call_cost end
[2025-04-08 22:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:48:15] Production.INFO: ==30256== Releasing lock...
[2025-04-08 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:48:18] Production.INFO: count ==611
[2025-04-08 22:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:48:05 - End Time 2025-04-08 22:48:05
[2025-04-08 22:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865357', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865357', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865357', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865357', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:48:18] Production.INFO: ProcessCDR(1,14865357,1,1,2)
[2025-04-08 22:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865357', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865357', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:48:21] Production.INFO: ==30264== Releasing lock...
[2025-04-08 22:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:48:21] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:49:01] Production.INFO: ==30329== Lock acquired, processing the job...
[2025-04-09 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:49:01] Production.INFO: neon service started
[2025-04-09 03:49:01] Production.INFO: neon service started
[2025-04-09 03:49:01] Production.INFO: ==30329== Releasing lock...
[2025-04-09 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:49:01] Production.INFO: ==30331== Lock acquired, processing the job...
[2025-04-08 22:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:49:02] Production.INFO: ==30331== Releasing lock...
[2025-04-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:49:02] Production.INFO: ==30333== Lock acquired, processing the job...
[2025-04-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:49:02] Production.INFO: ==30333== Releasing lock...
[2025-04-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:49:03] Production.INFO: ==30341== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:49:03] Production.INFO: ==30343== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:49:03] Production.INFO: ==30335== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:49:03] Production.INFO: Account Balance Start.
[2025-04-08 22:49:03] Production.INFO: ==30337== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:49:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:49:03] Production.INFO: 117
[2025-04-08 22:49:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:49:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:49:03] Production.INFO: ==30339== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:49:03] Production.INFO: Total Charge 0
[2025-04-08 22:49:03] Production.INFO: CreateAllLog End
[2025-04-08 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:49:03] Production.INFO: ==30345== Lock acquired, processing the job...
[2025-04-08 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:49:03] Production.ERROR: done
[2025-04-08 22:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:49:03] Production.INFO: ==30337== Releasing lock...
[2025-04-08 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:49:03] Production.INFO: Account Balance End.
[2025-04-08 22:49:03] Production.INFO: count ==12
[2025-04-08 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:49:03] Production.INFO: count ==23
[2025-04-08 22:49:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:49:03] Production.INFO: ==30341== Releasing lock...
[2025-04-08 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865361') start
[2025-04-08 22:49:04] Production.ERROR: done
[2025-04-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865361') end
[2025-04-08 22:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:49:04] Production.INFO: 1
[2025-04-08 22:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:49:04] Production.INFO: ==30345== Releasing lock...
[2025-04-08 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:49:05
[end_date_ymd] => 2025-04-08 22:49:05
[RateCDR] => 1
)
[2025-04-08 22:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:49:05' and `end` < '2025-04-08 22:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:49:12] Production.ERROR: CronJobId end10
[2025-04-08 22:49:12] Production.INFO: ==30339== Releasing lock...
[2025-04-08 22:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:49:15] Production.INFO: call_cost start
[2025-04-08 22:49:15] Production.INFO: call_cost end
[2025-04-08 22:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:49:16] Production.INFO: ==30335== Releasing lock...
[2025-04-08 22:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:49:18] Production.INFO: count ==608
[2025-04-08 22:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:49:05 - End Time 2025-04-08 22:49:05
[2025-04-08 22:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865362', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865362', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865362', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865362', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:49:18] Production.INFO: ProcessCDR(1,14865362,1,1,2)
[2025-04-08 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865362', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865362', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:49:21] Production.INFO: ==30343== Releasing lock...
[2025-04-08 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:49:21] Production.INFO: 32 MB #Memory Used#
[2025-04-09 03:50:01] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-04-09 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:50:01] Production.INFO: neon service started
[2025-04-09 03:50:01] Production.INFO: neon service started
[2025-04-09 03:50:01] Production.INFO: ==30400== Releasing lock...
[2025-04-09 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:50:02] Production.INFO: ==30402== Lock acquired, processing the job...
[2025-04-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:50:02] Production.INFO: ==30402== Releasing lock...
[2025-04-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:50:02] Production.INFO: ==30404== Lock acquired, processing the job...
[2025-04-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:50:03] Production.INFO: ==30404== Releasing lock...
[2025-04-09 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:50:03] Production.INFO: ==30409== Lock acquired, processing the job...
[2025-04-08 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:50:03] Production.INFO: ==30411== Lock acquired, processing the job...
[2025-04-08 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:50:03] Production.INFO: ==30407== Lock acquired, processing the job...
[2025-04-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 22:50:04] Production.INFO: ==30419== Lock acquired, processing the job...
[2025-04-08 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:50:04] Production.ERROR: CronJob PID - 30409
[2025-04-08 22:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 22:50:04] Production.ERROR: CronJob ID - 5
[2025-04-08 22:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 22:50:00
[2025-04-08 22:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 22:50:04] Production.ERROR: CronJob PID - 30411
[2025-04-08 22:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 22:50:04] Production.ERROR: CronJob ID - 7
[2025-04-08 22:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 22:50:00
[2025-04-08 22:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 22:50:04] Production.INFO: ==30413== Lock acquired, processing the job...
[2025-04-08 22:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 22:50:04] Production.INFO: ==30407== Releasing lock...
[2025-04-08 22:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 22:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 22:50:04] Production.INFO: ==30417== Lock acquired, processing the job...
[2025-04-08 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:50:04] Production.INFO: ==30415== Lock acquired, processing the job...
[2025-04-08 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:50:04] Production.INFO: ==30421== Lock acquired, processing the job...
[2025-04-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:50:04] Production.INFO: Account Balance Start.
[2025-04-08 22:50:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:50:04] Production.INFO: 117
[2025-04-08 22:50:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:50:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:50:04] Production.INFO: Total Charge 0
[2025-04-08 22:50:04] Production.INFO: count ==12
[2025-04-08 22:50:04] Production.INFO: CreateAllLog End
[2025-04-08 22:50:04] Production.INFO: ==30411== Releasing lock...
[2025-04-08 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:50:04] Production.INFO: count ==23
[2025-04-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865365') start
[2025-04-08 22:50:04] Production.ERROR: done
[2025-04-08 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865367', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865365') end
[2025-04-08 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:50:04] Production.INFO: 1
[2025-04-08 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:50:04] Production.INFO: ==30421== Releasing lock...
[2025-04-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:50:04] Production.ERROR: done
[2025-04-08 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:50:04] Production.INFO: Account Balance End.
[2025-04-08 22:50:05] Production.ERROR: CronJobId end 12
[2025-04-08 22:50:05] Production.INFO: ==30415== Releasing lock...
[2025-04-08 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:50:05] Production.ERROR: done
[2025-04-08 22:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:50:06
[end_date_ymd] => 2025-04-08 22:50:06
[RateCDR] => 1
)
[2025-04-08 22:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:50:06' and `end` < '2025-04-08 22:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865367', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 22:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 22:50:09] Production.INFO: ProcessCDR(1,14865367,1,1,2)
[2025-04-08 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:50:09] Production.INFO: ==30419== Releasing lock...
[2025-04-08 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 22:50:15] Production.ERROR: CronJobId end10
[2025-04-08 22:50:15] Production.INFO: ==30413== Releasing lock...
[2025-04-08 22:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:50:17] Production.INFO: call_cost start
[2025-04-08 22:50:17] Production.INFO: call_cost end
[2025-04-08 22:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:50:18] Production.INFO: ==30409== Releasing lock...
[2025-04-08 22:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:50:19] Production.INFO: count ==598
[2025-04-08 22:50:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:50:06 - End Time 2025-04-08 22:50:06
[2025-04-08 22:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865368', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865368', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865368', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865368', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:50:19] Production.INFO: ProcessCDR(1,14865368,1,1,2)
[2025-04-08 22:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865368', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865368', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:50:22] Production.INFO: ==30417== Releasing lock...
[2025-04-08 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:50:22] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 03:51:01] Production.INFO: ==30475== Lock acquired, processing the job...
[2025-04-09 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:51:01] Production.INFO: neon service started
[2025-04-09 03:51:01] Production.INFO: neon service started
[2025-04-09 03:51:01] Production.INFO: ==30475== Releasing lock...
[2025-04-09 03:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:51:01] Production.INFO: ==30479== Lock acquired, processing the job...
[2025-04-09 02:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:51:01] Production.INFO: ==30479== Releasing lock...
[2025-04-09 02:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:51:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:51:01] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-04-08 22:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:51:02] Production.INFO: ==30477== Releasing lock...
[2025-04-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:51:03] Production.INFO: ==30490== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:51:03] Production.INFO: ==30488== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:51:03] Production.INFO: Account Balance Start.
[2025-04-08 22:51:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:51:03] Production.INFO: ==30483== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:51:03] Production.INFO: 117
[2025-04-08 22:51:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:51:03] Production.INFO: ==30481== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:51:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:51:03] Production.INFO: Total Charge 0
[2025-04-08 22:51:03] Production.INFO: CreateAllLog End
[2025-04-08 22:51:03] Production.INFO: ==30485== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:51:03] Production.INFO: ==30492== Lock acquired, processing the job...
[2025-04-08 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:51:03] Production.INFO: Account Balance End.
[2025-04-08 22:51:03] Production.ERROR: done
[2025-04-08 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-04-08 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:51:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:51:03] Production.INFO: ==30488== Releasing lock...
[2025-04-08 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:51:03] Production.INFO: count ==12
[2025-04-08 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-04-08 22:51:03] Production.INFO: count ==23
[2025-04-08 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865372') start
[2025-04-08 22:51:03] Production.INFO: ==30483== Releasing lock...
[2025-04-08 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:51:03] Production.ERROR: done
[2025-04-08 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865372') end
[2025-04-08 22:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:51:03] Production.INFO: 1
[2025-04-08 22:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:51:03] Production.INFO: ==30492== Releasing lock...
[2025-04-08 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:51:05
[end_date_ymd] => 2025-04-08 22:51:05
[RateCDR] => 1
)
[2025-04-08 22:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:51:05' and `end` < '2025-04-08 22:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:51:12] Production.ERROR: CronJobId end10
[2025-04-08 22:51:12] Production.INFO: ==30485== Releasing lock...
[2025-04-08 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:51:14] Production.INFO: call_cost start
[2025-04-08 22:51:14] Production.INFO: call_cost end
[2025-04-08 22:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:51:15] Production.INFO: ==30481== Releasing lock...
[2025-04-08 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:51:17] Production.INFO: count ==561
[2025-04-08 22:51:17] Production.ERROR: pbx CDR StartTime 2025-04-08 19:51:05 - End Time 2025-04-08 22:51:05
[2025-04-08 22:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865373', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865373', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865373', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865373', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:51:17] Production.INFO: ProcessCDR(1,14865373,1,1,2)
[2025-04-08 22:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865373', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865373', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:51:21] Production.INFO: ==30490== Releasing lock...
[2025-04-08 22:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:51:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:52:01] Production.INFO: ==30547== Lock acquired, processing the job...
[2025-04-09 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:52:01] Production.INFO: neon service started
[2025-04-09 03:52:01] Production.INFO: neon service started
[2025-04-09 03:52:01] Production.INFO: ==30547== Releasing lock...
[2025-04-09 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:52:02] Production.INFO: ==30550== Lock acquired, processing the job...
[2025-04-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:52:02] Production.INFO: ==30550== Releasing lock...
[2025-04-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:52:02] Production.INFO: ==30552== Lock acquired, processing the job...
[2025-04-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:52:02] Production.INFO: ==30552== Releasing lock...
[2025-04-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:52:03] Production.INFO: ==30564== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:52:03] Production.INFO: ==30562== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:52:03] Production.INFO: ==30554== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:52:03] Production.INFO: count ==12
[2025-04-08 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:52:03] Production.INFO: count ==23
[2025-04-08 22:52:03] Production.INFO: ==30558== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865374') start
[2025-04-08 22:52:03] Production.INFO: ==30560== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:52:03] Production.INFO: ==30556== Lock acquired, processing the job...
[2025-04-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865374') end
[2025-04-08 22:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:52:03] Production.INFO: 1
[2025-04-08 22:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:52:03] Production.INFO: Account Balance Start.
[2025-04-08 22:52:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:52:03] Production.INFO: 117
[2025-04-08 22:52:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:52:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:52:03] Production.INFO: Total Charge 0
[2025-04-08 22:52:03] Production.INFO: CreateAllLog End
[2025-04-08 22:52:03] Production.INFO: ==30564== Releasing lock...
[2025-04-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:52:03] Production.ERROR: done
[2025-04-08 22:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:52:04] Production.INFO: ==30556== Releasing lock...
[2025-04-08 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:52:04] Production.ERROR: done
[2025-04-08 22:52:04] Production.INFO: Account Balance End.
[2025-04-08 22:52:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:52:04] Production.INFO: ==30560== Releasing lock...
[2025-04-08 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:52:05
[end_date_ymd] => 2025-04-08 22:52:05
[RateCDR] => 1
)
[2025-04-08 22:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:52:05' and `end` < '2025-04-08 22:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:52:12] Production.ERROR: CronJobId end10
[2025-04-08 22:52:12] Production.INFO: ==30558== Releasing lock...
[2025-04-08 22:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:52:14] Production.INFO: call_cost start
[2025-04-08 22:52:14] Production.INFO: call_cost end
[2025-04-08 22:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:52:15] Production.INFO: ==30554== Releasing lock...
[2025-04-08 22:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:52:18] Production.INFO: count ==558
[2025-04-08 22:52:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:52:05 - End Time 2025-04-08 22:52:05
[2025-04-08 22:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865378', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865378', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865378', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865378', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:52:18] Production.INFO: ProcessCDR(1,14865378,1,1,2)
[2025-04-08 22:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865378', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865378', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:52:21] Production.INFO: ==30562== Releasing lock...
[2025-04-08 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:52:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:53:02] Production.INFO: ==30625== Lock acquired, processing the job...
[2025-04-09 03:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:53:02] Production.INFO: neon service started
[2025-04-09 03:53:02] Production.INFO: neon service started
[2025-04-09 03:53:02] Production.INFO: ==30625== Releasing lock...
[2025-04-09 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:53:02] Production.INFO: ==30627== Lock acquired, processing the job...
[2025-04-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:53:02] Production.INFO: ==30629== Lock acquired, processing the job...
[2025-04-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:53:02] Production.INFO: ==30629== Releasing lock...
[2025-04-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:53:03] Production.INFO: ==30627== Releasing lock...
[2025-04-08 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:53:03] Production.INFO: ==30632== Lock acquired, processing the job...
[2025-04-08 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:53:03] Production.INFO: ==30638== Lock acquired, processing the job...
[2025-04-08 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:53:03] Production.INFO: ==30636== Lock acquired, processing the job...
[2025-04-08 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:53:04] Production.INFO: Account Balance Start.
[2025-04-08 22:53:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:53:04] Production.INFO: 117
[2025-04-08 22:53:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:53:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:53:04] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-04-08 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:53:04] Production.INFO: Total Charge 0
[2025-04-08 22:53:04] Production.INFO: CreateAllLog End
[2025-04-08 22:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:53:04] Production.INFO: Account Balance End.
[2025-04-08 22:53:04] Production.INFO: ==30640== Lock acquired, processing the job...
[2025-04-08 22:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:53:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:53:04] Production.INFO: ==30638== Releasing lock...
[2025-04-08 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:53:04] Production.INFO: ==30642== Lock acquired, processing the job...
[2025-04-08 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:53:04] Production.INFO: ==30634== Releasing lock...
[2025-04-08 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:53:04] Production.INFO: count ==12
[2025-04-08 22:53:04] Production.ERROR: done
[2025-04-08 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:53:04] Production.INFO: count ==23
[2025-04-08 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865382') start
[2025-04-08 22:53:05] Production.ERROR: done
[2025-04-08 22:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865382') end
[2025-04-08 22:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:53:05] Production.INFO: 1
[2025-04-08 22:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:53:05] Production.INFO: ==30642== Releasing lock...
[2025-04-08 22:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:53:06
[end_date_ymd] => 2025-04-08 22:53:06
[RateCDR] => 1
)
[2025-04-08 22:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:53:06' and `end` < '2025-04-08 22:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:53:12] Production.ERROR: CronJobId end10
[2025-04-08 22:53:12] Production.INFO: ==30636== Releasing lock...
[2025-04-08 22:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:53:15] Production.INFO: call_cost start
[2025-04-08 22:53:15] Production.INFO: call_cost end
[2025-04-08 22:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:53:15] Production.INFO: ==30632== Releasing lock...
[2025-04-08 22:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:53:19] Production.INFO: count ==556
[2025-04-08 22:53:19] Production.ERROR: pbx CDR StartTime 2025-04-08 19:53:06 - End Time 2025-04-08 22:53:06
[2025-04-08 22:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865383', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865383', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865383', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865383', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:53:19] Production.INFO: ProcessCDR(1,14865383,1,1,2)
[2025-04-08 22:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865383', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865383', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:53:22] Production.INFO: ==30640== Releasing lock...
[2025-04-08 22:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:53:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:54:01] Production.INFO: ==30697== Lock acquired, processing the job...
[2025-04-09 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:54:01] Production.INFO: neon service started
[2025-04-09 03:54:01] Production.INFO: neon service started
[2025-04-09 03:54:01] Production.INFO: ==30697== Releasing lock...
[2025-04-09 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:54:02] Production.INFO: ==30699== Lock acquired, processing the job...
[2025-04-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:54:02] Production.INFO: ==30699== Releasing lock...
[2025-04-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:54:02] Production.INFO: ==30701== Lock acquired, processing the job...
[2025-04-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:54:02] Production.INFO: ==30701== Releasing lock...
[2025-04-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:54:03] Production.INFO: ==30708== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:54:03] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:54:03] Production.INFO: ==30704== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:54:03] Production.INFO: ==30706== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:54:03] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:54:03] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-04-08 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:54:03] Production.INFO: Account Balance Start.
[2025-04-08 22:54:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:54:03] Production.INFO: 117
[2025-04-08 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:54:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:54:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:54:03] Production.INFO: Total Charge 0
[2025-04-08 22:54:03] Production.INFO: CreateAllLog End
[2025-04-08 22:54:03] Production.ERROR: done
[2025-04-08 22:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:54:03] Production.INFO: count ==12
[2025-04-08 22: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-04-08 22:54:03] Production.INFO: count ==23
[2025-04-08 22:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865387') start
[2025-04-08 22:54:03] Production.INFO: ==30706== Releasing lock...
[2025-04-08 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:54:04] Production.ERROR: done
[2025-04-08 22:54:04] Production.INFO: Account Balance End.
[2025-04-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865387') end
[2025-04-08 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:54:04] Production.INFO: 1
[2025-04-08 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:54:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:54:04] Production.INFO: ==30710== Releasing lock...
[2025-04-08 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:54:04] Production.INFO: ==30714== Releasing lock...
[2025-04-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:54:05
[end_date_ymd] => 2025-04-08 22:54:05
[RateCDR] => 1
)
[2025-04-08 22:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:54:05' and `end` < '2025-04-08 22:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:54:11] Production.ERROR: CronJobId end10
[2025-04-08 22:54:11] Production.INFO: ==30708== Releasing lock...
[2025-04-08 22:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:54:14] Production.INFO: call_cost start
[2025-04-08 22:54:14] Production.INFO: call_cost end
[2025-04-08 22:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:54:15] Production.INFO: ==30704== Releasing lock...
[2025-04-08 22:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:54:18] Production.INFO: count ==555
[2025-04-08 22:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:54:05 - End Time 2025-04-08 22:54:05
[2025-04-08 22:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865388', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865388', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865388', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865388', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:54:18] Production.INFO: ProcessCDR(1,14865388,1,1,2)
[2025-04-08 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865388', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865388', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:54:21] Production.INFO: ==30712== Releasing lock...
[2025-04-08 22:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:54:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:55:02] Production.INFO: ==30772== Lock acquired, processing the job...
[2025-04-09 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:55:02] Production.INFO: neon service started
[2025-04-09 03:55:02] Production.INFO: neon service started
[2025-04-09 03:55:02] Production.INFO: ==30772== Releasing lock...
[2025-04-09 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:55:02] Production.INFO: ==30774== Lock acquired, processing the job...
[2025-04-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:55:02] Production.INFO: ==30776== Lock acquired, processing the job...
[2025-04-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:55:02] Production.INFO: ==30776== Releasing lock...
[2025-04-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:55:03] Production.INFO: ==30774== Releasing lock...
[2025-04-08 22:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:55:03] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-04-08 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:55:03] Production.INFO: ==30781== Lock acquired, processing the job...
[2025-04-08 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:55:03] Production.INFO: ==30783== Lock acquired, processing the job...
[2025-04-08 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:55:04] Production.INFO: ==30785== Lock acquired, processing the job...
[2025-04-08 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:55:04] Production.INFO: ==30787== Lock acquired, processing the job...
[2025-04-08 22:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:55:04] Production.INFO: ==30781== Releasing lock...
[2025-04-08 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:55:04] Production.INFO: Account Balance Start.
[2025-04-08 22:55:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:55:04] Production.INFO: 117
[2025-04-08 22:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:55:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:55:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:55:04] Production.INFO: Total Charge 0
[2025-04-08 22:55:04] Production.INFO: ==30789== Lock acquired, processing the job...
[2025-04-08 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:55:04] Production.INFO: CreateAllLog End
[2025-04-08 22:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:55:04] Production.INFO: Account Balance End.
[2025-04-08 22:55:04] Production.INFO: count ==12
[2025-04-08 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:55:04] Production.INFO: count ==23
[2025-04-08 22:55:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865392') start
[2025-04-08 22:55:04] Production.INFO: ==30785== Releasing lock...
[2025-04-08 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:55:04] Production.ERROR: done
[2025-04-08 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865392') end
[2025-04-08 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:55:04] Production.INFO: 1
[2025-04-08 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:55:04] Production.INFO: ==30789== Releasing lock...
[2025-04-08 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:55:04] Production.ERROR: done
[2025-04-08 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:55:05
[end_date_ymd] => 2025-04-08 22:55:05
[RateCDR] => 1
)
[2025-04-08 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:55:05' and `end` < '2025-04-08 22:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:55:13] Production.ERROR: CronJobId end10
[2025-04-08 22:55:13] Production.INFO: ==30783== Releasing lock...
[2025-04-08 22:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:55:15] Production.INFO: call_cost start
[2025-04-08 22:55:15] Production.INFO: call_cost end
[2025-04-08 22:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:55:16] Production.INFO: ==30779== Releasing lock...
[2025-04-08 22:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:55:18] Production.INFO: count ==552
[2025-04-08 22:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:55:05 - End Time 2025-04-08 22:55:05
[2025-04-08 22:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865393', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865393', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865393', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865393', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:55:18] Production.INFO: ProcessCDR(1,14865393,1,1,2)
[2025-04-08 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865393', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865393', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:55:22] Production.INFO: ==30787== Releasing lock...
[2025-04-08 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:55:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:56:01] Production.INFO: ==30842== Lock acquired, processing the job...
[2025-04-09 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:56:01] Production.INFO: neon service started
[2025-04-09 03:56:01] Production.INFO: neon service started
[2025-04-09 03:56:01] Production.INFO: ==30842== Releasing lock...
[2025-04-09 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:56:02] Production.INFO: ==30844== Lock acquired, processing the job...
[2025-04-08 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:56:02] Production.INFO: ==30846== Lock acquired, processing the job...
[2025-04-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:56:02] Production.INFO: ==30846== Releasing lock...
[2025-04-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:56:02] Production.INFO: ==30844== Releasing lock...
[2025-04-08 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:56:03] Production.INFO: ==30849== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:56:03] Production.INFO: ==30855== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:56:03] Production.INFO: Account Balance Start.
[2025-04-08 22:56:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:56:03] Production.INFO: 117
[2025-04-08 22:56:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:56:03] Production.INFO: ==30859== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:56:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:56:03] Production.INFO: Total Charge 0
[2025-04-08 22:56:03] Production.INFO: CreateAllLog End
[2025-04-08 22:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:56:03] Production.INFO: Account Balance End.
[2025-04-08 22:56:03] Production.INFO: count ==12
[2025-04-08 22:56:03] Production.ERROR: CronJobId end 12
[2025-04-08 22:56:03] Production.INFO: ==30855== Releasing lock...
[2025-04-08 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:56:03] Production.INFO: ==30851== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:56:03] Production.INFO: count ==23
[2025-04-08 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865396') start
[2025-04-08 22:56:03] Production.INFO: ==30853== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:56:03] Production.INFO: ==30857== Lock acquired, processing the job...
[2025-04-08 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865396') end
[2025-04-08 22:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:56:03] Production.INFO: 1
[2025-04-08 22:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:56:04] Production.INFO: ==30859== Releasing lock...
[2025-04-08 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:56:04] Production.INFO: ==30851== Releasing lock...
[2025-04-08 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:56:04] Production.ERROR: done
[2025-04-08 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:56:04] Production.ERROR: done
[2025-04-08 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:56:05
[end_date_ymd] => 2025-04-08 22:56:05
[RateCDR] => 1
)
[2025-04-08 22:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:56:05' and `end` < '2025-04-08 22:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:56:12] Production.ERROR: CronJobId end10
[2025-04-08 22:56:12] Production.INFO: ==30853== Releasing lock...
[2025-04-08 22:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:56:15] Production.INFO: call_cost start
[2025-04-08 22:56:15] Production.INFO: call_cost end
[2025-04-08 22:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:56:16] Production.INFO: ==30849== Releasing lock...
[2025-04-08 22:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:56:18] Production.INFO: count ==553
[2025-04-08 22:56:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:56:05 - End Time 2025-04-08 22:56:05
[2025-04-08 22:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865398', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865398', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865398', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865398', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:56:18] Production.INFO: ProcessCDR(1,14865398,1,1,2)
[2025-04-08 22:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865398', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865398', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:56:21] Production.INFO: ==30857== Releasing lock...
[2025-04-08 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:56:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:57:02] Production.INFO: ==30916== Lock acquired, processing the job...
[2025-04-09 03:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:57:02] Production.INFO: neon service started
[2025-04-09 03:57:02] Production.INFO: neon service started
[2025-04-09 03:57:02] Production.INFO: ==30916== Releasing lock...
[2025-04-09 03:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:57:02] Production.INFO: ==30918== Lock acquired, processing the job...
[2025-04-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:57:02] Production.INFO: ==30918== Releasing lock...
[2025-04-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:57:02] Production.INFO: ==30920== Lock acquired, processing the job...
[2025-04-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:57:02] Production.INFO: ==30920== Releasing lock...
[2025-04-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:57:03] Production.INFO: ==30933== Lock acquired, processing the job...
[2025-04-08 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:57:03] Production.INFO: ==30930== Lock acquired, processing the job...
[2025-04-08 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:57:03] Production.INFO: count ==12
[2025-04-08 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22: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-04-08 22:57:03] Production.INFO: count ==23
[2025-04-08 22:57:03] Production.INFO: ==30922== Lock acquired, processing the job...
[2025-04-08 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865399') start
[2025-04-08 22:57:03] Production.INFO: ==30924== Lock acquired, processing the job...
[2025-04-08 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:57:03] Production.INFO: ==30928== Lock acquired, processing the job...
[2025-04-08 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:57:04] Production.INFO: ==30926== Lock acquired, processing the job...
[2025-04-08 22:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:57:04] Production.INFO: Account Balance Start.
[2025-04-08 22:57:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:57:04] Production.INFO: 117
[2025-04-08 22:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:57:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:57:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865399') end
[2025-04-08 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:57:04] Production.INFO: 1
[2025-04-08 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:57:04] Production.INFO: Total Charge 0
[2025-04-08 22:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:57:04] Production.INFO: CreateAllLog End
[2025-04-08 22:57:04] Production.INFO: ==30933== Releasing lock...
[2025-04-08 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:57:04] Production.ERROR: done
[2025-04-08 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:57:04] Production.INFO: ==30924== Releasing lock...
[2025-04-08 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:57:04] Production.INFO: Account Balance End.
[2025-04-08 22:57:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:57:04] Production.INFO: ==30928== Releasing lock...
[2025-04-08 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:57:04] Production.ERROR: done
[2025-04-08 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:57:05
[end_date_ymd] => 2025-04-08 22:57:05
[RateCDR] => 1
)
[2025-04-08 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:57:05' and `end` < '2025-04-08 22:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:57:13] Production.ERROR: CronJobId end10
[2025-04-08 22:57:13] Production.INFO: ==30926== Releasing lock...
[2025-04-08 22:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:57:15] Production.INFO: call_cost start
[2025-04-08 22:57:15] Production.INFO: call_cost end
[2025-04-08 22:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:57:16] Production.INFO: ==30922== Releasing lock...
[2025-04-08 22:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:57:18] Production.INFO: count ==552
[2025-04-08 22:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:57:05 - End Time 2025-04-08 22:57:05
[2025-04-08 22:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865403', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865403', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865403', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865403', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:57:18] Production.INFO: ProcessCDR(1,14865403,1,1,2)
[2025-04-08 22:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865403', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865403', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:57:22] Production.INFO: ==30930== Releasing lock...
[2025-04-08 22:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:57:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:58:01] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-04-09 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:58:01] Production.INFO: neon service started
[2025-04-09 03:58:01] Production.INFO: neon service started
[2025-04-09 03:58:01] Production.INFO: ==30988== Releasing lock...
[2025-04-09 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 22:58:02] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-04-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:58:02] Production.INFO: ==30992== Lock acquired, processing the job...
[2025-04-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:58:02] Production.INFO: ==30992== Releasing lock...
[2025-04-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:58:02] Production.INFO: ==30990== Releasing lock...
[2025-04-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:58:03] Production.INFO: ==31002== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:58:03] Production.INFO: ==31004== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:58:03] Production.INFO: count ==12
[2025-04-08 22:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:58:03] Production.INFO: ==30994== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:58:03] Production.INFO: count ==23
[2025-04-08 22:58:03] Production.INFO: ==30996== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865404') start
[2025-04-08 22:58:03] Production.INFO: ==31000== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865404') end
[2025-04-08 22:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:58:03] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-04-08 22:58:03] Production.INFO: 1
[2025-04-08 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:58:03] Production.INFO: ==31004== Releasing lock...
[2025-04-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:58:03] Production.INFO: Account Balance Start.
[2025-04-08 22:58:03] Production.INFO: CreateAllLog Start
[2025-04-08 22:58:03] Production.INFO: 117
[2025-04-08 22:58:03] Production.ERROR: done
[2025-04-08 22:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:58:03] Production.INFO: Date 2025-04-08
[2025-04-08 22:58:03] Production.INFO: Reseller ==> 0
[2025-04-08 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:58:04] Production.INFO: Total Charge 0
[2025-04-08 22:58:04] Production.INFO: CreateAllLog End
[2025-04-08 22:58:04] Production.ERROR: done
[2025-04-08 22:58:04] Production.INFO: ==30996== Releasing lock...
[2025-04-08 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:58:04] Production.INFO: Account Balance End.
[2025-04-08 22:58:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:58:04] Production.INFO: ==31000== Releasing lock...
[2025-04-08 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:58:05
[end_date_ymd] => 2025-04-08 22:58:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 19:58:05' and `end` < '2025-04-08 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-04-08 22:58:13] Production.ERROR: CronJobId end10
[2025-04-08 22:58:13] Production.INFO: ==30998== Releasing lock...
[2025-04-08 22:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:58:14] Production.INFO: call_cost start
[2025-04-08 22:58:14] Production.INFO: call_cost end
[2025-04-08 22:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:58:15] Production.INFO: ==30994== Releasing lock...
[2025-04-08 22:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:58:18] Production.INFO: count ==550
[2025-04-08 22:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:58:05 - End Time 2025-04-08 22:58:05
[2025-04-08 22:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865408', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865408', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865408', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865408', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:58:18] Production.INFO: ProcessCDR(1,14865408,1,1,2)
[2025-04-08 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865408', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865408', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:58:21] Production.INFO: ==31002== Releasing lock...
[2025-04-08 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:58:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 03:59:02] Production.INFO: ==31059== Lock acquired, processing the job...
[2025-04-09 03:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 03:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 03:59:02] Production.INFO: neon service started
[2025-04-09 03:59:02] Production.INFO: neon service started
[2025-04-09 03:59:02] Production.INFO: ==31059== Releasing lock...
[2025-04-09 03:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 03:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:59:02] Production.INFO: ==31063== Lock acquired, processing the job...
[2025-04-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:59:02] Production.INFO: ==31063== Releasing lock...
[2025-04-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 22:59:02] Production.INFO: ==31061== Lock acquired, processing the job...
[2025-04-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 22:59:03] Production.INFO: ==31061== Releasing lock...
[2025-04-08 22:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 22:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 22:59:03] Production.INFO: ==31069== Lock acquired, processing the job...
[2025-04-08 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 22:59:03] Production.INFO: ==31071== Lock acquired, processing the job...
[2025-04-08 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 22:59:03] Production.INFO: ==31065== Lock acquired, processing the job...
[2025-04-08 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 22:59:04] Production.INFO: ==31067== Lock acquired, processing the job...
[2025-04-08 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 22:59:04] Production.INFO: Account Balance Start.
[2025-04-08 22:59:04] Production.INFO: CreateAllLog Start
[2025-04-08 22:59:04] Production.INFO: 117
[2025-04-08 22:59:04] Production.INFO: Date 2025-04-08
[2025-04-08 22:59:04] Production.INFO: Reseller ==> 0
[2025-04-08 22:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 22:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 22:59:04] Production.INFO: Total Charge 0
[2025-04-08 22:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 22:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 22:59:04] Production.INFO: ==31073== Lock acquired, processing the job...
[2025-04-08 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 22:59:04] Production.INFO: CreateAllLog End
[2025-04-08 22:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 22:59:04] Production.INFO: ==31075== Lock acquired, processing the job...
[2025-04-08 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:59:04] Production.INFO: count ==12
[2025-04-08 22:59:04] Production.INFO: ==31067== Releasing lock...
[2025-04-08 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 22:59:04] Production.INFO: Account Balance End.
[2025-04-08 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 22:59:04] Production.INFO: count ==23
[2025-04-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865412') start
[2025-04-08 22:59:04] Production.ERROR: done
[2025-04-08 22:59:04] Production.ERROR: CronJobId end 12
[2025-04-08 22:59:04] Production.INFO: ==31071== Releasing lock...
[2025-04-08 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865412') end
[2025-04-08 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 22:59:04] Production.INFO: 1
[2025-04-08 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 22:59:04] Production.INFO: ==31075== Releasing lock...
[2025-04-08 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 22:59:04] Production.ERROR: done
[2025-04-08 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 19:59:05
[end_date_ymd] => 2025-04-08 22:59:05
[RateCDR] => 1
)
[2025-04-08 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 19:59:05' and `end` < '2025-04-08 22:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 22:59:13] Production.ERROR: CronJobId end10
[2025-04-08 22:59:13] Production.INFO: ==31069== Releasing lock...
[2025-04-08 22:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 22:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 22:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 22:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 22:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 22:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 22:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 22:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 22:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 22:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 22:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 22:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 22:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 22:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 22:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 22:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 22:59:15] Production.INFO: call_cost start
[2025-04-08 22:59:15] Production.INFO: call_cost end
[2025-04-08 22:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 22:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 22:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 22:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 22:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 22:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 22:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 22:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 22:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 22:59:16] Production.INFO: ==31065== Releasing lock...
[2025-04-08 22:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 22:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 22:59:18] Production.INFO: count ==549
[2025-04-08 22:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 19:59:05 - End Time 2025-04-08 22:59:05
[2025-04-08 22:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865413', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865413', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865413', 'tblTempVendorCDR_20' ) start
[2025-04-08 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865413', 'tblTempVendorCDR_20' ) end
[2025-04-08 22:59:18] Production.INFO: ProcessCDR(1,14865413,1,1,2)
[2025-04-08 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 22:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 22:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865413', 'tblTempUsageDetail_20' ) start
[2025-04-08 22:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865413', 'tblTempUsageDetail_20' ) end
[2025-04-08 22:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 22:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 22:59:22] Production.INFO: ==31073== Releasing lock...
[2025-04-08 22:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 22:59:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 04:00:01] Production.INFO: ==31134== Lock acquired, processing the job...
[2025-04-09 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:00:01] Production.INFO: neon service started
[2025-04-09 04:00:01] Production.INFO: neon service started
[2025-04-09 04:00:01] Production.INFO: ==31134== Releasing lock...
[2025-04-09 04:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:00:02] Production.INFO: ==31138== Lock acquired, processing the job...
[2025-04-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:00:02] Production.INFO: ==31138== Releasing lock...
[2025-04-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:00:02] Production.INFO: ==31136== Lock acquired, processing the job...
[2025-04-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:00:02] Production.INFO: ==31136== Releasing lock...
[2025-04-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:00:03] Production.INFO: ==31145== Lock acquired, processing the job...
[2025-04-08 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:00:04] Production.INFO: ==31141== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:00:04] Production.ERROR: CronJob PID - 31145
[2025-04-08 23:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 23:00:04] Production.ERROR: CronJob ID - 7
[2025-04-08 23:00:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:00:00
[2025-04-08 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:00:04] Production.INFO: ==31141== Releasing lock...
[2025-04-08 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:00:04] Production.INFO: ==31151== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:00:04] Production.INFO: ==31143== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:00:04] Production.INFO: ==31149== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-04-08 23:00:04] Production.INFO: ==31147== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:00:04] Production.INFO: ==31153== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-04-08 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-04-08 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:00:04] Production.INFO: Account Balance Start.
[2025-04-08 23:00:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:00:04] Production.INFO: 117
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:00:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-04-08 23:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:04] Production.INFO: ==31157== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:00:04] Production.INFO: Total Charge 0
[2025-04-08 23:00:04] Production.INFO: ==31155== Lock acquired, processing the job...
[2025-04-08 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:00:04] Production.INFO: Outstanding Amount 64.98
[2025-04-08 23:00:04] Production.INFO: Invoice Full Number INV11763
[2025-04-08 23:00:04] Production.INFO: Transaction start
[2025-04-08 23:00:04] Production.INFO: CreateAllLog End
[2025-04-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:00:04] Production.INFO: ==31145== Releasing lock...
[2025-04-08 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:00:04] Production.INFO: count ==12
[2025-04-08 23:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:00:04] Production.INFO: count ==23
[2025-04-08 23:00:04] Production.ERROR: done
[2025-04-08 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865417') start
[2025-04-08 23:00:04] Production.INFO: Account Balance End.
[2025-04-08 23:00:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:00:04] Production.INFO: ==31151== Releasing lock...
[2025-04-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:00:05] Production.ERROR: done
[2025-04-08 23:00:05] Production.ERROR: done
[2025-04-08 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865417') end
[2025-04-08 23:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:00:05] Production.INFO: 1
[2025-04-08 23:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:00:05] Production.INFO: ==31157== Releasing lock...
[2025-04-08 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865419', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:00:05] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL)
#1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException))
#2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request))
#3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array)
#4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array)
#5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create()
#7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction()
#9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->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\BulkAutoPaymentCapture), 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-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:05] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-04-08 23:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:05] Production.INFO: Outstanding Amount 43.21
[2025-04-08 23:00:05] Production.INFO: Invoice Full Number INV11689
[2025-04-08 23:00:05] Production.INFO: Transaction start
[2025-04-08 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:00:06
[end_date_ymd] => 2025-04-08 23:00:06
[RateCDR] => 1
)
[2025-04-08 23:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:00:06' and `end` < '2025-04-08 23:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:00:07] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL)
#1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException))
#2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request))
#3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array)
#4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array)
#5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create()
#7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction()
#9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->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\BulkAutoPaymentCapture), 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-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 6
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 7
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 0
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 2
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 3
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 20
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 0
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:07] Production.INFO: PaymentMethod - 1
[2025-04-08 23:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' )
[2025-04-08 23:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-08 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865419', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:00:09] Production.INFO: ProcessCDR(1,14865419,1,1,2)
[2025-04-08 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:00:09] Production.INFO: ==31155== Releasing lock...
[2025-04-08 23:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:00:09] Production.ERROR: CronJobId end11
[2025-04-08 23:00:09] Production.INFO: ==31149== Releasing lock...
[2025-04-08 23:00:09] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-04-08 23:00:09] Production.INFO: 34 MB #Memory Used#
[2025-04-08 23:00:14] Production.ERROR: CronJobId end10
[2025-04-08 23:00:14] Production.INFO: ==31147== Releasing lock...
[2025-04-08 23:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:00:16] Production.INFO: call_cost start
[2025-04-08 23:00:16] Production.INFO: call_cost end
[2025-04-08 23:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:00:17] Production.INFO: ==31143== Releasing lock...
[2025-04-08 23:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:00:19] Production.INFO: count ==545
[2025-04-08 23:00:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:00:06 - End Time 2025-04-08 23:00:06
[2025-04-08 23:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865418', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865418', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865418', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865418', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:00:19] Production.INFO: ProcessCDR(1,14865418,1,1,2)
[2025-04-08 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865418', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865418', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:00:22] Production.INFO: ==31153== Releasing lock...
[2025-04-08 23:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:00:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 04:01:02] Production.INFO: ==31220== Lock acquired, processing the job...
[2025-04-09 04:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:01:02] Production.INFO: neon service started
[2025-04-09 04:01:02] Production.INFO: neon service started
[2025-04-09 04:01:02] Production.INFO: ==31220== Releasing lock...
[2025-04-09 04:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:01:02] Production.INFO: ==31226== Lock acquired, processing the job...
[2025-04-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:01:02] Production.INFO: ==31226== Releasing lock...
[2025-04-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:01:02] Production.INFO: ==31228== Lock acquired, processing the job...
[2025-04-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:01:02] Production.INFO: ==31228== Releasing lock...
[2025-04-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:01:03] Production.INFO: ==31236== Lock acquired, processing the job...
[2025-04-08 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:01:03] Production.INFO: ==31234== Lock acquired, processing the job...
[2025-04-08 23:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:01:03] Production.INFO: Account Balance Start.
[2025-04-08 23:01:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:01:03] Production.INFO: 117
[2025-04-08 23:01:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:01:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:01:03] Production.INFO: Total Charge 0
[2025-04-08 23:01:04] Production.INFO: CreateAllLog End
[2025-04-08 23:01:04] Production.INFO: ==31230== Lock acquired, processing the job...
[2025-04-08 23:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:01:04] Production.INFO: Account Balance End.
[2025-04-08 23:01:04] Production.INFO: ==31232== Lock acquired, processing the job...
[2025-04-08 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:01:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:01:04] Production.INFO: ==31236== Releasing lock...
[2025-04-08 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:01:04] Production.INFO: ==31238== Lock acquired, processing the job...
[2025-04-08 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:01:04] Production.INFO: ==31240== Lock acquired, processing the job...
[2025-04-08 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:01:04] Production.INFO: count ==12
[2025-04-08 23:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:01:04] Production.INFO: count ==23
[2025-04-08 23:01:04] Production.INFO: ==31232== Releasing lock...
[2025-04-08 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865423') start
[2025-04-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865423') end
[2025-04-08 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:01:04] Production.INFO: 1
[2025-04-08 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:01:04] Production.INFO: ==31240== Releasing lock...
[2025-04-08 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:01:04] Production.ERROR: done
[2025-04-08 23:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:01:04] Production.ERROR: done
[2025-04-08 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:01:05
[end_date_ymd] => 2025-04-08 23:01:05
[RateCDR] => 1
)
[2025-04-08 23:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:01:05' and `end` < '2025-04-08 23:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:01:13] Production.ERROR: CronJobId end10
[2025-04-08 23:01:13] Production.INFO: ==31234== Releasing lock...
[2025-04-08 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:01:16] Production.INFO: call_cost start
[2025-04-08 23:01:16] Production.INFO: call_cost end
[2025-04-08 23:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:01:17] Production.INFO: ==31230== Releasing lock...
[2025-04-08 23:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:01:18] Production.INFO: count ==534
[2025-04-08 23:01:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:01:05 - End Time 2025-04-08 23:01:05
[2025-04-08 23:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865424', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865424', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865424', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865424', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:01:18] Production.INFO: ProcessCDR(1,14865424,1,1,2)
[2025-04-08 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865424', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865424', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:01:22] Production.INFO: ==31238== Releasing lock...
[2025-04-08 23:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:01:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:02:01] Production.INFO: ==31374== Lock acquired, processing the job...
[2025-04-09 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:02:01] Production.INFO: neon service started
[2025-04-09 04:02:01] Production.INFO: neon service started
[2025-04-09 04:02:01] Production.INFO: ==31374== Releasing lock...
[2025-04-09 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:02:01] Production.INFO: ==31376== Lock acquired, processing the job...
[2025-04-08 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:02:02] Production.INFO: ==31376== Releasing lock...
[2025-04-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:02:02] Production.INFO: ==31378== Lock acquired, processing the job...
[2025-04-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:02:02] Production.INFO: ==31378== Releasing lock...
[2025-04-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:02:03] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:02:03] Production.INFO: ==31385== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:02:03] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:02:03] Production.INFO: ==31389== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:02:03] Production.INFO: ==31391== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:02:03] Production.INFO: ==31387== Lock acquired, processing the job...
[2025-04-08 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:02:03] Production.INFO: ==31383== Releasing lock...
[2025-04-08 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 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-04-08 23:02:03] Production.INFO: Account Balance Start.
[2025-04-08 23:02:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:02:03] Production.INFO: 117
[2025-04-08 23:02:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:02:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:02:03] Production.INFO: count ==12
[2025-04-08 23:02:03] Production.INFO: Total Charge 0
[2025-04-08 23:02:03] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 23:02:03] Production.INFO: count ==23
[2025-04-08 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865427') start
[2025-04-08 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865427') end
[2025-04-08 23:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:02:03] Production.INFO: 1
[2025-04-08 23:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:02:03] Production.INFO: ==31391== Releasing lock...
[2025-04-08 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:02:03] Production.ERROR: done
[2025-04-08 23:02:03] Production.INFO: Account Balance End.
[2025-04-08 23:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:02:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:02:04] Production.INFO: ==31387== Releasing lock...
[2025-04-08 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:02:04] Production.ERROR: done
[2025-04-08 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:02:05
[end_date_ymd] => 2025-04-08 23:02:05
[RateCDR] => 1
)
[2025-04-08 23:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:02:05' and `end` < '2025-04-08 23:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:02:13] Production.ERROR: CronJobId end10
[2025-04-08 23:02:13] Production.INFO: ==31385== Releasing lock...
[2025-04-08 23:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:02:14] Production.INFO: call_cost start
[2025-04-08 23:02:14] Production.INFO: call_cost end
[2025-04-08 23:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:02:15] Production.INFO: ==31381== Releasing lock...
[2025-04-08 23:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:02:18] Production.INFO: count ==531
[2025-04-08 23:02:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:02:05 - End Time 2025-04-08 23:02:05
[2025-04-08 23:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865429', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865429', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865429', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865429', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:02:18] Production.INFO: ProcessCDR(1,14865429,1,1,2)
[2025-04-08 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865429', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865429', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:02:21] Production.INFO: ==31389== Releasing lock...
[2025-04-08 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:02:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:03:02] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-04-09 04:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:03:02] Production.INFO: neon service started
[2025-04-09 04:03:02] Production.INFO: neon service started
[2025-04-09 04:03:02] Production.INFO: ==31488== Releasing lock...
[2025-04-09 04:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:03:02] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-04-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:03:02] Production.INFO: ==31492== Releasing lock...
[2025-04-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:03:02] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-04-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:03:03] Production.INFO: ==31490== Releasing lock...
[2025-04-08 23:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:03:03] Production.INFO: ==31495== Lock acquired, processing the job...
[2025-04-08 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:03:03] Production.INFO: ==31497== Lock acquired, processing the job...
[2025-04-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:03:03] Production.INFO: ==31501== Lock acquired, processing the job...
[2025-04-08 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:03:03] Production.INFO: ==31499== Lock acquired, processing the job...
[2025-04-08 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:03:04] Production.INFO: Account Balance Start.
[2025-04-08 23:03:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:03:04] Production.INFO: 117
[2025-04-08 23:03:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:03:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:03:04] Production.INFO: Total Charge 0
[2025-04-08 23:03:04] Production.INFO: CreateAllLog End
[2025-04-08 23:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:03:04] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-04-08 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:03:04] Production.INFO: ==31503== Lock acquired, processing the job...
[2025-04-08 23:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:03:04] Production.INFO: Account Balance End.
[2025-04-08 23:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:03:04] Production.INFO: ==31497== Releasing lock...
[2025-04-08 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:03:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:03:04] Production.INFO: ==31501== Releasing lock...
[2025-04-08 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:03:04] Production.INFO: count ==12
[2025-04-08 23:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:03:04] Production.INFO: count ==23
[2025-04-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865433') start
[2025-04-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865433') end
[2025-04-08 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:03:04] Production.INFO: 1
[2025-04-08 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:03:04] Production.ERROR: done
[2025-04-08 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:03:04] Production.INFO: ==31505== Releasing lock...
[2025-04-08 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:03:04] Production.ERROR: done
[2025-04-08 23:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:03:06
[end_date_ymd] => 2025-04-08 23:03:06
[RateCDR] => 1
)
[2025-04-08 23:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:03:06' and `end` < '2025-04-08 23:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:03:13] Production.ERROR: CronJobId end10
[2025-04-08 23:03:13] Production.INFO: ==31499== Releasing lock...
[2025-04-08 23:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:03:14] Production.INFO: call_cost start
[2025-04-08 23:03:14] Production.INFO: call_cost end
[2025-04-08 23:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:03:15] Production.INFO: ==31495== Releasing lock...
[2025-04-08 23:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:03:18] Production.INFO: count ==528
[2025-04-08 23:03:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:03:06 - End Time 2025-04-08 23:03:06
[2025-04-08 23:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865434', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865434', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865434', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865434', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:03:19] Production.INFO: ProcessCDR(1,14865434,1,1,2)
[2025-04-08 23:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865434', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865434', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:03:22] Production.INFO: ==31503== Releasing lock...
[2025-04-08 23:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:03:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:04:01] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-04-09 04:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:04:01] Production.INFO: neon service started
[2025-04-09 04:04:01] Production.INFO: neon service started
[2025-04-09 04:04:01] Production.INFO: ==31561== Releasing lock...
[2025-04-09 04:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:04:01] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-04-09 03:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:04:01] Production.INFO: ==31565== Releasing lock...
[2025-04-09 03:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:04:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:04:02] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-04-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:04:02] Production.INFO: ==31563== Releasing lock...
[2025-04-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:04:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:04:03] Production.INFO: ==31567== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:04:03] Production.INFO: ==31578== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 23:04:03] Production.INFO: ==31573== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:04:03] Production.INFO: ==31569== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:04:03] Production.INFO: count ==12
[2025-04-08 23:04:03] Production.INFO: ==31571== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 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-04-08 23:04:03] Production.INFO: count ==23
[2025-04-08 23:04:03] Production.INFO: ==31575== Lock acquired, processing the job...
[2025-04-08 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:04:03] Production.INFO: Account Balance Start.
[2025-04-08 23:04:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:04:03] Production.INFO: 117
[2025-04-08 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865436') start
[2025-04-08 23:04:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:04:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:04:03] Production.INFO: Total Charge 0
[2025-04-08 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865436') end
[2025-04-08 23:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:04:03] Production.INFO: 1
[2025-04-08 23:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:04:03] Production.INFO: CreateAllLog End
[2025-04-08 23:04:03] Production.INFO: ==31578== Releasing lock...
[2025-04-08 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:04:03] Production.INFO: ==31569== Releasing lock...
[2025-04-08 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:04:03] Production.ERROR: done
[2025-04-08 23:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:04:04] Production.INFO: Account Balance End.
[2025-04-08 23:04:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:04:04] Production.INFO: ==31573== Releasing lock...
[2025-04-08 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:04:04] Production.ERROR: done
[2025-04-08 23:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:04:04
[end_date_ymd] => 2025-04-08 23:04:04
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:04:04' and `end` < '2025-04-08 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-04-08 23:04:12] Production.ERROR: CronJobId end10
[2025-04-08 23:04:12] Production.INFO: ==31571== Releasing lock...
[2025-04-08 23:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:04:15] Production.INFO: call_cost start
[2025-04-08 23:04:15] Production.INFO: call_cost end
[2025-04-08 23:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:04:16] Production.INFO: ==31567== Releasing lock...
[2025-04-08 23:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:04:17] Production.INFO: count ==528
[2025-04-08 23:04:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:04:04 - End Time 2025-04-08 23:04:04
[2025-04-08 23:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865439', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865439', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865439', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865439', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:04:17] Production.INFO: ProcessCDR(1,14865439,1,1,2)
[2025-04-08 23:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865439', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865439', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:04:21] Production.INFO: ==31575== Releasing lock...
[2025-04-08 23:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:04:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:05:01] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-04-09 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:05:01] Production.INFO: neon service started
[2025-04-09 04:05:01] Production.INFO: neon service started
[2025-04-09 04:05:01] Production.INFO: ==31713== Releasing lock...
[2025-04-09 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:05:02] Production.INFO: ==31715== Lock acquired, processing the job...
[2025-04-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:05:02] Production.INFO: ==31717== Lock acquired, processing the job...
[2025-04-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:05:02] Production.INFO: ==31717== Releasing lock...
[2025-04-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:05:02] Production.INFO: ==31715== Releasing lock...
[2025-04-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:05:03] Production.INFO: ==31724== Lock acquired, processing the job...
[2025-04-08 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:05:03] Production.INFO: ==31722== Lock acquired, processing the job...
[2025-04-08 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:05:03] Production.INFO: ==31728== Lock acquired, processing the job...
[2025-04-08 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:05:03] Production.INFO: ==31730== Lock acquired, processing the job...
[2025-04-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:05:04] Production.INFO: ==31720== Lock acquired, processing the job...
[2025-04-08 23:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:05:04] Production.INFO: ==31722== Releasing lock...
[2025-04-08 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:05:04] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-04-08 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:05:04] Production.INFO: count ==12
[2025-04-08 23:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:05:04] Production.INFO: count ==23
[2025-04-08 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865441') start
[2025-04-08 23:05:04] Production.ERROR: done
[2025-04-08 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:05:04] Production.INFO: Account Balance Start.
[2025-04-08 23:05:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:05:04] Production.INFO: 117
[2025-04-08 23:05:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:05:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865441') end
[2025-04-08 23:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:05:04] Production.INFO: 1
[2025-04-08 23:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:05:04] Production.INFO: Total Charge 0
[2025-04-08 23:05:04] Production.INFO: CreateAllLog End
[2025-04-08 23:05:04] Production.INFO: ==31730== Releasing lock...
[2025-04-08 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:05:04] Production.ERROR: done
[2025-04-08 23:05:04] Production.INFO: Account Balance End.
[2025-04-08 23:05:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:05:04] Production.INFO: ==31726== Releasing lock...
[2025-04-08 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:05:05
[end_date_ymd] => 2025-04-08 23:05:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:05:05' and `end` < '2025-04-08 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-04-08 23:05:13] Production.ERROR: CronJobId end10
[2025-04-08 23:05:13] Production.INFO: ==31724== Releasing lock...
[2025-04-08 23:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:05:15] Production.INFO: call_cost start
[2025-04-08 23:05:15] Production.INFO: call_cost end
[2025-04-08 23:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:05:16] Production.INFO: ==31720== Releasing lock...
[2025-04-08 23:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:05:18] Production.INFO: count ==527
[2025-04-08 23:05:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:05:05 - End Time 2025-04-08 23:05:05
[2025-04-08 23:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865444', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865444', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865444', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865444', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:05:18] Production.INFO: ProcessCDR(1,14865444,1,1,2)
[2025-04-08 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865444', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865444', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:05:22] Production.INFO: ==31728== Releasing lock...
[2025-04-08 23:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:05:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:06:02] Production.INFO: ==31790== Lock acquired, processing the job...
[2025-04-09 04:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:06:02] Production.INFO: neon service started
[2025-04-09 04:06:02] Production.INFO: neon service started
[2025-04-09 04:06:02] Production.INFO: ==31790== Releasing lock...
[2025-04-09 04:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:06:02] Production.INFO: ==31792== Lock acquired, processing the job...
[2025-04-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:06:03] Production.INFO: ==31792== Releasing lock...
[2025-04-08 23:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:06:03] Production.INFO: ==31794== Lock acquired, processing the job...
[2025-04-09 03:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:06:03] Production.INFO: ==31794== Releasing lock...
[2025-04-09 03:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:06:04] Production.INFO: ==31801== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:06:04] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:06:04] Production.INFO: ==31797== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:06:04] Production.INFO: ==31799== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 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-04-08 23:06:04] Production.INFO: count ==12
[2025-04-08 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:06:04] Production.INFO: count ==23
[2025-04-08 23:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865445') start
[2025-04-08 23:06:04] Production.INFO: ==31803== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:06:04] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-04-08 23:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:06:04] Production.INFO: Account Balance Start.
[2025-04-08 23:06:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:06:04] Production.INFO: 117
[2025-04-08 23:06:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865445') end
[2025-04-08 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:06:04] Production.INFO: 1
[2025-04-08 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:06:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:06:04] Production.INFO: Total Charge 0
[2025-04-08 23:06:04] Production.INFO: ==31807== Releasing lock...
[2025-04-08 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:06:04] Production.INFO: CreateAllLog End
[2025-04-08 23:06:04] Production.INFO: ==31799== Releasing lock...
[2025-04-08 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:06:04] Production.ERROR: done
[2025-04-08 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:06:04] Production.INFO: Account Balance End.
[2025-04-08 23:06:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:06:05] Production.INFO: ==31803== Releasing lock...
[2025-04-08 23:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:06:05] Production.ERROR: done
[2025-04-08 23:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:06:06
[end_date_ymd] => 2025-04-08 23:06:06
[RateCDR] => 1
)
[2025-04-08 23:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:06:06' and `end` < '2025-04-08 23:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:06:13] Production.ERROR: CronJobId end10
[2025-04-08 23:06:13] Production.INFO: ==31801== Releasing lock...
[2025-04-08 23:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:06:16] Production.INFO: call_cost start
[2025-04-08 23:06:16] Production.INFO: call_cost end
[2025-04-08 23:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:06:17] Production.INFO: ==31797== Releasing lock...
[2025-04-08 23:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:06:19] Production.INFO: count ==526
[2025-04-08 23:06:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:06:06 - End Time 2025-04-08 23:06:06
[2025-04-08 23:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865449', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865449', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865449', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865449', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:06:19] Production.INFO: ProcessCDR(1,14865449,1,1,2)
[2025-04-08 23:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865449', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865449', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:06:22] Production.INFO: ==31805== Releasing lock...
[2025-04-08 23:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:06:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:07:01] Production.INFO: ==31861== Lock acquired, processing the job...
[2025-04-09 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:07:01] Production.INFO: neon service started
[2025-04-09 04:07:01] Production.INFO: neon service started
[2025-04-09 04:07:01] Production.INFO: ==31861== Releasing lock...
[2025-04-09 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:07:02] Production.INFO: ==31863== Lock acquired, processing the job...
[2025-04-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:07:02] Production.INFO: ==31863== Releasing lock...
[2025-04-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:07:02] Production.INFO: ==31865== Lock acquired, processing the job...
[2025-04-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:07:02] Production.INFO: ==31865== Releasing lock...
[2025-04-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:07:03] Production.INFO: ==31870== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:07:03] Production.INFO: ==31878== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:07:03] Production.INFO: count ==12
[2025-04-08 23:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:07:03] Production.INFO: count ==23
[2025-04-08 23:07:03] Production.INFO: ==31870== Releasing lock...
[2025-04-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865451') start
[2025-04-08 23:07:03] Production.INFO: ==31868== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:07:03] Production.INFO: ==31872== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:07:03] Production.INFO: ==31874== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865451') end
[2025-04-08 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:07:03] Production.INFO: 1
[2025-04-08 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:07:03] Production.INFO: ==31878== Releasing lock...
[2025-04-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:07:03] Production.INFO: ==31876== Lock acquired, processing the job...
[2025-04-08 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:07:03] Production.INFO: Account Balance Start.
[2025-04-08 23:07:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:07:03] Production.INFO: 117
[2025-04-08 23:07:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:07:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:07:03] Production.INFO: Total Charge 0
[2025-04-08 23:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:07:03] Production.INFO: CreateAllLog End
[2025-04-08 23:07:04] Production.ERROR: done
[2025-04-08 23:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:07:04] Production.ERROR: done
[2025-04-08 23:07:04] Production.INFO: Account Balance End.
[2025-04-08 23:07:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:07:04] Production.INFO: ==31874== Releasing lock...
[2025-04-08 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:07:05
[end_date_ymd] => 2025-04-08 23:07:05
[RateCDR] => 1
)
[2025-04-08 23:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:07:05' and `end` < '2025-04-08 23:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:07:12] Production.ERROR: CronJobId end10
[2025-04-08 23:07:12] Production.INFO: ==31872== Releasing lock...
[2025-04-08 23:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:07:15] Production.INFO: call_cost start
[2025-04-08 23:07:15] Production.INFO: call_cost end
[2025-04-08 23:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:07:16] Production.INFO: ==31868== Releasing lock...
[2025-04-08 23:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:07:18] Production.INFO: count ==526
[2025-04-08 23:07:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:07:05 - End Time 2025-04-08 23:07:05
[2025-04-08 23:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865454', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865454', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865454', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865454', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:07:18] Production.INFO: ProcessCDR(1,14865454,1,1,2)
[2025-04-08 23:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865454', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865454', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:07:21] Production.INFO: ==31876== Releasing lock...
[2025-04-08 23:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:07:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:08:02] Production.INFO: ==32013== Lock acquired, processing the job...
[2025-04-09 04:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:08:02] Production.INFO: neon service started
[2025-04-09 04:08:02] Production.INFO: neon service started
[2025-04-09 04:08:02] Production.INFO: ==32013== Releasing lock...
[2025-04-09 04:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:08:02] Production.INFO: ==32015== Lock acquired, processing the job...
[2025-04-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:08:02] Production.INFO: ==32017== Lock acquired, processing the job...
[2025-04-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:08:02] Production.INFO: ==32017== Releasing lock...
[2025-04-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:08:03] Production.INFO: ==32015== Releasing lock...
[2025-04-08 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:08:03] Production.INFO: ==32024== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:08:04] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:08:04] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:08:04] Production.INFO: ==32031== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:08:04] Production.INFO: ==32027== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:08:04] Production.INFO: count ==12
[2025-04-08 23:08:04] Production.INFO: ==32029== Lock acquired, processing the job...
[2025-04-08 23:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:08:04] Production.INFO: count ==23
[2025-04-08 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865456') start
[2025-04-08 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865456') end
[2025-04-08 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:08:04] Production.INFO: 1
[2025-04-08 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:08:04] Production.INFO: Account Balance Start.
[2025-04-08 23:08:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:08:04] Production.INFO: 117
[2025-04-08 23:08:04] Production.INFO: ==32031== Releasing lock...
[2025-04-08 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:08:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:08:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:08:04] Production.INFO: ==32022== Releasing lock...
[2025-04-08 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:08:04] Production.INFO: Total Charge 0
[2025-04-08 23:08:04] Production.INFO: CreateAllLog End
[2025-04-08 23:08:04] Production.INFO: Account Balance End.
[2025-04-08 23:08:04] Production.ERROR: done
[2025-04-08 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:08:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:08:04] Production.INFO: ==32027== Releasing lock...
[2025-04-08 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:08:05] Production.ERROR: done
[2025-04-08 23:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:08:06
[end_date_ymd] => 2025-04-08 23:08:06
[RateCDR] => 1
)
[2025-04-08 23:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:08:06' and `end` < '2025-04-08 23:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:08:13] Production.ERROR: CronJobId end10
[2025-04-08 23:08:13] Production.INFO: ==32024== Releasing lock...
[2025-04-08 23:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:08:14] Production.INFO: call_cost start
[2025-04-08 23:08:14] Production.INFO: call_cost end
[2025-04-08 23:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:08:15] Production.INFO: ==32020== Releasing lock...
[2025-04-08 23:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:08:18] Production.INFO: count ==523
[2025-04-08 23:08:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:08:06 - End Time 2025-04-08 23:08:06
[2025-04-08 23:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865459', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865459', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865459', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865459', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:08:18] Production.INFO: ProcessCDR(1,14865459,1,1,2)
[2025-04-08 23:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865459', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865459', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:08:22] Production.INFO: ==32029== Releasing lock...
[2025-04-08 23:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:08:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:09:01] Production.INFO: ==32083== Lock acquired, processing the job...
[2025-04-09 04:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:09:01] Production.INFO: neon service started
[2025-04-09 04:09:01] Production.INFO: neon service started
[2025-04-09 04:09:01] Production.INFO: ==32083== Releasing lock...
[2025-04-09 04:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:09:02] Production.INFO: ==32087== Lock acquired, processing the job...
[2025-04-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:09:02] Production.INFO: ==32087== Releasing lock...
[2025-04-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:09:02] Production.INFO: ==32085== Lock acquired, processing the job...
[2025-04-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:09:02] Production.INFO: ==32085== Releasing lock...
[2025-04-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:09:03] Production.INFO: ==32089== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:09:03] Production.INFO: ==32095== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:09:03] Production.INFO: ==32099== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:09:03] Production.INFO: Account Balance Start.
[2025-04-08 23:09:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:09:03] Production.INFO: 117
[2025-04-08 23:09:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:09:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:09:03] Production.INFO: ==32091== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 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-04-08 23:09:03] Production.INFO: Total Charge 0
[2025-04-08 23:09:03] Production.INFO: count ==12
[2025-04-08 23:09:03] Production.INFO: CreateAllLog End
[2025-04-08 23:09:03] Production.INFO: ==32093== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 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-04-08 23:09:03] Production.INFO: count ==23
[2025-04-08 23:09:03] Production.INFO: ==32097== Lock acquired, processing the job...
[2025-04-08 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865462') start
[2025-04-08 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865462') end
[2025-04-08 23:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:09:03] Production.INFO: 1
[2025-04-08 23:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:09:03] Production.INFO: Account Balance End.
[2025-04-08 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:09:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:09:03] Production.INFO: ==32095== Releasing lock...
[2025-04-08 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:09:03] Production.INFO: ==32099== Releasing lock...
[2025-04-08 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:09:04] Production.INFO: ==32091== Releasing lock...
[2025-04-08 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:09:04] Production.ERROR: done
[2025-04-08 23:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:09:04] Production.ERROR: done
[2025-04-08 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:09:05
[end_date_ymd] => 2025-04-08 23:09:05
[RateCDR] => 1
)
[2025-04-08 23:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:09:05' and `end` < '2025-04-08 23:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:09:13] Production.ERROR: CronJobId end10
[2025-04-08 23:09:13] Production.INFO: ==32093== Releasing lock...
[2025-04-08 23:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:09:14] Production.INFO: call_cost start
[2025-04-08 23:09:14] Production.INFO: call_cost end
[2025-04-08 23:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:09:15] Production.INFO: ==32089== Releasing lock...
[2025-04-08 23:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:09:18] Production.INFO: count ==523
[2025-04-08 23:09:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:09:05 - End Time 2025-04-08 23:09:05
[2025-04-08 23:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865464', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865464', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865464', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865464', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:09:18] Production.INFO: ProcessCDR(1,14865464,1,1,2)
[2025-04-08 23:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865464', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865464', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:09:21] Production.INFO: ==32097== Releasing lock...
[2025-04-08 23:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:09:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:10:02] Production.INFO: ==32155== Lock acquired, processing the job...
[2025-04-09 04:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:10:02] Production.INFO: neon service started
[2025-04-09 04:10:02] Production.INFO: neon service started
[2025-04-09 04:10:02] Production.INFO: ==32155== Releasing lock...
[2025-04-09 04:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:10:02] Production.INFO: ==32157== Lock acquired, processing the job...
[2025-04-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:10:02] Production.INFO: ==32157== Releasing lock...
[2025-04-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:10:03] Production.INFO: ==32159== Lock acquired, processing the job...
[2025-04-09 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:10:03] Production.INFO: ==32159== Releasing lock...
[2025-04-09 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:10:03] Production.INFO: ==32162== Lock acquired, processing the job...
[2025-04-08 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:10:04] Production.INFO: ==32166== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:10:04] Production.INFO: ==32162== Releasing lock...
[2025-04-08 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:10:04] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:10:04] Production.INFO: ==32172== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:10:04] Production.INFO: ==32164== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:10:04] Production.INFO: Account Balance Start.
[2025-04-08 23:10:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:10:04] Production.INFO: 117
[2025-04-08 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:10:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:10:04] Production.INFO: ==32168== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:10:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:10:04] Production.INFO: ==32174== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:10:04] Production.INFO: Total Charge 0
[2025-04-08 23:10:04] Production.INFO: CreateAllLog End
[2025-04-08 23:10:04] Production.INFO: ==32176== Lock acquired, processing the job...
[2025-04-08 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:10:04] Production.INFO: ==32166== Releasing lock...
[2025-04-08 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:10:04] Production.ERROR: done
[2025-04-08 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:10:04] Production.INFO: Account Balance End.
[2025-04-08 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-04-08 23:10:04] Production.INFO: count ==12
[2025-04-08 23:10:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:10:04] Production.INFO: ==32170== Releasing lock...
[2025-04-08 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:10:04] Production.INFO: count ==23
[2025-04-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865468') start
[2025-04-08 23:10:05] Production.ERROR: done
[2025-04-08 23:10:05] Production.ERROR: done
[2025-04-08 23:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865468') end
[2025-04-08 23:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:10:05] Production.INFO: 1
[2025-04-08 23:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865469', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:10:05] Production.INFO: ==32176== Releasing lock...
[2025-04-08 23:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:10:06
[end_date_ymd] => 2025-04-08 23:10:06
[RateCDR] => 1
)
[2025-04-08 23:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:10:06' and `end` < '2025-04-08 23:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865469', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:10:09] Production.INFO: ProcessCDR(1,14865469,1,1,2)
[2025-04-08 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:10:09] Production.INFO: ==32174== Releasing lock...
[2025-04-08 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:10:15] Production.ERROR: CronJobId end10
[2025-04-08 23:10:15] Production.INFO: ==32168== Releasing lock...
[2025-04-08 23:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:10:17] Production.INFO: call_cost start
[2025-04-08 23:10:17] Production.INFO: call_cost end
[2025-04-08 23:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:10:18] Production.INFO: ==32164== Releasing lock...
[2025-04-08 23:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:10:19] Production.INFO: count ==522
[2025-04-08 23:10:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:10:06 - End Time 2025-04-08 23:10:06
[2025-04-08 23:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865470', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865470', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865470', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865470', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:10:19] Production.INFO: ProcessCDR(1,14865470,1,1,2)
[2025-04-08 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865470', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865470', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:10:22] Production.INFO: ==32172== Releasing lock...
[2025-04-08 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:10:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:11:01] Production.INFO: ==32231== Lock acquired, processing the job...
[2025-04-09 04:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:11:01] Production.INFO: neon service started
[2025-04-09 04:11:01] Production.INFO: neon service started
[2025-04-09 04:11:01] Production.INFO: ==32231== Releasing lock...
[2025-04-09 04:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:11:02] Production.INFO: ==32233== Lock acquired, processing the job...
[2025-04-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:11:02] Production.INFO: ==32235== Lock acquired, processing the job...
[2025-04-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:11:02] Production.INFO: ==32235== Releasing lock...
[2025-04-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:11:02] Production.INFO: ==32233== Releasing lock...
[2025-04-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:11:03] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:11:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:11:03] Production.INFO: Account Balance Start.
[2025-04-08 23:11:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:11:03] Production.INFO: 117
[2025-04-08 23:11:03] Production.INFO: ==32240== Releasing lock...
[2025-04-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:11:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:11:03] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:11:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:11:03] Production.INFO: Total Charge 0
[2025-04-08 23:11:03] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 23:11:03] Production.INFO: ==32237== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:11:03] Production.INFO: Account Balance End.
[2025-04-08 23:11:03] Production.INFO: count ==12
[2025-04-08 23:11:03] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:11:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:11:03] Production.INFO: ==32244== Releasing lock...
[2025-04-08 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 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-04-08 23:11:03] Production.INFO: count ==23
[2025-04-08 23:11:03] Production.INFO: ==32246== Lock acquired, processing the job...
[2025-04-08 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865473') start
[2025-04-08 23:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865473') end
[2025-04-08 23:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:11:03] Production.INFO: 1
[2025-04-08 23:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:11:03] Production.INFO: ==32248== Releasing lock...
[2025-04-08 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:11:04] Production.ERROR: done
[2025-04-08 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:11:04] Production.ERROR: done
[2025-04-08 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:11:05
[end_date_ymd] => 2025-04-08 23:11:05
[RateCDR] => 1
)
[2025-04-08 23:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:11:05' and `end` < '2025-04-08 23:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:11:12] Production.ERROR: CronJobId end10
[2025-04-08 23:11:12] Production.INFO: ==32242== Releasing lock...
[2025-04-08 23:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:11:15] Production.INFO: call_cost start
[2025-04-08 23:11:15] Production.INFO: call_cost end
[2025-04-08 23:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:11:16] Production.INFO: ==32237== Releasing lock...
[2025-04-08 23:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:11:18] Production.INFO: count ==522
[2025-04-08 23:11:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:11:05 - End Time 2025-04-08 23:11:05
[2025-04-08 23:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865475', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865475', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865475', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865475', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:11:18] Production.INFO: ProcessCDR(1,14865475,1,1,2)
[2025-04-08 23:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865475', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865475', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:11:21] Production.INFO: ==32246== Releasing lock...
[2025-04-08 23:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:11:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:12:02] Production.INFO: ==32379== Lock acquired, processing the job...
[2025-04-09 04:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:12:02] Production.INFO: neon service started
[2025-04-09 04:12:02] Production.INFO: neon service started
[2025-04-09 04:12:02] Production.INFO: ==32379== Releasing lock...
[2025-04-09 04:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:12:02] Production.INFO: ==32381== Lock acquired, processing the job...
[2025-04-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:12:02] Production.INFO: ==32383== Lock acquired, processing the job...
[2025-04-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:12:02] Production.INFO: ==32383== Releasing lock...
[2025-04-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:12:02] Production.INFO: ==32381== Releasing lock...
[2025-04-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:12:03] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-04-08 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:12:03] Production.INFO: ==32385== Lock acquired, processing the job...
[2025-04-08 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:12:03] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-04-08 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:12:03] Production.INFO: ==32387== Lock acquired, processing the job...
[2025-04-08 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:12:04] Production.INFO: ==32389== Lock acquired, processing the job...
[2025-04-08 23:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:12:04] Production.ERROR: done
[2025-04-08 23:12:04] Production.INFO: ==32392== Lock acquired, processing the job...
[2025-04-08 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:12:04] Production.INFO: count ==12
[2025-04-08 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-04-08 23:12:04] Production.INFO: count ==23
[2025-04-08 23:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865476') start
[2025-04-08 23:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:12:04] Production.INFO: Account Balance Start.
[2025-04-08 23:12:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:12:04] Production.INFO: 117
[2025-04-08 23:12:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:12:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:12:04] Production.ERROR: done
[2025-04-08 23:12:04] Production.INFO: ==32387== Releasing lock...
[2025-04-08 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:12:04] Production.INFO: Total Charge 0
[2025-04-08 23:12:04] Production.INFO: CreateAllLog End
[2025-04-08 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865476') end
[2025-04-08 23:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:12:04] Production.INFO: 1
[2025-04-08 23:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:12:04] Production.INFO: ==32396== Releasing lock...
[2025-04-08 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:12:04] Production.INFO: Account Balance End.
[2025-04-08 23:12:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:12:04] Production.INFO: ==32392== Releasing lock...
[2025-04-08 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:12:05
[end_date_ymd] => 2025-04-08 23:12:05
[RateCDR] => 1
)
[2025-04-08 23:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:12:05' and `end` < '2025-04-08 23:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:12:13] Production.ERROR: CronJobId end10
[2025-04-08 23:12:13] Production.INFO: ==32389== Releasing lock...
[2025-04-08 23:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:12:15] Production.INFO: call_cost start
[2025-04-08 23:12:15] Production.INFO: call_cost end
[2025-04-08 23:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:12:16] Production.INFO: ==32385== Releasing lock...
[2025-04-08 23:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:12:18] Production.INFO: count ==524
[2025-04-08 23:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:12:05 - End Time 2025-04-08 23:12:05
[2025-04-08 23:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865480', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865480', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865480', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865480', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:12:18] Production.INFO: ProcessCDR(1,14865480,1,1,2)
[2025-04-08 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865480', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865480', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:12:21] Production.INFO: ==32394== Releasing lock...
[2025-04-08 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:12:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:13:01] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-04-09 04:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:13:01] Production.INFO: neon service started
[2025-04-09 04:13:01] Production.INFO: neon service started
[2025-04-09 04:13:01] Production.INFO: ==32450== Releasing lock...
[2025-04-09 04:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:13:01] Production.INFO: ==32452== Lock acquired, processing the job...
[2025-04-08 23:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:13:02] Production.INFO: ==32452== Releasing lock...
[2025-04-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:13:02] Production.INFO: ==32455== Lock acquired, processing the job...
[2025-04-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:13:02] Production.INFO: ==32455== Releasing lock...
[2025-04-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:13:03] Production.INFO: ==32459== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:13:03] Production.INFO: ==32457== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:13:03] Production.INFO: ==32461== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:13:03] Production.INFO: ==32463== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:13:03] Production.INFO: ==32465== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:13:03] Production.INFO: ==32467== Lock acquired, processing the job...
[2025-04-08 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:13:03] Production.INFO: Account Balance Start.
[2025-04-08 23:13:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:13:03] Production.INFO: 117
[2025-04-08 23:13:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:13:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:13:03] Production.INFO: Total Charge 0
[2025-04-08 23:13:03] Production.INFO: CreateAllLog End
[2025-04-08 23:13:03] Production.INFO: ==32459== Releasing lock...
[2025-04-08 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:13:03] Production.INFO: count ==12
[2025-04-08 23: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-04-08 23:13:03] Production.INFO: count ==23
[2025-04-08 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865484') start
[2025-04-08 23:13:03] Production.ERROR: done
[2025-04-08 23:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:13:03] Production.INFO: Account Balance End.
[2025-04-08 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865484') end
[2025-04-08 23:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:13:03] Production.INFO: 1
[2025-04-08 23:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:13:03] Production.INFO: ==32467== Releasing lock...
[2025-04-08 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:13:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:13:03] Production.INFO: ==32463== Releasing lock...
[2025-04-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:13:04] Production.ERROR: done
[2025-04-08 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:13:05
[end_date_ymd] => 2025-04-08 23:13:05
[RateCDR] => 1
)
[2025-04-08 23:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:13:05' and `end` < '2025-04-08 23:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:13:13] Production.ERROR: CronJobId end10
[2025-04-08 23:13:13] Production.INFO: ==32461== Releasing lock...
[2025-04-08 23:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:13:15] Production.INFO: call_cost start
[2025-04-08 23:13:15] Production.INFO: call_cost end
[2025-04-08 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:13:16] Production.INFO: ==32457== Releasing lock...
[2025-04-08 23:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:13:17] Production.INFO: count ==522
[2025-04-08 23:13:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:13:05 - End Time 2025-04-08 23:13:05
[2025-04-08 23:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865485', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865485', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865485', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865485', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:13:18] Production.INFO: ProcessCDR(1,14865485,1,1,2)
[2025-04-08 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865485', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865485', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:13:21] Production.INFO: ==32465== Releasing lock...
[2025-04-08 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:13:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:14:01] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-04-09 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:14:02] Production.INFO: neon service started
[2025-04-09 04:14:02] Production.INFO: neon service started
[2025-04-09 04:14:02] Production.INFO: ==32523== Releasing lock...
[2025-04-09 04:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:14:02] Production.INFO: ==32525== Lock acquired, processing the job...
[2025-04-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:14:02] Production.INFO: ==32525== Releasing lock...
[2025-04-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:14:02] Production.INFO: ==32527== Lock acquired, processing the job...
[2025-04-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:14:02] Production.INFO: ==32527== Releasing lock...
[2025-04-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:14:03] Production.INFO: ==32536== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:14:03] Production.INFO: ==32532== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:14:03] Production.INFO: ==32540== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:14:03] Production.INFO: ==32530== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:14:03] Production.INFO: Account Balance Start.
[2025-04-08 23:14:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:14:03] Production.INFO: 117
[2025-04-08 23:14:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:14:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:14:03] Production.INFO: ==32534== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:14:03] Production.INFO: count ==12
[2025-04-08 23:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:14:03] Production.INFO: count ==23
[2025-04-08 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865488') start
[2025-04-08 23:14:03] Production.INFO: ==32538== Lock acquired, processing the job...
[2025-04-08 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:14:03] Production.INFO: Total Charge 0
[2025-04-08 23:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:14:04] Production.INFO: CreateAllLog End
[2025-04-08 23:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865488') end
[2025-04-08 23:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:14:04] Production.INFO: 1
[2025-04-08 23:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:14:04] Production.INFO: ==32540== Releasing lock...
[2025-04-08 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:14:04] Production.INFO: ==32532== Releasing lock...
[2025-04-08 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:14:04] Production.INFO: Account Balance End.
[2025-04-08 23:14:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:14:04] Production.INFO: ==32536== Releasing lock...
[2025-04-08 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:14:04] Production.ERROR: done
[2025-04-08 23:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:14:04] Production.ERROR: done
[2025-04-08 23:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:14:05
[end_date_ymd] => 2025-04-08 23:14:05
[RateCDR] => 1
)
[2025-04-08 23:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:14:05' and `end` < '2025-04-08 23:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:14:12] Production.ERROR: CronJobId end10
[2025-04-08 23:14:12] Production.INFO: ==32534== Releasing lock...
[2025-04-08 23:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:14:15] Production.INFO: call_cost start
[2025-04-08 23:14:15] Production.INFO: call_cost end
[2025-04-08 23:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:14:16] Production.INFO: ==32530== Releasing lock...
[2025-04-08 23:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:14:18] Production.INFO: count ==519
[2025-04-08 23:14:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:14:05 - End Time 2025-04-08 23:14:05
[2025-04-08 23:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865490', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865490', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865490', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865490', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:14:18] Production.INFO: ProcessCDR(1,14865490,1,1,2)
[2025-04-08 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865490', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865490', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:14:22] Production.INFO: ==32538== Releasing lock...
[2025-04-08 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:14:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:15:01] Production.INFO: ==32673== Lock acquired, processing the job...
[2025-04-09 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:15:01] Production.INFO: neon service started
[2025-04-09 04:15:01] Production.INFO: neon service started
[2025-04-09 04:15:01] Production.INFO: ==32673== Releasing lock...
[2025-04-09 04:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:15:01] Production.INFO: ==32675== Lock acquired, processing the job...
[2025-04-08 23:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:15:02] Production.INFO: ==32675== Releasing lock...
[2025-04-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:15:02] Production.INFO: ==32677== Lock acquired, processing the job...
[2025-04-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:15:02] Production.INFO: ==32677== Releasing lock...
[2025-04-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:15:02] Production.INFO: ==32680== Lock acquired, processing the job...
[2025-04-08 23:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:15:03] Production.INFO: ==32682== Lock acquired, processing the job...
[2025-04-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:15:03] Production.INFO: ==32684== Lock acquired, processing the job...
[2025-04-08 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:15:03] Production.INFO: ==32686== Lock acquired, processing the job...
[2025-04-08 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:15:03] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-04-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:15:03] Production.INFO: ==32688== Lock acquired, processing the job...
[2025-04-08 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:15:03] Production.INFO: Account Balance Start.
[2025-04-08 23:15:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:15:03] Production.INFO: 117
[2025-04-08 23:15:03] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 23:15:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:15:03] Production.INFO: Total Charge 0
[2025-04-08 23:15:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:15:03] Production.INFO: CreateAllLog End
[2025-04-08 23:15:03] Production.INFO: count ==23
[2025-04-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865494') start
[2025-04-08 23:15:03] Production.INFO: ==32682== Releasing lock...
[2025-04-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865494') end
[2025-04-08 23:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:15:03] Production.INFO: 1
[2025-04-08 23:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:15:03] Production.INFO: Account Balance End.
[2025-04-08 23:15:03] Production.INFO: ==32690== Releasing lock...
[2025-04-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:15:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:15:03] Production.INFO: ==32686== Releasing lock...
[2025-04-08 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:15:03] Production.ERROR: done
[2025-04-08 23:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:15:04] Production.ERROR: done
[2025-04-08 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:15:05
[end_date_ymd] => 2025-04-08 23:15:05
[RateCDR] => 1
)
[2025-04-08 23:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:15:05' and `end` < '2025-04-08 23:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:15:12] Production.ERROR: CronJobId end10
[2025-04-08 23:15:12] Production.INFO: ==32684== Releasing lock...
[2025-04-08 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:15:13] Production.INFO: call_cost start
[2025-04-08 23:15:13] Production.INFO: call_cost end
[2025-04-08 23:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:15:14] Production.INFO: ==32680== Releasing lock...
[2025-04-08 23:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:15:18] Production.INFO: count ==518
[2025-04-08 23:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:15:05 - End Time 2025-04-08 23:15:05
[2025-04-08 23:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865495', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865495', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865495', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865495', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:15:18] Production.INFO: ProcessCDR(1,14865495,1,1,2)
[2025-04-08 23:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865495', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865495', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:15:21] Production.INFO: ==32688== Releasing lock...
[2025-04-08 23:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:15:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:16:01] Production.INFO: ==32747== Lock acquired, processing the job...
[2025-04-09 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:16:02] Production.INFO: neon service started
[2025-04-09 04:16:02] Production.INFO: neon service started
[2025-04-09 04:16:02] Production.INFO: ==32747== Releasing lock...
[2025-04-09 04:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:16:02] Production.INFO: ==32749== Lock acquired, processing the job...
[2025-04-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:16:02] Production.INFO: ==32749== Releasing lock...
[2025-04-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:16:02] Production.INFO: ==32751== Lock acquired, processing the job...
[2025-04-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:16:02] Production.INFO: ==32751== Releasing lock...
[2025-04-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:16:03] Production.INFO: ==32756== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:16:03] Production.INFO: ==32764== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:16:03] Production.INFO: ==32753== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:16:03] Production.INFO: count ==12
[2025-04-08 23:16:03] Production.INFO: ==32758== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:16:03] Production.INFO: count ==23
[2025-04-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865497') start
[2025-04-08 23:16:03] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:16:03] Production.INFO: ==32756== Releasing lock...
[2025-04-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:16:03] Production.INFO: ==32762== Lock acquired, processing the job...
[2025-04-08 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865497') end
[2025-04-08 23:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:16:03] Production.INFO: 1
[2025-04-08 23:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:16:03] Production.INFO: ==32764== Releasing lock...
[2025-04-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:16:04] Production.INFO: Account Balance Start.
[2025-04-08 23:16:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:16:04] Production.INFO: 117
[2025-04-08 23:16:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:16:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:16:04] Production.INFO: Total Charge 0
[2025-04-08 23:16:04] Production.INFO: CreateAllLog End
[2025-04-08 23:16:04] Production.ERROR: done
[2025-04-08 23:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:16:04] Production.ERROR: done
[2025-04-08 23:16:04] Production.INFO: Account Balance End.
[2025-04-08 23:16:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:16:04] Production.INFO: ==32760== Releasing lock...
[2025-04-08 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:16:05
[end_date_ymd] => 2025-04-08 23:16:05
[RateCDR] => 1
)
[2025-04-08 23:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:16:05' and `end` < '2025-04-08 23:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:16:13] Production.ERROR: CronJobId end10
[2025-04-08 23:16:13] Production.INFO: ==32758== Releasing lock...
[2025-04-08 23:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:16:14] Production.INFO: call_cost start
[2025-04-08 23:16:14] Production.INFO: call_cost end
[2025-04-08 23:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:16:15] Production.INFO: ==32753== Releasing lock...
[2025-04-08 23:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:16:18] Production.INFO: count ==516
[2025-04-08 23:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:16:05 - End Time 2025-04-08 23:16:05
[2025-04-08 23:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865500', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865500', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865500', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865500', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:16:18] Production.INFO: ProcessCDR(1,14865500,1,1,2)
[2025-04-08 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865500', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865500', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:16:21] Production.INFO: ==32762== Releasing lock...
[2025-04-08 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:16:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:17:01] Production.INFO: ==368== Lock acquired, processing the job...
[2025-04-09 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:17:01] Production.INFO: neon service started
[2025-04-09 04:17:01] Production.INFO: neon service started
[2025-04-09 04:17:01] Production.INFO: ==368== Releasing lock...
[2025-04-09 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:17:01] Production.INFO: ==370== Lock acquired, processing the job...
[2025-04-08 23:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:17:02] Production.INFO: ==370== Releasing lock...
[2025-04-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:17:02] Production.INFO: ==372== Lock acquired, processing the job...
[2025-04-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:17:02] Production.INFO: ==372== Releasing lock...
[2025-04-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:17:03] Production.INFO: ==375== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:17:03] Production.INFO: ==381== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:17:03] Production.INFO: ==383== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:17:03] Production.INFO: Account Balance Start.
[2025-04-08 23:17:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:17:03] Production.INFO: 117
[2025-04-08 23:17:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:17:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:17:03] Production.INFO: ==379== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:17:03] Production.INFO: Total Charge 0
[2025-04-08 23:17:03] Production.INFO: ==377== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:17:03] Production.INFO: CreateAllLog End
[2025-04-08 23:17:03] Production.INFO: ==385== Lock acquired, processing the job...
[2025-04-08 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 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-04-08 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:17:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:17:03] Production.INFO: count ==23
[2025-04-08 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865503') start
[2025-04-08 23:17:03] Production.INFO: Account Balance End.
[2025-04-08 23:17:03] Production.ERROR: done
[2025-04-08 23:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865503') end
[2025-04-08 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:17:04] Production.INFO: 1
[2025-04-08 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:17:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:17:04] Production.INFO: ==381== Releasing lock...
[2025-04-08 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:17:04] Production.INFO: ==385== Releasing lock...
[2025-04-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:17:04] Production.ERROR: done
[2025-04-08 23:17:04] Production.INFO: ==377== Releasing lock...
[2025-04-08 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:17:05
[end_date_ymd] => 2025-04-08 23:17:05
[RateCDR] => 1
)
[2025-04-08 23:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:17:05' and `end` < '2025-04-08 23:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:17:13] Production.ERROR: CronJobId end10
[2025-04-08 23:17:13] Production.INFO: ==379== Releasing lock...
[2025-04-08 23:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:17:14] Production.INFO: call_cost start
[2025-04-08 23:17:14] Production.INFO: call_cost end
[2025-04-08 23:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:17:15] Production.INFO: ==375== Releasing lock...
[2025-04-08 23:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:17:18] Production.INFO: count ==514
[2025-04-08 23:17:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:17:05 - End Time 2025-04-08 23:17:05
[2025-04-08 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865505', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865505', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865505', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865505', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:17:18] Production.INFO: ProcessCDR(1,14865505,1,1,2)
[2025-04-08 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865505', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865505', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:17:21] Production.INFO: ==383== Releasing lock...
[2025-04-08 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:17:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:18:01] Production.INFO: ==445== Lock acquired, processing the job...
[2025-04-09 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:18:01] Production.INFO: neon service started
[2025-04-09 04:18:01] Production.INFO: neon service started
[2025-04-09 04:18:01] Production.INFO: ==445== Releasing lock...
[2025-04-09 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:18:02] Production.INFO: ==447== Lock acquired, processing the job...
[2025-04-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:18:02] Production.INFO: ==449== Lock acquired, processing the job...
[2025-04-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:18:02] Production.INFO: ==449== Releasing lock...
[2025-04-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:18:03] Production.INFO: ==447== Releasing lock...
[2025-04-08 23:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:18:03] Production.INFO: ==452== Lock acquired, processing the job...
[2025-04-08 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:18:03] Production.INFO: ==456== Lock acquired, processing the job...
[2025-04-08 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:18:04] Production.INFO: ==454== Lock acquired, processing the job...
[2025-04-08 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:18:04] Production.INFO: ==458== Lock acquired, processing the job...
[2025-04-08 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:18:04] Production.INFO: ==460== Lock acquired, processing the job...
[2025-04-08 23:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:18:04] Production.INFO: Account Balance Start.
[2025-04-08 23:18:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:18:04] Production.INFO: 117
[2025-04-08 23:18:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:18:04] Production.INFO: ==462== Lock acquired, processing the job...
[2025-04-08 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:18:04] Production.INFO: ==454== Releasing lock...
[2025-04-08 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:18:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:18:04] Production.INFO: Total Charge 0
[2025-04-08 23:18:04] Production.INFO: CreateAllLog End
[2025-04-08 23:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:18:04] Production.INFO: count ==12
[2025-04-08 23:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:18:04] Production.INFO: count ==23
[2025-04-08 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865509') start
[2025-04-08 23:18:04] Production.ERROR: done
[2025-04-08 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:18:04] Production.INFO: Account Balance End.
[2025-04-08 23:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865509') end
[2025-04-08 23:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:18:05] Production.INFO: 1
[2025-04-08 23:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:18:05] Production.INFO: ==462== Releasing lock...
[2025-04-08 23:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:18:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:18:05] Production.INFO: ==458== Releasing lock...
[2025-04-08 23:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:18:05] Production.ERROR: done
[2025-04-08 23:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:18:06
[end_date_ymd] => 2025-04-08 23:18:06
[RateCDR] => 1
)
[2025-04-08 23:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:18:06' and `end` < '2025-04-08 23:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:18:14] Production.ERROR: CronJobId end10
[2025-04-08 23:18:14] Production.INFO: ==456== Releasing lock...
[2025-04-08 23:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:18:15] Production.INFO: call_cost start
[2025-04-08 23:18:15] Production.INFO: call_cost end
[2025-04-08 23:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:18:16] Production.INFO: ==452== Releasing lock...
[2025-04-08 23:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:18:19] Production.INFO: count ==510
[2025-04-08 23:18:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:18:06 - End Time 2025-04-08 23:18:06
[2025-04-08 23:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865510', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865510', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865510', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865510', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:18:19] Production.INFO: ProcessCDR(1,14865510,1,1,2)
[2025-04-08 23:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865510', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865510', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:18:22] Production.INFO: ==460== Releasing lock...
[2025-04-08 23:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:18:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:19:01] Production.INFO: ==562== Lock acquired, processing the job...
[2025-04-09 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:19:01] Production.INFO: neon service started
[2025-04-09 04:19:01] Production.INFO: neon service started
[2025-04-09 04:19:01] Production.INFO: ==562== Releasing lock...
[2025-04-09 04:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:19:01] Production.INFO: ==564== Lock acquired, processing the job...
[2025-04-08 23:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:19:01] Production.INFO: ==566== Lock acquired, processing the job...
[2025-04-09 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:19:01] Production.INFO: ==566== Releasing lock...
[2025-04-09 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:19:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:19:02] Production.INFO: ==564== Releasing lock...
[2025-04-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:19:02] Production.INFO: ==571== Lock acquired, processing the job...
[2025-04-08 23:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:19:02] Production.INFO: ==569== Lock acquired, processing the job...
[2025-04-08 23:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:19:02] Production.INFO: ==573== Lock acquired, processing the job...
[2025-04-08 23:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:19:03] Production.INFO: ==580== Lock acquired, processing the job...
[2025-04-08 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:19:03] Production.INFO: ==575== Lock acquired, processing the job...
[2025-04-08 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:19:03] Production.INFO: ==577== Lock acquired, processing the job...
[2025-04-08 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:19:03] Production.INFO: Account Balance Start.
[2025-04-08 23:19:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:19:03] Production.INFO: 117
[2025-04-08 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:19:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:19:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:19:03] Production.INFO: count ==12
[2025-04-08 23:19:03] Production.INFO: ==571== Releasing lock...
[2025-04-08 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:19:03] Production.INFO: count ==23
[2025-04-08 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865513') start
[2025-04-08 23:19:03] Production.INFO: Total Charge 0
[2025-04-08 23:19:03] Production.INFO: CreateAllLog End
[2025-04-08 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865513') end
[2025-04-08 23:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:19:03] Production.INFO: 1
[2025-04-08 23:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:19:03] Production.INFO: ==580== Releasing lock...
[2025-04-08 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:19:03] Production.INFO: Account Balance End.
[2025-04-08 23:19:03] Production.ERROR: done
[2025-04-08 23:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:19:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:19:03] Production.INFO: ==575== Releasing lock...
[2025-04-08 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:19:03] Production.ERROR: done
[2025-04-08 23:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:19:04
[end_date_ymd] => 2025-04-08 23:19:04
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:19:04' and `end` < '2025-04-08 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-04-08 23:19:12] Production.ERROR: CronJobId end10
[2025-04-08 23:19:12] Production.INFO: ==573== Releasing lock...
[2025-04-08 23:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:19:13] Production.INFO: call_cost start
[2025-04-08 23:19:13] Production.INFO: call_cost end
[2025-04-08 23:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:19:14] Production.INFO: ==569== Releasing lock...
[2025-04-08 23:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:19:17] Production.INFO: count ==510
[2025-04-08 23:19:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:19:04 - End Time 2025-04-08 23:19:04
[2025-04-08 23:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865515', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865515', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865515', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865515', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:19:17] Production.INFO: ProcessCDR(1,14865515,1,1,2)
[2025-04-08 23:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865515', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865515', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:19:21] Production.INFO: ==577== Releasing lock...
[2025-04-08 23:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:19:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 04:20:01] Production.INFO: ==642== Lock acquired, processing the job...
[2025-04-09 04:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:20:01] Production.INFO: neon service started
[2025-04-09 04:20:01] Production.INFO: neon service started
[2025-04-09 04:20:01] Production.INFO: ==642== Releasing lock...
[2025-04-09 04:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:20:02] Production.INFO: ==644== Lock acquired, processing the job...
[2025-04-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:20:02] Production.INFO: ==646== Lock acquired, processing the job...
[2025-04-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:20:02] Production.INFO: ==644== Releasing lock...
[2025-04-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:20:02] Production.INFO: ==646== Releasing lock...
[2025-04-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:20:03] Production.INFO: ==649== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:20:03] Production.INFO: ==649== Releasing lock...
[2025-04-08 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:20:03] Production.INFO: ==651== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:20:03] Production.INFO: ==653== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:20:03] Production.INFO: ==662== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:20:03] Production.INFO: ==655== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:20:03] Production.INFO: ==664== Lock acquired, processing the job...
[2025-04-08 23:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:20:03] Production.INFO: Account Balance Start.
[2025-04-08 23:20:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:20:03] Production.INFO: 117
[2025-04-08 23:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:20:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:20:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:20:04] Production.INFO: Total Charge 0
[2025-04-08 23:20:04] Production.INFO: ==668== Lock acquired, processing the job...
[2025-04-08 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:20:04] Production.INFO: ==673== Lock acquired, processing the job...
[2025-04-08 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:20:04] Production.INFO: CreateAllLog End
[2025-04-08 23:20:04] Production.INFO: ==653== Releasing lock...
[2025-04-08 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:20:04] Production.INFO: count ==12
[2025-04-08 23:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:20:04] Production.INFO: count ==23
[2025-04-08 23:20:04] Production.ERROR: done
[2025-04-08 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865519') start
[2025-04-08 23:20:04] Production.ERROR: done
[2025-04-08 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865519') end
[2025-04-08 23:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:20:04] Production.INFO: 1
[2025-04-08 23:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:20:04] Production.ERROR: done
[2025-04-08 23:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865520', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:20:04] Production.INFO: Account Balance End.
[2025-04-08 23:20:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:20:05] Production.INFO: ==662== Releasing lock...
[2025-04-08 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:20:05] Production.INFO: ==673== Releasing lock...
[2025-04-08 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:20:06
[end_date_ymd] => 2025-04-08 23:20:06
[RateCDR] => 1
)
[2025-04-08 23:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:20:06' and `end` < '2025-04-08 23:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865520', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:20:08] Production.INFO: ProcessCDR(1,14865520,1,1,2)
[2025-04-08 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:20:09] Production.INFO: ==668== Releasing lock...
[2025-04-08 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:20:15] Production.ERROR: CronJobId end10
[2025-04-08 23:20:15] Production.INFO: ==655== Releasing lock...
[2025-04-08 23:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:20:15] Production.INFO: call_cost start
[2025-04-08 23:20:15] Production.INFO: call_cost end
[2025-04-08 23:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:20:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:20:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:20:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:20:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:20:16] Production.INFO: ==651== Releasing lock...
[2025-04-08 23:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:20:19] Production.INFO: count ==500
[2025-04-08 23:20:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:20:06 - End Time 2025-04-08 23:20:06
[2025-04-08 23:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865521', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865521', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865521', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865521', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:20:19] Production.INFO: ProcessCDR(1,14865521,1,1,2)
[2025-04-08 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865521', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865521', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:20:22] Production.INFO: ==664== Releasing lock...
[2025-04-08 23:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:20:22] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:21:02] Production.INFO: ==742== Lock acquired, processing the job...
[2025-04-09 04:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:21:02] Production.INFO: neon service started
[2025-04-09 04:21:02] Production.INFO: neon service started
[2025-04-09 04:21:02] Production.INFO: ==742== Releasing lock...
[2025-04-09 04:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:21:02] Production.INFO: ==747== Lock acquired, processing the job...
[2025-04-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:21:02] Production.INFO: ==749== Lock acquired, processing the job...
[2025-04-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:21:02] Production.INFO: ==747== Releasing lock...
[2025-04-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:21:03] Production.INFO: ==749== Releasing lock...
[2025-04-09 03:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:21:03] Production.INFO: ==753== Lock acquired, processing the job...
[2025-04-08 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:21:03] Production.INFO: ==755== Lock acquired, processing the job...
[2025-04-08 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:21:03] Production.INFO: ==761== Lock acquired, processing the job...
[2025-04-08 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:21:03] Production.INFO: ==757== Lock acquired, processing the job...
[2025-04-08 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:21:04] Production.INFO: ==763== Lock acquired, processing the job...
[2025-04-08 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:21:04] Production.INFO: ==759== Lock acquired, processing the job...
[2025-04-08 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:21:04] Production.INFO: ==755== Releasing lock...
[2025-04-08 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:21:04] Production.INFO: Account Balance Start.
[2025-04-08 23:21:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:21:04] Production.INFO: 117
[2025-04-08 23:21:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23: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-04-08 23:21:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:21:04] Production.INFO: count ==12
[2025-04-08 23: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-04-08 23:21:04] Production.INFO: count ==23
[2025-04-08 23:21:04] Production.INFO: Total Charge 0
[2025-04-08 23:21:04] Production.ERROR: done
[2025-04-08 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865524') start
[2025-04-08 23:21:04] Production.INFO: CreateAllLog End
[2025-04-08 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865524') end
[2025-04-08 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:21:04] Production.INFO: 1
[2025-04-08 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:21:04] Production.INFO: ==763== Releasing lock...
[2025-04-08 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:21:04] Production.ERROR: done
[2025-04-08 23:21:04] Production.INFO: Account Balance End.
[2025-04-08 23:21:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:21:04] Production.INFO: ==759== Releasing lock...
[2025-04-08 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:21:05
[end_date_ymd] => 2025-04-08 23:21:05
[RateCDR] => 1
)
[2025-04-08 23:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:21:05' and `end` < '2025-04-08 23:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:21:13] Production.ERROR: CronJobId end10
[2025-04-08 23:21:13] Production.INFO: ==757== Releasing lock...
[2025-04-08 23:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:21:14] Production.INFO: call_cost start
[2025-04-08 23:21:14] Production.INFO: call_cost end
[2025-04-08 23:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:21:15] Production.INFO: ==753== Releasing lock...
[2025-04-08 23:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:21:18] Production.INFO: count ==484
[2025-04-08 23:21:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:21:05 - End Time 2025-04-08 23:21:05
[2025-04-08 23:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865526', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865526', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865526', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865526', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:21:18] Production.INFO: ProcessCDR(1,14865526,1,1,2)
[2025-04-08 23:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865526', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865526', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:21:21] Production.INFO: ==761== Releasing lock...
[2025-04-08 23:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:21:21] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:22:01] Production.INFO: ==819== Lock acquired, processing the job...
[2025-04-09 04:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:22:01] Production.INFO: neon service started
[2025-04-09 04:22:01] Production.INFO: neon service started
[2025-04-09 04:22:01] Production.INFO: ==819== Releasing lock...
[2025-04-09 04:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:22:02] Production.INFO: ==821== Lock acquired, processing the job...
[2025-04-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:22:02] Production.INFO: ==821== Releasing lock...
[2025-04-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:22:02] Production.INFO: ==823== Lock acquired, processing the job...
[2025-04-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:22:02] Production.INFO: ==823== Releasing lock...
[2025-04-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:22:03] Production.INFO: ==829== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:22:03] Production.INFO: ==835== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:22:03] Production.INFO: ==825== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23: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-04-08 23:22:03] Production.INFO: ==827== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:22:03] Production.INFO: count ==12
[2025-04-08 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23: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-04-08 23:22:03] Production.INFO: count ==23
[2025-04-08 23:22:03] Production.INFO: ==831== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:22:03] Production.INFO: ==833== Lock acquired, processing the job...
[2025-04-08 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865527') start
[2025-04-08 23:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:22:03] Production.INFO: Account Balance Start.
[2025-04-08 23:22:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:22:03] Production.INFO: 117
[2025-04-08 23:22:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:22:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865527') end
[2025-04-08 23:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:22:03] Production.INFO: 1
[2025-04-08 23:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:22:03] Production.INFO: Total Charge 0
[2025-04-08 23:22:03] Production.INFO: CreateAllLog End
[2025-04-08 23:22:03] Production.INFO: ==835== Releasing lock...
[2025-04-08 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:22:03] Production.INFO: ==827== Releasing lock...
[2025-04-08 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:22:04] Production.INFO: Account Balance End.
[2025-04-08 23:22:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:22:04] Production.INFO: ==831== Releasing lock...
[2025-04-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:22:04] Production.ERROR: done
[2025-04-08 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:22:04] Production.ERROR: done
[2025-04-08 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:22:05
[end_date_ymd] => 2025-04-08 23:22:05
[RateCDR] => 1
)
[2025-04-08 23:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:22:05' and `end` < '2025-04-08 23:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:22:11] Production.ERROR: CronJobId end10
[2025-04-08 23:22:11] Production.INFO: ==829== Releasing lock...
[2025-04-08 23:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:22:13] Production.INFO: call_cost start
[2025-04-08 23:22:13] Production.INFO: call_cost end
[2025-04-08 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:22:14] Production.INFO: ==825== Releasing lock...
[2025-04-08 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:22:18] Production.INFO: count ==484
[2025-04-08 23:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:22:05 - End Time 2025-04-08 23:22:05
[2025-04-08 23:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865531', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865531', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865531', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865531', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:22:18] Production.INFO: ProcessCDR(1,14865531,1,1,2)
[2025-04-08 23:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865531', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865531', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:22:21] Production.INFO: ==833== Releasing lock...
[2025-04-08 23:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:22:21] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:23:02] Production.INFO: ==893== Lock acquired, processing the job...
[2025-04-09 04:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:23:02] Production.INFO: neon service started
[2025-04-09 04:23:02] Production.INFO: neon service started
[2025-04-09 04:23:02] Production.INFO: ==893== Releasing lock...
[2025-04-09 04:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:23:03] Production.INFO: ==895== Lock acquired, processing the job...
[2025-04-08 23:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:23:03] Production.INFO: ==897== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:23:03] Production.INFO: ==897== Releasing lock...
[2025-04-09 03:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:23:03] Production.INFO: ==895== Releasing lock...
[2025-04-08 23:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:23:04] Production.INFO: ==900== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:23:04] Production.INFO: ==906== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:23:04] Production.INFO: ==904== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:23:04] Production.INFO: ==902== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:23:04] Production.INFO: ==908== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:23:04] Production.INFO: Account Balance Start.
[2025-04-08 23:23:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:23:04] Production.INFO: 117
[2025-04-08 23:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:23:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:23:04] Production.INFO: ==910== Lock acquired, processing the job...
[2025-04-08 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:23:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:23:04] Production.INFO: Total Charge 0
[2025-04-08 23:23:04] Production.INFO: CreateAllLog End
[2025-04-08 23:23:04] Production.INFO: count ==12
[2025-04-08 23:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:23:04] Production.INFO: count ==23
[2025-04-08 23:23:04] Production.INFO: ==902== Releasing lock...
[2025-04-08 23:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865535') start
[2025-04-08 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865535') end
[2025-04-08 23:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:23:04] Production.INFO: 1
[2025-04-08 23:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:23:04] Production.INFO: ==910== Releasing lock...
[2025-04-08 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:23:05] Production.INFO: Account Balance End.
[2025-04-08 23:23:05] Production.ERROR: done
[2025-04-08 23:23:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:23:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:23:05] Production.INFO: ==906== Releasing lock...
[2025-04-08 23:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:23:05] Production.ERROR: done
[2025-04-08 23:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:23:06
[end_date_ymd] => 2025-04-08 23:23:06
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:23:06' and `end` < '2025-04-08 23: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-04-08 23:23:14] Production.ERROR: CronJobId end10
[2025-04-08 23:23:14] Production.INFO: ==904== Releasing lock...
[2025-04-08 23:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:23:15] Production.INFO: call_cost start
[2025-04-08 23:23:15] Production.INFO: call_cost end
[2025-04-08 23:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:23:16] Production.INFO: ==900== Releasing lock...
[2025-04-08 23:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:23:18] Production.INFO: count ==484
[2025-04-08 23:23:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:23:06 - End Time 2025-04-08 23:23:06
[2025-04-08 23:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865536', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865536', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865536', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865536', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:23:19] Production.INFO: ProcessCDR(1,14865536,1,1,2)
[2025-04-08 23:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865536', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865536', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:23:22] Production.INFO: ==908== Releasing lock...
[2025-04-08 23:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:23:22] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:24:01] Production.INFO: ==966== Lock acquired, processing the job...
[2025-04-09 04:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:24:01] Production.INFO: neon service started
[2025-04-09 04:24:01] Production.INFO: neon service started
[2025-04-09 04:24:01] Production.INFO: ==966== Releasing lock...
[2025-04-09 04:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:24:02] Production.INFO: ==970== Lock acquired, processing the job...
[2025-04-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:24:02] Production.INFO: ==970== Releasing lock...
[2025-04-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:24:02] Production.INFO: ==968== Lock acquired, processing the job...
[2025-04-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:24:02] Production.INFO: ==968== Releasing lock...
[2025-04-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:24:03] Production.INFO: ==981== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:24:03] Production.INFO: ==972== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:24:03] Production.INFO: ==983== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:24:03] Production.INFO: ==974== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:24:03] Production.INFO: ==976== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:24:03] Production.INFO: ==979== Lock acquired, processing the job...
[2025-04-08 23:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 23:24:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:24:03] Production.INFO: count ==23
[2025-04-08 23:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:24:03] Production.INFO: Account Balance Start.
[2025-04-08 23:24:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:24:03] Production.INFO: 117
[2025-04-08 23:24:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865537') start
[2025-04-08 23:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:24:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:24:03] Production.INFO: Total Charge 0
[2025-04-08 23:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:24:03] Production.INFO: CreateAllLog End
[2025-04-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865537') end
[2025-04-08 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:24:04] Production.INFO: 1
[2025-04-08 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:24:04] Production.INFO: ==983== Releasing lock...
[2025-04-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:24:04] Production.ERROR: done
[2025-04-08 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:24:04] Production.ERROR: done
[2025-04-08 23:24:04] Production.INFO: ==974== Releasing lock...
[2025-04-08 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:24:04] Production.INFO: Account Balance End.
[2025-04-08 23:24:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:24:04] Production.INFO: ==979== Releasing lock...
[2025-04-08 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:24:05
[end_date_ymd] => 2025-04-08 23:24:05
[RateCDR] => 1
)
[2025-04-08 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:24:05' and `end` < '2025-04-08 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:24:13] Production.ERROR: CronJobId end10
[2025-04-08 23:24:13] Production.INFO: ==976== Releasing lock...
[2025-04-08 23:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:24:14] Production.INFO: call_cost start
[2025-04-08 23:24:14] Production.INFO: call_cost end
[2025-04-08 23:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:24:15] Production.INFO: ==972== Releasing lock...
[2025-04-08 23:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:24:18] Production.INFO: count ==484
[2025-04-08 23:24:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:24:05 - End Time 2025-04-08 23:24:05
[2025-04-08 23:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865541', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865541', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865541', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865541', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:24:18] Production.INFO: ProcessCDR(1,14865541,1,1,2)
[2025-04-08 23:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865541', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865541', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:24:21] Production.INFO: ==981== Releasing lock...
[2025-04-08 23:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:24:21] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:25:02] Production.INFO: ==1042== Lock acquired, processing the job...
[2025-04-09 04:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:25:02] Production.INFO: neon service started
[2025-04-09 04:25:02] Production.INFO: neon service started
[2025-04-09 04:25:02] Production.INFO: ==1042== Releasing lock...
[2025-04-09 04:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:25:02] Production.INFO: ==1046== Lock acquired, processing the job...
[2025-04-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:25:02] Production.INFO: ==1046== Releasing lock...
[2025-04-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:25:02] Production.INFO: ==1044== Lock acquired, processing the job...
[2025-04-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:25:02] Production.INFO: ==1044== Releasing lock...
[2025-04-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:25:03] Production.INFO: ==1049== Lock acquired, processing the job...
[2025-04-08 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:25:03] Production.INFO: ==1053== Lock acquired, processing the job...
[2025-04-08 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:25:03] Production.INFO: ==1051== Lock acquired, processing the job...
[2025-04-08 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:25:03] Production.INFO: ==1057== Lock acquired, processing the job...
[2025-04-08 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:25:03] Production.INFO: ==1055== Lock acquired, processing the job...
[2025-04-08 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:25:04] Production.INFO: ==1059== Lock acquired, processing the job...
[2025-04-08 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:25:04] Production.INFO: Account Balance Start.
[2025-04-08 23:25:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:25:04] Production.INFO: 117
[2025-04-08 23:25:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:25:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:25:04] Production.INFO: count ==12
[2025-04-08 23:25:04] Production.INFO: Total Charge 0
[2025-04-08 23:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:25:04] Production.INFO: count ==23
[2025-04-08 23:25:04] Production.INFO: CreateAllLog End
[2025-04-08 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865544') start
[2025-04-08 23:25:04] Production.INFO: ==1051== Releasing lock...
[2025-04-08 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:25:04] Production.ERROR: done
[2025-04-08 23:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865544') end
[2025-04-08 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:25:04] Production.INFO: 1
[2025-04-08 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:25:04] Production.INFO: ==1059== Releasing lock...
[2025-04-08 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:25:04] Production.ERROR: done
[2025-04-08 23:25:04] Production.INFO: Account Balance End.
[2025-04-08 23:25:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:25:04] Production.INFO: ==1055== Releasing lock...
[2025-04-08 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:25:05
[end_date_ymd] => 2025-04-08 23:25:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:25:05' and `end` < '2025-04-08 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-04-08 23:25:12] Production.ERROR: CronJobId end10
[2025-04-08 23:25:12] Production.INFO: ==1053== Releasing lock...
[2025-04-08 23:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:25:15] Production.INFO: call_cost start
[2025-04-08 23:25:15] Production.INFO: call_cost end
[2025-04-08 23:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:25:16] Production.INFO: ==1049== Releasing lock...
[2025-04-08 23:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:25:18] Production.INFO: count ==484
[2025-04-08 23:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:25:05 - End Time 2025-04-08 23:25:05
[2025-04-08 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865546', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865546', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865546', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865546', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:25:18] Production.INFO: ProcessCDR(1,14865546,1,1,2)
[2025-04-08 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865546', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865546', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:25:22] Production.INFO: ==1057== Releasing lock...
[2025-04-08 23:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:25:22] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:26:01] Production.INFO: ==1112== Lock acquired, processing the job...
[2025-04-09 04:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:26:01] Production.INFO: neon service started
[2025-04-09 04:26:01] Production.INFO: neon service started
[2025-04-09 04:26:01] Production.INFO: ==1112== Releasing lock...
[2025-04-09 04:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:26:01] Production.INFO: ==1114== Lock acquired, processing the job...
[2025-04-08 23:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:26:02] Production.INFO: ==1114== Releasing lock...
[2025-04-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:26:02] Production.INFO: ==1116== Lock acquired, processing the job...
[2025-04-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:26:02] Production.INFO: ==1116== Releasing lock...
[2025-04-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:26:03] Production.INFO: ==1121== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:26:03] Production.INFO: ==1119== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:26:03] Production.INFO: ==1123== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:26:03] Production.INFO: ==1129== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 23:26:03] Production.INFO: ==1127== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:26:03] Production.INFO: ==1125== Lock acquired, processing the job...
[2025-04-08 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:26:03] Production.INFO: ==1121== Releasing lock...
[2025-04-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:26:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:26:03] Production.INFO: count ==23
[2025-04-08 23:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865549') start
[2025-04-08 23:26:03] Production.INFO: Account Balance Start.
[2025-04-08 23:26:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:26:03] Production.INFO: 117
[2025-04-08 23:26:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:26:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865549') end
[2025-04-08 23:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:26:03] Production.INFO: 1
[2025-04-08 23:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:26:03] Production.INFO: Total Charge 0
[2025-04-08 23:26:03] Production.INFO: CreateAllLog End
[2025-04-08 23:26:03] Production.INFO: ==1129== Releasing lock...
[2025-04-08 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:26:03] Production.INFO: Account Balance End.
[2025-04-08 23:26:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:26:03] Production.INFO: ==1125== Releasing lock...
[2025-04-08 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:26:04] Production.ERROR: done
[2025-04-08 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:26:04] Production.ERROR: done
[2025-04-08 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:26:05
[end_date_ymd] => 2025-04-08 23:26:05
[RateCDR] => 1
)
[2025-04-08 23:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:26:05' and `end` < '2025-04-08 23:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:26:12] Production.ERROR: CronJobId end10
[2025-04-08 23:26:12] Production.INFO: ==1123== Releasing lock...
[2025-04-08 23:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:26:14] Production.INFO: call_cost start
[2025-04-08 23:26:14] Production.INFO: call_cost end
[2025-04-08 23:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:26:15] Production.INFO: ==1119== Releasing lock...
[2025-04-08 23:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:26:17] Production.INFO: count ==484
[2025-04-08 23:26:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:26:05 - End Time 2025-04-08 23:26:05
[2025-04-08 23:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865551', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865551', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865551', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865551', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:26:18] Production.INFO: ProcessCDR(1,14865551,1,1,2)
[2025-04-08 23:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865551', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865551', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:26:21] Production.INFO: ==1127== Releasing lock...
[2025-04-08 23:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:26:21] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:27:01] Production.INFO: ==1191== Lock acquired, processing the job...
[2025-04-09 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:27:02] Production.INFO: neon service started
[2025-04-09 04:27:02] Production.INFO: neon service started
[2025-04-09 04:27:02] Production.INFO: ==1191== Releasing lock...
[2025-04-09 04:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:27:02] Production.INFO: ==1195== Lock acquired, processing the job...
[2025-04-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:27:02] Production.INFO: ==1195== Releasing lock...
[2025-04-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:27:02] Production.INFO: ==1193== Lock acquired, processing the job...
[2025-04-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:27:02] Production.INFO: ==1193== Releasing lock...
[2025-04-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:27:03] Production.INFO: ==1202== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:27:03] Production.INFO: ==1200== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:27:03] Production.INFO: ==1204== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:27:03] Production.INFO: Account Balance Start.
[2025-04-08 23:27:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:27:03] Production.INFO: 117
[2025-04-08 23:27:03] Production.INFO: ==1198== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:27:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:27:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:27:03] Production.INFO: ==1206== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:27:03] Production.INFO: Total Charge 0
[2025-04-08 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:27:03] Production.INFO: CreateAllLog End
[2025-04-08 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:27:03] Production.INFO: ==1208== Lock acquired, processing the job...
[2025-04-08 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:27:04] Production.INFO: ==1200== Releasing lock...
[2025-04-08 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:27:04] Production.INFO: Account Balance End.
[2025-04-08 23:27:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:27:04] Production.INFO: ==1204== Releasing lock...
[2025-04-08 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:27:04] Production.ERROR: done
[2025-04-08 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 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-04-08 23:27:04] Production.ERROR: done
[2025-04-08 23:27:04] Production.INFO: count ==12
[2025-04-08 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-04-08 23:27:04] Production.INFO: count ==23
[2025-04-08 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865555') start
[2025-04-08 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865555') end
[2025-04-08 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:27:04] Production.INFO: 1
[2025-04-08 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:27:04] Production.INFO: ==1208== Releasing lock...
[2025-04-08 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:27:05
[end_date_ymd] => 2025-04-08 23:27:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:27:05' and `end` < '2025-04-08 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-04-08 23:27:12] Production.ERROR: CronJobId end10
[2025-04-08 23:27:12] Production.INFO: ==1202== Releasing lock...
[2025-04-08 23:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:27:14] Production.INFO: call_cost start
[2025-04-08 23:27:14] Production.INFO: call_cost end
[2025-04-08 23:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:27:15] Production.INFO: ==1198== Releasing lock...
[2025-04-08 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:27:18] Production.INFO: count ==484
[2025-04-08 23:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:27:05 - End Time 2025-04-08 23:27:05
[2025-04-08 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865556', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865556', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865556', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865556', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:27:18] Production.INFO: ProcessCDR(1,14865556,1,1,2)
[2025-04-08 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865556', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865556', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:27:21] Production.INFO: ==1206== Releasing lock...
[2025-04-08 23:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:27:21] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:28:01] Production.INFO: ==1274== Lock acquired, processing the job...
[2025-04-09 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:28:01] Production.INFO: neon service started
[2025-04-09 04:28:01] Production.INFO: neon service started
[2025-04-09 04:28:01] Production.INFO: ==1274== Releasing lock...
[2025-04-09 04:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:28:01] Production.INFO: ==1276== Lock acquired, processing the job...
[2025-04-08 23:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:28:02] Production.INFO: ==1276== Releasing lock...
[2025-04-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:28:02] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-04-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:28:02] Production.INFO: ==1278== Releasing lock...
[2025-04-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:28:03] Production.INFO: ==1281== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:28:03] Production.INFO: ==1287== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:28:03] Production.INFO: ==1291== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:28:03] Production.INFO: ==1283== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:28:03] Production.INFO: Account Balance Start.
[2025-04-08 23:28:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:28:03] Production.INFO: 117
[2025-04-08 23:28:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:28:03] Production.INFO: ==1285== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:28:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:28:03] Production.INFO: count ==12
[2025-04-08 23:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:28:03] Production.INFO: Total Charge 0
[2025-04-08 23:28:03] Production.INFO: count ==23
[2025-04-08 23:28:03] Production.INFO: CreateAllLog End
[2025-04-08 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865559') start
[2025-04-08 23:28:03] Production.INFO: ==1289== Lock acquired, processing the job...
[2025-04-08 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865559') end
[2025-04-08 23:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:28:03] Production.INFO: 1
[2025-04-08 23:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:28:03] Production.INFO: Account Balance End.
[2025-04-08 23:28:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:28:03] Production.INFO: ==1287== Releasing lock...
[2025-04-08 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:28:03] Production.INFO: ==1283== Releasing lock...
[2025-04-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:28:03] Production.INFO: ==1291== Releasing lock...
[2025-04-08 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:28:04] Production.ERROR: done
[2025-04-08 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:28:04] Production.ERROR: done
[2025-04-08 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:28:05
[end_date_ymd] => 2025-04-08 23:28:05
[RateCDR] => 1
)
[2025-04-08 23:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:28:05' and `end` < '2025-04-08 23:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:28:12] Production.ERROR: CronJobId end10
[2025-04-08 23:28:12] Production.INFO: ==1285== Releasing lock...
[2025-04-08 23:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:28:14] Production.INFO: call_cost start
[2025-04-08 23:28:14] Production.INFO: call_cost end
[2025-04-08 23:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:28:15] Production.INFO: ==1281== Releasing lock...
[2025-04-08 23:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:28:18] Production.INFO: count ==485
[2025-04-08 23:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:28:05 - End Time 2025-04-08 23:28:05
[2025-04-08 23:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865561', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865561', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865561', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865561', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:28:18] Production.INFO: ProcessCDR(1,14865561,1,1,2)
[2025-04-08 23:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865561', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865561', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:28:23] Production.INFO: ==1289== Releasing lock...
[2025-04-08 23:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:28:23] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:29:02] Production.INFO: ==1347== Lock acquired, processing the job...
[2025-04-09 04:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:29:02] Production.INFO: neon service started
[2025-04-09 04:29:02] Production.INFO: neon service started
[2025-04-09 04:29:02] Production.INFO: ==1347== Releasing lock...
[2025-04-09 04:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:29:02] Production.INFO: ==1349== Lock acquired, processing the job...
[2025-04-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:29:02] Production.INFO: ==1351== Lock acquired, processing the job...
[2025-04-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:29:02] Production.INFO: ==1351== Releasing lock...
[2025-04-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:29:03] Production.INFO: ==1349== Releasing lock...
[2025-04-08 23:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:29:03] Production.INFO: ==1356== Lock acquired, processing the job...
[2025-04-08 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:29:03] Production.INFO: ==1354== Lock acquired, processing the job...
[2025-04-08 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:29:03] Production.INFO: ==1362== Lock acquired, processing the job...
[2025-04-08 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:29:04] Production.INFO: ==1358== Lock acquired, processing the job...
[2025-04-08 23:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:29:04] Production.INFO: ==1360== Lock acquired, processing the job...
[2025-04-08 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:29:04] Production.INFO: ==1364== Lock acquired, processing the job...
[2025-04-08 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:29:04] Production.INFO: ==1356== Releasing lock...
[2025-04-08 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:29:04] Production.INFO: Account Balance Start.
[2025-04-08 23:29:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:29:04] Production.INFO: 117
[2025-04-08 23:29:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:29:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:29:04] Production.INFO: Total Charge 0
[2025-04-08 23:29:04] Production.INFO: CreateAllLog End
[2025-04-08 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-04-08 23:29:04] Production.ERROR: done
[2025-04-08 23:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:29:04] Production.INFO: count ==12
[2025-04-08 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-04-08 23:29:04] Production.INFO: count ==23
[2025-04-08 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865565') start
[2025-04-08 23:29:04] Production.ERROR: done
[2025-04-08 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865565') end
[2025-04-08 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:29:04] Production.INFO: 1
[2025-04-08 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:29:04] Production.INFO: Account Balance End.
[2025-04-08 23:29:04] Production.INFO: ==1364== Releasing lock...
[2025-04-08 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:29:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:29:04] Production.INFO: ==1360== Releasing lock...
[2025-04-08 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:29:05
[end_date_ymd] => 2025-04-08 23:29:05
[RateCDR] => 1
)
[2025-04-08 23:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:29:05' and `end` < '2025-04-08 23:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:29:13] Production.ERROR: CronJobId end10
[2025-04-08 23:29:13] Production.INFO: ==1358== Releasing lock...
[2025-04-08 23:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:29:15] Production.INFO: call_cost start
[2025-04-08 23:29:15] Production.INFO: call_cost end
[2025-04-08 23:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:29:16] Production.INFO: ==1354== Releasing lock...
[2025-04-08 23:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:29:18] Production.INFO: count ==483
[2025-04-08 23:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:29:05 - End Time 2025-04-08 23:29:05
[2025-04-08 23:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865566', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865566', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865566', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865566', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:29:18] Production.INFO: ProcessCDR(1,14865566,1,1,2)
[2025-04-08 23:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865566', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865566', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:29:22] Production.INFO: ==1362== Releasing lock...
[2025-04-08 23:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:29:22] Production.INFO: 31 MB #Memory Used#
[2025-04-09 04:30:01] Production.INFO: ==1421== Lock acquired, processing the job...
[2025-04-09 04:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:30:01] Production.INFO: neon service started
[2025-04-09 04:30:01] Production.INFO: neon service started
[2025-04-09 04:30:01] Production.INFO: ==1421== Releasing lock...
[2025-04-09 04:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:30:01] Production.INFO: ==1425== Lock acquired, processing the job...
[2025-04-09 03:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:30:01] Production.INFO: ==1425== Releasing lock...
[2025-04-09 03:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:30:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:30:01] Production.INFO: ==1423== Lock acquired, processing the job...
[2025-04-08 23:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:30:02] Production.INFO: ==1423== Releasing lock...
[2025-04-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:30:03] Production.INFO: ==1427== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:30:03] Production.INFO: ==1429== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:30:03] Production.INFO: ==1427== Releasing lock...
[2025-04-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:30:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:30:03] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:30:03] Production.INFO: ==1431== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:30:03] Production.INFO: Account Balance Start.
[2025-04-08 23:30:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:30:03] Production.INFO: 117
[2025-04-08 23:30:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:30:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:30:03] Production.INFO: Total Charge 0
[2025-04-08 23:30:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:30:03] Production.INFO: ==1433== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:30:03] Production.INFO: CreateAllLog End
[2025-04-08 23:30:03] Production.INFO: ==1442== Lock acquired, processing the job...
[2025-04-08 23:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:30:04] Production.INFO: Account Balance End.
[2025-04-08 23:30:04] Production.ERROR: done
[2025-04-08 23:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:30:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:30:04] Production.INFO: ==1436== Releasing lock...
[2025-04-08 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:30:04] Production.INFO: count ==12
[2025-04-08 23:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:30:04] Production.INFO: count ==23
[2025-04-08 23:30:04] Production.ERROR: done
[2025-04-08 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:30:04] Production.INFO: ==1431== Releasing lock...
[2025-04-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865570') start
[2025-04-08 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865571', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:30:04] Production.ERROR: done
[2025-04-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865570') end
[2025-04-08 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:30:04] Production.INFO: 1
[2025-04-08 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:30:04] Production.INFO: ==1442== Releasing lock...
[2025-04-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:30:05
[end_date_ymd] => 2025-04-08 23:30:05
[RateCDR] => 1
)
[2025-04-08 23:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:30:05' and `end` < '2025-04-08 23:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865571', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:30:08] Production.INFO: ProcessCDR(1,14865571,1,1,2)
[2025-04-08 23:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:30:08] Production.INFO: ==1440== Releasing lock...
[2025-04-08 23:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:30:15] Production.ERROR: CronJobId end10
[2025-04-08 23:30:15] Production.INFO: ==1433== Releasing lock...
[2025-04-08 23:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:30:16] Production.INFO: call_cost start
[2025-04-08 23:30:16] Production.INFO: call_cost end
[2025-04-08 23:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:30:17] Production.INFO: ==1429== Releasing lock...
[2025-04-08 23:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:30:18] Production.INFO: count ==475
[2025-04-08 23:30:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:30:05 - End Time 2025-04-08 23:30:05
[2025-04-08 23:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865572', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865572', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865572', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865572', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:30:18] Production.INFO: ProcessCDR(1,14865572,1,1,2)
[2025-04-08 23:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865572', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865572', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:30:22] Production.INFO: ==1438== Releasing lock...
[2025-04-08 23:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:30:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:31:01] Production.INFO: ==1495== Lock acquired, processing the job...
[2025-04-09 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:31:01] Production.INFO: neon service started
[2025-04-09 04:31:01] Production.INFO: neon service started
[2025-04-09 04:31:01] Production.INFO: ==1495== Releasing lock...
[2025-04-09 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:31:02] Production.INFO: ==1497== Lock acquired, processing the job...
[2025-04-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:31:02] Production.INFO: ==1497== Releasing lock...
[2025-04-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:31:02] Production.INFO: ==1499== Lock acquired, processing the job...
[2025-04-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:31:02] Production.INFO: ==1499== Releasing lock...
[2025-04-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:31:03] Production.INFO: ==1505== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:31:03] Production.INFO: ==1535== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:31:03] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:31:03] Production.INFO: ==1541== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:31:03] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:31:03] Production.INFO: ==1543== Lock acquired, processing the job...
[2025-04-08 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:31:03] Production.INFO: Account Balance Start.
[2025-04-08 23:31:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:31:03] Production.INFO: 117
[2025-04-08 23:31:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:31:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:31:03] Production.INFO: ==1535== Releasing lock...
[2025-04-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 23:31:03] Production.INFO: count ==12
[2025-04-08 23:31:03] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 23:31:03] Production.INFO: CreateAllLog End
[2025-04-08 23:31:03] Production.INFO: count ==23
[2025-04-08 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865576') start
[2025-04-08 23:31:03] Production.ERROR: done
[2025-04-08 23:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865576') end
[2025-04-08 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:31:04] Production.INFO: 1
[2025-04-08 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:31:04] Production.ERROR: done
[2025-04-08 23:31:04] Production.INFO: ==1543== Releasing lock...
[2025-04-08 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:31:04] Production.INFO: Account Balance End.
[2025-04-08 23:31:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:31:04] Production.INFO: ==1539== Releasing lock...
[2025-04-08 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:31:05
[end_date_ymd] => 2025-04-08 23:31:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:31:05' and `end` < '2025-04-08 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-04-08 23:31:13] Production.ERROR: CronJobId end10
[2025-04-08 23:31:13] Production.INFO: ==1537== Releasing lock...
[2025-04-08 23:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:31:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:31:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:31:15] Production.INFO: call_cost start
[2025-04-08 23:31:15] Production.INFO: call_cost end
[2025-04-08 23:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:31:16] Production.INFO: ==1505== Releasing lock...
[2025-04-08 23:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:31:18] Production.INFO: count ==444
[2025-04-08 23:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:31:05 - End Time 2025-04-08 23:31:05
[2025-04-08 23:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865577', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865577', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865577', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865577', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:31:18] Production.INFO: ProcessCDR(1,14865577,1,1,2)
[2025-04-08 23:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865577', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865577', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:31:21] Production.INFO: ==1541== Releasing lock...
[2025-04-08 23:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:31:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:32:02] Production.INFO: ==1604== Lock acquired, processing the job...
[2025-04-09 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:32:02] Production.INFO: neon service started
[2025-04-09 04:32:02] Production.INFO: neon service started
[2025-04-09 04:32:02] Production.INFO: ==1604== Releasing lock...
[2025-04-09 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:32:02] Production.INFO: ==1607== Lock acquired, processing the job...
[2025-04-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:32:03] Production.INFO: ==1607== Releasing lock...
[2025-04-08 23:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:32:03] Production.INFO: ==1609== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:32:03] Production.INFO: ==1609== Releasing lock...
[2025-04-09 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:32:04] Production.INFO: ==1611== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:32:04] Production.INFO: ==1613== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:32:04] Production.INFO: ==1615== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:32:04] Production.INFO: ==1619== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:32:04] Production.INFO: ==1621== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:32:04] Production.INFO: ==1617== Lock acquired, processing the job...
[2025-04-08 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:32:04] Production.INFO: Account Balance Start.
[2025-04-08 23:32:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:32:04] Production.INFO: 117
[2025-04-08 23:32:04] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 23:32:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:32:04] Production.INFO: count ==12
[2025-04-08 23:32:04] Production.INFO: ==1613== Releasing lock...
[2025-04-08 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 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-04-08 23:32:04] Production.INFO: count ==23
[2025-04-08 23:32:04] Production.INFO: Total Charge 0
[2025-04-08 23:32:04] Production.INFO: CreateAllLog End
[2025-04-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865581') start
[2025-04-08 23:32:04] Production.ERROR: done
[2025-04-08 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865581') end
[2025-04-08 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:32:04] Production.INFO: 1
[2025-04-08 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:32:04] Production.INFO: ==1621== Releasing lock...
[2025-04-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:32:05] Production.ERROR: done
[2025-04-08 23:32:05] Production.INFO: Account Balance End.
[2025-04-08 23:32:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:32:05] Production.INFO: ==1617== Releasing lock...
[2025-04-08 23:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:32:06
[end_date_ymd] => 2025-04-08 23:32:06
[RateCDR] => 1
)
[2025-04-08 23:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:32:06' and `end` < '2025-04-08 23:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:32:13] Production.ERROR: CronJobId end10
[2025-04-08 23:32:13] Production.INFO: ==1615== Releasing lock...
[2025-04-08 23:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:32:15] Production.INFO: call_cost start
[2025-04-08 23:32:15] Production.INFO: call_cost end
[2025-04-08 23:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:32:16] Production.INFO: ==1611== Releasing lock...
[2025-04-08 23:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:32:18] Production.INFO: count ==444
[2025-04-08 23:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:32:06 - End Time 2025-04-08 23:32:06
[2025-04-08 23:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865582', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865582', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865582', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865582', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:32:19] Production.INFO: ProcessCDR(1,14865582,1,1,2)
[2025-04-08 23:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865582', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865582', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:32:22] Production.INFO: ==1619== Releasing lock...
[2025-04-08 23:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:32:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:33:01] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-04-09 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:33:01] Production.INFO: neon service started
[2025-04-09 04:33:01] Production.INFO: neon service started
[2025-04-09 04:33:01] Production.INFO: ==1683== Releasing lock...
[2025-04-09 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:33:02] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-04-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:33:02] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-04-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:33:02] Production.INFO: ==1687== Releasing lock...
[2025-04-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:33:02] Production.INFO: ==1685== Releasing lock...
[2025-04-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:33:03] Production.INFO: ==1690== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:33:03] Production.INFO: ==1692== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:33:03] Production.INFO: ==1696== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:33:03] Production.INFO: ==1694== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:33:03] Production.INFO: ==1698== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:33:03] Production.INFO: ==1700== Lock acquired, processing the job...
[2025-04-08 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:33:03] Production.INFO: Account Balance Start.
[2025-04-08 23:33:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:33:03] Production.INFO: 117
[2025-04-08 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:33:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:33:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:33:04] Production.INFO: Total Charge 0
[2025-04-08 23:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:33:04] Production.INFO: CreateAllLog End
[2025-04-08 23: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-04-08 23:33:04] Production.INFO: ==1692== Releasing lock...
[2025-04-08 23:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:33:04] Production.INFO: count ==12
[2025-04-08 23: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-04-08 23:33:04] Production.INFO: count ==23
[2025-04-08 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865586') start
[2025-04-08 23:33:04] Production.INFO: Account Balance End.
[2025-04-08 23:33:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:33:04] Production.INFO: ==1696== Releasing lock...
[2025-04-08 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:33:04] Production.ERROR: done
[2025-04-08 23:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865586') end
[2025-04-08 23:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:33:04] Production.INFO: 1
[2025-04-08 23:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:33:04] Production.INFO: ==1700== Releasing lock...
[2025-04-08 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:33:04] Production.ERROR: done
[2025-04-08 23:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:33:05
[end_date_ymd] => 2025-04-08 23:33:05
[RateCDR] => 1
)
[2025-04-08 23:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:33:05' and `end` < '2025-04-08 23:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:33:12] Production.ERROR: CronJobId end10
[2025-04-08 23:33:12] Production.INFO: ==1694== Releasing lock...
[2025-04-08 23:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:33:14] Production.INFO: call_cost start
[2025-04-08 23:33:14] Production.INFO: call_cost end
[2025-04-08 23:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:33:15] Production.INFO: ==1690== Releasing lock...
[2025-04-08 23:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:33:18] Production.INFO: count ==444
[2025-04-08 23:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:33:05 - End Time 2025-04-08 23:33:05
[2025-04-08 23:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865587', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865587', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865587', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865587', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:33:18] Production.INFO: ProcessCDR(1,14865587,1,1,2)
[2025-04-08 23:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865587', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865587', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:33:22] Production.INFO: ==1698== Releasing lock...
[2025-04-08 23:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:33:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:34:02] Production.INFO: ==1795== Lock acquired, processing the job...
[2025-04-09 04:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:34:02] Production.INFO: neon service started
[2025-04-09 04:34:02] Production.INFO: neon service started
[2025-04-09 04:34:02] Production.INFO: ==1795== Releasing lock...
[2025-04-09 04:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:34:02] Production.INFO: ==1797== Lock acquired, processing the job...
[2025-04-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:34:02] Production.INFO: ==1797== Releasing lock...
[2025-04-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:34:03] Production.INFO: ==1799== Lock acquired, processing the job...
[2025-04-09 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:34:03] Production.INFO: ==1799== Releasing lock...
[2025-04-09 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:34:03] Production.INFO: ==1801== Lock acquired, processing the job...
[2025-04-08 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:34:04] Production.INFO: ==1805== Lock acquired, processing the job...
[2025-04-08 23:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:34:04] Production.INFO: ==1803== Lock acquired, processing the job...
[2025-04-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:34:04] Production.INFO: ==1811== Lock acquired, processing the job...
[2025-04-08 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:34:04] Production.INFO: ==1809== Lock acquired, processing the job...
[2025-04-08 23:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:34:04] Production.INFO: ==1807== Lock acquired, processing the job...
[2025-04-08 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:34:04] Production.INFO: count ==12
[2025-04-08 23:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:34:04] Production.INFO: count ==23
[2025-04-08 23:34:04] Production.INFO: Account Balance Start.
[2025-04-08 23:34:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:34:04] Production.INFO: 117
[2025-04-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865589') start
[2025-04-08 23:34:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:34:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:34:04] Production.INFO: ==1803== Releasing lock...
[2025-04-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865589') end
[2025-04-08 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:34:04] Production.INFO: 1
[2025-04-08 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:34:04] Production.INFO: Total Charge 0
[2025-04-08 23:34:04] Production.INFO: CreateAllLog End
[2025-04-08 23:34:04] Production.INFO: ==1811== Releasing lock...
[2025-04-08 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:34:04] Production.ERROR: done
[2025-04-08 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:34:04] Production.INFO: Account Balance End.
[2025-04-08 23:34:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:34:04] Production.INFO: ==1807== Releasing lock...
[2025-04-08 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:34:05] Production.ERROR: done
[2025-04-08 23:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:34:06
[end_date_ymd] => 2025-04-08 23:34:06
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:34:06' and `end` < '2025-04-08 23: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-04-08 23:34:13] Production.ERROR: CronJobId end10
[2025-04-08 23:34:13] Production.INFO: ==1805== Releasing lock...
[2025-04-08 23:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:34:14] Production.INFO: call_cost start
[2025-04-08 23:34:14] Production.INFO: call_cost end
[2025-04-08 23:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:34:15] Production.INFO: ==1801== Releasing lock...
[2025-04-08 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:34:19] Production.INFO: count ==454
[2025-04-08 23:34:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:34:06 - End Time 2025-04-08 23:34:06
[2025-04-08 23:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865592', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865592', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865592', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865592', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:34:19] Production.INFO: ProcessCDR(1,14865592,1,1,2)
[2025-04-08 23:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865592', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865592', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:34:22] Production.INFO: ==1809== Releasing lock...
[2025-04-08 23:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:34:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:35:01] Production.INFO: ==1870== Lock acquired, processing the job...
[2025-04-09 04:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:35:01] Production.INFO: neon service started
[2025-04-09 04:35:01] Production.INFO: neon service started
[2025-04-09 04:35:01] Production.INFO: ==1870== Releasing lock...
[2025-04-09 04:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:35:02] Production.INFO: ==1874== Lock acquired, processing the job...
[2025-04-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:35:02] Production.INFO: ==1874== Releasing lock...
[2025-04-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:35:02] Production.INFO: ==1872== Lock acquired, processing the job...
[2025-04-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:35:02] Production.INFO: ==1872== Releasing lock...
[2025-04-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:35:03] Production.INFO: ==1879== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:35:03] Production.INFO: ==1885== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:35:03] Production.INFO: ==1877== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:35:03] Production.INFO: ==1883== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:35:03] Production.INFO: ==1881== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:35:03] Production.INFO: ==1887== Lock acquired, processing the job...
[2025-04-08 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:35:03] Production.INFO: Account Balance Start.
[2025-04-08 23:35:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:35:03] Production.INFO: 117
[2025-04-08 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:35:03] Production.INFO: ==1879== Releasing lock...
[2025-04-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:35:03] Production.INFO: Date 2025-04-08
[2025-04-08 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-04-08 23:35:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:35:03] Production.ERROR: done
[2025-04-08 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:35:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:35:03] Production.INFO: count ==23
[2025-04-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865594') start
[2025-04-08 23:35:03] Production.INFO: Total Charge 0
[2025-04-08 23:35:03] Production.ERROR: done
[2025-04-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865594') end
[2025-04-08 23:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:35:03] Production.INFO: 1
[2025-04-08 23:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:35:03] Production.INFO: CreateAllLog End
[2025-04-08 23:35:04] Production.INFO: ==1887== Releasing lock...
[2025-04-08 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:35:04] Production.INFO: Account Balance End.
[2025-04-08 23:35:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:35:04] Production.INFO: ==1883== Releasing lock...
[2025-04-08 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:35:05
[end_date_ymd] => 2025-04-08 23:35:05
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:35:05' and `end` < '2025-04-08 23: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-04-08 23:35:12] Production.ERROR: CronJobId end10
[2025-04-08 23:35:12] Production.INFO: ==1881== Releasing lock...
[2025-04-08 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:35:13] Production.INFO: call_cost start
[2025-04-08 23:35:13] Production.INFO: call_cost end
[2025-04-08 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:35:14] Production.INFO: ==1877== Releasing lock...
[2025-04-08 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:35:17] Production.INFO: count ==451
[2025-04-08 23:35:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:35:05 - End Time 2025-04-08 23:35:05
[2025-04-08 23:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865597', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865597', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865597', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865597', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:35:17] Production.INFO: ProcessCDR(1,14865597,1,1,2)
[2025-04-08 23:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865597', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865597', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:35:21] Production.INFO: ==1885== Releasing lock...
[2025-04-08 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:35:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:36:02] Production.INFO: ==1944== Lock acquired, processing the job...
[2025-04-09 04:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:36:02] Production.INFO: neon service started
[2025-04-09 04:36:02] Production.INFO: neon service started
[2025-04-09 04:36:02] Production.INFO: ==1944== Releasing lock...
[2025-04-09 04:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:36:02] Production.INFO: ==1946== Lock acquired, processing the job...
[2025-04-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:36:02] Production.INFO: ==1948== Lock acquired, processing the job...
[2025-04-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:36:02] Production.INFO: ==1948== Releasing lock...
[2025-04-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:36:03] Production.INFO: ==1946== Releasing lock...
[2025-04-08 23:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:36:04] Production.INFO: ==1957== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:36:04] Production.INFO: ==1959== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:36:04] Production.INFO: Account Balance Start.
[2025-04-08 23:36:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:36:04] Production.INFO: 117
[2025-04-08 23:36:04] Production.INFO: ==1951== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:36:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:36:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:36:04] Production.INFO: ==1953== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:36:04] Production.INFO: Total Charge 0
[2025-04-08 23:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:36:04] Production.INFO: CreateAllLog End
[2025-04-08 23:36:04] Production.INFO: ==1955== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:36:04] Production.INFO: ==1961== Lock acquired, processing the job...
[2025-04-08 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:36:04] Production.ERROR: done
[2025-04-08 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:36:04] Production.ERROR: done
[2025-04-08 23:36:04] Production.INFO: count ==12
[2025-04-08 23:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:36:04] Production.INFO: count ==23
[2025-04-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865600') start
[2025-04-08 23:36:04] Production.INFO: Account Balance End.
[2025-04-08 23:36:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:36:04] Production.INFO: ==1957== Releasing lock...
[2025-04-08 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865600') end
[2025-04-08 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:36:04] Production.INFO: 1
[2025-04-08 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:36:04] Production.INFO: ==1961== Releasing lock...
[2025-04-08 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:36:04] Production.INFO: ==1953== Releasing lock...
[2025-04-08 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:36:05
[end_date_ymd] => 2025-04-08 23:36:05
[RateCDR] => 1
)
[2025-04-08 23:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:36:05' and `end` < '2025-04-08 23:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:36:13] Production.ERROR: CronJobId end10
[2025-04-08 23:36:13] Production.INFO: ==1955== Releasing lock...
[2025-04-08 23:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:36:14] Production.INFO: call_cost start
[2025-04-08 23:36:14] Production.INFO: call_cost end
[2025-04-08 23:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:36:15] Production.INFO: ==1951== Releasing lock...
[2025-04-08 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:36:18] Production.INFO: count ==451
[2025-04-08 23:36:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:36:05 - End Time 2025-04-08 23:36:05
[2025-04-08 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865602', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865602', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865602', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865602', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:36:18] Production.INFO: ProcessCDR(1,14865602,1,1,2)
[2025-04-08 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865602', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865602', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:36:22] Production.INFO: ==1959== Releasing lock...
[2025-04-08 23:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:36:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:37:01] Production.INFO: ==2014== Lock acquired, processing the job...
[2025-04-09 04:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:37:01] Production.INFO: neon service started
[2025-04-09 04:37:01] Production.INFO: neon service started
[2025-04-09 04:37:01] Production.INFO: ==2014== Releasing lock...
[2025-04-09 04:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:37:02] Production.INFO: ==2016== Lock acquired, processing the job...
[2025-04-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:37:02] Production.INFO: ==2016== Releasing lock...
[2025-04-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:37:02] Production.INFO: ==2018== Lock acquired, processing the job...
[2025-04-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:37:02] Production.INFO: ==2018== Releasing lock...
[2025-04-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:37:03] Production.INFO: ==2024== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:37:03] Production.INFO: ==2030== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:37:03] Production.INFO: count ==12
[2025-04-08 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:37:03] Production.INFO: count ==23
[2025-04-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865603') start
[2025-04-08 23:37:03] Production.INFO: ==2020== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:37:03] Production.INFO: ==2022== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:37:03] Production.INFO: ==2026== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:37:03] Production.INFO: ==2028== Lock acquired, processing the job...
[2025-04-08 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865603') end
[2025-04-08 23:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:37:03] Production.INFO: 1
[2025-04-08 23:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:37:03] Production.INFO: Account Balance Start.
[2025-04-08 23:37:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:37:03] Production.INFO: 117
[2025-04-08 23:37:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:37:03] Production.INFO: ==2030== Releasing lock...
[2025-04-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:37:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:37:03] Production.INFO: Total Charge 0
[2025-04-08 23:37:03] Production.INFO: CreateAllLog End
[2025-04-08 23:37:03] Production.INFO: ==2022== Releasing lock...
[2025-04-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:37:04] Production.INFO: Account Balance End.
[2025-04-08 23:37:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:37:04] Production.INFO: ==2026== Releasing lock...
[2025-04-08 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:37:04] Production.ERROR: done
[2025-04-08 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:37:04] Production.ERROR: done
[2025-04-08 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:37:05
[end_date_ymd] => 2025-04-08 23:37:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:37:05' and `end` < '2025-04-08 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-04-08 23:37:12] Production.ERROR: CronJobId end10
[2025-04-08 23:37:12] Production.INFO: ==2024== Releasing lock...
[2025-04-08 23:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:37:14] Production.INFO: call_cost start
[2025-04-08 23:37:14] Production.INFO: call_cost end
[2025-04-08 23:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:37:15] Production.INFO: ==2020== Releasing lock...
[2025-04-08 23:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:37:18] Production.INFO: count ==450
[2025-04-08 23:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:37:05 - End Time 2025-04-08 23:37:05
[2025-04-08 23:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865607', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865607', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865607', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865607', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:37:18] Production.INFO: ProcessCDR(1,14865607,1,1,2)
[2025-04-08 23:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865607', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865607', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:37:21] Production.INFO: ==2028== Releasing lock...
[2025-04-08 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:37:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:38:02] Production.INFO: ==2088== Lock acquired, processing the job...
[2025-04-09 04:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:38:02] Production.INFO: neon service started
[2025-04-09 04:38:02] Production.INFO: neon service started
[2025-04-09 04:38:02] Production.INFO: ==2088== Releasing lock...
[2025-04-09 04:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:38:02] Production.INFO: ==2090== Lock acquired, processing the job...
[2025-04-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:38:02] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-04-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:38:02] Production.INFO: ==2092== Releasing lock...
[2025-04-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:38:03] Production.INFO: ==2090== Releasing lock...
[2025-04-08 23:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:38:04] Production.INFO: ==2097== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:38:04] Production.INFO: ==2099== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:38:04] Production.INFO: ==2103== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:38:04] Production.INFO: ==2095== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:38:04] Production.INFO: ==2097== Releasing lock...
[2025-04-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:38:04] Production.INFO: ==2101== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:38:04] Production.INFO: ==2105== Lock acquired, processing the job...
[2025-04-08 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:38:04] Production.INFO: Account Balance Start.
[2025-04-08 23:38:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:38:04] Production.INFO: 117
[2025-04-08 23:38:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:38:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:38:04] Production.INFO: Total Charge 0
[2025-04-08 23:38:04] Production.INFO: CreateAllLog End
[2025-04-08 23: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-04-08 23:38:04] Production.INFO: count ==12
[2025-04-08 23:38:04] Production.ERROR: done
[2025-04-08 23:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:38:04] Production.INFO: count ==23
[2025-04-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865611') start
[2025-04-08 23:38:04] Production.ERROR: done
[2025-04-08 23:38:04] Production.INFO: Account Balance End.
[2025-04-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865611') end
[2025-04-08 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:38:04] Production.INFO: 1
[2025-04-08 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:38:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:38:05] Production.INFO: ==2101== Releasing lock...
[2025-04-08 23:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:38:05] Production.INFO: ==2105== Releasing lock...
[2025-04-08 23:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:38:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:38:06
[end_date_ymd] => 2025-04-08 23:38:06
[RateCDR] => 1
)
[2025-04-08 23:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:38:06' and `end` < '2025-04-08 23:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:38:13] Production.ERROR: CronJobId end10
[2025-04-08 23:38:13] Production.INFO: ==2099== Releasing lock...
[2025-04-08 23:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:38:15] Production.INFO: call_cost start
[2025-04-08 23:38:15] Production.INFO: call_cost end
[2025-04-08 23:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:38:16] Production.INFO: ==2095== Releasing lock...
[2025-04-08 23:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:38:18] Production.INFO: count ==450
[2025-04-08 23:38:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:38:06 - End Time 2025-04-08 23:38:06
[2025-04-08 23:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865612', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865612', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865612', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865612', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:38:19] Production.INFO: ProcessCDR(1,14865612,1,1,2)
[2025-04-08 23:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865612', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865612', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:38:22] Production.INFO: ==2103== Releasing lock...
[2025-04-08 23:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:38:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:39:01] Production.INFO: ==2160== Lock acquired, processing the job...
[2025-04-09 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:39:01] Production.INFO: neon service started
[2025-04-09 04:39:01] Production.INFO: neon service started
[2025-04-09 04:39:01] Production.INFO: ==2160== Releasing lock...
[2025-04-09 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:39:02] Production.INFO: ==2162== Lock acquired, processing the job...
[2025-04-08 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:39:02] Production.INFO: ==2162== Releasing lock...
[2025-04-08 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:39:02] Production.INFO: ==2164== Lock acquired, processing the job...
[2025-04-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:39:02] Production.INFO: ==2164== Releasing lock...
[2025-04-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:39:03] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:39:03] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 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-04-08 23:39:03] Production.INFO: ==2169== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:39:03] Production.INFO: ==2171== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:39:03] Production.INFO: count ==12
[2025-04-08 23:39:03] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 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-04-08 23:39:03] Production.INFO: count ==23
[2025-04-08 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865614') start
[2025-04-08 23:39:03] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-04-08 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:39:03] Production.INFO: Account Balance Start.
[2025-04-08 23:39:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:39:03] Production.INFO: 117
[2025-04-08 23:39:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:39:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:39:03] Production.INFO: Total Charge 0
[2025-04-08 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865614') end
[2025-04-08 23:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:39:03] Production.INFO: 1
[2025-04-08 23:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:39:03] Production.INFO: CreateAllLog End
[2025-04-08 23:39:03] Production.INFO: ==2177== Releasing lock...
[2025-04-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:39:04] Production.INFO: ==2169== Releasing lock...
[2025-04-08 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:39:04] Production.INFO: Account Balance End.
[2025-04-08 23:39:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:39:04] Production.INFO: ==2173== Releasing lock...
[2025-04-08 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:39:04] Production.ERROR: done
[2025-04-08 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:39:04] Production.ERROR: done
[2025-04-08 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:39:05
[end_date_ymd] => 2025-04-08 23:39:05
[RateCDR] => 1
)
[2025-04-08 23:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:39:05' and `end` < '2025-04-08 23:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:39:12] Production.ERROR: CronJobId end10
[2025-04-08 23:39:12] Production.INFO: ==2171== Releasing lock...
[2025-04-08 23:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:39:14] Production.INFO: call_cost start
[2025-04-08 23:39:14] Production.INFO: call_cost end
[2025-04-08 23:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:39:15] Production.INFO: ==2167== Releasing lock...
[2025-04-08 23:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:39:18] Production.INFO: count ==448
[2025-04-08 23:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:39:05 - End Time 2025-04-08 23:39:05
[2025-04-08 23:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865617', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865617', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865617', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865617', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:39:18] Production.INFO: ProcessCDR(1,14865617,1,1,2)
[2025-04-08 23:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865617', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865617', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:39:21] Production.INFO: ==2175== Releasing lock...
[2025-04-08 23:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:39:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:40:02] Production.INFO: ==2235== Lock acquired, processing the job...
[2025-04-09 04:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:40:02] Production.INFO: neon service started
[2025-04-09 04:40:02] Production.INFO: neon service started
[2025-04-09 04:40:02] Production.INFO: ==2235== Releasing lock...
[2025-04-09 04:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:40:02] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-04-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:40:02] Production.INFO: ==2237== Releasing lock...
[2025-04-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:40:03] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-04-09 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:40:03] Production.INFO: ==2239== Releasing lock...
[2025-04-09 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:40:04] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:40:04] Production.INFO: ==2245== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:40:04] Production.INFO: ==2241== Releasing lock...
[2025-04-08 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:40:04] Production.INFO: ==2243== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:40:04] Production.INFO: ==2256== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:40:04] Production.INFO: ==2247== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:40:04] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:40:04] Production.INFO: ==2254== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:40:04] Production.INFO: ==2251== Lock acquired, processing the job...
[2025-04-08 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:40:04] Production.INFO: ==2245== Releasing lock...
[2025-04-08 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:40:04] Production.INFO: Account Balance Start.
[2025-04-08 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:40:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:40:04] Production.INFO: 117
[2025-04-08 23:40:04] Production.INFO: count ==12
[2025-04-08 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:40:04] Production.INFO: count ==23
[2025-04-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865619') start
[2025-04-08 23:40:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:40:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:40:04] Production.INFO: Total Charge 0
[2025-04-08 23:40:04] Production.INFO: CreateAllLog End
[2025-04-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865619') end
[2025-04-08 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:40:04] Production.INFO: 1
[2025-04-08 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:40:05] Production.ERROR: done
[2025-04-08 23:40:05] Production.INFO: ==2256== Releasing lock...
[2025-04-08 23:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:40:05] Production.ERROR: done
[2025-04-08 23:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865622', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:40:05] Production.ERROR: done
[2025-04-08 23:40:05] Production.INFO: Account Balance End.
[2025-04-08 23:40:05] Production.ERROR: CronJobId end 12
[2025-04-08 23:40:05] Production.INFO: ==2249== Releasing lock...
[2025-04-08 23:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:40:06
[end_date_ymd] => 2025-04-08 23:40:06
[RateCDR] => 1
)
[2025-04-08 23:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:40:06' and `end` < '2025-04-08 23:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865622', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:40:09] Production.INFO: ProcessCDR(1,14865622,1,1,2)
[2025-04-08 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:40:10] Production.INFO: ==2254== Releasing lock...
[2025-04-08 23:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:40:15] Production.ERROR: CronJobId end10
[2025-04-08 23:40:15] Production.INFO: ==2247== Releasing lock...
[2025-04-08 23:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:40:17] Production.INFO: call_cost start
[2025-04-08 23:40:17] Production.INFO: call_cost end
[2025-04-08 23:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:40:18] Production.INFO: ==2243== Releasing lock...
[2025-04-08 23:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:40:19] Production.INFO: count ==447
[2025-04-08 23:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:40:06 - End Time 2025-04-08 23:40:06
[2025-04-08 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865623', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865623', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865623', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865623', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:40:19] Production.INFO: ProcessCDR(1,14865623,1,1,2)
[2025-04-08 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865623', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865623', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:40:23] Production.INFO: ==2251== Releasing lock...
[2025-04-08 23:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:40:23] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 04:41:01] Production.INFO: ==2312== Lock acquired, processing the job...
[2025-04-09 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:41:01] Production.INFO: neon service started
[2025-04-09 04:41:01] Production.INFO: neon service started
[2025-04-09 04:41:01] Production.INFO: ==2312== Releasing lock...
[2025-04-09 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:41:02] Production.INFO: ==2314== Lock acquired, processing the job...
[2025-04-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:41:02] Production.INFO: ==2316== Lock acquired, processing the job...
[2025-04-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:41:02] Production.INFO: ==2316== Releasing lock...
[2025-04-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:41:02] Production.INFO: ==2314== Releasing lock...
[2025-04-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:41:03] Production.INFO: ==2319== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:41:03] Production.INFO: ==2329== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:41:03] Production.INFO: ==2321== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:41:03] Production.INFO: ==2323== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:41:03] Production.INFO: count ==12
[2025-04-08 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:41:03] Production.INFO: count ==23
[2025-04-08 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865625') start
[2025-04-08 23:41:03] Production.INFO: ==2327== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:41:03] Production.INFO: ==2325== Lock acquired, processing the job...
[2025-04-08 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865625') end
[2025-04-08 23:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:41:03] Production.INFO: 1
[2025-04-08 23:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:41:04] Production.INFO: Account Balance Start.
[2025-04-08 23:41:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:41:04] Production.INFO: 117
[2025-04-08 23:41:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:41:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:41:04] Production.INFO: Total Charge 0
[2025-04-08 23:41:04] Production.INFO: CreateAllLog End
[2025-04-08 23:41:04] Production.INFO: ==2329== Releasing lock...
[2025-04-08 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:41:04] Production.INFO: ==2321== Releasing lock...
[2025-04-08 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:41:04] Production.ERROR: done
[2025-04-08 23:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:41:04] Production.INFO: Account Balance End.
[2025-04-08 23:41:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:41:04] Production.INFO: ==2325== Releasing lock...
[2025-04-08 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:41:04] Production.ERROR: done
[2025-04-08 23:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:41:06
[end_date_ymd] => 2025-04-08 23:41:06
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:41:06' and `end` < '2025-04-08 23: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-04-08 23:41:13] Production.ERROR: CronJobId end10
[2025-04-08 23:41:13] Production.INFO: ==2323== Releasing lock...
[2025-04-08 23:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:41:15] Production.INFO: call_cost start
[2025-04-08 23:41:15] Production.INFO: call_cost end
[2025-04-08 23:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:41:16] Production.INFO: ==2319== Releasing lock...
[2025-04-08 23:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:41:18] Production.INFO: count ==429
[2025-04-08 23:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:41:06 - End Time 2025-04-08 23:41:06
[2025-04-08 23:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865628', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865628', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865628', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865628', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:41:18] Production.INFO: ProcessCDR(1,14865628,1,1,2)
[2025-04-08 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865628', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865628', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:41:23] Production.INFO: ==2327== Releasing lock...
[2025-04-08 23:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:41:23] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:42:02] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-04-09 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:42:02] Production.INFO: neon service started
[2025-04-09 04:42:02] Production.INFO: neon service started
[2025-04-09 04:42:02] Production.INFO: ==2384== Releasing lock...
[2025-04-09 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:42:02] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-04-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:42:02] Production.INFO: ==2388== Releasing lock...
[2025-04-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:42:02] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-04-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:42:02] Production.INFO: ==2386== Releasing lock...
[2025-04-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:42:03] Production.INFO: ==2401== Lock acquired, processing the job...
[2025-04-08 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:42:03] Production.INFO: ==2395== Lock acquired, processing the job...
[2025-04-08 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:42:04] Production.INFO: ==2391== Lock acquired, processing the job...
[2025-04-08 23:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23: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-04-08 23:42:04] Production.INFO: count ==12
[2025-04-08 23:42:04] Production.INFO: ==2393== Lock acquired, processing the job...
[2025-04-08 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23: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-04-08 23:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:42:04] Production.INFO: count ==23
[2025-04-08 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865629') start
[2025-04-08 23:42:04] Production.INFO: ==2399== Lock acquired, processing the job...
[2025-04-08 23:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:42:04] Production.INFO: ==2397== Lock acquired, processing the job...
[2025-04-08 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865629') end
[2025-04-08 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:42:04] Production.INFO: 1
[2025-04-08 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:42:04] Production.INFO: ==2401== Releasing lock...
[2025-04-08 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:42:04] Production.INFO: Account Balance Start.
[2025-04-08 23:42:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:42:04] Production.INFO: 117
[2025-04-08 23:42:04] Production.INFO: ==2393== Releasing lock...
[2025-04-08 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:42:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:42:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:42:04] Production.INFO: Total Charge 0
[2025-04-08 23:42:04] Production.INFO: CreateAllLog End
[2025-04-08 23:42:04] Production.ERROR: done
[2025-04-08 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:42:04] Production.INFO: Account Balance End.
[2025-04-08 23:42:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:42:04] Production.INFO: ==2397== Releasing lock...
[2025-04-08 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:42:05] Production.ERROR: done
[2025-04-08 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:42:05
[end_date_ymd] => 2025-04-08 23:42:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:42:05' and `end` < '2025-04-08 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-04-08 23:42:13] Production.ERROR: CronJobId end10
[2025-04-08 23:42:13] Production.INFO: ==2395== Releasing lock...
[2025-04-08 23:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:42:15] Production.INFO: call_cost start
[2025-04-08 23:42:15] Production.INFO: call_cost end
[2025-04-08 23:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:42:16] Production.INFO: ==2391== Releasing lock...
[2025-04-08 23:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:42:18] Production.INFO: count ==427
[2025-04-08 23:42:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:42:05 - End Time 2025-04-08 23:42:05
[2025-04-08 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865633', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865633', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865633', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865633', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:42:18] Production.INFO: ProcessCDR(1,14865633,1,1,2)
[2025-04-08 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865633', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865633', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:42:22] Production.INFO: ==2399== Releasing lock...
[2025-04-08 23:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:42:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:43:01] Production.INFO: ==2457== Lock acquired, processing the job...
[2025-04-09 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:43:01] Production.INFO: neon service started
[2025-04-09 04:43:01] Production.INFO: neon service started
[2025-04-09 04:43:01] Production.INFO: ==2457== Releasing lock...
[2025-04-09 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:43:01] Production.INFO: ==2461== Lock acquired, processing the job...
[2025-04-09 03:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:43:01] Production.INFO: ==2461== Releasing lock...
[2025-04-09 03:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:43:01] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:43:02] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-04-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:43:02] Production.INFO: ==2459== Releasing lock...
[2025-04-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:43:03] Production.INFO: ==2472== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:43:03] Production.INFO: ==2465== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:43:03] Production.INFO: ==2463== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:43:03] Production.INFO: ==2470== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:43:03] Production.INFO: ==2468== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:43:03] Production.INFO: ==2474== Lock acquired, processing the job...
[2025-04-08 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:43:03] Production.INFO: Account Balance Start.
[2025-04-08 23:43:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:43:03] Production.INFO: 117
[2025-04-08 23:43:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:43:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:43:03] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 23:43:03] Production.INFO: CreateAllLog End
[2025-04-08 23:43:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:43:03] Production.INFO: count ==23
[2025-04-08 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865637') start
[2025-04-08 23:43:03] Production.ERROR: done
[2025-04-08 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865637') end
[2025-04-08 23:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:43:03] Production.INFO: 1
[2025-04-08 23:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:43:03] Production.INFO: ==2465== Releasing lock...
[2025-04-08 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:43:04] Production.INFO: ==2474== Releasing lock...
[2025-04-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:43:04] Production.INFO: Account Balance End.
[2025-04-08 23:43:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:43:04] Production.INFO: ==2470== Releasing lock...
[2025-04-08 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:43:04] Production.ERROR: done
[2025-04-08 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:43:05
[end_date_ymd] => 2025-04-08 23:43:05
[RateCDR] => 1
)
[2025-04-08 23:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:43:05' and `end` < '2025-04-08 23:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:43:11] Production.ERROR: CronJobId end10
[2025-04-08 23:43:11] Production.INFO: ==2468== Releasing lock...
[2025-04-08 23:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:43:14] Production.INFO: call_cost start
[2025-04-08 23:43:14] Production.INFO: call_cost end
[2025-04-08 23:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:43:15] Production.INFO: ==2463== Releasing lock...
[2025-04-08 23:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:43:18] Production.INFO: count ==427
[2025-04-08 23:43:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:43:05 - End Time 2025-04-08 23:43:05
[2025-04-08 23:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865638', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865638', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865638', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865638', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:43:18] Production.INFO: ProcessCDR(1,14865638,1,1,2)
[2025-04-08 23:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865638', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865638', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:43:23] Production.INFO: ==2472== Releasing lock...
[2025-04-08 23:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:43:23] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:44:02] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-04-09 04:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:44:02] Production.INFO: neon service started
[2025-04-09 04:44:02] Production.INFO: neon service started
[2025-04-09 04:44:02] Production.INFO: ==2529== Releasing lock...
[2025-04-09 04:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:44:02] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-04-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:44:02] Production.INFO: ==2531== Releasing lock...
[2025-04-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:44:02] Production.INFO: ==2533== Lock acquired, processing the job...
[2025-04-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:44:03] Production.INFO: ==2533== Releasing lock...
[2025-04-09 03:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:44:03] Production.INFO: ==2536== Lock acquired, processing the job...
[2025-04-08 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:44:03] Production.INFO: ==2540== Lock acquired, processing the job...
[2025-04-08 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:44:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-04-08 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:44:03] Production.INFO: ==2538== Lock acquired, processing the job...
[2025-04-08 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:44:04] Production.INFO: ==2546== Lock acquired, processing the job...
[2025-04-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:44:04] Production.INFO: ==2542== Lock acquired, processing the job...
[2025-04-08 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:44:04] Production.ERROR: done
[2025-04-08 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:44:04] Production.INFO: Account Balance Start.
[2025-04-08 23:44:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:44:04] Production.INFO: count ==12
[2025-04-08 23:44:04] Production.INFO: 117
[2025-04-08 23:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:44:04] Production.INFO: count ==23
[2025-04-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865642') start
[2025-04-08 23:44:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:44:04] Production.ERROR: done
[2025-04-08 23:44:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865642') end
[2025-04-08 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:44:04] Production.INFO: 1
[2025-04-08 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:44:04] Production.INFO: Total Charge 0
[2025-04-08 23:44:04] Production.INFO: ==2538== Releasing lock...
[2025-04-08 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:44:04] Production.INFO: CreateAllLog End
[2025-04-08 23:44:04] Production.INFO: ==2546== Releasing lock...
[2025-04-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:44:04] Production.INFO: Account Balance End.
[2025-04-08 23:44:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:44:04] Production.INFO: ==2542== Releasing lock...
[2025-04-08 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:44:05
[end_date_ymd] => 2025-04-08 23:44:05
[RateCDR] => 1
)
[2025-04-08 23:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:44:05' and `end` < '2025-04-08 23:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:44:13] Production.ERROR: CronJobId end10
[2025-04-08 23:44:13] Production.INFO: ==2540== Releasing lock...
[2025-04-08 23:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:44:14] Production.INFO: call_cost start
[2025-04-08 23:44:14] Production.INFO: call_cost end
[2025-04-08 23:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:44:15] Production.INFO: ==2536== Releasing lock...
[2025-04-08 23:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:44:18] Production.INFO: count ==427
[2025-04-08 23:44:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:44:05 - End Time 2025-04-08 23:44:05
[2025-04-08 23:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865643', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865643', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865643', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865643', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:44:18] Production.INFO: ProcessCDR(1,14865643,1,1,2)
[2025-04-08 23:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865643', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865643', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:44:21] Production.INFO: ==2544== Releasing lock...
[2025-04-08 23:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:44:21] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:45:01] Production.INFO: ==2605== Lock acquired, processing the job...
[2025-04-09 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:45:01] Production.INFO: neon service started
[2025-04-09 04:45:01] Production.INFO: neon service started
[2025-04-09 04:45:01] Production.INFO: ==2605== Releasing lock...
[2025-04-09 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:45:01] Production.INFO: ==2607== Lock acquired, processing the job...
[2025-04-08 23:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:45:02] Production.INFO: ==2607== Releasing lock...
[2025-04-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:45:02] Production.INFO: ==2609== Lock acquired, processing the job...
[2025-04-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:45:02] Production.INFO: ==2609== Releasing lock...
[2025-04-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:45:03] Production.INFO: ==2618== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:45:03] Production.INFO: ==2622== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:45:03] Production.INFO: ==2614== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:45:03] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:45:03] Production.INFO: Account Balance Start.
[2025-04-08 23:45:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:45:03] Production.INFO: ==2616== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:45:03] Production.INFO: 117
[2025-04-08 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:45:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:45:03] Production.INFO: count ==12
[2025-04-08 23:45:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:45:03] Production.INFO: count ==23
[2025-04-08 23:45:03] Production.INFO: Total Charge 0
[2025-04-08 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865645') start
[2025-04-08 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:45:03] Production.INFO: CreateAllLog End
[2025-04-08 23:45:03] Production.INFO: ==2620== Lock acquired, processing the job...
[2025-04-08 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865645') end
[2025-04-08 23:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:45:03] Production.INFO: 1
[2025-04-08 23:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:45:03] Production.INFO: ==2622== Releasing lock...
[2025-04-08 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:45:03] Production.INFO: Account Balance End.
[2025-04-08 23:45:03] Production.INFO: ==2614== Releasing lock...
[2025-04-08 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:45:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:45:03] Production.INFO: ==2618== Releasing lock...
[2025-04-08 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:45:03] Production.ERROR: done
[2025-04-08 23:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:45:04] Production.ERROR: done
[2025-04-08 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:45:05
[end_date_ymd] => 2025-04-08 23:45:05
[RateCDR] => 1
)
[2025-04-08 23:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:45:05' and `end` < '2025-04-08 23:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:45:13] Production.ERROR: CronJobId end10
[2025-04-08 23:45:13] Production.INFO: ==2616== Releasing lock...
[2025-04-08 23:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:45:14] Production.INFO: call_cost start
[2025-04-08 23:45:14] Production.INFO: call_cost end
[2025-04-08 23:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:45:15] Production.INFO: ==2612== Releasing lock...
[2025-04-08 23:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:45:18] Production.INFO: count ==427
[2025-04-08 23:45:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:45:05 - End Time 2025-04-08 23:45:05
[2025-04-08 23:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865648', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865648', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865648', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865648', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:45:18] Production.INFO: ProcessCDR(1,14865648,1,1,2)
[2025-04-08 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865648', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865648', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:45:21] Production.INFO: ==2620== Releasing lock...
[2025-04-08 23:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:45:21] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:46:01] Production.INFO: ==2678== Lock acquired, processing the job...
[2025-04-09 04:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:46:01] Production.INFO: neon service started
[2025-04-09 04:46:01] Production.INFO: neon service started
[2025-04-09 04:46:01] Production.INFO: ==2678== Releasing lock...
[2025-04-09 04:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:46:02] Production.INFO: ==2680== Lock acquired, processing the job...
[2025-04-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:46:02] Production.INFO: ==2682== Lock acquired, processing the job...
[2025-04-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:46:02] Production.INFO: ==2682== Releasing lock...
[2025-04-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:46:03] Production.INFO: ==2680== Releasing lock...
[2025-04-08 23:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:46:03] Production.INFO: ==2687== Lock acquired, processing the job...
[2025-04-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:46:03] Production.INFO: ==2689== Lock acquired, processing the job...
[2025-04-08 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:46:03] Production.INFO: ==2685== Lock acquired, processing the job...
[2025-04-08 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:46:04] Production.INFO: ==2691== Lock acquired, processing the job...
[2025-04-08 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:46:04] Production.INFO: ==2693== Lock acquired, processing the job...
[2025-04-08 23:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:46:04] Production.INFO: ==2695== Lock acquired, processing the job...
[2025-04-08 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:46:04] Production.INFO: Account Balance Start.
[2025-04-08 23:46:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:46:04] Production.INFO: 117
[2025-04-08 23:46:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:46:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:46:04] Production.INFO: ==2687== Releasing lock...
[2025-04-08 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:46:04] Production.INFO: Total Charge 0
[2025-04-08 23:46:04] Production.INFO: CreateAllLog End
[2025-04-08 23:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:46:04] Production.INFO: count ==12
[2025-04-08 23:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:46:04] Production.INFO: count ==23
[2025-04-08 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865652') start
[2025-04-08 23:46:04] Production.ERROR: done
[2025-04-08 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865652') end
[2025-04-08 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:46:04] Production.INFO: 1
[2025-04-08 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:46:04] Production.INFO: ==2695== Releasing lock...
[2025-04-08 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:46:04] Production.ERROR: done
[2025-04-08 23:46:04] Production.INFO: Account Balance End.
[2025-04-08 23:46:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:46:04] Production.INFO: ==2691== Releasing lock...
[2025-04-08 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:46:05
[end_date_ymd] => 2025-04-08 23:46:05
[RateCDR] => 1
)
[2025-04-08 23:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:46:05' and `end` < '2025-04-08 23:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:46:13] Production.ERROR: CronJobId end10
[2025-04-08 23:46:13] Production.INFO: ==2689== Releasing lock...
[2025-04-08 23:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:46:14] Production.INFO: call_cost start
[2025-04-08 23:46:14] Production.INFO: call_cost end
[2025-04-08 23:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:46:15] Production.INFO: ==2685== Releasing lock...
[2025-04-08 23:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:46:18] Production.INFO: count ==426
[2025-04-08 23:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:46:05 - End Time 2025-04-08 23:46:05
[2025-04-08 23:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865653', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865653', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865653', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865653', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:46:18] Production.INFO: ProcessCDR(1,14865653,1,1,2)
[2025-04-08 23:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865653', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865653', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:46:22] Production.INFO: ==2693== Releasing lock...
[2025-04-08 23:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:46:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:47:01] Production.INFO: ==2750== Lock acquired, processing the job...
[2025-04-09 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:47:01] Production.INFO: neon service started
[2025-04-09 04:47:01] Production.INFO: neon service started
[2025-04-09 04:47:01] Production.INFO: ==2750== Releasing lock...
[2025-04-09 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:47:01] Production.INFO: ==2752== Lock acquired, processing the job...
[2025-04-08 23:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:47:02] Production.INFO: ==2752== Releasing lock...
[2025-04-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:47:02] Production.INFO: ==2754== Lock acquired, processing the job...
[2025-04-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:47:02] Production.INFO: ==2754== Releasing lock...
[2025-04-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:47:03] Production.INFO: ==2759== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:47:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 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-04-08 23:47:03] Production.INFO: ==2757== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:47:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:47:03] Production.INFO: count ==23
[2025-04-08 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865654') start
[2025-04-08 23:47:03] Production.INFO: ==2761== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:47:03] Production.INFO: ==2759== Releasing lock...
[2025-04-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:47:03] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865654') end
[2025-04-08 23:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:47:03] Production.INFO: 1
[2025-04-08 23:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:47:03] Production.INFO: ==2763== Lock acquired, processing the job...
[2025-04-08 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:47:03] Production.INFO: ==2767== Releasing lock...
[2025-04-08 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:47:03] Production.INFO: Account Balance Start.
[2025-04-08 23:47:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:47:03] Production.INFO: 117
[2025-04-08 23:47:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:47:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:47:03] Production.ERROR: done
[2025-04-08 23:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:47:03] Production.INFO: Total Charge 0
[2025-04-08 23:47:03] Production.INFO: CreateAllLog End
[2025-04-08 23:47:04] Production.ERROR: done
[2025-04-08 23:47:04] Production.INFO: Account Balance End.
[2025-04-08 23:47:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:47:04] Production.INFO: ==2763== Releasing lock...
[2025-04-08 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:47:05
[end_date_ymd] => 2025-04-08 23:47:05
[RateCDR] => 1
)
[2025-04-08 23:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:47:05' and `end` < '2025-04-08 23:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:47:11] Production.ERROR: CronJobId end10
[2025-04-08 23:47:11] Production.INFO: ==2761== Releasing lock...
[2025-04-08 23:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:47:14] Production.INFO: call_cost start
[2025-04-08 23:47:14] Production.INFO: call_cost end
[2025-04-08 23:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:47:15] Production.INFO: ==2757== Releasing lock...
[2025-04-08 23:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:47:17] Production.INFO: count ==426
[2025-04-08 23:47:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:47:05 - End Time 2025-04-08 23:47:05
[2025-04-08 23:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865658', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865658', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865658', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865658', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:47:17] Production.INFO: ProcessCDR(1,14865658,1,1,2)
[2025-04-08 23:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865658', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865658', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:47:21] Production.INFO: ==2765== Releasing lock...
[2025-04-08 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:47:21] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:48:01] Production.INFO: ==2822== Lock acquired, processing the job...
[2025-04-09 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:48:01] Production.INFO: neon service started
[2025-04-09 04:48:01] Production.INFO: neon service started
[2025-04-09 04:48:01] Production.INFO: ==2822== Releasing lock...
[2025-04-09 04:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:48:02] Production.INFO: ==2826== Lock acquired, processing the job...
[2025-04-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:48:02] Production.INFO: ==2826== Releasing lock...
[2025-04-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:48:02] Production.INFO: ==2824== Lock acquired, processing the job...
[2025-04-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:48:02] Production.INFO: ==2824== Releasing lock...
[2025-04-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:48:03] Production.INFO: ==2829== Lock acquired, processing the job...
[2025-04-08 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:48:03] Production.INFO: ==2835== Lock acquired, processing the job...
[2025-04-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:48:03] Production.INFO: ==2839== Lock acquired, processing the job...
[2025-04-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:48:03] Production.INFO: Account Balance Start.
[2025-04-08 23:48:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:48:03] Production.INFO: 117
[2025-04-08 23:48:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:48:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:48:03] Production.INFO: Total Charge 0
[2025-04-08 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-04-08 23:48:03] Production.INFO: CreateAllLog End
[2025-04-08 23:48:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:48:03] Production.INFO: count ==23
[2025-04-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865661') start
[2025-04-08 23:48:03] Production.INFO: Account Balance End.
[2025-04-08 23:48:03] Production.INFO: ==2831== Lock acquired, processing the job...
[2025-04-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:48:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:48:03] Production.INFO: ==2835== Releasing lock...
[2025-04-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865661') end
[2025-04-08 23:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:48:03] Production.INFO: 1
[2025-04-08 23:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:48:04] Production.INFO: ==2833== Lock acquired, processing the job...
[2025-04-08 23:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:48:04] Production.INFO: ==2837== Lock acquired, processing the job...
[2025-04-08 23:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:48:04] Production.INFO: ==2839== Releasing lock...
[2025-04-08 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:48:04] Production.ERROR: done
[2025-04-08 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:48:04] Production.INFO: ==2831== Releasing lock...
[2025-04-08 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:48:04] Production.ERROR: done
[2025-04-08 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:48:05
[end_date_ymd] => 2025-04-08 23:48:05
[RateCDR] => 1
)
[2025-04-08 23:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:48:05' and `end` < '2025-04-08 23:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:48:12] Production.ERROR: CronJobId end10
[2025-04-08 23:48:12] Production.INFO: ==2833== Releasing lock...
[2025-04-08 23:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:48:15] Production.INFO: call_cost start
[2025-04-08 23:48:15] Production.INFO: call_cost end
[2025-04-08 23:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:48:16] Production.INFO: ==2829== Releasing lock...
[2025-04-08 23:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:48:18] Production.INFO: count ==425
[2025-04-08 23:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:48:05 - End Time 2025-04-08 23:48:05
[2025-04-08 23:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865663', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865663', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865663', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865663', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:48:18] Production.INFO: ProcessCDR(1,14865663,1,1,2)
[2025-04-08 23:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865663', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865663', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:48:22] Production.INFO: ==2837== Releasing lock...
[2025-04-08 23:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:48:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:49:01] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-04-09 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:49:01] Production.INFO: neon service started
[2025-04-09 04:49:01] Production.INFO: neon service started
[2025-04-09 04:49:01] Production.INFO: ==2935== Releasing lock...
[2025-04-09 04:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:49:01] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-04-08 23:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:49:02] Production.INFO: ==2937== Releasing lock...
[2025-04-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:49:02] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-04-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:49:02] Production.INFO: ==2939== Releasing lock...
[2025-04-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:49:02] Production.INFO: ==2947== Lock acquired, processing the job...
[2025-04-08 23:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:49:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-04-08 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:49:03] Production.INFO: Account Balance Start.
[2025-04-08 23:49:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:49:03] Production.INFO: 117
[2025-04-08 23:49:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:49:03] Production.INFO: ==2951== Lock acquired, processing the job...
[2025-04-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:49:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:49:03] Production.INFO: ==2945== Lock acquired, processing the job...
[2025-04-08 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:49:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-04-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:49:03] Production.INFO: Total Charge 0
[2025-04-08 23:49:03] Production.INFO: CreateAllLog End
[2025-04-08 23:49:03] Production.INFO: ==2949== Lock acquired, processing the job...
[2025-04-08 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:49:03] Production.INFO: Account Balance End.
[2025-04-08 23:49:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:49:03] Production.INFO: count ==23
[2025-04-08 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865665') start
[2025-04-08 23:49:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:49:03] Production.INFO: ==2947== Releasing lock...
[2025-04-08 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865665') end
[2025-04-08 23:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:49:03] Production.INFO: 1
[2025-04-08 23:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:49:03] Production.INFO: ==2951== Releasing lock...
[2025-04-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:49:03] Production.INFO: ==2943== Releasing lock...
[2025-04-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:49:03] Production.ERROR: done
[2025-04-08 23:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:49:03] Production.ERROR: done
[2025-04-08 23:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:49:04
[end_date_ymd] => 2025-04-08 23:49:04
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:49:04' and `end` < '2025-04-08 23: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-04-08 23:49:12] Production.ERROR: CronJobId end10
[2025-04-08 23:49:12] Production.INFO: ==2945== Releasing lock...
[2025-04-08 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:49:14] Production.INFO: call_cost start
[2025-04-08 23:49:14] Production.INFO: call_cost end
[2025-04-08 23:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:49:14] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:49:14] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:49:14] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:49:14] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:49:14] Production.INFO: ==2941== Releasing lock...
[2025-04-08 23:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:49:17] Production.INFO: count ==425
[2025-04-08 23:49:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:49:04 - End Time 2025-04-08 23:49:04
[2025-04-08 23:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865668', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865668', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865668', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865668', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:49:17] Production.INFO: ProcessCDR(1,14865668,1,1,2)
[2025-04-08 23:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865668', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865668', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:49:20] Production.INFO: ==2949== Releasing lock...
[2025-04-08 23:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:49:20] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:50:01] Production.INFO: ==3007== Lock acquired, processing the job...
[2025-04-09 04:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:50:01] Production.INFO: neon service started
[2025-04-09 04:50:01] Production.INFO: neon service started
[2025-04-09 04:50:01] Production.INFO: ==3007== Releasing lock...
[2025-04-09 04:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:50:02] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-04-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:50:02] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-04-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-08 23:50:02] Production.INFO: ==3009== Releasing lock...
[2025-04-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:50:02] Production.INFO: ==3011== Releasing lock...
[2025-04-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:50:03] Production.INFO: ==3022== Lock acquired, processing the job...
[2025-04-08 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:50:03] Production.INFO: ==3016== Lock acquired, processing the job...
[2025-04-08 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:50:03] Production.INFO: ==3028== Lock acquired, processing the job...
[2025-04-08 23:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:50:03] Production.INFO: ==3024== Lock acquired, processing the job...
[2025-04-08 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:50:03] Production.INFO: Account Balance Start.
[2025-04-08 23:50:03] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-04-08 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-08 23:50:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:50:03] Production.INFO: 117
[2025-04-08 23:50:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:50:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:50:04] Production.INFO: ==3018== Lock acquired, processing the job...
[2025-04-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:50:04] Production.INFO: Total Charge 0
[2025-04-08 23:50:04] Production.INFO: ==3020== Lock acquired, processing the job...
[2025-04-08 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:50:04] Production.INFO: CreateAllLog End
[2025-04-08 23:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:50:04] Production.INFO: count ==12
[2025-04-08 23:50:04] Production.INFO: ==3026== Lock acquired, processing the job...
[2025-04-08 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-08 23:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:50:04] Production.INFO: count ==23
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3016
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 5
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3018
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 7
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3020
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 10
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3022
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865671') start
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 12
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3024
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 16
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-08 23:50:04] Production.ERROR: CronJob PID - 3028
[2025-04-08 23:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-08 23:50:04] Production.ERROR: CronJob ID - 19
[2025-04-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-08 23:50:00
[2025-04-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-08 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865671') end
[2025-04-08 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:50:04] Production.INFO: 1
[2025-04-08 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-08 23:50:04] Production.INFO: ==3014== Releasing lock...
[2025-04-08 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-08 23:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-08 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:50:04] Production.INFO: ==3028== Releasing lock...
[2025-04-08 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:50:04] Production.ERROR: done
[2025-04-08 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:50:04] Production.INFO: Account Balance End.
[2025-04-08 23:50:04] Production.ERROR: done
[2025-04-08 23:50:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:50:04] Production.INFO: ==3022== Releasing lock...
[2025-04-08 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:50:04] Production.INFO: ==3018== Releasing lock...
[2025-04-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:50:04] Production.ERROR: done
[2025-04-08 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-08 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865674', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) start
[2025-04-08 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:50:05
[end_date_ymd] => 2025-04-08 23:50:05
[RateCDR] => 1
)
[2025-04-08 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-04-08 20:50:05' and `end` < '2025-04-08 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-04-08 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865674', 'tblTempUsageDetail_20reseller','2025-04-08','2025-04-08','1' ) end
[2025-04-08 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-08 23:50:08] Production.INFO: ProcessCDR(1,14865674,1,1,2)
[2025-04-08 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865674,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865674,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:50:08] Production.INFO: ==3026== Releasing lock...
[2025-04-08 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-08 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-08 23:50:14] Production.ERROR: CronJobId end10
[2025-04-08 23:50:14] Production.INFO: ==3020== Releasing lock...
[2025-04-08 23:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:50:16] Production.INFO: call_cost start
[2025-04-08 23:50:16] Production.INFO: call_cost end
[2025-04-08 23:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:50:17] Production.INFO: ==3016== Releasing lock...
[2025-04-08 23:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:50:18] Production.INFO: count ==425
[2025-04-08 23:50:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:50:05 - End Time 2025-04-08 23:50:05
[2025-04-08 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865673', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865673', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865673', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865673', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:50:18] Production.INFO: ProcessCDR(1,14865673,1,1,2)
[2025-04-08 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865673', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865673', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:50:22] Production.INFO: ==3024== Releasing lock...
[2025-04-08 23:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:50:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 04:51:02] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-04-09 04:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:51:02] Production.INFO: neon service started
[2025-04-09 04:51:02] Production.INFO: neon service started
[2025-04-09 04:51:02] Production.INFO: ==3087== Releasing lock...
[2025-04-09 04:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:51:02] Production.INFO: ==3091== Lock acquired, processing the job...
[2025-04-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:51:02] Production.INFO: ==3091== Releasing lock...
[2025-04-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:51:02] Production.INFO: ==3089== Lock acquired, processing the job...
[2025-04-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:51:03] Production.INFO: ==3089== Releasing lock...
[2025-04-08 23:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:51:04] Production.INFO: ==3097== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:51:04] Production.INFO: ==3093== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:51:04] Production.INFO: ==3099== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:51:04] Production.INFO: ==3095== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:51:04] Production.INFO: Account Balance Start.
[2025-04-08 23:51:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:51:04] Production.INFO: 117
[2025-04-08 23:51:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:51:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:51:04] Production.INFO: ==3103== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:51:04] Production.INFO: ==3101== Lock acquired, processing the job...
[2025-04-08 23:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:51:04] Production.INFO: Total Charge 0
[2025-04-08 23:51:04] Production.INFO: CreateAllLog End
[2025-04-08 23:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:51:04] Production.INFO: count ==12
[2025-04-08 23:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:51:04] Production.INFO: ==3095== Releasing lock...
[2025-04-08 23:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:51:04] Production.INFO: count ==23
[2025-04-08 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865678') start
[2025-04-08 23:51:04] Production.INFO: Account Balance End.
[2025-04-08 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865678') end
[2025-04-08 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:51:04] Production.INFO: 1
[2025-04-08 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:51:04] Production.ERROR: done
[2025-04-08 23:51:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:51:04] Production.INFO: ==3099== Releasing lock...
[2025-04-08 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:51:04] Production.INFO: ==3103== Releasing lock...
[2025-04-08 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:51:04] Production.ERROR: done
[2025-04-08 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:51:05
[end_date_ymd] => 2025-04-08 23:51:05
[RateCDR] => 1
)
[2025-04-08 23:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:51:05' and `end` < '2025-04-08 23:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:51:14] Production.ERROR: CronJobId end10
[2025-04-08 23:51:14] Production.INFO: ==3097== Releasing lock...
[2025-04-08 23:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:51:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:51:15] Production.INFO: call_cost start
[2025-04-08 23:51:15] Production.INFO: call_cost end
[2025-04-08 23:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:51:16] Production.INFO: ==3093== Releasing lock...
[2025-04-08 23:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:51:18] Production.INFO: count ==407
[2025-04-08 23:51:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:51:05 - End Time 2025-04-08 23:51:05
[2025-04-08 23:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865679', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865679', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865679', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865679', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:51:18] Production.INFO: ProcessCDR(1,14865679,1,1,2)
[2025-04-08 23:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865679', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865679', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:51:22] Production.INFO: ==3101== Releasing lock...
[2025-04-08 23:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:51:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:52:01] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-04-09 04:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:52:01] Production.INFO: neon service started
[2025-04-09 04:52:01] Production.INFO: neon service started
[2025-04-09 04:52:01] Production.INFO: ==3160== Releasing lock...
[2025-04-09 04:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:52:02] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-04-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:52:02] Production.INFO: ==3162== Releasing lock...
[2025-04-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:52:02] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-04-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:52:02] Production.INFO: ==3164== Releasing lock...
[2025-04-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:52:03] Production.INFO: ==3174== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:52:03] Production.INFO: ==3177== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:52:03] Production.INFO: ==3166== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:52:03] Production.INFO: ==3168== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:52:03] Production.INFO: ==3170== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:52:03] Production.INFO: ==3172== Lock acquired, processing the job...
[2025-04-08 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23: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-04-08 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:52:03] Production.INFO: count ==12
[2025-04-08 23: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-04-08 23:52:03] Production.INFO: count ==23
[2025-04-08 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865680') start
[2025-04-08 23:52:03] Production.INFO: Account Balance Start.
[2025-04-08 23:52:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:52:03] Production.INFO: 117
[2025-04-08 23:52:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:52:03] Production.ERROR: done
[2025-04-08 23:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:52:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:52:04] Production.INFO: Total Charge 0
[2025-04-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865680') end
[2025-04-08 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:52:04] Production.INFO: 1
[2025-04-08 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:52:04] Production.INFO: CreateAllLog End
[2025-04-08 23:52:04] Production.INFO: ==3177== Releasing lock...
[2025-04-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:52:04] Production.ERROR: done
[2025-04-08 23:52:04] Production.INFO: ==3168== Releasing lock...
[2025-04-08 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:52:04] Production.INFO: Account Balance End.
[2025-04-08 23:52:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:52:04] Production.INFO: ==3172== Releasing lock...
[2025-04-08 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:52:04
[end_date_ymd] => 2025-04-08 23:52:04
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:52:04' and `end` < '2025-04-08 23: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-04-08 23:52:13] Production.ERROR: CronJobId end10
[2025-04-08 23:52:13] Production.INFO: ==3170== Releasing lock...
[2025-04-08 23:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:52:15] Production.INFO: call_cost start
[2025-04-08 23:52:15] Production.INFO: call_cost end
[2025-04-08 23:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:52:16] Production.INFO: ==3166== Releasing lock...
[2025-04-08 23:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:52:17] Production.INFO: count ==407
[2025-04-08 23:52:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:52:04 - End Time 2025-04-08 23:52:04
[2025-04-08 23:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865684', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865684', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865684', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865684', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:52:17] Production.INFO: ProcessCDR(1,14865684,1,1,2)
[2025-04-08 23:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865684', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865684', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:52:21] Production.INFO: ==3174== Releasing lock...
[2025-04-08 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:52:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:53:02] Production.INFO: ==3232== Lock acquired, processing the job...
[2025-04-09 04:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:53:02] Production.INFO: neon service started
[2025-04-09 04:53:02] Production.INFO: neon service started
[2025-04-09 04:53:02] Production.INFO: ==3232== Releasing lock...
[2025-04-09 04:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:53:02] Production.INFO: ==3234== Lock acquired, processing the job...
[2025-04-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:53:02] Production.INFO: ==3236== Lock acquired, processing the job...
[2025-04-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:53:03] Production.INFO: ==3236== Releasing lock...
[2025-04-09 03:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:53:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:53:03] Production.INFO: ==3234== Releasing lock...
[2025-04-08 23:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:53:04] Production.INFO: ==3245== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:53:04] Production.INFO: ==3249== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:53:04] Production.INFO: ==3239== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:53:04] Production.INFO: Account Balance Start.
[2025-04-08 23:53:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:53:04] Production.INFO: 117
[2025-04-08 23:53:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:53:04] Production.INFO: count ==12
[2025-04-08 23:53:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:53:04] Production.INFO: ==3241== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:53:04] Production.INFO: count ==23
[2025-04-08 23:53:04] Production.INFO: Total Charge 0
[2025-04-08 23:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:53:04] Production.INFO: ==3243== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865685') start
[2025-04-08 23:53:04] Production.INFO: CreateAllLog End
[2025-04-08 23:53:04] Production.INFO: ==3247== Lock acquired, processing the job...
[2025-04-08 23:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865685') end
[2025-04-08 23:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:53:04] Production.INFO: 1
[2025-04-08 23:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:53:04] Production.INFO: Account Balance End.
[2025-04-08 23:53:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:53:04] Production.INFO: ==3245== Releasing lock...
[2025-04-08 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:53:04] Production.INFO: ==3249== Releasing lock...
[2025-04-08 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:53:04] Production.INFO: ==3241== Releasing lock...
[2025-04-08 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:53:05] Production.ERROR: done
[2025-04-08 23:53:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:53:05] Production.ERROR: done
[2025-04-08 23:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:53:06
[end_date_ymd] => 2025-04-08 23:53:06
[RateCDR] => 1
)
[2025-04-08 23:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:53:06' and `end` < '2025-04-08 23:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:53:13] Production.ERROR: CronJobId end10
[2025-04-08 23:53:13] Production.INFO: ==3243== Releasing lock...
[2025-04-08 23:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:53:15] Production.INFO: call_cost start
[2025-04-08 23:53:15] Production.INFO: call_cost end
[2025-04-08 23:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:53:16] Production.INFO: ==3239== Releasing lock...
[2025-04-08 23:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:53:19] Production.INFO: count ==406
[2025-04-08 23:53:19] Production.ERROR: pbx CDR StartTime 2025-04-08 20:53:06 - End Time 2025-04-08 23:53:06
[2025-04-08 23:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865689', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865689', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865689', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865689', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:53:19] Production.INFO: ProcessCDR(1,14865689,1,1,2)
[2025-04-08 23:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865689', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865689', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:53:22] Production.INFO: ==3247== Releasing lock...
[2025-04-08 23:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:53:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:54:01] Production.INFO: ==3304== Lock acquired, processing the job...
[2025-04-09 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:54:01] Production.INFO: neon service started
[2025-04-09 04:54:01] Production.INFO: neon service started
[2025-04-09 04:54:01] Production.INFO: ==3304== Releasing lock...
[2025-04-09 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:54:02] Production.INFO: ==3306== Lock acquired, processing the job...
[2025-04-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:54:02] Production.INFO: ==3306== Releasing lock...
[2025-04-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:54:02] Production.INFO: ==3308== Lock acquired, processing the job...
[2025-04-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:54:02] Production.INFO: ==3308== Releasing lock...
[2025-04-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:54:03] Production.INFO: ==3316== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:54:03] Production.INFO: Account Balance Start.
[2025-04-08 23:54:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:54:03] Production.INFO: 117
[2025-04-08 23:54:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:54:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:54:03] Production.INFO: Total Charge 0
[2025-04-08 23:54:03] Production.INFO: CreateAllLog End
[2025-04-08 23:54:03] Production.INFO: ==3310== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:54:03] Production.INFO: ==3312== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:54:03] Production.INFO: ==3314== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:54:03] Production.INFO: ==3318== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:54:03] Production.INFO: ==3320== Lock acquired, processing the job...
[2025-04-08 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:54:03] Production.INFO: Account Balance End.
[2025-04-08 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 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-04-08 23:54:03] Production.ERROR: CronJobId end 12
[2025-04-08 23:54:03] Production.INFO: ==3316== Releasing lock...
[2025-04-08 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:54:03] Production.INFO: ==3312== Releasing lock...
[2025-04-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:54:03] Production.INFO: count ==12
[2025-04-08 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-04-08 23:54:03] Production.INFO: count ==23
[2025-04-08 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865693') start
[2025-04-08 23:54:04] Production.ERROR: done
[2025-04-08 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865693') end
[2025-04-08 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:54:04] Production.INFO: 1
[2025-04-08 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:54:04] Production.INFO: ==3320== Releasing lock...
[2025-04-08 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:54:04] Production.ERROR: done
[2025-04-08 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:54:05
[end_date_ymd] => 2025-04-08 23:54:05
[RateCDR] => 1
)
[2025-04-08 23:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:54:05' and `end` < '2025-04-08 23:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:54:13] Production.ERROR: CronJobId end10
[2025-04-08 23:54:13] Production.INFO: ==3314== Releasing lock...
[2025-04-08 23:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:54:14] Production.INFO: call_cost start
[2025-04-08 23:54:14] Production.INFO: call_cost end
[2025-04-08 23:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:54:15] Production.INFO: ==3310== Releasing lock...
[2025-04-08 23:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:54:18] Production.INFO: count ==406
[2025-04-08 23:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:54:05 - End Time 2025-04-08 23:54:05
[2025-04-08 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865694', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865694', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865694', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865694', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:54:18] Production.INFO: ProcessCDR(1,14865694,1,1,2)
[2025-04-08 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865694', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865694', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:54:23] Production.INFO: ==3318== Releasing lock...
[2025-04-08 23:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:54:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:55:02] Production.INFO: ==3376== Lock acquired, processing the job...
[2025-04-09 04:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:55:02] Production.INFO: neon service started
[2025-04-09 04:55:02] Production.INFO: neon service started
[2025-04-09 04:55:02] Production.INFO: ==3376== Releasing lock...
[2025-04-09 04:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:55:02] Production.INFO: ==3378== Lock acquired, processing the job...
[2025-04-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:55:02] Production.INFO: ==3378== Releasing lock...
[2025-04-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:55:02] Production.INFO: ==3380== Lock acquired, processing the job...
[2025-04-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:55:03] Production.INFO: ==3380== Releasing lock...
[2025-04-09 03:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:55:03] Production.INFO: ==3387== Lock acquired, processing the job...
[2025-04-08 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:55:03] Production.INFO: ==3389== Lock acquired, processing the job...
[2025-04-08 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:55:03] Production.INFO: Account Balance Start.
[2025-04-08 23:55:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:55:03] Production.INFO: 117
[2025-04-08 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:55:03] Production.INFO: ==3383== Lock acquired, processing the job...
[2025-04-08 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:55:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:55:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:55:04] Production.INFO: ==3385== Lock acquired, processing the job...
[2025-04-08 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:55:04] Production.INFO: Total Charge 0
[2025-04-08 23:55:04] Production.INFO: CreateAllLog End
[2025-04-08 23:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:55:04] Production.INFO: ==3391== Lock acquired, processing the job...
[2025-04-08 23:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:55:04] Production.INFO: ==3393== Lock acquired, processing the job...
[2025-04-08 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:55:04] Production.INFO: Account Balance End.
[2025-04-08 23:55:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:55:04] Production.INFO: ==3389== Releasing lock...
[2025-04-08 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:55:04] Production.INFO: count ==12
[2025-04-08 23:55:04] Production.INFO: ==3385== Releasing lock...
[2025-04-08 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:55:04] Production.INFO: count ==23
[2025-04-08 23:55:04] Production.ERROR: done
[2025-04-08 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865698') start
[2025-04-08 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865698') end
[2025-04-08 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:55:04] Production.INFO: 1
[2025-04-08 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:55:04] Production.ERROR: done
[2025-04-08 23:55:04] Production.INFO: ==3393== Releasing lock...
[2025-04-08 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:55:05
[end_date_ymd] => 2025-04-08 23:55:05
[RateCDR] => 1
)
[2025-04-08 23: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-04-08 20:55:05' and `end` < '2025-04-08 23: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-04-08 23:55:13] Production.ERROR: CronJobId end10
[2025-04-08 23:55:13] Production.INFO: ==3387== Releasing lock...
[2025-04-08 23:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:55:16] Production.INFO: call_cost start
[2025-04-08 23:55:16] Production.INFO: call_cost end
[2025-04-08 23:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:55:17] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:55:17] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:55:17] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:55:17] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:55:17] Production.INFO: ==3383== Releasing lock...
[2025-04-08 23:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:55:18] Production.INFO: count ==405
[2025-04-08 23:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:55:05 - End Time 2025-04-08 23:55:05
[2025-04-08 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865699', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865699', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865699', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865699', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:55:18] Production.INFO: ProcessCDR(1,14865699,1,1,2)
[2025-04-08 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865699', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865699', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:55:22] Production.INFO: ==3391== Releasing lock...
[2025-04-08 23:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:55:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:56:01] Production.INFO: ==3448== Lock acquired, processing the job...
[2025-04-09 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:56:01] Production.INFO: neon service started
[2025-04-09 04:56:01] Production.INFO: neon service started
[2025-04-09 04:56:01] Production.INFO: ==3448== Releasing lock...
[2025-04-09 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:56:02] Production.INFO: ==3450== Lock acquired, processing the job...
[2025-04-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:56:02] Production.INFO: ==3450== Releasing lock...
[2025-04-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:56:02] Production.INFO: ==3452== Lock acquired, processing the job...
[2025-04-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:56:02] Production.INFO: ==3452== Releasing lock...
[2025-04-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:56:03] Production.INFO: ==3459== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:56:03] Production.INFO: ==3463== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:56:03] Production.INFO: ==3455== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:56:03] Production.INFO: ==3457== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:56:03] Production.INFO: ==3461== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:56:03] Production.INFO: ==3465== Lock acquired, processing the job...
[2025-04-08 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:56:03] Production.INFO: Account Balance Start.
[2025-04-08 23:56:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:56:03] Production.INFO: 117
[2025-04-08 23:56:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:56:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:56:03] Production.INFO: count ==12
[2025-04-08 23:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:56:03] Production.INFO: count ==23
[2025-04-08 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865702') start
[2025-04-08 23:56:03] Production.INFO: Total Charge 0
[2025-04-08 23:56:03] Production.INFO: CreateAllLog End
[2025-04-08 23:56:03] Production.ERROR: done
[2025-04-08 23:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865702') end
[2025-04-08 23:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:56:03] Production.INFO: 1
[2025-04-08 23:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:56:04] Production.ERROR: done
[2025-04-08 23:56:04] Production.INFO: ==3465== Releasing lock...
[2025-04-08 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:56:04] Production.INFO: ==3457== Releasing lock...
[2025-04-08 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:56:04] Production.INFO: Account Balance End.
[2025-04-08 23:56:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:56:04] Production.INFO: ==3461== Releasing lock...
[2025-04-08 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:56:05
[end_date_ymd] => 2025-04-08 23:56:05
[RateCDR] => 1
)
[2025-04-08 23:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:56:05' and `end` < '2025-04-08 23:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:56:12] Production.ERROR: CronJobId end10
[2025-04-08 23:56:12] Production.INFO: ==3459== Releasing lock...
[2025-04-08 23:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:56:15] Production.INFO: call_cost start
[2025-04-08 23:56:15] Production.INFO: call_cost end
[2025-04-08 23:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:56:16] Production.INFO: ==3455== Releasing lock...
[2025-04-08 23:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:56:17] Production.INFO: count ==405
[2025-04-08 23:56:17] Production.ERROR: pbx CDR StartTime 2025-04-08 20:56:05 - End Time 2025-04-08 23:56:05
[2025-04-08 23:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865704', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865704', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865704', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865704', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:56:17] Production.INFO: ProcessCDR(1,14865704,1,1,2)
[2025-04-08 23:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865704', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865704', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:56:21] Production.INFO: ==3463== Releasing lock...
[2025-04-08 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:56:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:57:02] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-04-09 04:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:57:02] Production.INFO: neon service started
[2025-04-09 04:57:02] Production.INFO: neon service started
[2025-04-09 04:57:02] Production.INFO: ==3521== Releasing lock...
[2025-04-09 04:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:57:02] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-04-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:57:02] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-04-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:57:02] Production.INFO: ==3525== Releasing lock...
[2025-04-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:57:03] Production.INFO: ==3523== Releasing lock...
[2025-04-08 23:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-08 23:57:03] Production.INFO: ==3528== Lock acquired, processing the job...
[2025-04-08 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:57:03] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-04-08 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:57:04] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-04-08 23:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:57:04] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-04-08 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:57:04] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-04-08 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:57:04] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-04-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:57:04] Production.INFO: count ==12
[2025-04-08 23:57:04] Production.INFO: Account Balance Start.
[2025-04-08 23:57:04] Production.INFO: CreateAllLog Start
[2025-04-08 23:57:04] Production.INFO: 117
[2025-04-08 23:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:57:04] Production.INFO: count ==23
[2025-04-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865706') start
[2025-04-08 23:57:04] Production.INFO: Date 2025-04-08
[2025-04-08 23:57:04] Production.INFO: Reseller ==> 0
[2025-04-08 23:57:04] Production.ERROR: done
[2025-04-08 23:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865706') end
[2025-04-08 23:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:57:04] Production.INFO: 1
[2025-04-08 23:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:57:04] Production.INFO: Total Charge 0
[2025-04-08 23:57:04] Production.INFO: CreateAllLog End
[2025-04-08 23:57:04] Production.INFO: ==3538== Releasing lock...
[2025-04-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:57:04] Production.ERROR: done
[2025-04-08 23:57:04] Production.INFO: ==3530== Releasing lock...
[2025-04-08 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:57:04] Production.INFO: Account Balance End.
[2025-04-08 23:57:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:57:04] Production.INFO: ==3534== Releasing lock...
[2025-04-08 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:57:05
[end_date_ymd] => 2025-04-08 23:57:05
[RateCDR] => 1
)
[2025-04-08 23:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:57:05' and `end` < '2025-04-08 23:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:57:12] Production.ERROR: CronJobId end10
[2025-04-08 23:57:12] Production.INFO: ==3532== Releasing lock...
[2025-04-08 23:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:57:14] Production.INFO: call_cost start
[2025-04-08 23:57:14] Production.INFO: call_cost end
[2025-04-08 23:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:57:15] Production.INFO: ==3528== Releasing lock...
[2025-04-08 23:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:57:18] Production.INFO: count ==405
[2025-04-08 23:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:57:05 - End Time 2025-04-08 23:57:05
[2025-04-08 23:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865709', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865709', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865709', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865709', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:57:18] Production.INFO: ProcessCDR(1,14865709,1,1,2)
[2025-04-08 23:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865709', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865709', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:57:22] Production.INFO: ==3536== Releasing lock...
[2025-04-08 23:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:57:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:58:01] Production.INFO: ==3592== Lock acquired, processing the job...
[2025-04-09 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:58:01] Production.INFO: neon service started
[2025-04-09 04:58:01] Production.INFO: neon service started
[2025-04-09 04:58:01] Production.INFO: ==3592== Releasing lock...
[2025-04-09 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:58:01] Production.INFO: ==3594== Lock acquired, processing the job...
[2025-04-08 23:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:58:02] Production.INFO: ==3594== Releasing lock...
[2025-04-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:58:02] Production.INFO: ==3596== Lock acquired, processing the job...
[2025-04-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:58:02] Production.INFO: ==3596== Releasing lock...
[2025-04-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:58:02] Production.INFO: ==3603== Lock acquired, processing the job...
[2025-04-08 23:58:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:58:02] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:58:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:58:02] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:58:03] Production.INFO: ==3599== Lock acquired, processing the job...
[2025-04-08 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:58:03] Production.INFO: ==3601== Lock acquired, processing the job...
[2025-04-08 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:58:03] Production.INFO: ==3609== Lock acquired, processing the job...
[2025-04-08 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:58:03] Production.INFO: ==3605== Lock acquired, processing the job...
[2025-04-08 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:58:03] Production.INFO: ==3607== Lock acquired, processing the job...
[2025-04-08 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:58:03] Production.INFO: Account Balance Start.
[2025-04-08 23:58:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:58:03] Production.INFO: 117
[2025-04-08 23:58:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:58:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:58:03] Production.INFO: count ==12
[2025-04-08 23:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:58:03] Production.INFO: count ==23
[2025-04-08 23:58:03] Production.INFO: ==3601== Releasing lock...
[2025-04-08 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:58:03] Production.INFO: Total Charge 0
[2025-04-08 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865712') start
[2025-04-08 23:58:03] Production.INFO: CreateAllLog End
[2025-04-08 23:58:04] Production.ERROR: done
[2025-04-08 23:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:58:04] Production.INFO: Account Balance End.
[2025-04-08 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865712') end
[2025-04-08 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:58:04] Production.INFO: 1
[2025-04-08 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:58:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:58:04] Production.INFO: ==3605== Releasing lock...
[2025-04-08 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:58:04] Production.INFO: ==3609== Releasing lock...
[2025-04-08 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:58:04] Production.ERROR: done
[2025-04-08 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:58:05
[end_date_ymd] => 2025-04-08 23:58:05
[RateCDR] => 1
)
[2025-04-08 23:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:58:05' and `end` < '2025-04-08 23:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:58:12] Production.ERROR: CronJobId end10
[2025-04-08 23:58:12] Production.INFO: ==3603== Releasing lock...
[2025-04-08 23:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:58:15] Production.INFO: call_cost start
[2025-04-08 23:58:15] Production.INFO: call_cost end
[2025-04-08 23:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:58:16] Production.INFO: ==3599== Releasing lock...
[2025-04-08 23:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:58:18] Production.INFO: count ==405
[2025-04-08 23:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:58:05 - End Time 2025-04-08 23:58:05
[2025-04-08 23:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865714', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865714', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865714', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865714', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:58:18] Production.INFO: ProcessCDR(1,14865714,1,1,2)
[2025-04-08 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865714', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865714', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:58:21] Production.INFO: ==3607== Releasing lock...
[2025-04-08 23:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:58:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 04:59:01] Production.INFO: ==3665== Lock acquired, processing the job...
[2025-04-09 04:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 04:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 04:59:01] Production.INFO: neon service started
[2025-04-09 04:59:01] Production.INFO: neon service started
[2025-04-09 04:59:01] Production.INFO: ==3665== Releasing lock...
[2025-04-09 04:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 04:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-08 23:59:02] Production.INFO: ==3667== Lock acquired, processing the job...
[2025-04-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-08 23:59:02] Production.INFO: ==3667== Releasing lock...
[2025-04-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-08 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:59:02] Production.INFO: ==3669== Lock acquired, processing the job...
[2025-04-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:59:02] Production.INFO: ==3669== Releasing lock...
[2025-04-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-08 23:59:03] Production.INFO: ==3672== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-08 23:59:03] Production.INFO: ==3674== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-08 23:59:03] Production.INFO: ==3678== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-08 23:59:03] Production.INFO: ==3676== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-08 23:59:03] Production.INFO: ==3680== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-08 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-08 23:59:03] Production.INFO: Account Balance Start.
[2025-04-08 23:59:03] Production.INFO: CreateAllLog Start
[2025-04-08 23:59:03] Production.INFO: 117
[2025-04-08 23:59:03] Production.INFO: Date 2025-04-08
[2025-04-08 23:59:03] Production.INFO: Reseller ==> 0
[2025-04-08 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-08 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250408Live done
[2025-04-08 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408Live done
[2025-04-08 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250408Live)
[2025-04-08 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-08','2025-04-08','120250408Live')
[2025-04-08 23:59:03] Production.INFO: ==3682== Lock acquired, processing the job...
[2025-04-08 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-08 23:59:03] Production.INFO: Total Charge 0
[2025-04-08 23:59:04] Production.INFO: CreateAllLog End
[2025-04-08 23:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:59:04] Production.ERROR: done
[2025-04-08 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-08 23:59:04] Production.INFO: ==3674== Releasing lock...
[2025-04-08 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-08 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-08 23:59:04] Production.INFO: count ==12
[2025-04-08 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-08 23:59:04] Production.INFO: count ==23
[2025-04-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865718') start
[2025-04-08 23:59:04] Production.INFO: Account Balance End.
[2025-04-08 23:59:04] Production.ERROR: done
[2025-04-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865718') end
[2025-04-08 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-08 23:59:04] Production.INFO: 1
[2025-04-08 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-08 23:59:04] Production.ERROR: CronJobId end 12
[2025-04-08 23:59:04] Production.INFO: ==3678== Releasing lock...
[2025-04-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-08 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-08 23:59:04] Production.INFO: ==3682== Releasing lock...
[2025-04-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-08 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-08 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 20:59:05
[end_date_ymd] => 2025-04-08 23:59:05
[RateCDR] => 1
)
[2025-04-08 23:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 20:59:05' and `end` < '2025-04-08 23:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-08 23:59:12] Production.ERROR: CronJobId end10
[2025-04-08 23:59:12] Production.INFO: ==3676== Releasing lock...
[2025-04-08 23:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-08 23:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-08 23:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-08 23:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-08 23:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-08 23:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-08 23:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-08 23:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-08 23:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-08 23:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-08 23:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-08 23:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-08 23:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-08 23:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-08 23:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-08 23:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-08 23:59:14] Production.INFO: call_cost start
[2025-04-08 23:59:14] Production.INFO: call_cost end
[2025-04-08 23:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-08 23:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-08 23:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-08 23:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-08 23:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-08 23:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-08 23:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-08 23:59:15] Production.INFO: ==3672== Releasing lock...
[2025-04-08 23:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-08 23:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-08 23:59:18] Production.INFO: count ==405
[2025-04-08 23:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 20:59:05 - End Time 2025-04-08 23:59:05
[2025-04-08 23:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865719', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865719', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865719', 'tblTempVendorCDR_20' ) start
[2025-04-08 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865719', 'tblTempVendorCDR_20' ) end
[2025-04-08 23:59:18] Production.INFO: ProcessCDR(1,14865719,1,1,2)
[2025-04-08 23:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-08 23:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-08 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865719', 'tblTempUsageDetail_20' ) start
[2025-04-08 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865719', 'tblTempUsageDetail_20' ) end
[2025-04-08 23:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-08 23:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-08 23:59:21] Production.INFO: ==3680== Releasing lock...
[2025-04-08 23:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-08 23:59:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 05:00:01] Production.INFO: ==3739== Lock acquired, processing the job...
[2025-04-09 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:00:01] Production.INFO: neon service started
[2025-04-09 05:00:01] Production.INFO: neon service started
[2025-04-09 05:00:01] Production.INFO: ==3739== Releasing lock...
[2025-04-09 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:00:01] Production.INFO: ==3741== Lock acquired, processing the job...
[2025-04-09 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:00:02] Production.INFO: ==3741== Releasing lock...
[2025-04-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:00:02] Production.INFO: ==3743== Lock acquired, processing the job...
[2025-04-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:00:02] Production.INFO: ==3743== Releasing lock...
[2025-04-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:00:03] Production.INFO: ==3749== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3755== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:00:03] Production.INFO: ==3745== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3747== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3753== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3751== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:00:03] Production.INFO: ==3749== Releasing lock...
[2025-04-09 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:00:03] Production.INFO: ==3757== Lock acquired, processing the job...
[2025-04-09 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:00:03] Production.ERROR: CronJob PID - 3747
[2025-04-09 00:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 00:00:03] Production.ERROR: CronJob ID - 5
[2025-04-09 00:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:00:00
[2025-04-09 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:00:03] Production.ERROR: CronJob PID - 3751
[2025-04-09 00:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 00:00:03] Production.ERROR: CronJob ID - 10
[2025-04-09 00:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:00:00
[2025-04-09 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:00:03] Production.ERROR: CronJob PID - 3753
[2025-04-09 00:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 00:00:03] Production.ERROR: CronJob ID - 12
[2025-04-09 00:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:00:00
[2025-04-09 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:00:03] Production.ERROR: CronJob PID - 3755
[2025-04-09 00:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 00:00:03] Production.ERROR: CronJob ID - 16
[2025-04-09 00:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:00:00
[2025-04-09 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:00:03] Production.ERROR: CronJob PID - 3759
[2025-04-09 00:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 00:00:03] Production.ERROR: CronJob ID - 19
[2025-04-09 00:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:00:00
[2025-04-09 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:00:03] Production.INFO: Account Balance Start.
[2025-04-09 00:00:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:00:03] Production.INFO: 117
[2025-04-09 00: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-04-09 00:00:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:00:03] Production.INFO: count ==12
[2025-04-09 00: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-04-09 00:00:03] Production.INFO: count ==23
[2025-04-09 00:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865721') start
[2025-04-09 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:00:03] Production.INFO: ==3745== Releasing lock...
[2025-04-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:00:03] Production.ERROR: done
[2025-04-09 00:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:00:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865721') end
[2025-04-09 00:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:00:04] Production.INFO: 1
[2025-04-09 00:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:00:04] Production.INFO: Total Charge 0
[2025-04-09 00:00:04] Production.INFO: ==3759== Releasing lock...
[2025-04-09 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:00:04] Production.INFO: CreateAllLog End
[2025-04-09 00:00:04] Production.ERROR: done
[2025-04-09 00:00:04] Production.ERROR: done
[2025-04-09 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865725', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:00:04] Production.INFO: Account Balance End.
[2025-04-09 00:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:00:04] Production.INFO: ==3753== Releasing lock...
[2025-04-09 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:00:05
[end_date_ymd] => 2025-04-09 00:00:05
[RateCDR] => 1
)
[2025-04-09 00: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-04-08 21:00:05' and `end` < '2025-04-09 00: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-04-09 00:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865725', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:00:08] Production.INFO: ProcessCDR(1,14865725,1,1,2)
[2025-04-09 00:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:00:08] Production.INFO: ==3757== Releasing lock...
[2025-04-09 00:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:00:14] Production.ERROR: CronJobId end10
[2025-04-09 00:00:14] Production.INFO: ==3751== Releasing lock...
[2025-04-09 00:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:00:14] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:00:16] Production.INFO: call_cost start
[2025-04-09 00:00:16] Production.INFO: call_cost end
[2025-04-09 00:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:00:17] Production.INFO: ==3747== Releasing lock...
[2025-04-09 00:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:00:18] Production.INFO: count ==401
[2025-04-09 00:00:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:00:05 - End Time 2025-04-09 00:00:05
[2025-04-09 00:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865724', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865724', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865724', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865724', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:00:18] Production.INFO: ProcessCDR(1,14865724,1,1,2)
[2025-04-09 00:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865724', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865724', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:00:23] Production.INFO: ==3755== Releasing lock...
[2025-04-09 00:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:00:23] Production.INFO: 33 MB #Memory Used#
[2025-04-09 05:01:01] Production.INFO: ==3816== Lock acquired, processing the job...
[2025-04-09 05:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:01:02] Production.INFO: neon service started
[2025-04-09 05:01:02] Production.INFO: neon service started
[2025-04-09 05:01:02] Production.INFO: ==3816== Releasing lock...
[2025-04-09 05:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:01:02] Production.INFO: ==3831== Lock acquired, processing the job...
[2025-04-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:01:02] Production.INFO: ==3833== Lock acquired, processing the job...
[2025-04-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:01:02] Production.INFO: ==3831== Releasing lock...
[2025-04-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:01:02] Production.INFO: ==3833== Releasing lock...
[2025-04-09 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:01:03] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:01:03] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:01:03] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:01:03] Production.INFO: ==3835== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:01:03] Production.INFO: ==3837== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:01:03] Production.INFO: ==3839== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-04-09 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-04-09 00:01:03] Production.INFO: count ==12
[2025-04-09 00:01:03] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-04-09 00:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:01:04] Production.INFO: count ==23
[2025-04-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865726') start
[2025-04-09 00:01:04] Production.INFO: Account Balance Start.
[2025-04-09 00:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:01:04] Production.INFO: 117
[2025-04-09 00:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865726') end
[2025-04-09 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:01:04] Production.INFO: 1
[2025-04-09 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:01:04] Production.INFO: Total Charge 0
[2025-04-09 00:01:04] Production.INFO: CreateAllLog End
[2025-04-09 00:01:04] Production.INFO: ==3847== Releasing lock...
[2025-04-09 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:01:04] Production.INFO: ==3837== Releasing lock...
[2025-04-09 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:01:04] Production.ERROR: done
[2025-04-09 00:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:01:04] Production.INFO: Account Balance End.
[2025-04-09 00:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:01:04] Production.INFO: ==3843== Releasing lock...
[2025-04-09 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:01:04] Production.ERROR: done
[2025-04-09 00:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:01:05
[end_date_ymd] => 2025-04-09 00:01:05
[RateCDR] => 1
)
[2025-04-09 00: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-04-08 21:01:05' and `end` < '2025-04-09 00: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-04-09 00:01:11] Production.ERROR: tmp_tblUsageDetailsReport_120250405 done
[2025-04-09 00:01:11] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250405 done
[2025-04-09 00:01:11] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250405
[2025-04-09 00:01:12] Production.INFO: call prc_generateSummary(1,'2025-04-05','2025-04-05','120250405')
[2025-04-09 00:01:16] Production.INFO: call prc_generateVendorSummary(1,'2025-04-05','2025-04-05','120250405')
[2025-04-09 00:01:18] Production.ERROR: CronJobId end10
[2025-04-09 00:01:18] Production.INFO: ==3841== Releasing lock...
[2025-04-09 00:01:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:01:18] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:01:18] Production.INFO: count ==90
[2025-04-09 00:01:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:01:05 - End Time 2025-04-09 00:01:05
[2025-04-09 00:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865730', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865730', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865730', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865730', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:01:18] Production.INFO: ProcessCDR(1,14865730,1,1,2)
[2025-04-09 00:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:01:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:01:19] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:01:19] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:01:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:01:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:01:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:01:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:01:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:01:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:01:19] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:01:19] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:01:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:01:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:01:19] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:01:19] Production.INFO: call_cost start
[2025-04-09 00:01:19] Production.INFO: call_cost end
[2025-04-09 00:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:01:21] Production.ERROR: tmp_tblUsageDetailsReport_120250406 done
[2025-04-09 00:01:21] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:01:21] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:01:21] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:01:21] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:01:21] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:01:21] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:01:21] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:01:21] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:01:21] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:01:21] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250406 done
[2025-04-09 00:01:21] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250406
[2025-04-09 00:01:21] Production.INFO: ==3835== Releasing lock...
[2025-04-09 00:01:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:01:23] Production.INFO: call prc_generateSummary(1,'2025-04-06','2025-04-06','120250406')
[2025-04-09 00:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865730', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865730', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:01:23] Production.INFO: ==3845== Releasing lock...
[2025-04-09 00:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:01:23] Production.INFO: 29 MB #Memory Used#
[2025-04-09 00:01:26] Production.INFO: call prc_generateVendorSummary(1,'2025-04-06','2025-04-06','120250406')
[2025-04-09 00:01:29] Production.ERROR: tmp_tblUsageDetailsReport_120250407 done
[2025-04-09 00:01:29] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250407 done
[2025-04-09 00:01:29] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250407
[2025-04-09 00:01:29] Production.INFO: call prc_generateSummary(1,'2025-04-07','2025-04-07','120250407')
[2025-04-09 00:01:32] Production.INFO: call prc_generateVendorSummary(1,'2025-04-07','2025-04-07','120250407')
[2025-04-09 00:01:35] Production.ERROR: tmp_tblUsageDetailsReport_120250408 done
[2025-04-09 00:01:35] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408 done
[2025-04-09 00:01:35] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250408
[2025-04-09 00:01:36] Production.INFO: call prc_generateSummary(1,'2025-04-08','2025-04-08','120250408')
[2025-04-09 00:01:39] Production.INFO: call prc_generateVendorSummary(1,'2025-04-08','2025-04-08','120250408')
[2025-04-09 00:01:42] Production.ERROR: CronJobId end9
[2025-04-09 00:01:42] Production.INFO: ==3839== Releasing lock...
[2025-04-09 00:01:42] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-04-09 00:01:42] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:02:01] Production.INFO: ==3911== Lock acquired, processing the job...
[2025-04-09 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:02:01] Production.INFO: neon service started
[2025-04-09 05:02:01] Production.INFO: neon service started
[2025-04-09 05:02:01] Production.INFO: ==3911== Releasing lock...
[2025-04-09 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:02:01] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-04-09 00:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:02:02] Production.INFO: ==3913== Releasing lock...
[2025-04-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:02:02] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-04-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:02:02] Production.INFO: ==3915== Releasing lock...
[2025-04-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:02:03] Production.INFO: ==3919== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:02:03] Production.INFO: ==3925== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:02:03] Production.INFO: ==3927== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:02:03] Production.INFO: ==3917== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:02:03] Production.INFO: ==3921== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:02:03] Production.INFO: count ==12
[2025-04-09 00:02:03] Production.INFO: ==3923== Lock acquired, processing the job...
[2025-04-09 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:02:03] Production.INFO: count ==23
[2025-04-09 00:02:03] Production.INFO: ==3919== Releasing lock...
[2025-04-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865732') start
[2025-04-09 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:02:03] Production.INFO: Account Balance Start.
[2025-04-09 00:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:02:03] Production.INFO: 117
[2025-04-09 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865732') end
[2025-04-09 00:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:02:03] Production.INFO: 1
[2025-04-09 00:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:02:03] Production.INFO: ==3927== Releasing lock...
[2025-04-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:02:03] Production.ERROR: done
[2025-04-09 00:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:02:03] Production.INFO: Total Charge 0
[2025-04-09 00:02:03] Production.INFO: CreateAllLog End
[2025-04-09 00:02:03] Production.ERROR: done
[2025-04-09 00:02:03] Production.INFO: Account Balance End.
[2025-04-09 00:02:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:02:03] Production.INFO: ==3923== Releasing lock...
[2025-04-09 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:02:04
[end_date_ymd] => 2025-04-09 00:02:04
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:02:04' and `end` < '2025-04-09 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-04-09 00:02:11] Production.ERROR: CronJobId end10
[2025-04-09 00:02:11] Production.INFO: ==3921== Releasing lock...
[2025-04-09 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:02:14] Production.INFO: call_cost start
[2025-04-09 00:02:14] Production.INFO: call_cost end
[2025-04-09 00:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:02:15] Production.INFO: ==3917== Releasing lock...
[2025-04-09 00:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:02:17] Production.INFO: count ==89
[2025-04-09 00:02:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:02:04 - End Time 2025-04-09 00:02:04
[2025-04-09 00:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865735', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865735', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865735', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865735', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:02:17] Production.INFO: ProcessCDR(1,14865735,1,1,2)
[2025-04-09 00:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865735', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865735', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:02:21] Production.INFO: ==3925== Releasing lock...
[2025-04-09 00:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:02:21] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:03:01] Production.INFO: ==3995== Lock acquired, processing the job...
[2025-04-09 05:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:03:01] Production.INFO: neon service started
[2025-04-09 05:03:01] Production.INFO: neon service started
[2025-04-09 05:03:01] Production.INFO: ==3995== Releasing lock...
[2025-04-09 05:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:03:02] Production.INFO: ==3999== Lock acquired, processing the job...
[2025-04-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:03:02] Production.INFO: ==3999== Releasing lock...
[2025-04-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:03:02] Production.INFO: ==3997== Lock acquired, processing the job...
[2025-04-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:03:02] Production.INFO: ==3997== Releasing lock...
[2025-04-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:03:03] Production.INFO: ==4002== Lock acquired, processing the job...
[2025-04-09 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:03:03] Production.INFO: ==4006== Lock acquired, processing the job...
[2025-04-09 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:03:03] Production.INFO: ==4008== Lock acquired, processing the job...
[2025-04-09 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:03:03] Production.INFO: Account Balance Start.
[2025-04-09 00:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:03:03] Production.INFO: 117
[2025-04-09 00:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:03:03] Production.INFO: ==4004== Lock acquired, processing the job...
[2025-04-09 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:03:03] Production.INFO: Total Charge 0
[2025-04-09 00:03:03] Production.INFO: CreateAllLog End
[2025-04-09 00:03:03] Production.INFO: ==4012== Lock acquired, processing the job...
[2025-04-09 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:03:04] Production.INFO: Account Balance End.
[2025-04-09 00:03:04] Production.INFO: ==4010== Lock acquired, processing the job...
[2025-04-09 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:03:04] Production.INFO: ==4008== Releasing lock...
[2025-04-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:03:04] Production.INFO: ==4004== Releasing lock...
[2025-04-09 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:03:04] Production.INFO: count ==12
[2025-04-09 00:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:03:04] Production.INFO: count ==23
[2025-04-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865739') start
[2025-04-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865739') end
[2025-04-09 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:03:04] Production.INFO: 1
[2025-04-09 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:03:04] Production.INFO: ==4012== Releasing lock...
[2025-04-09 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:03:04] Production.ERROR: done
[2025-04-09 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:03:04] Production.ERROR: done
[2025-04-09 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:03:05
[end_date_ymd] => 2025-04-09 00:03:05
[RateCDR] => 1
)
[2025-04-09 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:03:05' and `end` < '2025-04-09 00:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:03:12] Production.ERROR: CronJobId end10
[2025-04-09 00:03:12] Production.INFO: ==4006== Releasing lock...
[2025-04-09 00:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:03:15] Production.INFO: call_cost start
[2025-04-09 00:03:15] Production.INFO: call_cost end
[2025-04-09 00:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:03:16] Production.INFO: ==4002== Releasing lock...
[2025-04-09 00:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:03:23] Production.INFO: count ==89
[2025-04-09 00:03:23] Production.ERROR: pbx CDR StartTime 2025-04-08 21:03:05 - End Time 2025-04-09 00:03:05
[2025-04-09 00:03:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865740', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865740', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865740', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865740', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:03:23] Production.INFO: ProcessCDR(1,14865740,1,1,2)
[2025-04-09 00:03:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:03:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865740', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865740', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:03:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:03:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:03:28] Production.INFO: ==4010== Releasing lock...
[2025-04-09 00:03:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:03:28] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:04:02] Production.INFO: ==4082== Lock acquired, processing the job...
[2025-04-09 05:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:04:02] Production.INFO: neon service started
[2025-04-09 05:04:02] Production.INFO: neon service started
[2025-04-09 05:04:02] Production.INFO: ==4082== Releasing lock...
[2025-04-09 05:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:04:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:04:03] Production.INFO: ==4084== Lock acquired, processing the job...
[2025-04-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:04:03] Production.INFO: ==4086== Lock acquired, processing the job...
[2025-04-09 04:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:04:03] Production.INFO: ==4086== Releasing lock...
[2025-04-09 04:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:04:03] Production.INFO: ==4084== Releasing lock...
[2025-04-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:04:04] Production.INFO: ==4095== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:04:04] Production.INFO: ==4099== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:04:04] Production.INFO: Account Balance Start.
[2025-04-09 00:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:04:04] Production.INFO: 117
[2025-04-09 00:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 00: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-04-09 00:04:04] Production.INFO: Total Charge 0
[2025-04-09 00:04:04] Production.INFO: count ==12
[2025-04-09 00:04:04] Production.INFO: CreateAllLog End
[2025-04-09 00: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-04-09 00:04:04] Production.INFO: count ==23
[2025-04-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865742') start
[2025-04-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865742') end
[2025-04-09 00:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:04:04] Production.INFO: 1
[2025-04-09 00:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:04:04] Production.INFO: Account Balance End.
[2025-04-09 00:04:04] Production.INFO: ==4089== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:04:04] Production.INFO: ==4099== Releasing lock...
[2025-04-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:04:04] Production.INFO: ==4095== Releasing lock...
[2025-04-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:04:04] Production.INFO: ==4093== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:04:04] Production.INFO: ==4091== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:04:04] Production.INFO: ==4097== Lock acquired, processing the job...
[2025-04-09 00:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:04:05] Production.INFO: ==4091== Releasing lock...
[2025-04-09 00:04:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:04:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:04:05] Production.ERROR: done
[2025-04-09 00:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:04:05] Production.ERROR: done
[2025-04-09 00:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:04:06
[end_date_ymd] => 2025-04-09 00:04:06
[RateCDR] => 1
)
[2025-04-09 00:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:04:06' and `end` < '2025-04-09 00:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:04:12] Production.ERROR: CronJobId end10
[2025-04-09 00:04:12] Production.INFO: ==4093== Releasing lock...
[2025-04-09 00:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:04:15] Production.INFO: call_cost start
[2025-04-09 00:04:15] Production.INFO: call_cost end
[2025-04-09 00:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:04:16] Production.INFO: ==4089== Releasing lock...
[2025-04-09 00:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:04:22] Production.INFO: count ==89
[2025-04-09 00:04:22] Production.ERROR: pbx CDR StartTime 2025-04-08 21:04:06 - End Time 2025-04-09 00:04:06
[2025-04-09 00:04:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865745', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865745', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865745', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865745', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:04:22] Production.INFO: ProcessCDR(1,14865745,1,1,2)
[2025-04-09 00:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865745', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865745', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:04:26] Production.INFO: ==4097== Releasing lock...
[2025-04-09 00:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:04:26] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:05:01] Production.INFO: ==4204== Lock acquired, processing the job...
[2025-04-09 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:05:02] Production.INFO: neon service started
[2025-04-09 05:05:02] Production.INFO: neon service started
[2025-04-09 05:05:02] Production.INFO: ==4204== Releasing lock...
[2025-04-09 05:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:05:02] Production.INFO: ==4208== Lock acquired, processing the job...
[2025-04-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:05:02] Production.INFO: ==4208== Releasing lock...
[2025-04-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:05:02] Production.INFO: ==4206== Lock acquired, processing the job...
[2025-04-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:05:02] Production.INFO: ==4206== Releasing lock...
[2025-04-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:05:03] Production.INFO: ==4210== Lock acquired, processing the job...
[2025-04-09 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:05:03] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-04-09 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:05:04] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-04-09 00:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:05:04] Production.INFO: ==4219== Lock acquired, processing the job...
[2025-04-09 00:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:05:04] Production.INFO: ==4217== Lock acquired, processing the job...
[2025-04-09 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:05:04] Production.INFO: ==4221== Lock acquired, processing the job...
[2025-04-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:05:04] Production.INFO: ==4213== Releasing lock...
[2025-04-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:05:04] Production.INFO: Account Balance Start.
[2025-04-09 00:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:05:04] Production.INFO: 117
[2025-04-09 00:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:05:04] Production.INFO: Total Charge 0
[2025-04-09 00:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:05:04] Production.INFO: CreateAllLog End
[2025-04-09 00:05:04] Production.INFO: count ==12
[2025-04-09 00:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:05:04] Production.INFO: count ==23
[2025-04-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865749') start
[2025-04-09 00:05:04] Production.ERROR: done
[2025-04-09 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:05:05] Production.ERROR: done
[2025-04-09 00:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865749') end
[2025-04-09 00:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:05:05] Production.INFO: 1
[2025-04-09 00:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:05:05] Production.INFO: Account Balance End.
[2025-04-09 00:05:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:05:05] Production.INFO: ==4217== Releasing lock...
[2025-04-09 00:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:05:05] Production.INFO: ==4221== Releasing lock...
[2025-04-09 00:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:05:06
[end_date_ymd] => 2025-04-09 00:05:06
[RateCDR] => 1
)
[2025-04-09 00:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:05:06' and `end` < '2025-04-09 00:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:05:13] Production.ERROR: CronJobId end10
[2025-04-09 00:05:13] Production.INFO: ==4215== Releasing lock...
[2025-04-09 00:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:05:15] Production.INFO: call_cost start
[2025-04-09 00:05:15] Production.INFO: call_cost end
[2025-04-09 00:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:05:16] Production.INFO: ==4210== Releasing lock...
[2025-04-09 00:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:05:33] Production.INFO: count ==92
[2025-04-09 00:05:33] Production.ERROR: pbx CDR StartTime 2025-04-08 21:05:06 - End Time 2025-04-09 00:05:06
[2025-04-09 00:05:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865750', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865750', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865750', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865750', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:05:33] Production.INFO: ProcessCDR(1,14865750,1,1,2)
[2025-04-09 00:05:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:05:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:05:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:05:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:05:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865750', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:05:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865750', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:05:38] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:05:38] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:05:38] Production.INFO: ==4219== Releasing lock...
[2025-04-09 00:05:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:05:38] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:06:01] Production.INFO: ==4285== Lock acquired, processing the job...
[2025-04-09 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:06:01] Production.INFO: neon service started
[2025-04-09 05:06:01] Production.INFO: neon service started
[2025-04-09 05:06:01] Production.INFO: ==4285== Releasing lock...
[2025-04-09 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:06:02] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-04-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:06:02] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-04-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:06:02] Production.INFO: ==4289== Releasing lock...
[2025-04-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:06:02] Production.INFO: ==4287== Releasing lock...
[2025-04-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:06:03] Production.INFO: ==4302== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==4300== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==4294== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==4292== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:06:03] Production.INFO: ==4296== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:06:03] Production.INFO: ==4298== Lock acquired, processing the job...
[2025-04-09 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:06:03] Production.INFO: count ==12
[2025-04-09 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:06:03] Production.INFO: count ==23
[2025-04-09 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865751') start
[2025-04-09 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865751') end
[2025-04-09 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:06:04] Production.INFO: 1
[2025-04-09 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:06:04] Production.INFO: Account Balance Start.
[2025-04-09 00:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:06:04] Production.INFO: 117
[2025-04-09 00:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:06:04] Production.INFO: ==4294== Releasing lock...
[2025-04-09 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:06:04] Production.INFO: ==4302== Releasing lock...
[2025-04-09 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:06:04] Production.INFO: Total Charge 0
[2025-04-09 00:06:04] Production.INFO: CreateAllLog End
[2025-04-09 00:06:04] Production.ERROR: done
[2025-04-09 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:06:04] Production.ERROR: done
[2025-04-09 00:06:04] Production.INFO: Account Balance End.
[2025-04-09 00:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:06:04] Production.INFO: ==4298== Releasing lock...
[2025-04-09 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:06:05
[end_date_ymd] => 2025-04-09 00:06:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:06:05' and `end` < '2025-04-09 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-04-09 00:06:11] Production.ERROR: CronJobId end10
[2025-04-09 00:06:11] Production.INFO: ==4296== Releasing lock...
[2025-04-09 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:06:14] Production.INFO: call_cost start
[2025-04-09 00:06:14] Production.INFO: call_cost end
[2025-04-09 00:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:06:15] Production.INFO: ==4292== Releasing lock...
[2025-04-09 00:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:06:27] Production.INFO: count ==92
[2025-04-09 00:06:27] Production.ERROR: pbx CDR StartTime 2025-04-08 21:06:05 - End Time 2025-04-09 00:06:05
[2025-04-09 00:06:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865755', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865755', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865755', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865755', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:06:27] Production.INFO: ProcessCDR(1,14865755,1,1,2)
[2025-04-09 00:06:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865755', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865755', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:06:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:06:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:06:30] Production.INFO: ==4300== Releasing lock...
[2025-04-09 00:06:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:06:30] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:07:01] Production.INFO: ==4370== Lock acquired, processing the job...
[2025-04-09 05:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:07:01] Production.INFO: neon service started
[2025-04-09 05:07:01] Production.INFO: neon service started
[2025-04-09 05:07:01] Production.INFO: ==4370== Releasing lock...
[2025-04-09 05:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:07:02] Production.INFO: ==4372== Lock acquired, processing the job...
[2025-04-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:07:02] Production.INFO: ==4374== Lock acquired, processing the job...
[2025-04-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:07:02] Production.INFO: ==4374== Releasing lock...
[2025-04-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:07:02] Production.INFO: ==4372== Releasing lock...
[2025-04-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:07:03] Production.INFO: ==4383== Lock acquired, processing the job...
[2025-04-09 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:07:03] Production.INFO: ==4387== Lock acquired, processing the job...
[2025-04-09 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:07:04] Production.INFO: Account Balance Start.
[2025-04-09 00:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:07:04] Production.INFO: 117
[2025-04-09 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:07:04] Production.INFO: ==4377== Lock acquired, processing the job...
[2025-04-09 00:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:07:04] Production.INFO: count ==12
[2025-04-09 00:07:04] Production.INFO: ==4379== Lock acquired, processing the job...
[2025-04-09 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:07:04] Production.INFO: ==4381== Lock acquired, processing the job...
[2025-04-09 00:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:07:04] Production.INFO: count ==23
[2025-04-09 00:07:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865756') start
[2025-04-09 00:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:07:04] Production.INFO: Total Charge 0
[2025-04-09 00:07:04] Production.INFO: ==4385== Lock acquired, processing the job...
[2025-04-09 00:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:07:04] Production.INFO: CreateAllLog End
[2025-04-09 00:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865756') end
[2025-04-09 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:07:04] Production.INFO: 1
[2025-04-09 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:07:04] Production.INFO: Account Balance End.
[2025-04-09 00:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:07:04] Production.INFO: ==4383== Releasing lock...
[2025-04-09 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:07:04] Production.INFO: ==4387== Releasing lock...
[2025-04-09 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:07:04] Production.INFO: ==4379== Releasing lock...
[2025-04-09 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:07:04] Production.ERROR: done
[2025-04-09 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:07:05] Production.ERROR: done
[2025-04-09 00:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:07:06
[end_date_ymd] => 2025-04-09 00:07:06
[RateCDR] => 1
)
[2025-04-09 00: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-04-08 21:07:06' and `end` < '2025-04-09 00:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:07:12] Production.ERROR: CronJobId end10
[2025-04-09 00:07:12] Production.INFO: ==4381== Releasing lock...
[2025-04-09 00:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:07:15] Production.INFO: call_cost start
[2025-04-09 00:07:15] Production.INFO: call_cost end
[2025-04-09 00:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:07:16] Production.INFO: ==4377== Releasing lock...
[2025-04-09 00:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:07:27] Production.INFO: count ==90
[2025-04-09 00:07:27] Production.ERROR: pbx CDR StartTime 2025-04-08 21:07:06 - End Time 2025-04-09 00:07:06
[2025-04-09 00:07:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865760', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865760', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865760', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865760', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:07:27] Production.INFO: ProcessCDR(1,14865760,1,1,2)
[2025-04-09 00:07:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:07:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:07:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:07:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865760', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865760', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:07:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:07:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:07:30] Production.INFO: ==4385== Releasing lock...
[2025-04-09 00:07:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:07:30] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:08:01] Production.INFO: ==4450== Lock acquired, processing the job...
[2025-04-09 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:08:01] Production.INFO: neon service started
[2025-04-09 05:08:01] Production.INFO: neon service started
[2025-04-09 05:08:01] Production.INFO: ==4450== Releasing lock...
[2025-04-09 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:08:01] Production.INFO: ==4452== Lock acquired, processing the job...
[2025-04-09 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:08:02] Production.INFO: ==4452== Releasing lock...
[2025-04-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:08:02] Production.INFO: ==4454== Lock acquired, processing the job...
[2025-04-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:08:02] Production.INFO: ==4454== Releasing lock...
[2025-04-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:08:03] Production.INFO: ==4457== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:08:03] Production.INFO: ==4459== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:08:03] Production.INFO: ==4461== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:08:03] Production.INFO: ==4465== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:08:03] Production.INFO: ==4459== Releasing lock...
[2025-04-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:08:03] Production.INFO: ==4467== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:08:03] Production.INFO: ==4463== Lock acquired, processing the job...
[2025-04-09 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:08:03] Production.INFO: Account Balance Start.
[2025-04-09 00:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:08:03] Production.INFO: 117
[2025-04-09 00:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:08:03] Production.INFO: count ==12
[2025-04-09 00:08:03] Production.ERROR: done
[2025-04-09 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:08:03] Production.INFO: count ==23
[2025-04-09 00:08:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865764') start
[2025-04-09 00:08:03] Production.INFO: Total Charge 0
[2025-04-09 00:08:03] Production.INFO: CreateAllLog End
[2025-04-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865764') end
[2025-04-09 00:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:08:03] Production.INFO: 1
[2025-04-09 00:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:08:04] Production.ERROR: done
[2025-04-09 00:08:04] Production.INFO: ==4467== Releasing lock...
[2025-04-09 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:08:04] Production.INFO: Account Balance End.
[2025-04-09 00:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:08:04] Production.INFO: ==4463== Releasing lock...
[2025-04-09 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:08:04
[end_date_ymd] => 2025-04-09 00:08:04
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:08:04' and `end` < '2025-04-09 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-04-09 00:08:11] Production.ERROR: CronJobId end10
[2025-04-09 00:08:11] Production.INFO: ==4461== Releasing lock...
[2025-04-09 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:08:14] Production.INFO: call_cost start
[2025-04-09 00:08:14] Production.INFO: call_cost end
[2025-04-09 00:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:08:15] Production.INFO: ==4457== Releasing lock...
[2025-04-09 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:08:28] Production.INFO: count ==87
[2025-04-09 00:08:28] Production.ERROR: pbx CDR StartTime 2025-04-08 21:08:04 - End Time 2025-04-09 00:08:04
[2025-04-09 00:08:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865765', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865765', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865765', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865765', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:08:28] Production.INFO: ProcessCDR(1,14865765,1,1,2)
[2025-04-09 00:08:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:08:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:08:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865765', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865765', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:08:32] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:08:32] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:08:32] Production.INFO: ==4465== Releasing lock...
[2025-04-09 00:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:08:32] Production.INFO: 29 MB #Memory Used#
[2025-04-09 05:09:01] Production.INFO: ==4520== Lock acquired, processing the job...
[2025-04-09 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:09:01] Production.INFO: neon service started
[2025-04-09 05:09:01] Production.INFO: neon service started
[2025-04-09 05:09:01] Production.INFO: ==4520== Releasing lock...
[2025-04-09 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:09:02] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-04-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:09:02] Production.INFO: ==4524== Lock acquired, processing the job...
[2025-04-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:09:02] Production.INFO: ==4522== Releasing lock...
[2025-04-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:09:02] Production.INFO: ==4524== Releasing lock...
[2025-04-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:09:03] Production.INFO: ==4526== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:09:03] Production.INFO: ==4537== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:09:03] Production.INFO: ==4528== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:09:03] Production.INFO: ==4535== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:09:03] Production.INFO: count ==12
[2025-04-09 00:09:03] Production.INFO: ==4532== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:09:03] Production.INFO: count ==23
[2025-04-09 00:09:03] Production.INFO: ==4530== Lock acquired, processing the job...
[2025-04-09 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865766') start
[2025-04-09 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865766') end
[2025-04-09 00:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:09:03] Production.INFO: 1
[2025-04-09 00:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:09:03] Production.INFO: Account Balance Start.
[2025-04-09 00:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:09:03] Production.INFO: 117
[2025-04-09 00:09:03] Production.INFO: ==4537== Releasing lock...
[2025-04-09 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:09:03] Production.INFO: Total Charge 0
[2025-04-09 00:09:04] Production.INFO: CreateAllLog End
[2025-04-09 00:09:04] Production.ERROR: done
[2025-04-09 00:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:09:04] Production.INFO: ==4528== Releasing lock...
[2025-04-09 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:09:04] Production.ERROR: done
[2025-04-09 00:09:04] Production.INFO: Account Balance End.
[2025-04-09 00:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:09:04] Production.INFO: ==4532== Releasing lock...
[2025-04-09 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:09:05
[end_date_ymd] => 2025-04-09 00:09:05
[RateCDR] => 1
)
[2025-04-09 00:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:09:05' and `end` < '2025-04-09 00:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:09:11] Production.ERROR: CronJobId end10
[2025-04-09 00:09:11] Production.INFO: ==4530== Releasing lock...
[2025-04-09 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:09:14] Production.INFO: call_cost start
[2025-04-09 00:09:14] Production.INFO: call_cost end
[2025-04-09 00:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:09:15] Production.INFO: ==4526== Releasing lock...
[2025-04-09 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:09:18] Production.INFO: count ==85
[2025-04-09 00:09:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:09:05 - End Time 2025-04-09 00:09:05
[2025-04-09 00:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865770', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865770', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865770', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865770', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:09:18] Production.INFO: ProcessCDR(1,14865770,1,1,2)
[2025-04-09 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865770', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865770', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:09:21] Production.INFO: ==4535== Releasing lock...
[2025-04-09 00:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:10:02] Production.INFO: ==4599== Lock acquired, processing the job...
[2025-04-09 05:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:10:02] Production.INFO: neon service started
[2025-04-09 05:10:02] Production.INFO: neon service started
[2025-04-09 05:10:02] Production.INFO: ==4599== Releasing lock...
[2025-04-09 05:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:10:02] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-04-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:10:03] Production.INFO: ==4604== Lock acquired, processing the job...
[2025-04-09 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:10:03] Production.INFO: ==4604== Releasing lock...
[2025-04-09 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:10:03] Production.INFO: ==4602== Releasing lock...
[2025-04-09 00:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:10:04] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:10:04] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:10:04] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:10:04] Production.ERROR: CronJob PID - 4608
[2025-04-09 00:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 00:10:04] Production.ERROR: CronJob ID - 5
[2025-04-09 00:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:10:00
[2025-04-09 00:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:10:04] Production.ERROR: CronJob PID - 4612
[2025-04-09 00:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 00:10:04] Production.ERROR: CronJob ID - 10
[2025-04-09 00:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:10:00
[2025-04-09 00:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:10:04] Production.INFO: ==4619== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:10:04] Production.INFO: ==4606== Releasing lock...
[2025-04-09 00:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:10:04] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:10:04] Production.INFO: ==4615== Lock acquired, processing the job...
[2025-04-09 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:10:05] Production.INFO: ==4617== Lock acquired, processing the job...
[2025-04-09 00:10:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:10:05] Production.INFO: ==4621== Lock acquired, processing the job...
[2025-04-09 00:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:10:05] Production.INFO: Account Balance Start.
[2025-04-09 00:10:05] Production.INFO: CreateAllLog Start
[2025-04-09 00:10:05] Production.INFO: 117
[2025-04-09 00:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:10:05] Production.INFO: Date 2025-04-08
[2025-04-09 00:10:05] Production.INFO: Reseller ==> 0
[2025-04-09 00:10:05] Production.INFO: count ==12
[2025-04-09 00:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:10:05] Production.INFO: count ==23
[2025-04-09 00:10:05] Production.INFO: Date 2025-04-09
[2025-04-09 00:10:05] Production.INFO: Reseller ==> 0
[2025-04-09 00:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865773') start
[2025-04-09 00:10:05] Production.INFO: Total Charge 0
[2025-04-09 00:10:05] Production.INFO: CreateAllLog End
[2025-04-09 00:10:05] Production.ERROR: done
[2025-04-09 00:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:10:05] Production.ERROR: done
[2025-04-09 00:10:05] Production.INFO: ==4610== Releasing lock...
[2025-04-09 00:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865773') end
[2025-04-09 00:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:10:05] Production.INFO: 1
[2025-04-09 00:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865775', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:10:05] Production.INFO: ==4621== Releasing lock...
[2025-04-09 00:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:10:05] Production.ERROR: done
[2025-04-09 00:10:06] Production.INFO: Account Balance End.
[2025-04-09 00:10:06] Production.ERROR: CronJobId end 12
[2025-04-09 00:10:06] Production.INFO: ==4615== Releasing lock...
[2025-04-09 00:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:10:07
[end_date_ymd] => 2025-04-09 00:10:07
[RateCDR] => 1
)
[2025-04-09 00:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:10:07' and `end` < '2025-04-09 00:10:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865775', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:10:09] Production.INFO: ProcessCDR(1,14865775,1,1,2)
[2025-04-09 00:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:10:10] Production.INFO: ==4619== Releasing lock...
[2025-04-09 00:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:10:14] Production.ERROR: CronJobId end10
[2025-04-09 00:10:14] Production.INFO: ==4612== Releasing lock...
[2025-04-09 00:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:10:17] Production.INFO: call_cost start
[2025-04-09 00:10:17] Production.INFO: call_cost end
[2025-04-09 00:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:10:18] Production.INFO: ==4608== Releasing lock...
[2025-04-09 00:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:10:20] Production.INFO: count ==85
[2025-04-09 00:10:20] Production.ERROR: pbx CDR StartTime 2025-04-08 21:10:07 - End Time 2025-04-09 00:10:07
[2025-04-09 00:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865776', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865776', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865776', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865776', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:10:20] Production.INFO: ProcessCDR(1,14865776,1,1,2)
[2025-04-09 00:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865776', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865776', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:10:23] Production.INFO: ==4617== Releasing lock...
[2025-04-09 00:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:10:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:11:01] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-04-09 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:11:01] Production.INFO: neon service started
[2025-04-09 05:11:01] Production.INFO: neon service started
[2025-04-09 05:11:01] Production.INFO: ==4678== Releasing lock...
[2025-04-09 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:11:02] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-04-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:11:02] Production.INFO: ==4680== Releasing lock...
[2025-04-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:11:02] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-04-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:11:02] Production.INFO: ==4682== Releasing lock...
[2025-04-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:11:03] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:11:03] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:11:03] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:11:03] Production.INFO: ==4694== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:11:03] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:11:03] Production.INFO: ==4692== Lock acquired, processing the job...
[2025-04-09 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:11:03] Production.INFO: Account Balance Start.
[2025-04-09 00:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:11:03] Production.INFO: 117
[2025-04-09 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:11:03] Production.INFO: count ==12
[2025-04-09 00:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:11:03] Production.INFO: count ==23
[2025-04-09 00:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865778') start
[2025-04-09 00:11:03] Production.INFO: Total Charge 0
[2025-04-09 00:11:03] Production.INFO: CreateAllLog End
[2025-04-09 00:11:03] Production.INFO: ==4686== Releasing lock...
[2025-04-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865778') end
[2025-04-09 00:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:11:03] Production.INFO: 1
[2025-04-09 00:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:11:04] Production.INFO: ==4694== Releasing lock...
[2025-04-09 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:11:04] Production.ERROR: done
[2025-04-09 00:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:11:04] Production.ERROR: done
[2025-04-09 00:11:04] Production.INFO: Account Balance End.
[2025-04-09 00:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:11:04] Production.INFO: ==4690== Releasing lock...
[2025-04-09 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:11:05
[end_date_ymd] => 2025-04-09 00:11:05
[RateCDR] => 1
)
[2025-04-09 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:11:05' and `end` < '2025-04-09 00:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:11:11] Production.ERROR: CronJobId end10
[2025-04-09 00:11:11] Production.INFO: ==4688== Releasing lock...
[2025-04-09 00:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:11:14] Production.INFO: call_cost start
[2025-04-09 00:11:14] Production.INFO: call_cost end
[2025-04-09 00:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:11:15] Production.INFO: ==4684== Releasing lock...
[2025-04-09 00:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:11:18] Production.INFO: count ==85
[2025-04-09 00:11:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:11:05 - End Time 2025-04-09 00:11:05
[2025-04-09 00:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865781', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865781', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865781', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865781', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:11:18] Production.INFO: ProcessCDR(1,14865781,1,1,2)
[2025-04-09 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865781', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865781', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:11:22] Production.INFO: ==4692== Releasing lock...
[2025-04-09 00:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:12:02] Production.INFO: ==4751== Lock acquired, processing the job...
[2025-04-09 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:12:02] Production.INFO: neon service started
[2025-04-09 05:12:02] Production.INFO: neon service started
[2025-04-09 05:12:02] Production.INFO: ==4751== Releasing lock...
[2025-04-09 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:12:02] Production.INFO: ==4755== Lock acquired, processing the job...
[2025-04-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:12:02] Production.INFO: ==4755== Releasing lock...
[2025-04-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:12:02] Production.INFO: ==4753== Lock acquired, processing the job...
[2025-04-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:12:03] Production.INFO: ==4753== Releasing lock...
[2025-04-09 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:12:03] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-04-09 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:12:04] Production.INFO: ==4762== Lock acquired, processing the job...
[2025-04-09 00:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:12:04] Production.INFO: ==4764== Lock acquired, processing the job...
[2025-04-09 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:12:04] Production.INFO: ==4759== Lock acquired, processing the job...
[2025-04-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:12:04] Production.INFO: Account Balance Start.
[2025-04-09 00:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:12:04] Production.INFO: 117
[2025-04-09 00:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:12:04] Production.INFO: ==4766== Lock acquired, processing the job...
[2025-04-09 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:12:04] Production.INFO: Total Charge 0
[2025-04-09 00:12:04] Production.INFO: CreateAllLog End
[2025-04-09 00:12:04] Production.INFO: ==4768== Lock acquired, processing the job...
[2025-04-09 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:12:04] Production.INFO: Account Balance End.
[2025-04-09 00:12:04] Production.INFO: ==4759== Releasing lock...
[2025-04-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:12:04] Production.INFO: count ==12
[2025-04-09 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:12:04] Production.INFO: ==4764== Releasing lock...
[2025-04-09 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:12:04] Production.INFO: count ==23
[2025-04-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865785') start
[2025-04-09 00:12:04] Production.ERROR: done
[2025-04-09 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865785') end
[2025-04-09 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:12:04] Production.INFO: 1
[2025-04-09 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:12:05] Production.INFO: ==4768== Releasing lock...
[2025-04-09 00:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:12:05] Production.ERROR: done
[2025-04-09 00:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:12:06
[end_date_ymd] => 2025-04-09 00:12:06
[RateCDR] => 1
)
[2025-04-09 00:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:12:06' and `end` < '2025-04-09 00:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:12:12] Production.ERROR: CronJobId end10
[2025-04-09 00:12:12] Production.INFO: ==4762== Releasing lock...
[2025-04-09 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:12:15] Production.INFO: call_cost start
[2025-04-09 00:12:15] Production.INFO: call_cost end
[2025-04-09 00:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:12:16] Production.INFO: ==4757== Releasing lock...
[2025-04-09 00:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:12:18] Production.INFO: count ==85
[2025-04-09 00:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:12:06 - End Time 2025-04-09 00:12:06
[2025-04-09 00:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865786', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865786', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865786', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865786', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:12:19] Production.INFO: ProcessCDR(1,14865786,1,1,2)
[2025-04-09 00:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865786', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865786', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:12:22] Production.INFO: ==4766== Releasing lock...
[2025-04-09 00:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:12:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:13:01] Production.INFO: ==4830== Lock acquired, processing the job...
[2025-04-09 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:13:01] Production.INFO: neon service started
[2025-04-09 05:13:01] Production.INFO: neon service started
[2025-04-09 05:13:01] Production.INFO: ==4830== Releasing lock...
[2025-04-09 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:13:02] Production.INFO: ==4832== Lock acquired, processing the job...
[2025-04-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:13:02] Production.INFO: ==4832== Releasing lock...
[2025-04-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:13:02] Production.INFO: ==4834== Lock acquired, processing the job...
[2025-04-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:13:02] Production.INFO: ==4834== Releasing lock...
[2025-04-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:13:03] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:13:03] Production.INFO: ==4836== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:13:03] Production.INFO: ==4844== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:13:03] Production.INFO: ==4840== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:13:03] Production.INFO: ==4842== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:13:03] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-04-09 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:13:03] Production.INFO: Account Balance Start.
[2025-04-09 00:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:13:03] Production.INFO: 117
[2025-04-09 00:13:03] Production.INFO: ==4838== Releasing lock...
[2025-04-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:13:03] Production.ERROR: done
[2025-04-09 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:13:03] Production.INFO: count ==12
[2025-04-09 00:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:13:04] Production.INFO: count ==23
[2025-04-09 00:13:04] Production.INFO: Total Charge 0
[2025-04-09 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865790') start
[2025-04-09 00:13:04] Production.INFO: CreateAllLog End
[2025-04-09 00:13:04] Production.ERROR: done
[2025-04-09 00:13:04] Production.INFO: Account Balance End.
[2025-04-09 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865790') end
[2025-04-09 00:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:13:04] Production.INFO: 1
[2025-04-09 00:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:13:04] Production.INFO: ==4842== Releasing lock...
[2025-04-09 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:13:04] Production.INFO: ==4846== Releasing lock...
[2025-04-09 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:13:05
[end_date_ymd] => 2025-04-09 00:13:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:13:05' and `end` < '2025-04-09 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-04-09 00:13:11] Production.ERROR: CronJobId end10
[2025-04-09 00:13:11] Production.INFO: ==4840== Releasing lock...
[2025-04-09 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:13:14] Production.INFO: call_cost start
[2025-04-09 00:13:14] Production.INFO: call_cost end
[2025-04-09 00:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:13:15] Production.INFO: ==4836== Releasing lock...
[2025-04-09 00:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:13:17] Production.INFO: count ==85
[2025-04-09 00:13:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:13:05 - End Time 2025-04-09 00:13:05
[2025-04-09 00:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865791', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865791', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865791', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865791', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:13:17] Production.INFO: ProcessCDR(1,14865791,1,1,2)
[2025-04-09 00:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865791', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865791', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:13:21] Production.INFO: ==4844== Releasing lock...
[2025-04-09 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:14:02] Production.INFO: ==4910== Lock acquired, processing the job...
[2025-04-09 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:14:02] Production.INFO: neon service started
[2025-04-09 05:14:02] Production.INFO: neon service started
[2025-04-09 05:14:02] Production.INFO: ==4910== Releasing lock...
[2025-04-09 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:14:02] Production.INFO: ==4912== Lock acquired, processing the job...
[2025-04-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:14:02] Production.INFO: ==4914== Lock acquired, processing the job...
[2025-04-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:14:02] Production.INFO: ==4914== Releasing lock...
[2025-04-09 04:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:14:03] Production.INFO: ==4912== Releasing lock...
[2025-04-09 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:14:04] Production.INFO: ==4919== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:14:04] Production.INFO: ==4921== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:14:04] Production.INFO: ==4923== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:14:04] Production.INFO: ==4917== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:14:04] Production.INFO: Account Balance Start.
[2025-04-09 00:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:14:04] Production.INFO: 117
[2025-04-09 00:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:14:04] Production.INFO: ==4919== Releasing lock...
[2025-04-09 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:14:04] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:14:04] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-04-09 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:14:04] Production.INFO: Total Charge 0
[2025-04-09 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:14:04] Production.INFO: CreateAllLog End
[2025-04-09 00:14:04] Production.INFO: count ==12
[2025-04-09 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:14:04] Production.INFO: count ==23
[2025-04-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865795') start
[2025-04-09 00:14:05] Production.ERROR: done
[2025-04-09 00:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865795') end
[2025-04-09 00:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:14:05] Production.INFO: 1
[2025-04-09 00:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:14:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:14:05] Production.INFO: ==4927== Releasing lock...
[2025-04-09 00:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:14:05] Production.ERROR: done
[2025-04-09 00:14:05] Production.INFO: Account Balance End.
[2025-04-09 00:14:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:14:05] Production.INFO: ==4923== Releasing lock...
[2025-04-09 00:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:14:06
[end_date_ymd] => 2025-04-09 00:14:06
[RateCDR] => 1
)
[2025-04-09 00:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:14:06' and `end` < '2025-04-09 00:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:14:12] Production.ERROR: CronJobId end10
[2025-04-09 00:14:12] Production.INFO: ==4921== Releasing lock...
[2025-04-09 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:14:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:14:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:14:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:14:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:14:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:14:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:14:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:14:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:14:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:14:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:14:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:14:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:14:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:14:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:14:16] Production.INFO: call_cost start
[2025-04-09 00:14:16] Production.INFO: call_cost end
[2025-04-09 00:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:14:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:14:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:14:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:14:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:14:17] Production.INFO: ==4917== Releasing lock...
[2025-04-09 00:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:14:19] Production.INFO: count ==85
[2025-04-09 00:14:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:14:06 - End Time 2025-04-09 00:14:06
[2025-04-09 00:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865796', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865796', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865796', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865796', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:14:19] Production.INFO: ProcessCDR(1,14865796,1,1,2)
[2025-04-09 00:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865796', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865796', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:14:22] Production.INFO: ==4925== Releasing lock...
[2025-04-09 00:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:14:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:15:01] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-04-09 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:15:01] Production.INFO: neon service started
[2025-04-09 05:15:01] Production.INFO: neon service started
[2025-04-09 05:15:01] Production.INFO: ==4981== Releasing lock...
[2025-04-09 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:15:02] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-04-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:15:02] Production.INFO: ==4983== Releasing lock...
[2025-04-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:15:02] Production.INFO: ==4985== Lock acquired, processing the job...
[2025-04-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:15:02] Production.INFO: ==4985== Releasing lock...
[2025-04-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:15:03] Production.INFO: ==4987== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:15:03] Production.INFO: ==4994== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:15:03] Production.INFO: ==4996== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:15:03] Production.INFO: ==4989== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:15:03] Production.INFO: ==4991== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:15:03] Production.INFO: Account Balance Start.
[2025-04-09 00:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:15:03] Production.INFO: 117
[2025-04-09 00:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:15:03] Production.INFO: ==4998== Lock acquired, processing the job...
[2025-04-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:15:03] Production.INFO: Total Charge 0
[2025-04-09 00:15:03] Production.INFO: CreateAllLog End
[2025-04-09 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:15:03] Production.INFO: count ==12
[2025-04-09 00:15:03] Production.ERROR: done
[2025-04-09 00:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:15:03] Production.INFO: count ==23
[2025-04-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865800') start
[2025-04-09 00:15:04] Production.ERROR: done
[2025-04-09 00:15:04] Production.INFO: ==4989== Releasing lock...
[2025-04-09 00:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:15:04] Production.INFO: Account Balance End.
[2025-04-09 00:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:15:04] Production.INFO: ==4994== Releasing lock...
[2025-04-09 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865800') end
[2025-04-09 00:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:15:04] Production.INFO: 1
[2025-04-09 00:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:15:04] Production.INFO: ==4998== Releasing lock...
[2025-04-09 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:15:04
[end_date_ymd] => 2025-04-09 00:15:04
[RateCDR] => 1
)
[2025-04-09 00: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-04-08 21:15:04' and `end` < '2025-04-09 00: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-04-09 00:15:12] Production.ERROR: CronJobId end10
[2025-04-09 00:15:12] Production.INFO: ==4991== Releasing lock...
[2025-04-09 00:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:15:14] Production.INFO: call_cost start
[2025-04-09 00:15:14] Production.INFO: call_cost end
[2025-04-09 00:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:15:15] Production.INFO: ==4987== Releasing lock...
[2025-04-09 00:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:15:17] Production.INFO: count ==85
[2025-04-09 00:15:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:15:04 - End Time 2025-04-09 00:15:04
[2025-04-09 00:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865801', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865801', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865801', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865801', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:15:17] Production.INFO: ProcessCDR(1,14865801,1,1,2)
[2025-04-09 00:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865801', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865801', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:15:21] Production.INFO: ==4996== Releasing lock...
[2025-04-09 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:16:02] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-04-09 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:16:02] Production.INFO: neon service started
[2025-04-09 05:16:02] Production.INFO: neon service started
[2025-04-09 05:16:02] Production.INFO: ==5055== Releasing lock...
[2025-04-09 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:16:02] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-04-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:16:02] Production.INFO: ==5057== Releasing lock...
[2025-04-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:16:03] Production.INFO: ==5059== Lock acquired, processing the job...
[2025-04-09 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:16:03] Production.INFO: ==5059== Releasing lock...
[2025-04-09 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:16:03] Production.INFO: ==5068== Lock acquired, processing the job...
[2025-04-09 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:16:03] Production.INFO: ==5072== Lock acquired, processing the job...
[2025-04-09 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:16:04] Production.INFO: ==5061== Lock acquired, processing the job...
[2025-04-09 00:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:16:04] Production.INFO: Account Balance Start.
[2025-04-09 00:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:16:04] Production.INFO: 117
[2025-04-09 00:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:16:04] Production.INFO: ==5064== Lock acquired, processing the job...
[2025-04-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:16:04] Production.INFO: ==5066== Lock acquired, processing the job...
[2025-04-09 00:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:16:04] Production.INFO: ==5070== Lock acquired, processing the job...
[2025-04-09 00:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:16:04] Production.INFO: count ==12
[2025-04-09 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:16:04] Production.INFO: count ==23
[2025-04-09 00:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865803') start
[2025-04-09 00:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865803') end
[2025-04-09 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:16:04] Production.INFO: 1
[2025-04-09 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:16:04] Production.INFO: Total Charge 0
[2025-04-09 00:16:04] Production.INFO: ==5072== Releasing lock...
[2025-04-09 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:16:04] Production.INFO: CreateAllLog End
[2025-04-09 00:16:04] Production.ERROR: done
[2025-04-09 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:16:04] Production.INFO: ==5064== Releasing lock...
[2025-04-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:16:04] Production.INFO: Account Balance End.
[2025-04-09 00:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:16:04] Production.INFO: ==5068== Releasing lock...
[2025-04-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:16:04] Production.ERROR: done
[2025-04-09 00:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:16:06
[end_date_ymd] => 2025-04-09 00:16:06
[RateCDR] => 1
)
[2025-04-09 00:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:16:06' and `end` < '2025-04-09 00:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:16:13] Production.ERROR: CronJobId end10
[2025-04-09 00:16:13] Production.INFO: ==5066== Releasing lock...
[2025-04-09 00:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:16:15] Production.INFO: call_cost start
[2025-04-09 00:16:15] Production.INFO: call_cost end
[2025-04-09 00:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:16:16] Production.INFO: ==5061== Releasing lock...
[2025-04-09 00:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:16:18] Production.INFO: count ==79
[2025-04-09 00:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:16:06 - End Time 2025-04-09 00:16:06
[2025-04-09 00:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865806', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865806', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865806', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865806', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:16:18] Production.INFO: ProcessCDR(1,14865806,1,1,2)
[2025-04-09 00:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865806', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865806', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:16:22] Production.INFO: ==5070== Releasing lock...
[2025-04-09 00:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:17:01] Production.INFO: ==5132== Lock acquired, processing the job...
[2025-04-09 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:17:01] Production.INFO: neon service started
[2025-04-09 05:17:01] Production.INFO: neon service started
[2025-04-09 05:17:01] Production.INFO: ==5132== Releasing lock...
[2025-04-09 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:17:02] Production.INFO: ==5134== Lock acquired, processing the job...
[2025-04-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:17:02] Production.INFO: ==5134== Releasing lock...
[2025-04-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:17:02] Production.INFO: ==5136== Lock acquired, processing the job...
[2025-04-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:17:02] Production.INFO: ==5136== Releasing lock...
[2025-04-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:17:03] Production.INFO: ==5140== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:17:03] Production.INFO: ==5138== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:17:03] Production.INFO: ==5144== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:17:03] Production.INFO: ==5142== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:17:03] Production.INFO: ==5146== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:17:03] Production.INFO: Account Balance Start.
[2025-04-09 00:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:17:03] Production.INFO: 117
[2025-04-09 00:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:17:03] Production.INFO: Total Charge 0
[2025-04-09 00:17:03] Production.INFO: ==5148== Lock acquired, processing the job...
[2025-04-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:17:03] Production.INFO: CreateAllLog End
[2025-04-09 00:17:03] Production.INFO: ==5140== Releasing lock...
[2025-04-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:17:03] Production.INFO: count ==12
[2025-04-09 00:17:03] Production.INFO: Account Balance End.
[2025-04-09 00:17:04] Production.ERROR: done
[2025-04-09 00:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:17:04] Production.INFO: ==5144== Releasing lock...
[2025-04-09 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:17:04] Production.INFO: count ==23
[2025-04-09 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865810') start
[2025-04-09 00:17:04] Production.ERROR: done
[2025-04-09 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865810') end
[2025-04-09 00:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:17:04] Production.INFO: 1
[2025-04-09 00:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:17:04] Production.INFO: ==5148== Releasing lock...
[2025-04-09 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:17:05
[end_date_ymd] => 2025-04-09 00:17:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:17:05' and `end` < '2025-04-09 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-04-09 00:17:12] Production.ERROR: CronJobId end10
[2025-04-09 00:17:12] Production.INFO: ==5142== Releasing lock...
[2025-04-09 00:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:17:14] Production.INFO: call_cost start
[2025-04-09 00:17:14] Production.INFO: call_cost end
[2025-04-09 00:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:17:15] Production.INFO: ==5138== Releasing lock...
[2025-04-09 00:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:17:18] Production.INFO: count ==81
[2025-04-09 00:17:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:17:05 - End Time 2025-04-09 00:17:05
[2025-04-09 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865811', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865811', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865811', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865811', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:17:18] Production.INFO: ProcessCDR(1,14865811,1,1,2)
[2025-04-09 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865811', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865811', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:17:21] Production.INFO: ==5146== Releasing lock...
[2025-04-09 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:18:02] Production.INFO: ==5206== Lock acquired, processing the job...
[2025-04-09 05:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:18:02] Production.INFO: neon service started
[2025-04-09 05:18:02] Production.INFO: neon service started
[2025-04-09 05:18:02] Production.INFO: ==5206== Releasing lock...
[2025-04-09 05:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:18:02] Production.INFO: ==5210== Lock acquired, processing the job...
[2025-04-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:18:02] Production.INFO: ==5210== Releasing lock...
[2025-04-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:18:02] Production.INFO: ==5208== Lock acquired, processing the job...
[2025-04-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:18:02] Production.INFO: ==5208== Releasing lock...
[2025-04-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:18:03] Production.INFO: ==5218== Lock acquired, processing the job...
[2025-04-09 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:18:04] Production.INFO: ==5220== Lock acquired, processing the job...
[2025-04-09 00:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:18:04] Production.INFO: Account Balance Start.
[2025-04-09 00:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:18:04] Production.INFO: 117
[2025-04-09 00:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:18:04] Production.INFO: Total Charge 0
[2025-04-09 00:18:04] Production.INFO: CreateAllLog End
[2025-04-09 00:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:18:04] Production.INFO: ==5212== Lock acquired, processing the job...
[2025-04-09 00:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:18:04] Production.INFO: ==5214== Lock acquired, processing the job...
[2025-04-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:18:04] Production.INFO: ==5216== Lock acquired, processing the job...
[2025-04-09 00:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:18:04] Production.INFO: ==5222== Lock acquired, processing the job...
[2025-04-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:18:04] Production.INFO: Account Balance End.
[2025-04-09 00:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:18:04] Production.INFO: ==5218== Releasing lock...
[2025-04-09 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:18:04] Production.ERROR: done
[2025-04-09 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:18:04] Production.INFO: count ==12
[2025-04-09 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:18:04] Production.ERROR: done
[2025-04-09 00:18:04] Production.INFO: count ==23
[2025-04-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865815') start
[2025-04-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865815') end
[2025-04-09 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:18:04] Production.INFO: 1
[2025-04-09 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:18:04] Production.INFO: ==5214== Releasing lock...
[2025-04-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:18:04] Production.INFO: ==5222== Releasing lock...
[2025-04-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:18:05
[end_date_ymd] => 2025-04-09 00:18:05
[RateCDR] => 1
)
[2025-04-09 00:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:18:05' and `end` < '2025-04-09 00:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:18:12] Production.ERROR: CronJobId end10
[2025-04-09 00:18:12] Production.INFO: ==5216== Releasing lock...
[2025-04-09 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:18:15] Production.INFO: call_cost start
[2025-04-09 00:18:15] Production.INFO: call_cost end
[2025-04-09 00:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:18:16] Production.INFO: ==5212== Releasing lock...
[2025-04-09 00:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:18:18] Production.INFO: count ==78
[2025-04-09 00:18:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:18:05 - End Time 2025-04-09 00:18:05
[2025-04-09 00:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865816', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865816', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865816', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865816', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:18:18] Production.INFO: ProcessCDR(1,14865816,1,1,2)
[2025-04-09 00:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865816', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865816', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:18:21] Production.INFO: ==5220== Releasing lock...
[2025-04-09 00:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:19:01] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-04-09 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:19:01] Production.INFO: neon service started
[2025-04-09 05:19:01] Production.INFO: neon service started
[2025-04-09 05:19:01] Production.INFO: ==5278== Releasing lock...
[2025-04-09 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:19:01] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-04-09 00:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:19:02] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-04-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:19:02] Production.INFO: ==5280== Releasing lock...
[2025-04-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:19:02] Production.INFO: ==5282== Releasing lock...
[2025-04-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:19:03] Production.INFO: ==5285== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:19:03] Production.INFO: ==5293== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:19:03] Production.INFO: ==5295== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:19:03] Production.INFO: ==5287== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:19:03] Production.INFO: ==5289== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:19:03] Production.INFO: ==5291== Lock acquired, processing the job...
[2025-04-09 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:19:03] Production.INFO: count ==12
[2025-04-09 00:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:19:03] Production.INFO: count ==23
[2025-04-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865817') start
[2025-04-09 00:19:03] Production.INFO: Account Balance Start.
[2025-04-09 00:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:19:03] Production.INFO: 117
[2025-04-09 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:19:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:19:03] Production.INFO: Total Charge 0
[2025-04-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865817') end
[2025-04-09 00:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:19:03] Production.INFO: 1
[2025-04-09 00:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:19:03] Production.INFO: CreateAllLog End
[2025-04-09 00:19:03] Production.INFO: ==5295== Releasing lock...
[2025-04-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:19:03] Production.ERROR: done
[2025-04-09 00:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:19:03] Production.INFO: Account Balance End.
[2025-04-09 00:19:04] Production.INFO: ==5287== Releasing lock...
[2025-04-09 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:19:04] Production.INFO: ==5291== Releasing lock...
[2025-04-09 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:19:04] Production.ERROR: done
[2025-04-09 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:19:05
[end_date_ymd] => 2025-04-09 00:19:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:19:05' and `end` < '2025-04-09 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-04-09 00:19:11] Production.ERROR: CronJobId end10
[2025-04-09 00:19:11] Production.INFO: ==5289== Releasing lock...
[2025-04-09 00:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:19:14] Production.INFO: call_cost start
[2025-04-09 00:19:14] Production.INFO: call_cost end
[2025-04-09 00:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:19:15] Production.INFO: ==5285== Releasing lock...
[2025-04-09 00:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:19:17] Production.INFO: count ==78
[2025-04-09 00:19:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:19:05 - End Time 2025-04-09 00:19:05
[2025-04-09 00:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865821', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865821', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865821', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865821', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:19:17] Production.INFO: ProcessCDR(1,14865821,1,1,2)
[2025-04-09 00:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865821', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865821', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:19:21] Production.INFO: ==5293== Releasing lock...
[2025-04-09 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:20:02] Production.INFO: ==5388== Lock acquired, processing the job...
[2025-04-09 05:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:20:02] Production.INFO: neon service started
[2025-04-09 05:20:02] Production.INFO: neon service started
[2025-04-09 05:20:02] Production.INFO: ==5388== Releasing lock...
[2025-04-09 05:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:20:02] Production.INFO: ==5392== Lock acquired, processing the job...
[2025-04-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:20:02] Production.INFO: ==5392== Releasing lock...
[2025-04-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:20:02] Production.INFO: ==5390== Lock acquired, processing the job...
[2025-04-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:20:02] Production.INFO: ==5390== Releasing lock...
[2025-04-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:20:03] Production.INFO: ==5395== Lock acquired, processing the job...
[2025-04-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:20:03] Production.INFO: ==5397== Lock acquired, processing the job...
[2025-04-09 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:20:03] Production.INFO: ==5395== Releasing lock...
[2025-04-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:20:03] Production.INFO: ==5401== Lock acquired, processing the job...
[2025-04-09 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:20:04] Production.INFO: ==5407== Lock acquired, processing the job...
[2025-04-09 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:20:04] Production.INFO: ==5399== Lock acquired, processing the job...
[2025-04-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:20:04] Production.INFO: ==5403== Lock acquired, processing the job...
[2025-04-09 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:20:04] Production.INFO: ==5405== Lock acquired, processing the job...
[2025-04-09 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:20:04] Production.INFO: Account Balance Start.
[2025-04-09 00:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:20:04] Production.INFO: 117
[2025-04-09 00:20:04] Production.INFO: ==5409== Lock acquired, processing the job...
[2025-04-09 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:20:04] Production.INFO: ==5399== Releasing lock...
[2025-04-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:20:04] Production.ERROR: done
[2025-04-09 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:20:04] Production.INFO: Total Charge 0
[2025-04-09 00:20:04] Production.INFO: count ==12
[2025-04-09 00:20:04] Production.INFO: CreateAllLog End
[2025-04-09 00:20:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:20:05] Production.INFO: count ==23
[2025-04-09 00:20:05] Production.ERROR: done
[2025-04-09 00:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865825') start
[2025-04-09 00:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865826', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865825') end
[2025-04-09 00:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:20:05] Production.INFO: 1
[2025-04-09 00:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:20:05] Production.INFO: Account Balance End.
[2025-04-09 00:20:05] Production.ERROR: done
[2025-04-09 00:20:05] Production.INFO: ==5409== Releasing lock...
[2025-04-09 00:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:20:05] Production.INFO: ==5403== Releasing lock...
[2025-04-09 00:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:20:06
[end_date_ymd] => 2025-04-09 00:20:06
[RateCDR] => 1
)
[2025-04-09 00: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-04-08 21:20:06' and `end` < '2025-04-09 00: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-04-09 00:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865826', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:20:09] Production.INFO: ProcessCDR(1,14865826,1,1,2)
[2025-04-09 00:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865826,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:20:09] Production.INFO: ==5407== Releasing lock...
[2025-04-09 00:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:20:13] Production.ERROR: CronJobId end10
[2025-04-09 00:20:13] Production.INFO: ==5401== Releasing lock...
[2025-04-09 00:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:20:16] Production.INFO: call_cost start
[2025-04-09 00:20:16] Production.INFO: call_cost end
[2025-04-09 00:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:20:17] Production.INFO: ==5397== Releasing lock...
[2025-04-09 00:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:20:19] Production.INFO: count ==86
[2025-04-09 00:20:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:20:06 - End Time 2025-04-09 00:20:06
[2025-04-09 00:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865827', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865827', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865827', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865827', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:20:19] Production.INFO: ProcessCDR(1,14865827,1,1,2)
[2025-04-09 00:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865827', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865827', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:20:23] Production.INFO: ==5405== Releasing lock...
[2025-04-09 00:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:20:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:21:01] Production.INFO: ==5465== Lock acquired, processing the job...
[2025-04-09 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:21:01] Production.INFO: neon service started
[2025-04-09 05:21:01] Production.INFO: neon service started
[2025-04-09 05:21:01] Production.INFO: ==5465== Releasing lock...
[2025-04-09 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:21:01] Production.INFO: ==5467== Lock acquired, processing the job...
[2025-04-09 00:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:21:02] Production.INFO: ==5467== Releasing lock...
[2025-04-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:21:02] Production.INFO: ==5469== Lock acquired, processing the job...
[2025-04-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:21:02] Production.INFO: ==5469== Releasing lock...
[2025-04-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:21:03] Production.INFO: ==5471== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:21:03] Production.INFO: ==5473== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:21:03] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:21:03] Production.INFO: ==5475== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:21:03] Production.INFO: Account Balance Start.
[2025-04-09 00:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:21:03] Production.INFO: 117
[2025-04-09 00:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:21:03] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:21:03] Production.INFO: ==5473== Releasing lock...
[2025-04-09 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:21:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:21:03] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-04-09 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:21:03] Production.INFO: Total Charge 0
[2025-04-09 00:21:03] Production.INFO: CreateAllLog End
[2025-04-09 00:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:21:03] Production.INFO: count ==12
[2025-04-09 00:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:21:03] Production.INFO: count ==23
[2025-04-09 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865831') start
[2025-04-09 00:21:03] Production.INFO: Account Balance End.
[2025-04-09 00:21:03] Production.ERROR: done
[2025-04-09 00:21:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:21:03] Production.INFO: ==5477== Releasing lock...
[2025-04-09 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865831') end
[2025-04-09 00:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:21:03] Production.INFO: 1
[2025-04-09 00:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:21:04] Production.INFO: ==5481== Releasing lock...
[2025-04-09 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:21:04] Production.ERROR: done
[2025-04-09 00:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:21:04
[end_date_ymd] => 2025-04-09 00:21:04
[RateCDR] => 1
)
[2025-04-09 00:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:21:04' and `end` < '2025-04-09 00:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:21:12] Production.ERROR: CronJobId end10
[2025-04-09 00:21:12] Production.INFO: ==5475== Releasing lock...
[2025-04-09 00:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:21:15] Production.INFO: call_cost start
[2025-04-09 00:21:15] Production.INFO: call_cost end
[2025-04-09 00:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:21:16] Production.INFO: ==5471== Releasing lock...
[2025-04-09 00:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:21:17] Production.INFO: count ==85
[2025-04-09 00:21:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:21:04 - End Time 2025-04-09 00:21:04
[2025-04-09 00:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865832', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865832', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865832', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865832', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:21:17] Production.INFO: ProcessCDR(1,14865832,1,1,2)
[2025-04-09 00:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865832', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865832', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:21:21] Production.INFO: ==5479== Releasing lock...
[2025-04-09 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:22:02] Production.INFO: ==5539== Lock acquired, processing the job...
[2025-04-09 05:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:22:02] Production.INFO: neon service started
[2025-04-09 05:22:02] Production.INFO: neon service started
[2025-04-09 05:22:02] Production.INFO: ==5539== Releasing lock...
[2025-04-09 05:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:22:02] Production.INFO: ==5541== Lock acquired, processing the job...
[2025-04-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:22:02] Production.INFO: ==5541== Releasing lock...
[2025-04-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:22:02] Production.INFO: ==5543== Lock acquired, processing the job...
[2025-04-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:22:02] Production.INFO: ==5543== Releasing lock...
[2025-04-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:22:03] Production.INFO: ==5545== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:22:03] Production.INFO: ==5547== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:22:03] Production.INFO: ==5555== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:22:03] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:22:03] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:22:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-04-09 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00: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-04-09 00:22:04] Production.INFO: count ==12
[2025-04-09 00:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:22:04] Production.INFO: count ==23
[2025-04-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865835') start
[2025-04-09 00:22:04] Production.INFO: ==5547== Releasing lock...
[2025-04-09 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:22:04] Production.INFO: Account Balance Start.
[2025-04-09 00:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:22:04] Production.INFO: 117
[2025-04-09 00:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865835') end
[2025-04-09 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:22:04] Production.INFO: 1
[2025-04-09 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:22:04] Production.ERROR: done
[2025-04-09 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:22:04] Production.INFO: Total Charge 0
[2025-04-09 00:22:04] Production.INFO: ==5555== Releasing lock...
[2025-04-09 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:22:04] Production.INFO: CreateAllLog End
[2025-04-09 00:22:04] Production.ERROR: done
[2025-04-09 00:22:04] Production.INFO: Account Balance End.
[2025-04-09 00:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:22:04] Production.INFO: ==5551== Releasing lock...
[2025-04-09 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:22:05
[end_date_ymd] => 2025-04-09 00:22:05
[RateCDR] => 1
)
[2025-04-09 00:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:22:05' and `end` < '2025-04-09 00:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:22:12] Production.ERROR: CronJobId end10
[2025-04-09 00:22:12] Production.INFO: ==5549== Releasing lock...
[2025-04-09 00:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:22:14] Production.INFO: call_cost start
[2025-04-09 00:22:14] Production.INFO: call_cost end
[2025-04-09 00:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:22:15] Production.INFO: ==5545== Releasing lock...
[2025-04-09 00:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:22:18] Production.INFO: count ==85
[2025-04-09 00:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:22:05 - End Time 2025-04-09 00:22:05
[2025-04-09 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865837', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865837', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865837', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865837', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:22:18] Production.INFO: ProcessCDR(1,14865837,1,1,2)
[2025-04-09 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865837', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865837', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:22:22] Production.INFO: ==5553== Releasing lock...
[2025-04-09 00:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:22:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:23:01] Production.INFO: ==5610== Lock acquired, processing the job...
[2025-04-09 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:23:01] Production.INFO: neon service started
[2025-04-09 05:23:01] Production.INFO: neon service started
[2025-04-09 05:23:01] Production.INFO: ==5610== Releasing lock...
[2025-04-09 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:23:01] Production.INFO: ==5612== Lock acquired, processing the job...
[2025-04-09 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:23:02] Production.INFO: ==5612== Releasing lock...
[2025-04-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:23:02] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-04-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:23:02] Production.INFO: ==5614== Releasing lock...
[2025-04-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:23:03] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:23:03] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:23:03] Production.INFO: Account Balance Start.
[2025-04-09 00:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:23:03] Production.INFO: 117
[2025-04-09 00:23:03] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:23:03] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:23:03] Production.INFO: Total Charge 0
[2025-04-09 00:23:03] Production.INFO: CreateAllLog End
[2025-04-09 00:23:03] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:23:03] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-04-09 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:23:03] Production.ERROR: done
[2025-04-09 00:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 00:23:03] Production.INFO: Account Balance End.
[2025-04-09 00:23:03] Production.INFO: count ==12
[2025-04-09 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-04-09 00:23:03] Production.INFO: count ==23
[2025-04-09 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865841') start
[2025-04-09 00:23:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:23:03] Production.INFO: ==5623== Releasing lock...
[2025-04-09 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:23:03] Production.INFO: ==5619== Releasing lock...
[2025-04-09 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:23:03] Production.ERROR: done
[2025-04-09 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865841') end
[2025-04-09 00:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:23:03] Production.INFO: 1
[2025-04-09 00:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:23:04] Production.INFO: ==5627== Releasing lock...
[2025-04-09 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:23:05
[end_date_ymd] => 2025-04-09 00:23:05
[RateCDR] => 1
)
[2025-04-09 00:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:23:05' and `end` < '2025-04-09 00:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:23:11] Production.ERROR: CronJobId end10
[2025-04-09 00:23:11] Production.INFO: ==5621== Releasing lock...
[2025-04-09 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:23:14] Production.INFO: call_cost start
[2025-04-09 00:23:14] Production.INFO: call_cost end
[2025-04-09 00:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:23:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:23:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:23:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:23:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:23:14] Production.INFO: ==5617== Releasing lock...
[2025-04-09 00:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:23:17] Production.INFO: count ==84
[2025-04-09 00:23:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:23:05 - End Time 2025-04-09 00:23:05
[2025-04-09 00:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865842', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865842', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865842', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865842', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:23:17] Production.INFO: ProcessCDR(1,14865842,1,1,2)
[2025-04-09 00:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865842', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865842', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:23:21] Production.INFO: ==5625== Releasing lock...
[2025-04-09 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:24:01] Production.INFO: ==5686== Lock acquired, processing the job...
[2025-04-09 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:24:01] Production.INFO: neon service started
[2025-04-09 05:24:01] Production.INFO: neon service started
[2025-04-09 05:24:01] Production.INFO: ==5686== Releasing lock...
[2025-04-09 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:24:02] Production.INFO: ==5690== Lock acquired, processing the job...
[2025-04-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:24:02] Production.INFO: ==5690== Releasing lock...
[2025-04-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:24:02] Production.INFO: ==5688== Lock acquired, processing the job...
[2025-04-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:24:02] Production.INFO: ==5688== Releasing lock...
[2025-04-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:24:03] Production.INFO: ==5693== Lock acquired, processing the job...
[2025-04-09 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:24:03] Production.INFO: ==5699== Lock acquired, processing the job...
[2025-04-09 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:24:03] Production.INFO: ==5701== Lock acquired, processing the job...
[2025-04-09 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:24:03] Production.INFO: Account Balance Start.
[2025-04-09 00:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:24:03] Production.INFO: 117
[2025-04-09 00:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:24:03] Production.INFO: ==5697== Lock acquired, processing the job...
[2025-04-09 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:24:04] Production.INFO: ==5695== Lock acquired, processing the job...
[2025-04-09 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:24:04] Production.INFO: Total Charge 0
[2025-04-09 00:24:04] Production.INFO: CreateAllLog End
[2025-04-09 00:24:04] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-04-09 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00: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-04-09 00:24:04] Production.INFO: count ==12
[2025-04-09 00: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-04-09 00:24:04] Production.INFO: count ==23
[2025-04-09 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865846') start
[2025-04-09 00:24:04] Production.ERROR: done
[2025-04-09 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:24:04] Production.INFO: Account Balance End.
[2025-04-09 00:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:24:04] Production.INFO: ==5699== Releasing lock...
[2025-04-09 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865846') end
[2025-04-09 00:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:24:04] Production.INFO: 1
[2025-04-09 00:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:24:04] Production.INFO: ==5703== Releasing lock...
[2025-04-09 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:24:04] Production.INFO: ==5695== Releasing lock...
[2025-04-09 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:24:04] Production.ERROR: done
[2025-04-09 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:24:05
[end_date_ymd] => 2025-04-09 00:24:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:24:05' and `end` < '2025-04-09 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-04-09 00:24:13] Production.ERROR: CronJobId end10
[2025-04-09 00:24:13] Production.INFO: ==5697== Releasing lock...
[2025-04-09 00:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:24:14] Production.INFO: call_cost start
[2025-04-09 00:24:14] Production.INFO: call_cost end
[2025-04-09 00:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:24:15] Production.INFO: ==5693== Releasing lock...
[2025-04-09 00:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:24:18] Production.INFO: count ==84
[2025-04-09 00:24:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:24:05 - End Time 2025-04-09 00:24:05
[2025-04-09 00:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865847', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865847', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865847', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865847', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:24:18] Production.INFO: ProcessCDR(1,14865847,1,1,2)
[2025-04-09 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865847', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865847', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:24:21] Production.INFO: ==5701== Releasing lock...
[2025-04-09 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:25:02] Production.INFO: ==5757== Lock acquired, processing the job...
[2025-04-09 05:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:25:02] Production.INFO: neon service started
[2025-04-09 05:25:02] Production.INFO: neon service started
[2025-04-09 05:25:02] Production.INFO: ==5757== Releasing lock...
[2025-04-09 05:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:25:02] Production.INFO: ==5759== Lock acquired, processing the job...
[2025-04-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:25:03] Production.INFO: ==5759== Releasing lock...
[2025-04-09 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:25:03] Production.INFO: ==5761== Lock acquired, processing the job...
[2025-04-09 04:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:25:03] Production.INFO: ==5761== Releasing lock...
[2025-04-09 04:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:25:03] Production.INFO: ==5768== Lock acquired, processing the job...
[2025-04-09 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:25:04] Production.INFO: ==5764== Lock acquired, processing the job...
[2025-04-09 00:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:25:04] Production.INFO: ==5766== Lock acquired, processing the job...
[2025-04-09 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:25:04] Production.INFO: ==5776== Lock acquired, processing the job...
[2025-04-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:25:04] Production.INFO: ==5770== Lock acquired, processing the job...
[2025-04-09 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:25:04] Production.INFO: Account Balance Start.
[2025-04-09 00:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:25:04] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-04-09 00:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:25:04] Production.INFO: 117
[2025-04-09 00:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:25:04] Production.INFO: count ==12
[2025-04-09 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:25:04] Production.INFO: count ==23
[2025-04-09 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865850') start
[2025-04-09 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865850') end
[2025-04-09 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:25:04] Production.INFO: 1
[2025-04-09 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:25:04] Production.INFO: Total Charge 0
[2025-04-09 00:25:04] Production.INFO: CreateAllLog End
[2025-04-09 00:25:04] Production.INFO: ==5776== Releasing lock...
[2025-04-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:25:04] Production.INFO: ==5766== Releasing lock...
[2025-04-09 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:25:04] Production.ERROR: done
[2025-04-09 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:25:05] Production.INFO: Account Balance End.
[2025-04-09 00:25:05] Production.ERROR: done
[2025-04-09 00:25:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:25:05] Production.INFO: ==5770== Releasing lock...
[2025-04-09 00:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:25:06
[end_date_ymd] => 2025-04-09 00:25:06
[RateCDR] => 1
)
[2025-04-09 00:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:25:06' and `end` < '2025-04-09 00:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:25:12] Production.ERROR: CronJobId end10
[2025-04-09 00:25:12] Production.INFO: ==5768== Releasing lock...
[2025-04-09 00:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:25:15] Production.INFO: call_cost start
[2025-04-09 00:25:15] Production.INFO: call_cost end
[2025-04-09 00:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:25:16] Production.INFO: ==5764== Releasing lock...
[2025-04-09 00:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:25:18] Production.INFO: count ==83
[2025-04-09 00:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:25:06 - End Time 2025-04-09 00:25:06
[2025-04-09 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865852', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865852', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865852', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865852', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:25:18] Production.INFO: ProcessCDR(1,14865852,1,1,2)
[2025-04-09 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865852', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865852', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:25:22] Production.INFO: ==5772== Releasing lock...
[2025-04-09 00:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:25:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:26:01] Production.INFO: ==5829== Lock acquired, processing the job...
[2025-04-09 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:26:01] Production.INFO: neon service started
[2025-04-09 05:26:01] Production.INFO: neon service started
[2025-04-09 05:26:01] Production.INFO: ==5829== Releasing lock...
[2025-04-09 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:26:02] Production.INFO: ==5831== Lock acquired, processing the job...
[2025-04-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:26:02] Production.INFO: ==5833== Lock acquired, processing the job...
[2025-04-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:26:02] Production.INFO: ==5833== Releasing lock...
[2025-04-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:26:02] Production.INFO: ==5831== Releasing lock...
[2025-04-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:26:03] Production.INFO: ==5837== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:26:03] Production.INFO: ==5841== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:26:03] Production.INFO: ==5843== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:26:03] Production.INFO: ==5835== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:26:03] Production.INFO: Account Balance Start.
[2025-04-09 00:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:26:03] Production.INFO: ==5839== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: 117
[2025-04-09 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:26:03] Production.INFO: ==5846== Lock acquired, processing the job...
[2025-04-09 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:26:03] Production.INFO: ==5837== Releasing lock...
[2025-04-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:26:03] Production.INFO: Total Charge 0
[2025-04-09 00:26:03] Production.INFO: CreateAllLog End
[2025-04-09 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:26:03] Production.ERROR: done
[2025-04-09 00:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:26:03] Production.INFO: count ==12
[2025-04-09 00:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:26:03] Production.INFO: count ==23
[2025-04-09 00:26:03] Production.INFO: Account Balance End.
[2025-04-09 00:26:04] Production.ERROR: done
[2025-04-09 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865856') start
[2025-04-09 00:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:26:04] Production.INFO: ==5841== Releasing lock...
[2025-04-09 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865856') end
[2025-04-09 00:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:26:04] Production.INFO: 1
[2025-04-09 00:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:26:04] Production.INFO: ==5846== Releasing lock...
[2025-04-09 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:26:05
[end_date_ymd] => 2025-04-09 00:26:05
[RateCDR] => 1
)
[2025-04-09 00:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:26:05' and `end` < '2025-04-09 00:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:26:11] Production.ERROR: CronJobId end10
[2025-04-09 00:26:11] Production.INFO: ==5839== Releasing lock...
[2025-04-09 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:26:13] Production.INFO: call_cost start
[2025-04-09 00:26:13] Production.INFO: call_cost end
[2025-04-09 00:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:26:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:26:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:26:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:26:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:26:14] Production.INFO: ==5835== Releasing lock...
[2025-04-09 00:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:26:17] Production.INFO: count ==83
[2025-04-09 00:26:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:26:05 - End Time 2025-04-09 00:26:05
[2025-04-09 00:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865857', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865857', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865857', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865857', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:26:17] Production.INFO: ProcessCDR(1,14865857,1,1,2)
[2025-04-09 00:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865857', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865857', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:26:21] Production.INFO: ==5843== Releasing lock...
[2025-04-09 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:27:02] Production.INFO: ==5902== Lock acquired, processing the job...
[2025-04-09 05:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:27:02] Production.INFO: neon service started
[2025-04-09 05:27:02] Production.INFO: neon service started
[2025-04-09 05:27:02] Production.INFO: ==5902== Releasing lock...
[2025-04-09 05:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:27:02] Production.INFO: ==5904== Lock acquired, processing the job...
[2025-04-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:27:02] Production.INFO: ==5904== Releasing lock...
[2025-04-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:27:03] Production.INFO: ==5906== Lock acquired, processing the job...
[2025-04-09 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:27:03] Production.INFO: ==5906== Releasing lock...
[2025-04-09 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:27:03] Production.INFO: ==5914== Lock acquired, processing the job...
[2025-04-09 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:27:03] Production.INFO: ==5908== Lock acquired, processing the job...
[2025-04-09 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:27:03] Production.INFO: ==5918== Lock acquired, processing the job...
[2025-04-09 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:27:03] Production.INFO: Account Balance Start.
[2025-04-09 00:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:27:03] Production.INFO: 117
[2025-04-09 00:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:27:04] Production.INFO: ==5910== Lock acquired, processing the job...
[2025-04-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:27:04] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-04-09 00:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:27:04] Production.INFO: count ==12
[2025-04-09 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:27:04] Production.INFO: count ==23
[2025-04-09 00:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865859') start
[2025-04-09 00:27:04] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-04-09 00:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:27:04] Production.INFO: Total Charge 0
[2025-04-09 00:27:04] Production.INFO: CreateAllLog End
[2025-04-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865859') end
[2025-04-09 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:27:04] Production.INFO: 1
[2025-04-09 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:27:04] Production.INFO: ==5918== Releasing lock...
[2025-04-09 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:27:04] Production.INFO: ==5910== Releasing lock...
[2025-04-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:27:04] Production.INFO: Account Balance End.
[2025-04-09 00:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:27:04] Production.INFO: ==5914== Releasing lock...
[2025-04-09 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:27:04] Production.ERROR: done
[2025-04-09 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:27:04] Production.ERROR: done
[2025-04-09 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:27:05
[end_date_ymd] => 2025-04-09 00:27:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:27:05' and `end` < '2025-04-09 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-04-09 00:27:11] Production.ERROR: CronJobId end10
[2025-04-09 00:27:11] Production.INFO: ==5912== Releasing lock...
[2025-04-09 00:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:27:15] Production.INFO: call_cost start
[2025-04-09 00:27:15] Production.INFO: call_cost end
[2025-04-09 00:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:27:15] Production.INFO: ==5908== Releasing lock...
[2025-04-09 00:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:27:18] Production.INFO: count ==82
[2025-04-09 00:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:27:05 - End Time 2025-04-09 00:27:05
[2025-04-09 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865862', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865862', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865862', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865862', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:27:18] Production.INFO: ProcessCDR(1,14865862,1,1,2)
[2025-04-09 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865862', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865862', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:27:21] Production.INFO: ==5916== Releasing lock...
[2025-04-09 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:28:01] Production.INFO: ==5971== Lock acquired, processing the job...
[2025-04-09 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:28:01] Production.INFO: neon service started
[2025-04-09 05:28:01] Production.INFO: neon service started
[2025-04-09 05:28:01] Production.INFO: ==5971== Releasing lock...
[2025-04-09 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:28:02] Production.INFO: ==5973== Lock acquired, processing the job...
[2025-04-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:28:02] Production.INFO: ==5973== Releasing lock...
[2025-04-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:28:02] Production.INFO: ==5975== Lock acquired, processing the job...
[2025-04-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:28:02] Production.INFO: ==5975== Releasing lock...
[2025-04-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:28:03] Production.INFO: ==5977== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:28:03] Production.INFO: ==5979== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:28:03] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:28:03] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:28:03] Production.INFO: Account Balance Start.
[2025-04-09 00:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:28:03] Production.INFO: 117
[2025-04-09 00:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:28:03] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:28:03] Production.INFO: Total Charge 0
[2025-04-09 00:28:03] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-04-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:28:03] Production.INFO: CreateAllLog End
[2025-04-09 00:28:03] Production.INFO: ==5979== Releasing lock...
[2025-04-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:28:03] Production.INFO: count ==12
[2025-04-09 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:28:04] Production.INFO: count ==23
[2025-04-09 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865866') start
[2025-04-09 00:28:04] Production.INFO: Account Balance End.
[2025-04-09 00:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:28:04] Production.INFO: ==5983== Releasing lock...
[2025-04-09 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865866') end
[2025-04-09 00:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:28:04] Production.INFO: 1
[2025-04-09 00:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:28:04] Production.ERROR: done
[2025-04-09 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:28:04] Production.INFO: ==5987== Releasing lock...
[2025-04-09 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:28:04] Production.ERROR: done
[2025-04-09 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:28:05
[end_date_ymd] => 2025-04-09 00:28:05
[RateCDR] => 1
)
[2025-04-09 00:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:28:05' and `end` < '2025-04-09 00:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:28:12] Production.ERROR: CronJobId end10
[2025-04-09 00:28:12] Production.INFO: ==5981== Releasing lock...
[2025-04-09 00:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:28:13] Production.INFO: call_cost start
[2025-04-09 00:28:13] Production.INFO: call_cost end
[2025-04-09 00:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:28:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:28:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:28:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:28:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:28:14] Production.INFO: ==5977== Releasing lock...
[2025-04-09 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:28:18] Production.INFO: count ==82
[2025-04-09 00:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:28:05 - End Time 2025-04-09 00:28:05
[2025-04-09 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865867', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865867', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865867', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865867', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:28:18] Production.INFO: ProcessCDR(1,14865867,1,1,2)
[2025-04-09 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865867', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865867', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:28:21] Production.INFO: ==5985== Releasing lock...
[2025-04-09 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:29:02] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-04-09 05:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:29:02] Production.INFO: neon service started
[2025-04-09 05:29:02] Production.INFO: neon service started
[2025-04-09 05:29:02] Production.INFO: ==6047== Releasing lock...
[2025-04-09 05:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:29:02] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-04-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:29:02] Production.INFO: ==6051== Lock acquired, processing the job...
[2025-04-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:29:03] Production.INFO: ==6051== Releasing lock...
[2025-04-09 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:29:03] Production.INFO: ==6049== Releasing lock...
[2025-04-09 00:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:29:04] Production.INFO: ==6064== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:29:04] Production.INFO: ==6060== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:29:04] Production.INFO: ==6054== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:29:04] Production.INFO: Account Balance Start.
[2025-04-09 00:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:29:04] Production.INFO: 117
[2025-04-09 00:29:04] Production.INFO: count ==12
[2025-04-09 00:29:04] Production.INFO: ==6056== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:29:04] Production.INFO: ==6058== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:29:04] Production.INFO: count ==23
[2025-04-09 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865869') start
[2025-04-09 00:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:29:04] Production.INFO: ==6062== Lock acquired, processing the job...
[2025-04-09 00:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865869') end
[2025-04-09 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:29:04] Production.INFO: 1
[2025-04-09 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:29:04] Production.INFO: Total Charge 0
[2025-04-09 00:29:04] Production.INFO: CreateAllLog End
[2025-04-09 00:29:04] Production.INFO: ==6064== Releasing lock...
[2025-04-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:29:04] Production.INFO: ==6056== Releasing lock...
[2025-04-09 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:29:04] Production.INFO: Account Balance End.
[2025-04-09 00:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:29:04] Production.INFO: ==6060== Releasing lock...
[2025-04-09 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:29:04] Production.ERROR: done
[2025-04-09 00:29:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:29:05] Production.ERROR: done
[2025-04-09 00:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:29:06
[end_date_ymd] => 2025-04-09 00:29:06
[RateCDR] => 1
)
[2025-04-09 00:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:29:06' and `end` < '2025-04-09 00:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:29:11] Production.ERROR: CronJobId end10
[2025-04-09 00:29:11] Production.INFO: ==6058== Releasing lock...
[2025-04-09 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:29:13] Production.INFO: call_cost start
[2025-04-09 00:29:13] Production.INFO: call_cost end
[2025-04-09 00:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:29:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:29:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:29:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:29:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:29:14] Production.INFO: ==6054== Releasing lock...
[2025-04-09 00:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:29:19] Production.INFO: count ==82
[2025-04-09 00:29:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:29:06 - End Time 2025-04-09 00:29:06
[2025-04-09 00:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865872', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865872', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865872', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865872', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:29:19] Production.INFO: ProcessCDR(1,14865872,1,1,2)
[2025-04-09 00:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865872', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865872', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:29:22] Production.INFO: ==6062== Releasing lock...
[2025-04-09 00:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:29:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:30:01] Production.INFO: ==6120== Lock acquired, processing the job...
[2025-04-09 05:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:30:01] Production.INFO: neon service started
[2025-04-09 05:30:01] Production.INFO: neon service started
[2025-04-09 05:30:01] Production.INFO: ==6120== Releasing lock...
[2025-04-09 05:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:30:02] Production.INFO: ==6125== Lock acquired, processing the job...
[2025-04-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:30:02] Production.INFO: ==6125== Releasing lock...
[2025-04-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:30:02] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-04-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:30:02] Production.INFO: ==6123== Releasing lock...
[2025-04-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:30:03] Production.INFO: ==6133== Lock acquired, processing the job...
[2025-04-09 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:30:03] Production.INFO: ==6135== Lock acquired, processing the job...
[2025-04-09 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:30:03] Production.INFO: ==6137== Lock acquired, processing the job...
[2025-04-09 00:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:30:03] Production.INFO: Account Balance Start.
[2025-04-09 00:30:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:30:03] Production.INFO: 117
[2025-04-09 00:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:30:04] Production.INFO: ==6127== Lock acquired, processing the job...
[2025-04-09 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:30:04] Production.INFO: ==6129== Lock acquired, processing the job...
[2025-04-09 00:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:30:04] Production.INFO: Total Charge 0
[2025-04-09 00:30:04] Production.INFO: CreateAllLog End
[2025-04-09 00:30:04] Production.INFO: ==6131== Lock acquired, processing the job...
[2025-04-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:30:04] Production.INFO: ==6139== Lock acquired, processing the job...
[2025-04-09 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:30:04] Production.ERROR: CronJob PID - 6129
[2025-04-09 00:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 00:30:04] Production.ERROR: CronJob ID - 5
[2025-04-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:30:00
[2025-04-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:30:04] Production.ERROR: CronJob PID - 6131
[2025-04-09 00:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 00:30:04] Production.ERROR: CronJob ID - 7
[2025-04-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:30:00
[2025-04-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:30:04] Production.ERROR: CronJob PID - 6133
[2025-04-09 00:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 00:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:30:00
[2025-04-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:30:04] Production.ERROR: CronJob PID - 6135
[2025-04-09 00:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 00:30:04] Production.ERROR: CronJob ID - 12
[2025-04-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:30:00
[2025-04-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:30:04] Production.ERROR: CronJob PID - 6137
[2025-04-09 00:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 00:30:04] Production.ERROR: CronJob ID - 16
[2025-04-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 00:30:00
[2025-04-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:30:04] Production.INFO: ==6141== Lock acquired, processing the job...
[2025-04-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:30:04] Production.INFO: ==6127== Releasing lock...
[2025-04-09 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:30:04] Production.ERROR: done
[2025-04-09 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:30:04] Production.INFO: count ==12
[2025-04-09 00:30:04] Production.INFO: Account Balance End.
[2025-04-09 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:30:04] Production.INFO: count ==23
[2025-04-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865876') start
[2025-04-09 00:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:30:04] Production.INFO: ==6135== Releasing lock...
[2025-04-09 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:30:04] Production.ERROR: done
[2025-04-09 00:30:04] Production.INFO: ==6131== Releasing lock...
[2025-04-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865876') end
[2025-04-09 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:30:04] Production.INFO: 1
[2025-04-09 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:30:04] Production.INFO: ==6141== Releasing lock...
[2025-04-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:30:04] Production.ERROR: done
[2025-04-09 00:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865878', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:30:06
[end_date_ymd] => 2025-04-09 00:30:06
[RateCDR] => 1
)
[2025-04-09 00:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:30:06' and `end` < '2025-04-09 00:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865878', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:30:09] Production.INFO: ProcessCDR(1,14865878,1,1,2)
[2025-04-09 00:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865878,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865878,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:30:09] Production.INFO: ==6139== Releasing lock...
[2025-04-09 00:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:30:12] Production.ERROR: CronJobId end10
[2025-04-09 00:30:12] Production.INFO: ==6133== Releasing lock...
[2025-04-09 00:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:30:16] Production.INFO: call_cost start
[2025-04-09 00:30:16] Production.INFO: call_cost end
[2025-04-09 00:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:30:17] Production.INFO: ==6129== Releasing lock...
[2025-04-09 00:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:30:18] Production.INFO: count ==78
[2025-04-09 00:30:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:30:06 - End Time 2025-04-09 00:30:06
[2025-04-09 00:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865877', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865877', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865877', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865877', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:30:18] Production.INFO: ProcessCDR(1,14865877,1,1,2)
[2025-04-09 00:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865877', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865877', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:30:22] Production.INFO: ==6137== Releasing lock...
[2025-04-09 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:31:02] Production.INFO: ==6199== Lock acquired, processing the job...
[2025-04-09 05:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:31:02] Production.INFO: neon service started
[2025-04-09 05:31:02] Production.INFO: neon service started
[2025-04-09 05:31:02] Production.INFO: ==6199== Releasing lock...
[2025-04-09 05:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:31:02] Production.INFO: ==6201== Lock acquired, processing the job...
[2025-04-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:31:02] Production.INFO: ==6201== Releasing lock...
[2025-04-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:31:02] Production.INFO: ==6203== Lock acquired, processing the job...
[2025-04-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:31:02] Production.INFO: ==6203== Releasing lock...
[2025-04-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:31:03] Production.INFO: ==6208== Lock acquired, processing the job...
[2025-04-09 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:31:03] Production.INFO: ==6216== Lock acquired, processing the job...
[2025-04-09 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:31:03] Production.INFO: ==6206== Lock acquired, processing the job...
[2025-04-09 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:31:03] Production.INFO: ==6214== Lock acquired, processing the job...
[2025-04-09 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:31:04] Production.INFO: count ==12
[2025-04-09 00:31:04] Production.INFO: ==6210== Lock acquired, processing the job...
[2025-04-09 00:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:31:04] Production.INFO: ==6212== Lock acquired, processing the job...
[2025-04-09 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:31:04] Production.INFO: count ==23
[2025-04-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865880') start
[2025-04-09 00:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865880') end
[2025-04-09 00:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:31:04] Production.INFO: 1
[2025-04-09 00:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:31:04] Production.INFO: ==6216== Releasing lock...
[2025-04-09 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:31:04] Production.INFO: ==6208== Releasing lock...
[2025-04-09 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:31:04] Production.INFO: Account Balance Start.
[2025-04-09 00:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:31:04] Production.INFO: 117
[2025-04-09 00:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:31:04] Production.ERROR: done
[2025-04-09 00:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:31:04] Production.INFO: Total Charge 0
[2025-04-09 00:31:04] Production.INFO: CreateAllLog End
[2025-04-09 00:31:04] Production.ERROR: done
[2025-04-09 00:31:04] Production.INFO: Account Balance End.
[2025-04-09 00:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:31:04] Production.INFO: ==6212== Releasing lock...
[2025-04-09 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:31:05
[end_date_ymd] => 2025-04-09 00:31:05
[RateCDR] => 1
)
[2025-04-09 00:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:31:05' and `end` < '2025-04-09 00:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:31:12] Production.ERROR: CronJobId end10
[2025-04-09 00:31:12] Production.INFO: ==6210== Releasing lock...
[2025-04-09 00:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:31:14] Production.INFO: call_cost start
[2025-04-09 00:31:14] Production.INFO: call_cost end
[2025-04-09 00:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:31:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:31:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:31:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:31:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:31:14] Production.INFO: ==6206== Releasing lock...
[2025-04-09 00:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:31:18] Production.INFO: count ==77
[2025-04-09 00:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:31:05 - End Time 2025-04-09 00:31:05
[2025-04-09 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865883', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865883', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865883', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865883', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:31:18] Production.INFO: ProcessCDR(1,14865883,1,1,2)
[2025-04-09 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865883', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865883', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:31:21] Production.INFO: ==6214== Releasing lock...
[2025-04-09 00:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:31:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:32:01] Production.INFO: ==6275== Lock acquired, processing the job...
[2025-04-09 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:32:01] Production.INFO: neon service started
[2025-04-09 05:32:01] Production.INFO: neon service started
[2025-04-09 05:32:01] Production.INFO: ==6275== Releasing lock...
[2025-04-09 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:32:02] Production.INFO: ==6277== Lock acquired, processing the job...
[2025-04-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:32:02] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-04-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:32:02] Production.INFO: ==6279== Releasing lock...
[2025-04-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:32:02] Production.INFO: ==6277== Releasing lock...
[2025-04-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:32:03] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:32:03] Production.INFO: ==6292== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:32:03] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:32:03] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 00:32:03] Production.INFO: ==6288== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:32:03] Production.INFO: count ==12
[2025-04-09 00:32:03] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-04-09 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 00:32:03] Production.INFO: count ==23
[2025-04-09 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865885') start
[2025-04-09 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:32:03] Production.INFO: Account Balance Start.
[2025-04-09 00:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:32:03] Production.INFO: 117
[2025-04-09 00:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865885') end
[2025-04-09 00:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:32:03] Production.INFO: 1
[2025-04-09 00:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:32:03] Production.INFO: Total Charge 0
[2025-04-09 00:32:03] Production.INFO: CreateAllLog End
[2025-04-09 00:32:03] Production.INFO: ==6292== Releasing lock...
[2025-04-09 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:32:04] Production.ERROR: done
[2025-04-09 00:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:32:04] Production.INFO: Account Balance End.
[2025-04-09 00:32:04] Production.INFO: ==6284== Releasing lock...
[2025-04-09 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:32:04] Production.INFO: ==6288== Releasing lock...
[2025-04-09 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:32:04] Production.ERROR: done
[2025-04-09 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:32:05
[end_date_ymd] => 2025-04-09 00:32:05
[RateCDR] => 1
)
[2025-04-09 00:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:32:05' and `end` < '2025-04-09 00:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:32:12] Production.ERROR: CronJobId end10
[2025-04-09 00:32:12] Production.INFO: ==6286== Releasing lock...
[2025-04-09 00:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:32:13] Production.INFO: call_cost start
[2025-04-09 00:32:13] Production.INFO: call_cost end
[2025-04-09 00:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:32:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:32:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:32:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:32:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:32:14] Production.INFO: ==6282== Releasing lock...
[2025-04-09 00:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:32:18] Production.INFO: count ==77
[2025-04-09 00:32:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:32:05 - End Time 2025-04-09 00:32:05
[2025-04-09 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865888', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865888', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865888', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865888', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:32:18] Production.INFO: ProcessCDR(1,14865888,1,1,2)
[2025-04-09 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865888', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865888', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:32:21] Production.INFO: ==6290== Releasing lock...
[2025-04-09 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:32:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:33:02] Production.INFO: ==6348== Lock acquired, processing the job...
[2025-04-09 05:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:33:02] Production.INFO: neon service started
[2025-04-09 05:33:02] Production.INFO: neon service started
[2025-04-09 05:33:02] Production.INFO: ==6348== Releasing lock...
[2025-04-09 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:33:02] Production.INFO: ==6350== Lock acquired, processing the job...
[2025-04-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:33:02] Production.INFO: ==6350== Releasing lock...
[2025-04-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:33:03] Production.INFO: ==6352== Lock acquired, processing the job...
[2025-04-09 04:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:33:03] Production.INFO: ==6352== Releasing lock...
[2025-04-09 04:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:33:03] Production.INFO: ==6354== Lock acquired, processing the job...
[2025-04-09 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:33:03] Production.INFO: ==6358== Lock acquired, processing the job...
[2025-04-09 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:33:03] Production.INFO: ==6362== Lock acquired, processing the job...
[2025-04-09 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:33:03] Production.ERROR: done
[2025-04-09 00:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:33:04] Production.INFO: ==6356== Lock acquired, processing the job...
[2025-04-09 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:33:04] Production.INFO: ==6360== Lock acquired, processing the job...
[2025-04-09 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:33:04] Production.ERROR: done
[2025-04-09 00:33:04] Production.INFO: ==6364== Lock acquired, processing the job...
[2025-04-09 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00: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-04-09 00:33:04] Production.INFO: Account Balance Start.
[2025-04-09 00:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:33:04] Production.INFO: 117
[2025-04-09 00:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:33:04] Production.INFO: count ==12
[2025-04-09 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-04-09 00:33:04] Production.INFO: count ==23
[2025-04-09 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865893') start
[2025-04-09 00:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:33:04] Production.INFO: Total Charge 0
[2025-04-09 00:33:04] Production.INFO: CreateAllLog End
[2025-04-09 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865893') end
[2025-04-09 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:33:04] Production.INFO: 1
[2025-04-09 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:33:04] Production.INFO: ==6364== Releasing lock...
[2025-04-09 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:33:04] Production.INFO: ==6356== Releasing lock...
[2025-04-09 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:33:04] Production.INFO: Account Balance End.
[2025-04-09 00:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:33:04] Production.INFO: ==6360== Releasing lock...
[2025-04-09 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:33:05
[end_date_ymd] => 2025-04-09 00:33:05
[RateCDR] => 1
)
[2025-04-09 00:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:33:05' and `end` < '2025-04-09 00:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:33:11] Production.ERROR: CronJobId end10
[2025-04-09 00:33:11] Production.INFO: ==6358== Releasing lock...
[2025-04-09 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:33:14] Production.INFO: call_cost start
[2025-04-09 00:33:14] Production.INFO: call_cost end
[2025-04-09 00:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:33:15] Production.INFO: ==6354== Releasing lock...
[2025-04-09 00:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:33:18] Production.INFO: count ==77
[2025-04-09 00:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:33:05 - End Time 2025-04-09 00:33:05
[2025-04-09 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865890', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865890', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865890', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865890', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:33:18] Production.INFO: ProcessCDR(1,14865890,1,1,2)
[2025-04-09 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865890', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865890', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:33:21] Production.INFO: ==6362== Releasing lock...
[2025-04-09 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:34:01] Production.INFO: ==6424== Lock acquired, processing the job...
[2025-04-09 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:34:01] Production.INFO: neon service started
[2025-04-09 05:34:01] Production.INFO: neon service started
[2025-04-09 05:34:01] Production.INFO: ==6424== Releasing lock...
[2025-04-09 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:34:01] Production.INFO: ==6426== Lock acquired, processing the job...
[2025-04-09 00:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:34:02] Production.INFO: ==6426== Releasing lock...
[2025-04-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:34:02] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-04-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:34:02] Production.INFO: ==6428== Releasing lock...
[2025-04-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:34:03] Production.INFO: ==6436== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:34:03] Production.INFO: ==6432== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:34:03] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:34:03] Production.INFO: Account Balance Start.
[2025-04-09 00:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:34:03] Production.INFO: 117
[2025-04-09 00:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:34:03] Production.INFO: ==6434== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:34:03] Production.INFO: Total Charge 0
[2025-04-09 00:34:03] Production.INFO: CreateAllLog End
[2025-04-09 00:34:03] Production.INFO: ==6438== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:34:03] Production.INFO: ==6441== Lock acquired, processing the job...
[2025-04-09 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:34:03] Production.INFO: ==6432== Releasing lock...
[2025-04-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:34:03] Production.INFO: Account Balance End.
[2025-04-09 00:34:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:34:03] Production.INFO: ==6436== Releasing lock...
[2025-04-09 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:34:04] Production.ERROR: done
[2025-04-09 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:34:04] Production.INFO: count ==12
[2025-04-09 00:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:34:04] Production.INFO: count ==23
[2025-04-09 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865897') start
[2025-04-09 00:34:04] Production.ERROR: done
[2025-04-09 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865897') end
[2025-04-09 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:34:04] Production.INFO: 1
[2025-04-09 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:34:04] Production.INFO: ==6441== Releasing lock...
[2025-04-09 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:34:05
[end_date_ymd] => 2025-04-09 00:34:05
[RateCDR] => 1
)
[2025-04-09 00:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:34:05' and `end` < '2025-04-09 00:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:34:11] Production.ERROR: CronJobId end10
[2025-04-09 00:34:11] Production.INFO: ==6434== Releasing lock...
[2025-04-09 00:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:34:14] Production.INFO: call_cost start
[2025-04-09 00:34:14] Production.INFO: call_cost end
[2025-04-09 00:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:34:15] Production.INFO: ==6430== Releasing lock...
[2025-04-09 00:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:34:18] Production.INFO: count ==77
[2025-04-09 00:34:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:34:05 - End Time 2025-04-09 00:34:05
[2025-04-09 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865898', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865898', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865898', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865898', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:34:18] Production.INFO: ProcessCDR(1,14865898,1,1,2)
[2025-04-09 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865898', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865898', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:34:21] Production.INFO: ==6438== Releasing lock...
[2025-04-09 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:34:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:35:02] Production.INFO: ==6495== Lock acquired, processing the job...
[2025-04-09 05:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:35:02] Production.INFO: neon service started
[2025-04-09 05:35:02] Production.INFO: neon service started
[2025-04-09 05:35:02] Production.INFO: ==6495== Releasing lock...
[2025-04-09 05:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:35:02] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-04-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:35:02] Production.INFO: ==6498== Releasing lock...
[2025-04-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:35:02] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-04-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:35:02] Production.INFO: ==6500== Releasing lock...
[2025-04-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:35:03] Production.INFO: ==6502== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:35:03] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:35:03] Production.INFO: ==6506== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:35:03] Production.INFO: ==6510== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:35:03] Production.INFO: ==6508== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:35:03] Production.INFO: ==6512== Lock acquired, processing the job...
[2025-04-09 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:35:04] Production.INFO: Account Balance Start.
[2025-04-09 00:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:35:04] Production.INFO: 117
[2025-04-09 00:35:04] Production.INFO: ==6504== Releasing lock...
[2025-04-09 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 00: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-04-09 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:35:04] Production.INFO: count ==12
[2025-04-09 00:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 00: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-04-09 00:35:04] Production.INFO: count ==23
[2025-04-09 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865902') start
[2025-04-09 00:35:04] Production.ERROR: done
[2025-04-09 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:35:04] Production.INFO: Total Charge 0
[2025-04-09 00:35:04] Production.INFO: CreateAllLog End
[2025-04-09 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865902') end
[2025-04-09 00:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:35:04] Production.INFO: 1
[2025-04-09 00:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:35:04] Production.INFO: ==6512== Releasing lock...
[2025-04-09 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:35:04] Production.ERROR: done
[2025-04-09 00:35:04] Production.INFO: Account Balance End.
[2025-04-09 00:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:35:04] Production.INFO: ==6508== Releasing lock...
[2025-04-09 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:35:05
[end_date_ymd] => 2025-04-09 00:35:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:35:05' and `end` < '2025-04-09 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-04-09 00:35:12] Production.ERROR: CronJobId end10
[2025-04-09 00:35:12] Production.INFO: ==6506== Releasing lock...
[2025-04-09 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:35:14] Production.INFO: call_cost start
[2025-04-09 00:35:14] Production.INFO: call_cost end
[2025-04-09 00:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:35:15] Production.INFO: ==6502== Releasing lock...
[2025-04-09 00:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:35:18] Production.INFO: count ==76
[2025-04-09 00:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:35:05 - End Time 2025-04-09 00:35:05
[2025-04-09 00:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865903', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865903', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865903', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865903', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:35:18] Production.INFO: ProcessCDR(1,14865903,1,1,2)
[2025-04-09 00:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865903', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865903', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:35:21] Production.INFO: ==6510== Releasing lock...
[2025-04-09 00:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:35:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:36:01] Production.INFO: ==6608== Lock acquired, processing the job...
[2025-04-09 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:36:01] Production.INFO: neon service started
[2025-04-09 05:36:01] Production.INFO: neon service started
[2025-04-09 05:36:01] Production.INFO: ==6608== Releasing lock...
[2025-04-09 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:36:01] Production.INFO: ==6610== Lock acquired, processing the job...
[2025-04-09 00:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:36:02] Production.INFO: ==6610== Releasing lock...
[2025-04-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:36:02] Production.INFO: ==6612== Lock acquired, processing the job...
[2025-04-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:36:02] Production.INFO: ==6612== Releasing lock...
[2025-04-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:36:03] Production.INFO: ==6618== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:36:03] Production.INFO: ==6614== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:36:03] Production.INFO: ==6616== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:36:03] Production.INFO: ==6620== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:36:03] Production.INFO: Account Balance Start.
[2025-04-09 00:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:36:03] Production.INFO: 117
[2025-04-09 00:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:36:03] Production.INFO: ==6622== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:36:03] Production.INFO: ==6624== Lock acquired, processing the job...
[2025-04-09 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:36:03] Production.INFO: Total Charge 0
[2025-04-09 00:36:03] Production.INFO: CreateAllLog End
[2025-04-09 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 00:36:03] Production.INFO: count ==12
[2025-04-09 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-04-09 00:36:03] Production.INFO: count ==23
[2025-04-09 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865907') start
[2025-04-09 00:36:03] Production.INFO: ==6616== Releasing lock...
[2025-04-09 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865907') end
[2025-04-09 00:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:36:03] Production.INFO: 1
[2025-04-09 00:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:36:03] Production.INFO: Account Balance End.
[2025-04-09 00:36:03] Production.ERROR: done
[2025-04-09 00:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:36:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:36:03] Production.INFO: ==6620== Releasing lock...
[2025-04-09 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:36:04] Production.INFO: ==6624== Releasing lock...
[2025-04-09 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:36:04] Production.ERROR: done
[2025-04-09 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:36:05
[end_date_ymd] => 2025-04-09 00:36:05
[RateCDR] => 1
)
[2025-04-09 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:36:05' and `end` < '2025-04-09 00:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:36:11] Production.ERROR: CronJobId end10
[2025-04-09 00:36:11] Production.INFO: ==6618== Releasing lock...
[2025-04-09 00:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:36:14] Production.INFO: call_cost start
[2025-04-09 00:36:14] Production.INFO: call_cost end
[2025-04-09 00:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:36:15] Production.INFO: ==6614== Releasing lock...
[2025-04-09 00:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:36:17] Production.INFO: count ==76
[2025-04-09 00:36:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:36:05 - End Time 2025-04-09 00:36:05
[2025-04-09 00:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865908', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865908', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865908', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865908', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:36:17] Production.INFO: ProcessCDR(1,14865908,1,1,2)
[2025-04-09 00:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865908', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865908', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:36:21] Production.INFO: ==6622== Releasing lock...
[2025-04-09 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:36:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:37:01] Production.INFO: ==6681== Lock acquired, processing the job...
[2025-04-09 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:37:01] Production.INFO: neon service started
[2025-04-09 05:37:01] Production.INFO: neon service started
[2025-04-09 05:37:01] Production.INFO: ==6681== Releasing lock...
[2025-04-09 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:37:02] Production.INFO: ==6683== Lock acquired, processing the job...
[2025-04-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:37:02] Production.INFO: ==6683== Releasing lock...
[2025-04-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:37:02] Production.INFO: ==6685== Lock acquired, processing the job...
[2025-04-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:37:02] Production.INFO: ==6685== Releasing lock...
[2025-04-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:37:03] Production.INFO: ==6687== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:37:03] Production.INFO: ==6689== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:37:03] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:37:03] Production.INFO: ==6693== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:37:03] Production.INFO: ==6691== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:37:03] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-04-09 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:37:03] Production.INFO: Account Balance Start.
[2025-04-09 00:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:37:03] Production.INFO: 117
[2025-04-09 00:37:03] Production.ERROR: done
[2025-04-09 00:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:37:03] Production.INFO: ==6689== Releasing lock...
[2025-04-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:37:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:37:03] Production.INFO: count ==12
[2025-04-09 00:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:37:03] Production.INFO: count ==23
[2025-04-09 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865912') start
[2025-04-09 00:37:04] Production.INFO: Total Charge 0
[2025-04-09 00:37:04] Production.ERROR: done
[2025-04-09 00:37:04] Production.INFO: CreateAllLog End
[2025-04-09 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865912') end
[2025-04-09 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:37:04] Production.INFO: 1
[2025-04-09 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:37:04] Production.INFO: ==6697== Releasing lock...
[2025-04-09 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:37:04] Production.INFO: Account Balance End.
[2025-04-09 00:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:37:04] Production.INFO: ==6693== Releasing lock...
[2025-04-09 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:37:05
[end_date_ymd] => 2025-04-09 00:37:05
[RateCDR] => 1
)
[2025-04-09 00:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:37:05' and `end` < '2025-04-09 00:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:37:12] Production.ERROR: CronJobId end10
[2025-04-09 00:37:12] Production.INFO: ==6691== Releasing lock...
[2025-04-09 00:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:37:14] Production.INFO: call_cost start
[2025-04-09 00:37:14] Production.INFO: call_cost end
[2025-04-09 00:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:37:15] Production.INFO: ==6687== Releasing lock...
[2025-04-09 00:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:37:18] Production.INFO: count ==82
[2025-04-09 00:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:37:05 - End Time 2025-04-09 00:37:05
[2025-04-09 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865913', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865913', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865913', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865913', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:37:18] Production.INFO: ProcessCDR(1,14865913,1,1,2)
[2025-04-09 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865913', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865913', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:37:21] Production.INFO: ==6695== Releasing lock...
[2025-04-09 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:37:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:38:02] Production.INFO: ==6755== Lock acquired, processing the job...
[2025-04-09 05:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:38:02] Production.INFO: neon service started
[2025-04-09 05:38:02] Production.INFO: neon service started
[2025-04-09 05:38:02] Production.INFO: ==6755== Releasing lock...
[2025-04-09 05:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:38:02] Production.INFO: ==6759== Lock acquired, processing the job...
[2025-04-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:38:02] Production.INFO: ==6759== Releasing lock...
[2025-04-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:38:02] Production.INFO: ==6757== Lock acquired, processing the job...
[2025-04-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:38:03] Production.INFO: ==6757== Releasing lock...
[2025-04-09 00:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:38:04] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:38:04] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:38:04] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:38:04] Production.INFO: ==6764== Releasing lock...
[2025-04-09 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:38:04] Production.INFO: count ==12
[2025-04-09 00:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:38:04] Production.INFO: count ==23
[2025-04-09 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865915') start
[2025-04-09 00:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:38:04] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:38:04] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865915') end
[2025-04-09 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:38:04] Production.INFO: 1
[2025-04-09 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:38:04] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-04-09 00:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:38:04] Production.INFO: ==6772== Releasing lock...
[2025-04-09 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:38:04] Production.INFO: Account Balance Start.
[2025-04-09 00:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:38:04] Production.INFO: 117
[2025-04-09 00:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:38:04] Production.INFO: Total Charge 0
[2025-04-09 00:38:04] Production.INFO: CreateAllLog End
[2025-04-09 00:38:04] Production.ERROR: done
[2025-04-09 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:38:05] Production.INFO: Account Balance End.
[2025-04-09 00:38:05] Production.ERROR: done
[2025-04-09 00:38:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:38:05] Production.INFO: ==6768== Releasing lock...
[2025-04-09 00:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:38:06
[end_date_ymd] => 2025-04-09 00:38:06
[RateCDR] => 1
)
[2025-04-09 00:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:38:06' and `end` < '2025-04-09 00:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:38:12] Production.ERROR: CronJobId end10
[2025-04-09 00:38:12] Production.INFO: ==6766== Releasing lock...
[2025-04-09 00:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:38:15] Production.INFO: call_cost start
[2025-04-09 00:38:15] Production.INFO: call_cost end
[2025-04-09 00:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:38:16] Production.INFO: ==6762== Releasing lock...
[2025-04-09 00:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:38:19] Production.INFO: count ==81
[2025-04-09 00:38:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:38:06 - End Time 2025-04-09 00:38:06
[2025-04-09 00:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865918', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865918', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865918', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865918', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:38:19] Production.INFO: ProcessCDR(1,14865918,1,1,2)
[2025-04-09 00:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865918', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865918', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:38:22] Production.INFO: ==6770== Releasing lock...
[2025-04-09 00:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:38:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:39:01] Production.INFO: ==6826== Lock acquired, processing the job...
[2025-04-09 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:39:01] Production.INFO: neon service started
[2025-04-09 05:39:01] Production.INFO: neon service started
[2025-04-09 05:39:01] Production.INFO: ==6826== Releasing lock...
[2025-04-09 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:39:02] Production.INFO: ==6828== Lock acquired, processing the job...
[2025-04-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:39:02] Production.INFO: ==6830== Lock acquired, processing the job...
[2025-04-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:39:02] Production.INFO: ==6830== Releasing lock...
[2025-04-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:39:02] Production.INFO: ==6828== Releasing lock...
[2025-04-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:39:03] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-04-09 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:39:03] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-04-09 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:39:03] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-04-09 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:39:03] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-04-09 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:39:04] Production.INFO: Account Balance Start.
[2025-04-09 00:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:39:04] Production.INFO: 117
[2025-04-09 00:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:39:04] Production.INFO: ==6835== Releasing lock...
[2025-04-09 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:39:04] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-04-09 00:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:39:04] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-04-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:39:04] Production.INFO: Total Charge 0
[2025-04-09 00:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:39:04] Production.INFO: CreateAllLog End
[2025-04-09 00:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:39:04] Production.INFO: count ==12
[2025-04-09 00:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:39:04] Production.INFO: count ==23
[2025-04-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865922') start
[2025-04-09 00:39:04] Production.INFO: Account Balance End.
[2025-04-09 00:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:39:04] Production.INFO: ==6839== Releasing lock...
[2025-04-09 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:39:04] Production.ERROR: done
[2025-04-09 00:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865922') end
[2025-04-09 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:39:04] Production.INFO: 1
[2025-04-09 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:39:04] Production.INFO: ==6843== Releasing lock...
[2025-04-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:39:04] Production.ERROR: done
[2025-04-09 00:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:39:05
[end_date_ymd] => 2025-04-09 00:39:05
[RateCDR] => 1
)
[2025-04-09 00:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:39:05' and `end` < '2025-04-09 00:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:39:11] Production.ERROR: CronJobId end10
[2025-04-09 00:39:11] Production.INFO: ==6837== Releasing lock...
[2025-04-09 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:39:14] Production.INFO: call_cost start
[2025-04-09 00:39:14] Production.INFO: call_cost end
[2025-04-09 00:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:39:15] Production.INFO: ==6833== Releasing lock...
[2025-04-09 00:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:39:18] Production.INFO: count ==81
[2025-04-09 00:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:39:05 - End Time 2025-04-09 00:39:05
[2025-04-09 00:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865923', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865923', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865923', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865923', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:39:18] Production.INFO: ProcessCDR(1,14865923,1,1,2)
[2025-04-09 00:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865923', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865923', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:39:21] Production.INFO: ==6841== Releasing lock...
[2025-04-09 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:39:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:40:02] Production.INFO: ==6900== Lock acquired, processing the job...
[2025-04-09 05:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:40:02] Production.INFO: neon service started
[2025-04-09 05:40:02] Production.INFO: neon service started
[2025-04-09 05:40:02] Production.INFO: ==6900== Releasing lock...
[2025-04-09 05:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:40:02] Production.INFO: ==6902== Lock acquired, processing the job...
[2025-04-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:40:03] Production.INFO: ==6904== Lock acquired, processing the job...
[2025-04-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:40:03] Production.INFO: ==6904== Releasing lock...
[2025-04-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:40:03] Production.INFO: ==6902== Releasing lock...
[2025-04-09 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:40:04] Production.INFO: ==6906== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:40:04] Production.INFO: ==6906== Releasing lock...
[2025-04-09 00:40:04] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:40:04] Production.INFO: ==6909== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:40:04] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:40:04] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:40:04] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:40:04] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:40:04] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-04-09 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:40:04] Production.INFO: Account Balance Start.
[2025-04-09 00:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:40:04] Production.INFO: 117
[2025-04-09 00:40:04] Production.INFO: count ==12
[2025-04-09 00:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:40:04] Production.INFO: count ==23
[2025-04-09 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865924') start
[2025-04-09 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:40:04] Production.ERROR: done
[2025-04-09 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:40:05] Production.INFO: Date 2025-04-09
[2025-04-09 00:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14865924') end
[2025-04-09 00:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:40:05] Production.INFO: 1
[2025-04-09 00:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 00:40:05] Production.INFO: ==6921== Releasing lock...
[2025-04-09 00:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:40:05] Production.ERROR: done
[2025-04-09 00:40:05] Production.ERROR: done
[2025-04-09 00:40:05] Production.INFO: Total Charge 0
[2025-04-09 00:40:05] Production.INFO: ==6911== Releasing lock...
[2025-04-09 00:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:40:05] Production.INFO: CreateAllLog End
[2025-04-09 00:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865929', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:40:05] Production.INFO: Account Balance End.
[2025-04-09 00:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:40:05] Production.INFO: ==6915== Releasing lock...
[2025-04-09 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:40:06
[end_date_ymd] => 2025-04-09 00:40:06
[RateCDR] => 1
)
[2025-04-09 00:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:40:06' and `end` < '2025-04-09 00:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865929', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:40:10] Production.INFO: ProcessCDR(1,14865929,1,1,2)
[2025-04-09 00:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865929,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865929,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:40:10] Production.INFO: ==6919== Releasing lock...
[2025-04-09 00:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:40:14] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-04-09 00:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:40:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:40:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:40:14] Production.ERROR: CronJobId end10
[2025-04-09 00:40:14] Production.INFO: ==6913== Releasing lock...
[2025-04-09 00:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:40:14] Production.INFO: call_cost start
[2025-04-09 00:40:14] Production.INFO: call_cost end
[2025-04-09 00:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:40:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:40:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:40:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:40:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:40:15] Production.INFO: ==6909== Releasing lock...
[2025-04-09 00:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:40:19] Production.INFO: count ==81
[2025-04-09 00:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:40:06 - End Time 2025-04-09 00:40:06
[2025-04-09 00:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865928', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865928', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865928', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865928', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:40:19] Production.INFO: ProcessCDR(1,14865928,1,1,2)
[2025-04-09 00:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865928', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865928', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:40:23] Production.INFO: ==6917== Releasing lock...
[2025-04-09 00:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:40:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:41:01] Production.INFO: ==6976== Lock acquired, processing the job...
[2025-04-09 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:41:01] Production.INFO: neon service started
[2025-04-09 05:41:01] Production.INFO: neon service started
[2025-04-09 05:41:01] Production.INFO: ==6976== Releasing lock...
[2025-04-09 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:41:02] Production.INFO: ==6978== Lock acquired, processing the job...
[2025-04-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:41:02] Production.INFO: ==6978== Releasing lock...
[2025-04-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:41:02] Production.INFO: ==6980== Lock acquired, processing the job...
[2025-04-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:41:02] Production.INFO: ==6980== Releasing lock...
[2025-04-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:41:03] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:41:03] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 00:41:03] Production.INFO: count ==12
[2025-04-09 00:41:03] Production.INFO: ==6983== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 00:41:03] Production.INFO: count ==23
[2025-04-09 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865930') start
[2025-04-09 00:41:03] Production.INFO: ==6985== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865930') end
[2025-04-09 00:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:41:03] Production.INFO: 1
[2025-04-09 00:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:41:03] Production.INFO: ==6989== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:41:03] Production.INFO: ==6993== Releasing lock...
[2025-04-09 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:41:03] Production.INFO: ==6991== Lock acquired, processing the job...
[2025-04-09 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:41:03] Production.INFO: Account Balance Start.
[2025-04-09 00:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:41:03] Production.INFO: 117
[2025-04-09 00:41:04] Production.INFO: ==6985== Releasing lock...
[2025-04-09 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:41:04] Production.INFO: Total Charge 0
[2025-04-09 00:41:04] Production.INFO: CreateAllLog End
[2025-04-09 00:41:04] Production.ERROR: done
[2025-04-09 00:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:41:04] Production.INFO: Account Balance End.
[2025-04-09 00:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:41:04] Production.INFO: ==6989== Releasing lock...
[2025-04-09 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:41:04] Production.ERROR: done
[2025-04-09 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:41:05
[end_date_ymd] => 2025-04-09 00:41:05
[RateCDR] => 1
)
[2025-04-09 00:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:41:05' and `end` < '2025-04-09 00:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:41:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-04-09 00:41:11] Production.ERROR: CronJobId end10
[2025-04-09 00:41:11] Production.INFO: ==6987== Releasing lock...
[2025-04-09 00:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:41:14] Production.INFO: call_cost start
[2025-04-09 00:41:14] Production.INFO: call_cost end
[2025-04-09 00:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:41:15] Production.INFO: ==6983== Releasing lock...
[2025-04-09 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:41:18] Production.INFO: count ==79
[2025-04-09 00:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:41:05 - End Time 2025-04-09 00:41:05
[2025-04-09 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865934', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865934', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865934', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865934', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:41:18] Production.INFO: ProcessCDR(1,14865934,1,1,2)
[2025-04-09 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865934', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865934', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:41:21] Production.INFO: ==6991== Releasing lock...
[2025-04-09 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:41:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:42:02] Production.INFO: ==7047== Lock acquired, processing the job...
[2025-04-09 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:42:02] Production.INFO: neon service started
[2025-04-09 05:42:02] Production.INFO: neon service started
[2025-04-09 05:42:02] Production.INFO: ==7047== Releasing lock...
[2025-04-09 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:42:02] Production.INFO: ==7049== Lock acquired, processing the job...
[2025-04-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:42:02] Production.INFO: ==7049== Releasing lock...
[2025-04-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:42:03] Production.INFO: ==7051== Lock acquired, processing the job...
[2025-04-09 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:42:03] Production.INFO: ==7051== Releasing lock...
[2025-04-09 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:42:03] Production.INFO: ==7053== Lock acquired, processing the job...
[2025-04-09 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:42:03] Production.INFO: ==7059== Lock acquired, processing the job...
[2025-04-09 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:42:03] Production.INFO: ==7055== Lock acquired, processing the job...
[2025-04-09 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:42:03] Production.INFO: ==7057== Lock acquired, processing the job...
[2025-04-09 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:42:04] Production.INFO: Account Balance Start.
[2025-04-09 00:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:42:04] Production.INFO: 117
[2025-04-09 00:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:42:04] Production.INFO: ==7063== Lock acquired, processing the job...
[2025-04-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:42:04] Production.INFO: ==7061== Lock acquired, processing the job...
[2025-04-09 00:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:42:04] Production.INFO: Total Charge 0
[2025-04-09 00:42:04] Production.INFO: CreateAllLog End
[2025-04-09 00:42:04] Production.INFO: ==7055== Releasing lock...
[2025-04-09 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 00:42:04] Production.INFO: count ==12
[2025-04-09 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-04-09 00:42:04] Production.INFO: count ==23
[2025-04-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865938') start
[2025-04-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865938') end
[2025-04-09 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:42:04] Production.INFO: 1
[2025-04-09 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:42:04] Production.INFO: Account Balance End.
[2025-04-09 00:42:04] Production.ERROR: done
[2025-04-09 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:42:04] Production.INFO: ==7063== Releasing lock...
[2025-04-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:42:04] Production.INFO: ==7059== Releasing lock...
[2025-04-09 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:42:04] Production.ERROR: done
[2025-04-09 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:42:05
[end_date_ymd] => 2025-04-09 00:42:05
[RateCDR] => 1
)
[2025-04-09 00:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:42:05' and `end` < '2025-04-09 00:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:42:11] Production.ERROR: CronJobId end10
[2025-04-09 00:42:11] Production.INFO: ==7057== Releasing lock...
[2025-04-09 00:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:42:15] Production.INFO: call_cost start
[2025-04-09 00:42:15] Production.INFO: call_cost end
[2025-04-09 00:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:42:16] Production.INFO: ==7053== Releasing lock...
[2025-04-09 00:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:42:18] Production.INFO: count ==78
[2025-04-09 00:42:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:42:05 - End Time 2025-04-09 00:42:05
[2025-04-09 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865939', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865939', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865939', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865939', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:42:18] Production.INFO: ProcessCDR(1,14865939,1,1,2)
[2025-04-09 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865939', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865939', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:42:22] Production.INFO: ==7061== Releasing lock...
[2025-04-09 00:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:42:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:43:01] Production.INFO: ==7123== Lock acquired, processing the job...
[2025-04-09 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:43:01] Production.INFO: neon service started
[2025-04-09 05:43:01] Production.INFO: neon service started
[2025-04-09 05:43:01] Production.INFO: ==7123== Releasing lock...
[2025-04-09 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:43:02] Production.INFO: ==7125== Lock acquired, processing the job...
[2025-04-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:43:02] Production.INFO: ==7127== Lock acquired, processing the job...
[2025-04-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:43:02] Production.INFO: ==7125== Releasing lock...
[2025-04-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:43:02] Production.INFO: ==7127== Releasing lock...
[2025-04-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:43:03] Production.INFO: ==7135== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:43:03] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:43:03] Production.INFO: ==7129== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:43:03] Production.INFO: Account Balance Start.
[2025-04-09 00:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:43:03] Production.INFO: 117
[2025-04-09 00:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:43:03] Production.INFO: ==7131== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:43:03] Production.INFO: ==7133== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:43:03] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-04-09 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:43:03] Production.INFO: Total Charge 0
[2025-04-09 00:43:03] Production.INFO: CreateAllLog End
[2025-04-09 00:43:03] Production.ERROR: done
[2025-04-09 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 00:43:03] Production.INFO: Account Balance End.
[2025-04-09 00:43:03] Production.INFO: count ==12
[2025-04-09 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-04-09 00:43:03] Production.INFO: count ==23
[2025-04-09 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865941') start
[2025-04-09 00:43:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:43:03] Production.INFO: ==7135== Releasing lock...
[2025-04-09 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:43:04] Production.ERROR: done
[2025-04-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865941') end
[2025-04-09 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:43:04] Production.INFO: 1
[2025-04-09 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:43:04] Production.INFO: ==7139== Releasing lock...
[2025-04-09 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:43:04] Production.INFO: ==7131== Releasing lock...
[2025-04-09 00:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:43:05
[end_date_ymd] => 2025-04-09 00:43:05
[RateCDR] => 1
)
[2025-04-09 00:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:43:05' and `end` < '2025-04-09 00:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:43:12] Production.ERROR: CronJobId end10
[2025-04-09 00:43:12] Production.INFO: ==7133== Releasing lock...
[2025-04-09 00:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:43:14] Production.INFO: call_cost start
[2025-04-09 00:43:14] Production.INFO: call_cost end
[2025-04-09 00:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:43:15] Production.INFO: ==7129== Releasing lock...
[2025-04-09 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:43:17] Production.INFO: count ==77
[2025-04-09 00:43:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:43:05 - End Time 2025-04-09 00:43:05
[2025-04-09 00:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865944', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865944', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865944', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865944', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:43:17] Production.INFO: ProcessCDR(1,14865944,1,1,2)
[2025-04-09 00:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865944', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865944', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:43:21] Production.INFO: ==7137== Releasing lock...
[2025-04-09 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:43:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:44:02] Production.INFO: ==7199== Lock acquired, processing the job...
[2025-04-09 05:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:44:02] Production.INFO: neon service started
[2025-04-09 05:44:02] Production.INFO: neon service started
[2025-04-09 05:44:02] Production.INFO: ==7199== Releasing lock...
[2025-04-09 05:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:44:02] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-04-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:44:02] Production.INFO: ==7203== Lock acquired, processing the job...
[2025-04-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:44:02] Production.INFO: ==7203== Releasing lock...
[2025-04-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:44:03] Production.INFO: ==7201== Releasing lock...
[2025-04-09 00:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:44:04] Production.INFO: ==7208== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:44:04] Production.INFO: ==7210== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:44:04] Production.INFO: ==7214== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:44:04] Production.INFO: ==7206== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:44:04] Production.INFO: ==7208== Releasing lock...
[2025-04-09 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:44:04] Production.INFO: ==7212== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:44:04] Production.INFO: ==7216== Lock acquired, processing the job...
[2025-04-09 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:44:04] Production.ERROR: done
[2025-04-09 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 00:44:04] Production.INFO: count ==12
[2025-04-09 00:44:04] Production.INFO: Account Balance Start.
[2025-04-09 00:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 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-04-09 00:44:04] Production.INFO: 117
[2025-04-09 00:44:04] Production.INFO: count ==23
[2025-04-09 00:44:04] Production.ERROR: done
[2025-04-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865948') start
[2025-04-09 00:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:44:04] Production.INFO: Total Charge 0
[2025-04-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865948') end
[2025-04-09 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:44:04] Production.INFO: 1
[2025-04-09 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:44:04] Production.INFO: CreateAllLog End
[2025-04-09 00:44:04] Production.INFO: ==7216== Releasing lock...
[2025-04-09 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:44:04] Production.INFO: Account Balance End.
[2025-04-09 00:44:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:44:05] Production.INFO: ==7212== Releasing lock...
[2025-04-09 00:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:44:05
[end_date_ymd] => 2025-04-09 00:44:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:44:05' and `end` < '2025-04-09 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-04-09 00:44:12] Production.ERROR: CronJobId end10
[2025-04-09 00:44:12] Production.INFO: ==7210== Releasing lock...
[2025-04-09 00:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:44:14] Production.INFO: call_cost start
[2025-04-09 00:44:14] Production.INFO: call_cost end
[2025-04-09 00:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:44:15] Production.INFO: ==7206== Releasing lock...
[2025-04-09 00:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:44:18] Production.INFO: count ==77
[2025-04-09 00:44:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:44:05 - End Time 2025-04-09 00:44:05
[2025-04-09 00:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865949', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865949', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865949', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865949', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:44:18] Production.INFO: ProcessCDR(1,14865949,1,1,2)
[2025-04-09 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865949', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865949', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:44:22] Production.INFO: ==7214== Releasing lock...
[2025-04-09 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:44:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:45:01] Production.INFO: ==7270== Lock acquired, processing the job...
[2025-04-09 05:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:45:01] Production.INFO: neon service started
[2025-04-09 05:45:01] Production.INFO: neon service started
[2025-04-09 05:45:01] Production.INFO: ==7270== Releasing lock...
[2025-04-09 05:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:45:02] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-04-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:45:02] Production.INFO: ==7272== Releasing lock...
[2025-04-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:45:02] Production.INFO: ==7274== Lock acquired, processing the job...
[2025-04-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:45:02] Production.INFO: ==7274== Releasing lock...
[2025-04-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:45:03] Production.INFO: ==7281== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:45:03] Production.INFO: ==7277== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:45:03] Production.INFO: ==7285== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:45:03] Production.INFO: ==7279== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:45:03] Production.INFO: ==7283== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:45:03] Production.INFO: ==7287== Lock acquired, processing the job...
[2025-04-09 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:45:03] Production.INFO: Account Balance Start.
[2025-04-09 00:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:45:03] Production.INFO: 117
[2025-04-09 00:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:45:03] Production.INFO: count ==12
[2025-04-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:45:03] Production.INFO: count ==23
[2025-04-09 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865953') start
[2025-04-09 00:45:03] Production.ERROR: done
[2025-04-09 00:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:45:04] Production.INFO: ==7279== Releasing lock...
[2025-04-09 00:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:45:04] Production.ERROR: done
[2025-04-09 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865953') end
[2025-04-09 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:45:04] Production.INFO: 1
[2025-04-09 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:45:04] Production.INFO: ==7287== Releasing lock...
[2025-04-09 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:45:04] Production.INFO: Total Charge 0
[2025-04-09 00:45:04] Production.INFO: CreateAllLog End
[2025-04-09 00:45:04] Production.INFO: Account Balance End.
[2025-04-09 00:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:45:04] Production.INFO: ==7283== Releasing lock...
[2025-04-09 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:45:05
[end_date_ymd] => 2025-04-09 00:45:05
[RateCDR] => 1
)
[2025-04-09 00:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:45:05' and `end` < '2025-04-09 00:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:45:11] Production.ERROR: CronJobId end10
[2025-04-09 00:45:11] Production.INFO: ==7281== Releasing lock...
[2025-04-09 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:45:14] Production.INFO: call_cost start
[2025-04-09 00:45:14] Production.INFO: call_cost end
[2025-04-09 00:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:45:15] Production.INFO: ==7277== Releasing lock...
[2025-04-09 00:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:45:17] Production.INFO: count ==77
[2025-04-09 00:45:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:45:05 - End Time 2025-04-09 00:45:05
[2025-04-09 00:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865954', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865954', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865954', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865954', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:45:17] Production.INFO: ProcessCDR(1,14865954,1,1,2)
[2025-04-09 00:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865954', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865954', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:45:21] Production.INFO: ==7285== Releasing lock...
[2025-04-09 00:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 05:46:02] Production.INFO: ==7350== Lock acquired, processing the job...
[2025-04-09 05:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:46:02] Production.INFO: neon service started
[2025-04-09 05:46:02] Production.INFO: neon service started
[2025-04-09 05:46:02] Production.INFO: ==7350== Releasing lock...
[2025-04-09 05:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:46:02] Production.INFO: ==7352== Lock acquired, processing the job...
[2025-04-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:46:02] Production.INFO: ==7352== Releasing lock...
[2025-04-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:46:03] Production.INFO: ==7354== Lock acquired, processing the job...
[2025-04-09 04:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:46:03] Production.INFO: ==7354== Releasing lock...
[2025-04-09 04:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:46:03] Production.INFO: ==7361== Lock acquired, processing the job...
[2025-04-09 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:46:03] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-04-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:46:03] Production.INFO: ==7357== Lock acquired, processing the job...
[2025-04-09 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:46:03] Production.INFO: ==7359== Lock acquired, processing the job...
[2025-04-09 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:46:04] Production.INFO: ==7363== Lock acquired, processing the job...
[2025-04-09 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:46:04] Production.INFO: count ==12
[2025-04-09 00:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:46:04] Production.INFO: count ==23
[2025-04-09 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865955') start
[2025-04-09 00:46:04] Production.INFO: ==7365== Lock acquired, processing the job...
[2025-04-09 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:46:04] Production.INFO: Account Balance Start.
[2025-04-09 00:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:46:04] Production.INFO: 117
[2025-04-09 00:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865955') end
[2025-04-09 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:46:04] Production.INFO: 1
[2025-04-09 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:46:04] Production.INFO: Total Charge 0
[2025-04-09 00:46:04] Production.INFO: CreateAllLog End
[2025-04-09 00:46:04] Production.INFO: ==7367== Releasing lock...
[2025-04-09 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:46:04] Production.INFO: ==7359== Releasing lock...
[2025-04-09 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:46:04] Production.INFO: Account Balance End.
[2025-04-09 00:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:46:04] Production.INFO: ==7363== Releasing lock...
[2025-04-09 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:46:04] Production.ERROR: done
[2025-04-09 00:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:46:04] Production.ERROR: done
[2025-04-09 00:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:46:05
[end_date_ymd] => 2025-04-09 00:46:05
[RateCDR] => 1
)
[2025-04-09 00:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:46:05' and `end` < '2025-04-09 00:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:46:12] Production.ERROR: CronJobId end10
[2025-04-09 00:46:12] Production.INFO: ==7361== Releasing lock...
[2025-04-09 00:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:46:15] Production.INFO: call_cost start
[2025-04-09 00:46:15] Production.INFO: call_cost end
[2025-04-09 00:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:46:16] Production.INFO: ==7357== Releasing lock...
[2025-04-09 00:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:46:18] Production.INFO: count ==76
[2025-04-09 00:46:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:46:05 - End Time 2025-04-09 00:46:05
[2025-04-09 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865959', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865959', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865959', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865959', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:46:18] Production.INFO: ProcessCDR(1,14865959,1,1,2)
[2025-04-09 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865959', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865959', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:46:21] Production.INFO: ==7365== Releasing lock...
[2025-04-09 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:46:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:47:01] Production.INFO: ==7420== Lock acquired, processing the job...
[2025-04-09 05:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:47:01] Production.INFO: neon service started
[2025-04-09 05:47:01] Production.INFO: neon service started
[2025-04-09 05:47:01] Production.INFO: ==7420== Releasing lock...
[2025-04-09 05:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:47:01] Production.INFO: ==7424== Lock acquired, processing the job...
[2025-04-09 00:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:47:02] Production.INFO: ==7424== Releasing lock...
[2025-04-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:47:02] Production.INFO: ==7426== Lock acquired, processing the job...
[2025-04-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:47:02] Production.INFO: ==7426== Releasing lock...
[2025-04-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:47:03] Production.INFO: ==7434== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:47:03] Production.INFO: Account Balance Start.
[2025-04-09 00:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:47:03] Production.INFO: 117
[2025-04-09 00:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:47:03] Production.INFO: ==7439== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:47:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:47:03] Production.INFO: Total Charge 0
[2025-04-09 00:47:03] Production.INFO: CreateAllLog End
[2025-04-09 00:47:03] Production.INFO: ==7428== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: ==7430== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:47:03] Production.INFO: count ==12
[2025-04-09 00:47:03] Production.INFO: ==7432== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:47:03] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 00:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:47:03] Production.INFO: count ==23
[2025-04-09 00:47:03] Production.INFO: ==7436== Lock acquired, processing the job...
[2025-04-09 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:47:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:47:03] Production.INFO: ==7434== Releasing lock...
[2025-04-09 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865961') start
[2025-04-09 00:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865961') end
[2025-04-09 00:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:47:03] Production.INFO: 1
[2025-04-09 00:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:47:03] Production.INFO: ==7439== Releasing lock...
[2025-04-09 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:47:03] Production.INFO: ==7430== Releasing lock...
[2025-04-09 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:47:04] Production.ERROR: done
[2025-04-09 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:47:04] Production.ERROR: done
[2025-04-09 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:47:05
[end_date_ymd] => 2025-04-09 00:47:05
[RateCDR] => 1
)
[2025-04-09 00:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:47:05' and `end` < '2025-04-09 00:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:47:12] Production.ERROR: CronJobId end10
[2025-04-09 00:47:12] Production.INFO: ==7432== Releasing lock...
[2025-04-09 00:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:47:13] Production.INFO: call_cost start
[2025-04-09 00:47:13] Production.INFO: call_cost end
[2025-04-09 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:47:14] Production.INFO: ==7428== Releasing lock...
[2025-04-09 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:47:17] Production.INFO: count ==76
[2025-04-09 00:47:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:47:05 - End Time 2025-04-09 00:47:05
[2025-04-09 00:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865964', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865964', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865964', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865964', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:47:17] Production.INFO: ProcessCDR(1,14865964,1,1,2)
[2025-04-09 00:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865964', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865964', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:47:21] Production.INFO: ==7436== Releasing lock...
[2025-04-09 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:47:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:48:02] Production.INFO: ==7495== Lock acquired, processing the job...
[2025-04-09 05:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:48:02] Production.INFO: neon service started
[2025-04-09 05:48:02] Production.INFO: neon service started
[2025-04-09 05:48:02] Production.INFO: ==7495== Releasing lock...
[2025-04-09 05:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:48:02] Production.INFO: ==7499== Lock acquired, processing the job...
[2025-04-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:48:02] Production.INFO: ==7499== Releasing lock...
[2025-04-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:48:02] Production.INFO: ==7497== Lock acquired, processing the job...
[2025-04-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:48:02] Production.INFO: ==7497== Releasing lock...
[2025-04-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:48:03] Production.INFO: ==7505== Lock acquired, processing the job...
[2025-04-09 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:48:03] Production.INFO: ==7507== Lock acquired, processing the job...
[2025-04-09 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:48:03] Production.INFO: ==7501== Lock acquired, processing the job...
[2025-04-09 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:48:03] Production.INFO: Account Balance Start.
[2025-04-09 00:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:48:03] Production.INFO: 117
[2025-04-09 00:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:48:03] Production.INFO: ==7503== Lock acquired, processing the job...
[2025-04-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:48:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:48:04] Production.INFO: Total Charge 0
[2025-04-09 00:48:04] Production.INFO: ==7509== Lock acquired, processing the job...
[2025-04-09 00:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:48:04] Production.INFO: CreateAllLog End
[2025-04-09 00:48:04] Production.INFO: ==7512== Lock acquired, processing the job...
[2025-04-09 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:48:04] Production.INFO: ==7503== Releasing lock...
[2025-04-09 00:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:48:04] Production.INFO: Account Balance End.
[2025-04-09 00:48:04] Production.ERROR: done
[2025-04-09 00:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:48:04] Production.INFO: ==7507== Releasing lock...
[2025-04-09 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00: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-04-09 00:48:04] Production.INFO: count ==12
[2025-04-09 00:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:48:04] Production.ERROR: done
[2025-04-09 00:48:04] Production.INFO: count ==23
[2025-04-09 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865968') start
[2025-04-09 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865968') end
[2025-04-09 00:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:48:04] Production.INFO: 1
[2025-04-09 00:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:48:04] Production.INFO: ==7512== Releasing lock...
[2025-04-09 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:48:05
[end_date_ymd] => 2025-04-09 00:48:05
[RateCDR] => 1
)
[2025-04-09 00:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:48:05' and `end` < '2025-04-09 00:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:48:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-09 00:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:48:12] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:48:12] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:48:12] Production.ERROR: CronJobId end10
[2025-04-09 00:48:12] Production.INFO: ==7505== Releasing lock...
[2025-04-09 00:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:48:12] Production.INFO: call_cost start
[2025-04-09 00:48:12] Production.INFO: call_cost end
[2025-04-09 00:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:48:13] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:48:13] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:48:13] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:48:13] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:48:13] Production.INFO: ==7501== Releasing lock...
[2025-04-09 00:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:48:18] Production.INFO: count ==76
[2025-04-09 00:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:48:05 - End Time 2025-04-09 00:48:05
[2025-04-09 00:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865969', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865969', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865969', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865969', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:48:18] Production.INFO: ProcessCDR(1,14865969,1,1,2)
[2025-04-09 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865969', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865969', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:48:21] Production.INFO: ==7509== Releasing lock...
[2025-04-09 00:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:48:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:49:01] Production.INFO: ==7568== Lock acquired, processing the job...
[2025-04-09 05:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:49:01] Production.INFO: neon service started
[2025-04-09 05:49:01] Production.INFO: neon service started
[2025-04-09 05:49:01] Production.INFO: ==7568== Releasing lock...
[2025-04-09 05:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:49:02] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-04-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:49:02] Production.INFO: ==7572== Lock acquired, processing the job...
[2025-04-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:49:02] Production.INFO: ==7572== Releasing lock...
[2025-04-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:49:02] Production.INFO: ==7570== Releasing lock...
[2025-04-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:49:03] Production.INFO: ==7579== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:49:03] Production.INFO: ==7583== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:49:03] Production.INFO: ==7577== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:49:03] Production.INFO: ==7575== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:49:03] Production.INFO: ==7581== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:49:03] Production.INFO: ==7585== Lock acquired, processing the job...
[2025-04-09 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:49:03] Production.INFO: Account Balance Start.
[2025-04-09 00:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:49:03] Production.INFO: 117
[2025-04-09 00:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:49:03] Production.ERROR: done
[2025-04-09 00:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:49:03] Production.INFO: count ==12
[2025-04-09 00:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:49:03] Production.INFO: count ==23
[2025-04-09 00:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865970') start
[2025-04-09 00:49:03] Production.INFO: Total Charge 0
[2025-04-09 00:49:03] Production.INFO: CreateAllLog End
[2025-04-09 00:49:04] Production.ERROR: done
[2025-04-09 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865970') end
[2025-04-09 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:49:04] Production.INFO: 1
[2025-04-09 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:49:04] Production.INFO: ==7577== Releasing lock...
[2025-04-09 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:49:04] Production.INFO: Account Balance End.
[2025-04-09 00:49:04] Production.INFO: ==7585== Releasing lock...
[2025-04-09 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:49:04] Production.INFO: ==7581== Releasing lock...
[2025-04-09 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:49:05
[end_date_ymd] => 2025-04-09 00:49:05
[RateCDR] => 1
)
[2025-04-09 00:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:49:05' and `end` < '2025-04-09 00:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:49:11] Production.ERROR: CronJobId end10
[2025-04-09 00:49:11] Production.INFO: ==7579== Releasing lock...
[2025-04-09 00:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:49:14] Production.INFO: call_cost start
[2025-04-09 00:49:14] Production.INFO: call_cost end
[2025-04-09 00:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:49:15] Production.INFO: ==7575== Releasing lock...
[2025-04-09 00:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:49:18] Production.INFO: count ==73
[2025-04-09 00:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:49:05 - End Time 2025-04-09 00:49:05
[2025-04-09 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865974', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865974', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865974', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865974', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:49:18] Production.INFO: ProcessCDR(1,14865974,1,1,2)
[2025-04-09 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865974', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865974', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:49:21] Production.INFO: ==7583== Releasing lock...
[2025-04-09 00:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:49:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:50:01] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-04-09 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:50:01] Production.INFO: neon service started
[2025-04-09 05:50:01] Production.INFO: neon service started
[2025-04-09 05:50:01] Production.INFO: ==7639== Releasing lock...
[2025-04-09 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:50:02] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-04-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:50:02] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-04-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:50:02] Production.INFO: ==7641== Releasing lock...
[2025-04-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:50:02] Production.INFO: ==7643== Releasing lock...
[2025-04-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:50:03] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-04-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 00:50:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-04-09 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 00:50:03] Production.ERROR: CronJob PID - 7647
[2025-04-09 00:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 00:50:03] Production.ERROR: CronJob ID - 5
[2025-04-09 00:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 00:50:00
[2025-04-09 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:50:03] Production.INFO: ==7649== Lock acquired, processing the job...
[2025-04-09 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 00:50:03] Production.INFO: ==7645== Releasing lock...
[2025-04-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 00:50:03] Production.INFO: ==7653== Lock acquired, processing the job...
[2025-04-09 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:50:03] Production.INFO: ==7651== Lock acquired, processing the job...
[2025-04-09 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:50:03] Production.INFO: Account Balance Start.
[2025-04-09 00:50:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:50:03] Production.INFO: 117
[2025-04-09 00:50:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:50:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:50:04] Production.INFO: Total Charge 0
[2025-04-09 00:50:04] Production.INFO: ==7656== Lock acquired, processing the job...
[2025-04-09 00:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:50:04] Production.INFO: CreateAllLog End
[2025-04-09 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:50:04] Production.INFO: ==7660== Lock acquired, processing the job...
[2025-04-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:50:04] Production.INFO: ==7658== Lock acquired, processing the job...
[2025-04-09 00:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:50:04] Production.INFO: ==7649== Releasing lock...
[2025-04-09 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:50:04] Production.INFO: Account Balance End.
[2025-04-09 00:50:04] Production.INFO: count ==12
[2025-04-09 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:50:04] Production.INFO: ==7653== Releasing lock...
[2025-04-09 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:50:04] Production.INFO: count ==23
[2025-04-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865978') start
[2025-04-09 00:50:04] Production.ERROR: done
[2025-04-09 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865978') end
[2025-04-09 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:50:04] Production.INFO: 1
[2025-04-09 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:50:04] Production.INFO: ==7660== Releasing lock...
[2025-04-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:50:04] Production.ERROR: done
[2025-04-09 00:50:05] Production.ERROR: done
[2025-04-09 00:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 00:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865979', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 00:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:50:06
[end_date_ymd] => 2025-04-09 00:50:06
[RateCDR] => 1
)
[2025-04-09 00:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:50:06' and `end` < '2025-04-09 00:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14865979', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 00:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 00:50:09] Production.INFO: ProcessCDR(1,14865979,1,1,2)
[2025-04-09 00:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14865979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14865979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:50:09] Production.INFO: ==7658== Releasing lock...
[2025-04-09 00:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 00:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 00:50:13] Production.ERROR: CronJobId end10
[2025-04-09 00:50:13] Production.INFO: ==7651== Releasing lock...
[2025-04-09 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:50:16] Production.INFO: call_cost start
[2025-04-09 00:50:16] Production.INFO: call_cost end
[2025-04-09 00:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:50:17] Production.INFO: ==7647== Releasing lock...
[2025-04-09 00:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:50:19] Production.INFO: count ==81
[2025-04-09 00:50:19] Production.ERROR: pbx CDR StartTime 2025-04-08 21:50:06 - End Time 2025-04-09 00:50:06
[2025-04-09 00:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865980', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865980', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865980', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865980', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:50:19] Production.INFO: ProcessCDR(1,14865980,1,1,2)
[2025-04-09 00:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865980', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865980', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:50:24] Production.INFO: ==7656== Releasing lock...
[2025-04-09 00:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:50:24] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:51:02] Production.INFO: ==7752== Lock acquired, processing the job...
[2025-04-09 05:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:51:02] Production.INFO: neon service started
[2025-04-09 05:51:02] Production.INFO: neon service started
[2025-04-09 05:51:02] Production.INFO: ==7752== Releasing lock...
[2025-04-09 05:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:51:02] Production.INFO: ==7756== Lock acquired, processing the job...
[2025-04-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:51:02] Production.INFO: ==7756== Releasing lock...
[2025-04-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:51:02] Production.INFO: ==7754== Lock acquired, processing the job...
[2025-04-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:51:03] Production.INFO: ==7754== Releasing lock...
[2025-04-09 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:51:03] Production.INFO: ==7759== Lock acquired, processing the job...
[2025-04-09 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:51:03] Production.INFO: ==7761== Lock acquired, processing the job...
[2025-04-09 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:51:03] Production.INFO: ==7767== Lock acquired, processing the job...
[2025-04-09 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:51:04] Production.INFO: ==7763== Lock acquired, processing the job...
[2025-04-09 00:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:51:04] Production.INFO: ==7765== Lock acquired, processing the job...
[2025-04-09 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:51:04] Production.INFO: ==7761== Releasing lock...
[2025-04-09 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:51:04] Production.INFO: ==7769== Lock acquired, processing the job...
[2025-04-09 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:51:04] Production.INFO: Account Balance Start.
[2025-04-09 00:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:51:04] Production.INFO: 117
[2025-04-09 00:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 00: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-04-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:51:04] Production.INFO: count ==12
[2025-04-09 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-04-09 00:51:04] Production.INFO: count ==23
[2025-04-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865984') start
[2025-04-09 00:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:51:04] Production.ERROR: done
[2025-04-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:51:04] Production.INFO: Total Charge 0
[2025-04-09 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:51:04] Production.INFO: CreateAllLog End
[2025-04-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865984') end
[2025-04-09 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:51:04] Production.INFO: 1
[2025-04-09 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:51:04] Production.ERROR: done
[2025-04-09 00:51:04] Production.INFO: ==7769== Releasing lock...
[2025-04-09 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:51:04] Production.INFO: Account Balance End.
[2025-04-09 00:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:51:04] Production.INFO: ==7765== Releasing lock...
[2025-04-09 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:51:05
[end_date_ymd] => 2025-04-09 00:51:05
[RateCDR] => 1
)
[2025-04-09 00:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:51:05' and `end` < '2025-04-09 00:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:51:12] Production.ERROR: CronJobId end10
[2025-04-09 00:51:12] Production.INFO: ==7763== Releasing lock...
[2025-04-09 00:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:51:14] Production.INFO: call_cost start
[2025-04-09 00:51:14] Production.INFO: call_cost end
[2025-04-09 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:51:14] Production.INFO: ==7759== Releasing lock...
[2025-04-09 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:51:18] Production.INFO: count ==89
[2025-04-09 00:51:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:51:05 - End Time 2025-04-09 00:51:05
[2025-04-09 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865985', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865985', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865985', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865985', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:51:18] Production.INFO: ProcessCDR(1,14865985,1,1,2)
[2025-04-09 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865985', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865985', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:51:22] Production.INFO: ==7767== Releasing lock...
[2025-04-09 00:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:51:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:52:01] Production.INFO: ==7824== Lock acquired, processing the job...
[2025-04-09 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:52:01] Production.INFO: neon service started
[2025-04-09 05:52:01] Production.INFO: neon service started
[2025-04-09 05:52:01] Production.INFO: ==7824== Releasing lock...
[2025-04-09 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:52:02] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-04-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:52:02] Production.INFO: ==7826== Releasing lock...
[2025-04-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:52:02] Production.INFO: ==7829== Lock acquired, processing the job...
[2025-04-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:52:02] Production.INFO: ==7829== Releasing lock...
[2025-04-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:52:03] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:52:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:52:03] Production.INFO: ==7840== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:52:03] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:52:03] Production.INFO: ==7838== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:52:03] Production.INFO: Account Balance Start.
[2025-04-09 00:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:52:03] Production.INFO: 117
[2025-04-09 00:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:52:03] Production.INFO: ==7842== Lock acquired, processing the job...
[2025-04-09 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:52:03] Production.ERROR: done
[2025-04-09 00:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:52:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 00:52:03] Production.INFO: CreateAllLog End
[2025-04-09 00:52:03] Production.INFO: count ==12
[2025-04-09 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-04-09 00:52:03] Production.INFO: count ==23
[2025-04-09 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865989') start
[2025-04-09 00:52:04] Production.INFO: ==7834== Releasing lock...
[2025-04-09 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:52:04] Production.ERROR: done
[2025-04-09 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865989') end
[2025-04-09 00:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:52:04] Production.INFO: 1
[2025-04-09 00:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:52:04] Production.INFO: Account Balance End.
[2025-04-09 00:52:04] Production.INFO: ==7842== Releasing lock...
[2025-04-09 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:52:04] Production.INFO: ==7838== Releasing lock...
[2025-04-09 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:52:05
[end_date_ymd] => 2025-04-09 00:52:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:52:05' and `end` < '2025-04-09 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-04-09 00:52:12] Production.ERROR: CronJobId end10
[2025-04-09 00:52:12] Production.INFO: ==7836== Releasing lock...
[2025-04-09 00:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:52:15] Production.INFO: call_cost start
[2025-04-09 00:52:15] Production.INFO: call_cost end
[2025-04-09 00:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:52:16] Production.INFO: ==7832== Releasing lock...
[2025-04-09 00:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:52:17] Production.INFO: count ==86
[2025-04-09 00:52:17] Production.ERROR: pbx CDR StartTime 2025-04-08 21:52:05 - End Time 2025-04-09 00:52:05
[2025-04-09 00:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865990', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865990', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865990', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865990', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:52:17] Production.INFO: ProcessCDR(1,14865990,1,1,2)
[2025-04-09 00:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865990', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865990', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:52:21] Production.INFO: ==7840== Releasing lock...
[2025-04-09 00:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:52:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:53:02] Production.INFO: ==7896== Lock acquired, processing the job...
[2025-04-09 05:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:53:02] Production.INFO: neon service started
[2025-04-09 05:53:02] Production.INFO: neon service started
[2025-04-09 05:53:02] Production.INFO: ==7896== Releasing lock...
[2025-04-09 05:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:53:02] Production.INFO: ==7898== Lock acquired, processing the job...
[2025-04-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:53:02] Production.INFO: ==7898== Releasing lock...
[2025-04-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:53:03] Production.INFO: ==7900== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:53:03] Production.INFO: ==7900== Releasing lock...
[2025-04-09 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:53:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:53:03] Production.INFO: ==7902== Lock acquired, processing the job...
[2025-04-09 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:53:03] Production.INFO: ==7904== Lock acquired, processing the job...
[2025-04-09 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:53:03] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-04-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:53:04] Production.INFO: ==7907== Lock acquired, processing the job...
[2025-04-09 00:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:53:04] Production.INFO: Account Balance Start.
[2025-04-09 00:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:53:04] Production.INFO: 117
[2025-04-09 00:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:53:04] Production.INFO: Total Charge 0
[2025-04-09 00:53:04] Production.INFO: CreateAllLog End
[2025-04-09 00:53:04] Production.INFO: ==7913== Lock acquired, processing the job...
[2025-04-09 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:53:04] Production.INFO: ==7904== Releasing lock...
[2025-04-09 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:53:04] Production.INFO: ==7911== Lock acquired, processing the job...
[2025-04-09 00:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:53:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 00:53:04] Production.INFO: count ==12
[2025-04-09 00:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:53:04] Production.INFO: ==7909== Releasing lock...
[2025-04-09 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 00:53:04] Production.INFO: count ==23
[2025-04-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865994') start
[2025-04-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865994') end
[2025-04-09 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:53:04] Production.INFO: 1
[2025-04-09 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:53:04] Production.ERROR: done
[2025-04-09 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:53:05] Production.INFO: ==7913== Releasing lock...
[2025-04-09 00:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:53:05] Production.ERROR: done
[2025-04-09 00:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:53:06
[end_date_ymd] => 2025-04-09 00:53:06
[RateCDR] => 1
)
[2025-04-09 00:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:53:06' and `end` < '2025-04-09 00:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:53:13] Production.ERROR: CronJobId end10
[2025-04-09 00:53:13] Production.INFO: ==7907== Releasing lock...
[2025-04-09 00:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:53:15] Production.INFO: call_cost start
[2025-04-09 00:53:15] Production.INFO: call_cost end
[2025-04-09 00:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:53:16] Production.INFO: ==7902== Releasing lock...
[2025-04-09 00:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:53:18] Production.INFO: count ==84
[2025-04-09 00:53:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:53:06 - End Time 2025-04-09 00:53:06
[2025-04-09 00:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865995', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14865995', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865995', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14865995', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:53:18] Production.INFO: ProcessCDR(1,14865995,1,1,2)
[2025-04-09 00:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14865995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14865995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14865995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14865995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865995', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14865995', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:53:22] Production.INFO: ==7911== Releasing lock...
[2025-04-09 00:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:53:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:54:01] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-04-09 05:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:54:01] Production.INFO: neon service started
[2025-04-09 05:54:01] Production.INFO: neon service started
[2025-04-09 05:54:01] Production.INFO: ==7967== Releasing lock...
[2025-04-09 05:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:54:02] Production.INFO: ==7969== Lock acquired, processing the job...
[2025-04-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:54:02] Production.INFO: ==7971== Lock acquired, processing the job...
[2025-04-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:54:02] Production.INFO: ==7969== Releasing lock...
[2025-04-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:54:02] Production.INFO: ==7971== Releasing lock...
[2025-04-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:54:03] Production.INFO: ==7974== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:54:03] Production.INFO: ==7976== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:54:03] Production.INFO: ==7978== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:54:03] Production.INFO: ==7980== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:54:03] Production.INFO: ==7982== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:54:03] Production.INFO: ==7984== Lock acquired, processing the job...
[2025-04-09 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:54:03] Production.INFO: Account Balance Start.
[2025-04-09 00:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:54:03] Production.INFO: 117
[2025-04-09 00:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:54:03] Production.INFO: ==7976== Releasing lock...
[2025-04-09 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 00:54:03] Production.INFO: Total Charge 0
[2025-04-09 00:54:03] Production.INFO: count ==12
[2025-04-09 00:54:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 00:54:03] Production.INFO: count ==23
[2025-04-09 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14865999') start
[2025-04-09 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14865999') end
[2025-04-09 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:54:04] Production.INFO: 1
[2025-04-09 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:54:04] Production.INFO: ==7984== Releasing lock...
[2025-04-09 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:54:04] Production.ERROR: done
[2025-04-09 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:54:04] Production.ERROR: done
[2025-04-09 00:54:04] Production.INFO: Account Balance End.
[2025-04-09 00:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:54:04] Production.INFO: ==7980== Releasing lock...
[2025-04-09 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:54:05
[end_date_ymd] => 2025-04-09 00:54:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 21:54:05' and `end` < '2025-04-09 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-04-09 00:54:12] Production.ERROR: CronJobId end10
[2025-04-09 00:54:12] Production.INFO: ==7978== Releasing lock...
[2025-04-09 00:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:54:14] Production.INFO: call_cost start
[2025-04-09 00:54:14] Production.INFO: call_cost end
[2025-04-09 00:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:54:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:54:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:54:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:54:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:54:14] Production.INFO: ==7974== Releasing lock...
[2025-04-09 00:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:54:18] Production.INFO: count ==83
[2025-04-09 00:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:54:05 - End Time 2025-04-09 00:54:05
[2025-04-09 00:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866000', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866000', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866000', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866000', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:54:18] Production.INFO: ProcessCDR(1,14866000,1,1,2)
[2025-04-09 00:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866000', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866000', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:54:21] Production.INFO: ==7982== Releasing lock...
[2025-04-09 00:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:54:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:55:02] Production.INFO: ==8038== Lock acquired, processing the job...
[2025-04-09 05:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:55:02] Production.INFO: neon service started
[2025-04-09 05:55:02] Production.INFO: neon service started
[2025-04-09 05:55:02] Production.INFO: ==8038== Releasing lock...
[2025-04-09 05:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:55:02] Production.INFO: ==8042== Lock acquired, processing the job...
[2025-04-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:55:02] Production.INFO: ==8042== Releasing lock...
[2025-04-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:55:02] Production.INFO: ==8040== Lock acquired, processing the job...
[2025-04-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:55:03] Production.INFO: ==8040== Releasing lock...
[2025-04-09 00:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:55:03] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-04-09 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:55:03] Production.INFO: ==8049== Lock acquired, processing the job...
[2025-04-09 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:55:03] Production.INFO: ==8053== Lock acquired, processing the job...
[2025-04-09 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:55:04] Production.INFO: ==8047== Lock acquired, processing the job...
[2025-04-09 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:55:04] Production.INFO: ==8051== Lock acquired, processing the job...
[2025-04-09 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:55:04] Production.INFO: ==8055== Lock acquired, processing the job...
[2025-04-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 00:55:04] Production.INFO: count ==12
[2025-04-09 00:55:04] Production.INFO: Account Balance Start.
[2025-04-09 00:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:55:04] Production.INFO: 117
[2025-04-09 00:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:55:04] Production.INFO: count ==23
[2025-04-09 00:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866003') start
[2025-04-09 00:55:04] Production.ERROR: done
[2025-04-09 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866003') end
[2025-04-09 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:55:04] Production.INFO: 1
[2025-04-09 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:55:04] Production.INFO: Total Charge 0
[2025-04-09 00:55:04] Production.INFO: ==8055== Releasing lock...
[2025-04-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:55:04] Production.INFO: CreateAllLog End
[2025-04-09 00:55:04] Production.ERROR: done
[2025-04-09 00:55:04] Production.INFO: ==8047== Releasing lock...
[2025-04-09 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:55:05] Production.INFO: Account Balance End.
[2025-04-09 00:55:05] Production.ERROR: CronJobId end 12
[2025-04-09 00:55:05] Production.INFO: ==8051== Releasing lock...
[2025-04-09 00:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:55:05
[end_date_ymd] => 2025-04-09 00:55:05
[RateCDR] => 1
)
[2025-04-09 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:55:05' and `end` < '2025-04-09 00:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:55:12] Production.ERROR: CronJobId end10
[2025-04-09 00:55:12] Production.INFO: ==8049== Releasing lock...
[2025-04-09 00:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:55:15] Production.INFO: call_cost start
[2025-04-09 00:55:15] Production.INFO: call_cost end
[2025-04-09 00:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:55:16] Production.INFO: ==8045== Releasing lock...
[2025-04-09 00:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:55:18] Production.INFO: count ==83
[2025-04-09 00:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:55:05 - End Time 2025-04-09 00:55:05
[2025-04-09 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866005', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866005', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866005', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866005', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:55:18] Production.INFO: ProcessCDR(1,14866005,1,1,2)
[2025-04-09 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866005', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866005', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:55:22] Production.INFO: ==8053== Releasing lock...
[2025-04-09 00:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:55:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:56:01] Production.INFO: ==8113== Lock acquired, processing the job...
[2025-04-09 05:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:56:01] Production.INFO: neon service started
[2025-04-09 05:56:01] Production.INFO: neon service started
[2025-04-09 05:56:01] Production.INFO: ==8113== Releasing lock...
[2025-04-09 05:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:56:01] Production.INFO: ==8115== Lock acquired, processing the job...
[2025-04-09 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:56:02] Production.INFO: ==8117== Lock acquired, processing the job...
[2025-04-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 00:56:02] Production.INFO: ==8115== Releasing lock...
[2025-04-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:56:02] Production.INFO: ==8117== Releasing lock...
[2025-04-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:56:03] Production.INFO: ==8123== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:56:03] Production.INFO: ==8119== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:56:03] Production.INFO: ==8125== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:56:03] Production.INFO: Account Balance Start.
[2025-04-09 00:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:56:03] Production.INFO: 117
[2025-04-09 00:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:56:03] Production.INFO: Total Charge 0
[2025-04-09 00:56:03] Production.INFO: CreateAllLog End
[2025-04-09 00:56:03] Production.INFO: ==8121== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:56:03] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:56:03] Production.INFO: Account Balance End.
[2025-04-09 00:56:03] Production.INFO: ==8129== Lock acquired, processing the job...
[2025-04-09 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:56:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:56:03] Production.INFO: ==8125== Releasing lock...
[2025-04-09 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:56:03] Production.INFO: ==8121== Releasing lock...
[2025-04-09 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 00:56:03] Production.INFO: count ==12
[2025-04-09 00:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:56:04] Production.INFO: count ==23
[2025-04-09 00:56:04] Production.ERROR: done
[2025-04-09 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866009') start
[2025-04-09 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:56:04] Production.ERROR: done
[2025-04-09 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866009') end
[2025-04-09 00:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:56:04] Production.INFO: 1
[2025-04-09 00:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:56:04] Production.INFO: ==8129== Releasing lock...
[2025-04-09 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:56:05
[end_date_ymd] => 2025-04-09 00:56:05
[RateCDR] => 1
)
[2025-04-09 00:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:56:05' and `end` < '2025-04-09 00:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:56:11] Production.ERROR: CronJobId end10
[2025-04-09 00:56:11] Production.INFO: ==8123== Releasing lock...
[2025-04-09 00:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:56:14] Production.INFO: call_cost start
[2025-04-09 00:56:14] Production.INFO: call_cost end
[2025-04-09 00:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:56:15] Production.INFO: ==8119== Releasing lock...
[2025-04-09 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:56:18] Production.INFO: count ==83
[2025-04-09 00:56:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:56:05 - End Time 2025-04-09 00:56:05
[2025-04-09 00:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866010', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866010', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866010', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866010', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:56:18] Production.INFO: ProcessCDR(1,14866010,1,1,2)
[2025-04-09 00:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866010', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866010', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:56:21] Production.INFO: ==8127== Releasing lock...
[2025-04-09 00:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:56:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:57:02] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-04-09 05:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:57:02] Production.INFO: neon service started
[2025-04-09 05:57:02] Production.INFO: neon service started
[2025-04-09 05:57:02] Production.INFO: ==8184== Releasing lock...
[2025-04-09 05:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:57:02] Production.INFO: ==8188== Lock acquired, processing the job...
[2025-04-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:57:02] Production.INFO: ==8188== Releasing lock...
[2025-04-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:57:02] Production.INFO: ==8186== Lock acquired, processing the job...
[2025-04-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:57:02] Production.INFO: ==8186== Releasing lock...
[2025-04-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:57:03] Production.INFO: ==8191== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:57:03] Production.INFO: ==8197== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:57:03] Production.INFO: ==8201== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:57:03] Production.INFO: Account Balance Start.
[2025-04-09 00:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:57:03] Production.INFO: 117
[2025-04-09 00:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:57:03] Production.INFO: Total Charge 0
[2025-04-09 00:57:03] Production.INFO: count ==12
[2025-04-09 00:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:57:03] Production.INFO: count ==23
[2025-04-09 00:57:03] Production.INFO: CreateAllLog End
[2025-04-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866013') start
[2025-04-09 00:57:03] Production.INFO: ==8193== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:57:03] Production.INFO: ==8195== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:57:03] Production.INFO: ==8199== Lock acquired, processing the job...
[2025-04-09 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866013') end
[2025-04-09 00:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:57:04] Production.INFO: 1
[2025-04-09 00:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:57:04] Production.INFO: Account Balance End.
[2025-04-09 00:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:57:04] Production.INFO: ==8201== Releasing lock...
[2025-04-09 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:57:04] Production.INFO: ==8197== Releasing lock...
[2025-04-09 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:57:04] Production.INFO: ==8193== Releasing lock...
[2025-04-09 00:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:57:04] Production.ERROR: done
[2025-04-09 00:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:57:04] Production.ERROR: done
[2025-04-09 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:57:05
[end_date_ymd] => 2025-04-09 00:57:05
[RateCDR] => 1
)
[2025-04-09 00:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:57:05' and `end` < '2025-04-09 00:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:57:12] Production.ERROR: CronJobId end10
[2025-04-09 00:57:12] Production.INFO: ==8195== Releasing lock...
[2025-04-09 00:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:57:14] Production.INFO: call_cost start
[2025-04-09 00:57:14] Production.INFO: call_cost end
[2025-04-09 00:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:57:15] Production.INFO: ==8191== Releasing lock...
[2025-04-09 00:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:57:18] Production.INFO: count ==83
[2025-04-09 00:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:57:05 - End Time 2025-04-09 00:57:05
[2025-04-09 00:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866015', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866015', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866015', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866015', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:57:18] Production.INFO: ProcessCDR(1,14866015,1,1,2)
[2025-04-09 00:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866015', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866015', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:57:21] Production.INFO: ==8199== Releasing lock...
[2025-04-09 00:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:58:01] Production.INFO: ==8254== Lock acquired, processing the job...
[2025-04-09 05:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:58:01] Production.INFO: neon service started
[2025-04-09 05:58:01] Production.INFO: neon service started
[2025-04-09 05:58:01] Production.INFO: ==8254== Releasing lock...
[2025-04-09 05:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:58:02] Production.INFO: ==8256== Lock acquired, processing the job...
[2025-04-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:58:02] Production.INFO: ==8258== Lock acquired, processing the job...
[2025-04-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:58:02] Production.INFO: ==8258== Releasing lock...
[2025-04-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:58:02] Production.INFO: ==8256== Releasing lock...
[2025-04-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 00:58:03] Production.INFO: ==8265== Lock acquired, processing the job...
[2025-04-09 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:58:03] Production.INFO: ==8267== Lock acquired, processing the job...
[2025-04-09 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:58:03] Production.INFO: Account Balance Start.
[2025-04-09 00:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 00:58:03] Production.INFO: 117
[2025-04-09 00:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 00:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:58:03] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-04-09 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 00:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 00:58:03] Production.INFO: Total Charge 0
[2025-04-09 00:58:03] Production.INFO: CreateAllLog End
[2025-04-09 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:58:03] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-04-09 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:58:03] Production.INFO: Account Balance End.
[2025-04-09 00:58:03] Production.ERROR: CronJobId end 12
[2025-04-09 00:58:03] Production.INFO: ==8267== Releasing lock...
[2025-04-09 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:58:03] Production.INFO: ==8269== Lock acquired, processing the job...
[2025-04-09 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:58:04] Production.INFO: ==8271== Lock acquired, processing the job...
[2025-04-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:58:04] Production.INFO: count ==12
[2025-04-09 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:58:04] Production.INFO: count ==23
[2025-04-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866019') start
[2025-04-09 00:58:04] Production.INFO: ==8263== Releasing lock...
[2025-04-09 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:58:04] Production.ERROR: done
[2025-04-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866019') end
[2025-04-09 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:58:04] Production.INFO: 1
[2025-04-09 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:58:04] Production.INFO: ==8271== Releasing lock...
[2025-04-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:58:04] Production.ERROR: done
[2025-04-09 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:58:05
[end_date_ymd] => 2025-04-09 00:58:05
[RateCDR] => 1
)
[2025-04-09 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:58:05' and `end` < '2025-04-09 00:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:58:12] Production.ERROR: CronJobId end10
[2025-04-09 00:58:12] Production.INFO: ==8265== Releasing lock...
[2025-04-09 00:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:58:14] Production.INFO: call_cost start
[2025-04-09 00:58:14] Production.INFO: call_cost end
[2025-04-09 00:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:58:15] Production.INFO: ==8261== Releasing lock...
[2025-04-09 00:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:58:18] Production.INFO: count ==90
[2025-04-09 00:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:58:05 - End Time 2025-04-09 00:58:05
[2025-04-09 00:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866020', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866020', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866020', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866020', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:58:18] Production.INFO: ProcessCDR(1,14866020,1,1,2)
[2025-04-09 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866020', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866020', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:58:21] Production.INFO: ==8269== Releasing lock...
[2025-04-09 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:58:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 05:59:02] Production.INFO: ==8325== Lock acquired, processing the job...
[2025-04-09 05:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 05:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 05:59:02] Production.INFO: neon service started
[2025-04-09 05:59:02] Production.INFO: neon service started
[2025-04-09 05:59:02] Production.INFO: ==8325== Releasing lock...
[2025-04-09 05:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 05:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 00:59:02] Production.INFO: ==8327== Lock acquired, processing the job...
[2025-04-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 00:59:02] Production.INFO: ==8327== Releasing lock...
[2025-04-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:59:02] Production.INFO: ==8329== Lock acquired, processing the job...
[2025-04-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:59:02] Production.INFO: ==8329== Releasing lock...
[2025-04-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 00:59:03] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-04-09 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 00:59:03] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-04-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 00:59:03] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-04-09 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 00:59:03] Production.INFO: ==8339== Lock acquired, processing the job...
[2025-04-09 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 00:59:04] Production.INFO: ==8343== Lock acquired, processing the job...
[2025-04-09 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 00:59:04] Production.INFO: ==8341== Lock acquired, processing the job...
[2025-04-09 00:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 00:59:04] Production.INFO: Account Balance Start.
[2025-04-09 00:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 00:59:04] Production.INFO: 117
[2025-04-09 00:59:04] Production.INFO: ==8334== Releasing lock...
[2025-04-09 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 00:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 00:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 00:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 00: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-04-09 00:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 00:59:04] Production.INFO: Total Charge 0
[2025-04-09 00:59:04] Production.INFO: count ==12
[2025-04-09 00:59:04] Production.INFO: CreateAllLog End
[2025-04-09 00:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 00:59:04] Production.INFO: count ==23
[2025-04-09 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866024') start
[2025-04-09 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866024') end
[2025-04-09 00:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 00:59:04] Production.INFO: 1
[2025-04-09 00:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 00:59:04] Production.INFO: ==8343== Releasing lock...
[2025-04-09 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 00:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 00:59:04] Production.ERROR: done
[2025-04-09 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 00:59:04] Production.ERROR: done
[2025-04-09 00:59:04] Production.INFO: Account Balance End.
[2025-04-09 00:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 00:59:04] Production.INFO: ==8339== Releasing lock...
[2025-04-09 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 00:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 21:59:05
[end_date_ymd] => 2025-04-09 00:59:05
[RateCDR] => 1
)
[2025-04-09 00:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 21:59:05' and `end` < '2025-04-09 00:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 00:59:11] Production.ERROR: CronJobId end10
[2025-04-09 00:59:11] Production.INFO: ==8336== Releasing lock...
[2025-04-09 00:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 00:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 00:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 00:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 00:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 00:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 00:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 00:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 00:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 00:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 00:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 00:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 00:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 00:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 00:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 00:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 00:59:14] Production.INFO: call_cost start
[2025-04-09 00:59:14] Production.INFO: call_cost end
[2025-04-09 00:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 00:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 00:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 00:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 00:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 00:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 00:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 00:59:15] Production.INFO: ==8332== Releasing lock...
[2025-04-09 00:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 00:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 00:59:18] Production.INFO: count ==89
[2025-04-09 00:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 21:59:05 - End Time 2025-04-09 00:59:05
[2025-04-09 00:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866025', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866025', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866025', 'tblTempVendorCDR_20' ) start
[2025-04-09 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866025', 'tblTempVendorCDR_20' ) end
[2025-04-09 00:59:18] Production.INFO: ProcessCDR(1,14866025,1,1,2)
[2025-04-09 00:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 00:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 00:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866025', 'tblTempUsageDetail_20' ) start
[2025-04-09 00:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866025', 'tblTempUsageDetail_20' ) end
[2025-04-09 00:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 00:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 00:59:23] Production.INFO: ==8341== Releasing lock...
[2025-04-09 00:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 00:59:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:00:01] Production.INFO: ==8404== Lock acquired, processing the job...
[2025-04-09 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:00:01] Production.INFO: neon service started
[2025-04-09 06:00:01] Production.INFO: neon service started
[2025-04-09 06:00:01] Production.INFO: ==8404== Releasing lock...
[2025-04-09 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:00:01] Production.INFO: ==8408== Lock acquired, processing the job...
[2025-04-09 05:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:00:01] Production.INFO: ==8408== Releasing lock...
[2025-04-09 05:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:00:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:00:02] Production.INFO: ==8406== Lock acquired, processing the job...
[2025-04-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:00:02] Production.INFO: ==8406== Releasing lock...
[2025-04-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:00:03] Production.INFO: ==8413== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==8417== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==8410== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:00:03] Production.INFO: ==8415== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:00:03] Production.ERROR: CronJob PID - 8413
[2025-04-09 01:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 01:00:03] Production.ERROR: CronJob ID - 5
[2025-04-09 01:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:00:00
[2025-04-09 01:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:00:03] Production.ERROR: CronJob PID - 8417
[2025-04-09 01:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 01:00:03] Production.ERROR: CronJob ID - 10
[2025-04-09 01:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:00:00
[2025-04-09 01:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:00:03] Production.INFO: ==8410== Releasing lock...
[2025-04-09 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:00:03] Production.INFO: ==8425== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==8419== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==8421== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:00:03] Production.INFO: ==8423== Lock acquired, processing the job...
[2025-04-09 01:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:00:03] Production.INFO: Account Balance Start.
[2025-04-09 01:00:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:00:03] Production.INFO: 117
[2025-04-09 01: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-04-09 01:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:00:04] Production.INFO: count ==12
[2025-04-09 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:00:04] Production.INFO: count ==23
[2025-04-09 01:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866029') start
[2025-04-09 01:00:04] Production.INFO: Total Charge 0
[2025-04-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866029') end
[2025-04-09 01:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:00:04] Production.INFO: 1
[2025-04-09 01:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:00:04] Production.INFO: CreateAllLog End
[2025-04-09 01:00:04] Production.INFO: ==8425== Releasing lock...
[2025-04-09 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:00:04] Production.INFO: ==8415== Releasing lock...
[2025-04-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:00:04] Production.ERROR: done
[2025-04-09 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:00:04] Production.ERROR: done
[2025-04-09 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866030', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:00:04] Production.ERROR: done
[2025-04-09 01:00:04] Production.INFO: Account Balance End.
[2025-04-09 01:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:00:04] Production.INFO: ==8419== Releasing lock...
[2025-04-09 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:00:05
[end_date_ymd] => 2025-04-09 01:00:05
[RateCDR] => 1
)
[2025-04-09 01: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-04-08 22:00:05' and `end` < '2025-04-09 01: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-04-09 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866030', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:00:09] Production.INFO: ProcessCDR(1,14866030,1,1,2)
[2025-04-09 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:00:09] Production.INFO: ==8423== Releasing lock...
[2025-04-09 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:00:13] Production.ERROR: CronJobId end10
[2025-04-09 01:00:13] Production.INFO: ==8417== Releasing lock...
[2025-04-09 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:00:16] Production.INFO: call_cost start
[2025-04-09 01:00:16] Production.INFO: call_cost end
[2025-04-09 01:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:00:17] Production.INFO: ==8413== Releasing lock...
[2025-04-09 01:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:00:18] Production.INFO: count ==96
[2025-04-09 01:00:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:00:05 - End Time 2025-04-09 01:00:05
[2025-04-09 01:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866031', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866031', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866031', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866031', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:00:18] Production.INFO: ProcessCDR(1,14866031,1,1,2)
[2025-04-09 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866031', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866031', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:00:21] Production.INFO: ==8421== Releasing lock...
[2025-04-09 01:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:00:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:01:02] Production.INFO: ==8483== Lock acquired, processing the job...
[2025-04-09 06:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:01:02] Production.INFO: neon service started
[2025-04-09 06:01:02] Production.INFO: neon service started
[2025-04-09 06:01:02] Production.INFO: ==8483== Releasing lock...
[2025-04-09 06:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:01:02] Production.INFO: ==8500== Lock acquired, processing the job...
[2025-04-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:01:02] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-04-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:01:02] Production.INFO: ==8500== Releasing lock...
[2025-04-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:01:03] Production.INFO: ==8498== Releasing lock...
[2025-04-09 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:01:03] Production.INFO: ==8507== Lock acquired, processing the job...
[2025-04-09 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:01:04] Production.INFO: ==8513== Lock acquired, processing the job...
[2025-04-09 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:01:04] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-04-09 01:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:01:04] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-04-09 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:01:04] Production.INFO: count ==12
[2025-04-09 01:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:01:04] Production.INFO: ==8509== Lock acquired, processing the job...
[2025-04-09 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:01:04] Production.INFO: count ==23
[2025-04-09 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866032') start
[2025-04-09 01:01:04] Production.INFO: ==8511== Lock acquired, processing the job...
[2025-04-09 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866032') end
[2025-04-09 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:01:04] Production.INFO: 1
[2025-04-09 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:01:04] Production.INFO: Account Balance Start.
[2025-04-09 01:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:01:04] Production.INFO: 117
[2025-04-09 01:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:01:04] Production.INFO: Total Charge 0
[2025-04-09 01:01:04] Production.INFO: CreateAllLog End
[2025-04-09 01:01:04] Production.INFO: ==8513== Releasing lock...
[2025-04-09 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:01:04] Production.INFO: ==8505== Releasing lock...
[2025-04-09 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:01:04] Production.INFO: Account Balance End.
[2025-04-09 01:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:01:04] Production.INFO: ==8509== Releasing lock...
[2025-04-09 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:01:04] Production.ERROR: done
[2025-04-09 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:01:05] Production.ERROR: done
[2025-04-09 01:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:01:06
[end_date_ymd] => 2025-04-09 01:01:06
[RateCDR] => 1
)
[2025-04-09 01:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:01:06' and `end` < '2025-04-09 01:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:01:12] Production.ERROR: CronJobId end10
[2025-04-09 01:01:12] Production.INFO: ==8507== Releasing lock...
[2025-04-09 01:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:01:15] Production.INFO: call_cost start
[2025-04-09 01:01:15] Production.INFO: call_cost end
[2025-04-09 01:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:01:16] Production.INFO: ==8503== Releasing lock...
[2025-04-09 01:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:01:18] Production.INFO: count ==102
[2025-04-09 01:01:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:01:06 - End Time 2025-04-09 01:01:06
[2025-04-09 01:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866036', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866036', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866036', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866036', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:01:18] Production.INFO: ProcessCDR(1,14866036,1,1,2)
[2025-04-09 01:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866036', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866036', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:01:22] Production.INFO: ==8511== Releasing lock...
[2025-04-09 01:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:02:01] Production.INFO: ==8570== Lock acquired, processing the job...
[2025-04-09 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:02:01] Production.INFO: neon service started
[2025-04-09 06:02:01] Production.INFO: neon service started
[2025-04-09 06:02:01] Production.INFO: ==8570== Releasing lock...
[2025-04-09 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:02:01] Production.INFO: ==8572== Lock acquired, processing the job...
[2025-04-09 01:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:02:02] Production.INFO: ==8574== Lock acquired, processing the job...
[2025-04-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:02:02] Production.INFO: ==8574== Releasing lock...
[2025-04-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:02:02] Production.INFO: ==8572== Releasing lock...
[2025-04-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:02:03] Production.INFO: ==8578== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:02:03] Production.INFO: ==8582== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:02:03] Production.INFO: ==8587== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:02:03] Production.INFO: ==8576== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:02:03] Production.INFO: Account Balance Start.
[2025-04-09 01:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:02:03] Production.INFO: 117
[2025-04-09 01:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:02:03] Production.INFO: count ==12
[2025-04-09 01:02:03] Production.INFO: ==8580== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:02:03] Production.INFO: count ==23
[2025-04-09 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866039') start
[2025-04-09 01:02:03] Production.INFO: ==8584== Lock acquired, processing the job...
[2025-04-09 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:02:03] Production.INFO: Total Charge 0
[2025-04-09 01:02:03] Production.INFO: CreateAllLog End
[2025-04-09 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866039') end
[2025-04-09 01:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:02:03] Production.INFO: 1
[2025-04-09 01:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:02:03] Production.INFO: ==8578== Releasing lock...
[2025-04-09 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:02:03] Production.INFO: ==8587== Releasing lock...
[2025-04-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:02:03] Production.ERROR: done
[2025-04-09 01:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:02:04] Production.ERROR: done
[2025-04-09 01:02:04] Production.INFO: Account Balance End.
[2025-04-09 01:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:02:04] Production.INFO: ==8582== Releasing lock...
[2025-04-09 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:02:05
[end_date_ymd] => 2025-04-09 01:02:05
[RateCDR] => 1
)
[2025-04-09 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:02:05' and `end` < '2025-04-09 01:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:02:11] Production.ERROR: CronJobId end10
[2025-04-09 01:02:11] Production.INFO: ==8580== Releasing lock...
[2025-04-09 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:02:13] Production.INFO: call_cost start
[2025-04-09 01:02:13] Production.INFO: call_cost end
[2025-04-09 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:02:14] Production.INFO: ==8576== Releasing lock...
[2025-04-09 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:02:18] Production.INFO: count ==103
[2025-04-09 01:02:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:02:05 - End Time 2025-04-09 01:02:05
[2025-04-09 01:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866041', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866041', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866041', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866041', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:02:18] Production.INFO: ProcessCDR(1,14866041,1,1,2)
[2025-04-09 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866041', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866041', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:02:21] Production.INFO: ==8584== Releasing lock...
[2025-04-09 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:03:01] Production.INFO: ==8639== Lock acquired, processing the job...
[2025-04-09 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:03:01] Production.INFO: neon service started
[2025-04-09 06:03:01] Production.INFO: neon service started
[2025-04-09 06:03:01] Production.INFO: ==8639== Releasing lock...
[2025-04-09 06:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:03:02] Production.INFO: ==8641== Lock acquired, processing the job...
[2025-04-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:03:02] Production.INFO: ==8643== Lock acquired, processing the job...
[2025-04-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:03:02] Production.INFO: ==8641== Releasing lock...
[2025-04-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:03:02] Production.INFO: ==8643== Releasing lock...
[2025-04-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:03:03] Production.INFO: ==8652== Lock acquired, processing the job...
[2025-04-09 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:03:03] Production.INFO: ==8654== Lock acquired, processing the job...
[2025-04-09 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:03:03] Production.INFO: Account Balance Start.
[2025-04-09 01:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:03:03] Production.INFO: 117
[2025-04-09 01:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:03:03] Production.INFO: Total Charge 0
[2025-04-09 01:03:03] Production.INFO: CreateAllLog End
[2025-04-09 01:03:03] Production.INFO: ==8646== Lock acquired, processing the job...
[2025-04-09 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:03:03] Production.INFO: ==8648== Lock acquired, processing the job...
[2025-04-09 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:03:03] Production.INFO: ==8656== Lock acquired, processing the job...
[2025-04-09 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:03:04] Production.INFO: ==8650== Lock acquired, processing the job...
[2025-04-09 01:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:03:04] Production.ERROR: done
[2025-04-09 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01: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-04-09 01:03:04] Production.INFO: Account Balance End.
[2025-04-09 01:03:04] Production.INFO: count ==12
[2025-04-09 01: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-04-09 01:03:04] Production.INFO: count ==23
[2025-04-09 01:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:03:04] Production.INFO: ==8652== Releasing lock...
[2025-04-09 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866044') start
[2025-04-09 01:03:04] Production.ERROR: done
[2025-04-09 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866044') end
[2025-04-09 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:03:04] Production.INFO: 1
[2025-04-09 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:03:04] Production.INFO: ==8656== Releasing lock...
[2025-04-09 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:03:04] Production.INFO: ==8648== Releasing lock...
[2025-04-09 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:03:05
[end_date_ymd] => 2025-04-09 01:03:05
[RateCDR] => 1
)
[2025-04-09 01:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:03:05' and `end` < '2025-04-09 01:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:03:12] Production.ERROR: CronJobId end10
[2025-04-09 01:03:12] Production.INFO: ==8650== Releasing lock...
[2025-04-09 01:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:03:15] Production.INFO: call_cost start
[2025-04-09 01:03:15] Production.INFO: call_cost end
[2025-04-09 01:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:03:16] Production.INFO: ==8646== Releasing lock...
[2025-04-09 01:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:03:18] Production.INFO: count ==99
[2025-04-09 01:03:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:03:05 - End Time 2025-04-09 01:03:05
[2025-04-09 01:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866046', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866046', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866046', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866046', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:03:18] Production.INFO: ProcessCDR(1,14866046,1,1,2)
[2025-04-09 01:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866046', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866046', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:03:21] Production.INFO: ==8654== Releasing lock...
[2025-04-09 01:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:03:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:04:01] Production.INFO: ==8714== Lock acquired, processing the job...
[2025-04-09 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:04:01] Production.INFO: neon service started
[2025-04-09 06:04:01] Production.INFO: neon service started
[2025-04-09 06:04:01] Production.INFO: ==8714== Releasing lock...
[2025-04-09 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:04:01] Production.INFO: ==8718== Lock acquired, processing the job...
[2025-04-09 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:04:01] Production.INFO: ==8718== Releasing lock...
[2025-04-09 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:04:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:04:01] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-04-09 01:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:04:02] Production.INFO: ==8716== Releasing lock...
[2025-04-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:04:03] Production.INFO: ==8721== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:04:03] Production.INFO: ==8723== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:04:03] Production.INFO: ==8729== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:04:03] Production.INFO: ==8723== Releasing lock...
[2025-04-09 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:04:03] Production.INFO: ==8725== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:04:03] Production.INFO: ==8727== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:04:03] Production.INFO: ==8731== Lock acquired, processing the job...
[2025-04-09 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:04:03] Production.INFO: Account Balance Start.
[2025-04-09 01:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:04:03] Production.INFO: 117
[2025-04-09 01:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:04:03] Production.INFO: count ==12
[2025-04-09 01:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:04:03] Production.INFO: count ==23
[2025-04-09 01:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866050') start
[2025-04-09 01:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:04:03] Production.ERROR: done
[2025-04-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866050') end
[2025-04-09 01:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:04:03] Production.INFO: 1
[2025-04-09 01:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:04:03] Production.INFO: Total Charge 0
[2025-04-09 01:04:04] Production.INFO: CreateAllLog End
[2025-04-09 01:04:04] Production.INFO: ==8731== Releasing lock...
[2025-04-09 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:04:04] Production.ERROR: done
[2025-04-09 01:04:04] Production.INFO: Account Balance End.
[2025-04-09 01:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:04:04] Production.INFO: ==8727== Releasing lock...
[2025-04-09 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:04:05
[end_date_ymd] => 2025-04-09 01:04:05
[RateCDR] => 1
)
[2025-04-09 01:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:04:05' and `end` < '2025-04-09 01:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:04:12] Production.ERROR: CronJobId end10
[2025-04-09 01:04:12] Production.INFO: ==8725== Releasing lock...
[2025-04-09 01:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:04:14] Production.INFO: call_cost start
[2025-04-09 01:04:14] Production.INFO: call_cost end
[2025-04-09 01:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:04:15] Production.INFO: ==8721== Releasing lock...
[2025-04-09 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:04:17] Production.INFO: count ==94
[2025-04-09 01:04:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:04:05 - End Time 2025-04-09 01:04:05
[2025-04-09 01:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866051', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866051', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866051', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866051', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:04:17] Production.INFO: ProcessCDR(1,14866051,1,1,2)
[2025-04-09 01:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866051', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866051', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:04:20] Production.INFO: ==8729== Releasing lock...
[2025-04-09 01:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:04:20] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:05:01] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-04-09 06:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:05:01] Production.INFO: neon service started
[2025-04-09 06:05:01] Production.INFO: neon service started
[2025-04-09 06:05:01] Production.INFO: ==8786== Releasing lock...
[2025-04-09 06:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:05:02] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-04-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:05:02] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-04-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:05:02] Production.INFO: ==8790== Releasing lock...
[2025-04-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:05:02] Production.INFO: ==8788== Releasing lock...
[2025-04-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:05:03] Production.INFO: ==8797== Lock acquired, processing the job...
[2025-04-09 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:05:03] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-04-09 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:05:03] Production.INFO: count ==12
[2025-04-09 01:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:05:03] Production.INFO: count ==23
[2025-04-09 01:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866052') start
[2025-04-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866052') end
[2025-04-09 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:05:04] Production.INFO: 1
[2025-04-09 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:05:04] Production.INFO: ==8793== Lock acquired, processing the job...
[2025-04-09 01:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:05:04] Production.INFO: ==8795== Lock acquired, processing the job...
[2025-04-09 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:05:04] Production.INFO: ==8803== Releasing lock...
[2025-04-09 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:05:04] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-04-09 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:05:04] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-04-09 01:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:05:04] Production.INFO: Account Balance Start.
[2025-04-09 01:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:05:04] Production.INFO: 117
[2025-04-09 01:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:05:04] Production.INFO: Total Charge 0
[2025-04-09 01:05:04] Production.INFO: CreateAllLog End
[2025-04-09 01:05:04] Production.INFO: ==8795== Releasing lock...
[2025-04-09 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:05:04] Production.ERROR: done
[2025-04-09 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:05:04] Production.INFO: Account Balance End.
[2025-04-09 01:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:05:04] Production.INFO: ==8799== Releasing lock...
[2025-04-09 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:05:04] Production.ERROR: done
[2025-04-09 01:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:05:06
[end_date_ymd] => 2025-04-09 01:05:06
[RateCDR] => 1
)
[2025-04-09 01:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:05:06' and `end` < '2025-04-09 01:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:05:12] Production.ERROR: CronJobId end10
[2025-04-09 01:05:12] Production.INFO: ==8797== Releasing lock...
[2025-04-09 01:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:05:14] Production.INFO: call_cost start
[2025-04-09 01:05:14] Production.INFO: call_cost end
[2025-04-09 01:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:05:15] Production.INFO: ==8793== Releasing lock...
[2025-04-09 01:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:05:18] Production.INFO: count ==94
[2025-04-09 01:05:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:05:06 - End Time 2025-04-09 01:05:06
[2025-04-09 01:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866056', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866056', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866056', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866056', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:05:18] Production.INFO: ProcessCDR(1,14866056,1,1,2)
[2025-04-09 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866056', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866056', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:05:21] Production.INFO: ==8801== Releasing lock...
[2025-04-09 01:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:05:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:06:01] Production.INFO: ==8857== Lock acquired, processing the job...
[2025-04-09 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:06:01] Production.INFO: neon service started
[2025-04-09 06:06:01] Production.INFO: neon service started
[2025-04-09 06:06:01] Production.INFO: ==8857== Releasing lock...
[2025-04-09 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:06:01] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-04-09 05:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:06:01] Production.INFO: ==8861== Releasing lock...
[2025-04-09 05:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:06:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:06:01] Production.INFO: ==8859== Lock acquired, processing the job...
[2025-04-09 01:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:06:02] Production.INFO: ==8859== Releasing lock...
[2025-04-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:06:02] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-04-09 01:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:06:03] Production.INFO: ==8866== Lock acquired, processing the job...
[2025-04-09 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:06:03] Production.INFO: ==8874== Lock acquired, processing the job...
[2025-04-09 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:06:03] Production.INFO: ==8868== Lock acquired, processing the job...
[2025-04-09 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 01:06:03] Production.INFO: count ==12
[2025-04-09 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-04-09 01:06:03] Production.INFO: count ==23
[2025-04-09 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866058') start
[2025-04-09 01:06:03] Production.INFO: ==8870== Lock acquired, processing the job...
[2025-04-09 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866058') end
[2025-04-09 01:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:06:03] Production.INFO: 1
[2025-04-09 01:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:06:03] Production.INFO: ==8872== Lock acquired, processing the job...
[2025-04-09 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:06:03] Production.INFO: ==8874== Releasing lock...
[2025-04-09 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:06:03] Production.INFO: Account Balance Start.
[2025-04-09 01:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:06:03] Production.INFO: 117
[2025-04-09 01:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:06:03] Production.INFO: Total Charge 0
[2025-04-09 01:06:03] Production.INFO: CreateAllLog End
[2025-04-09 01:06:03] Production.INFO: ==8866== Releasing lock...
[2025-04-09 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:06:03] Production.INFO: Account Balance End.
[2025-04-09 01:06:03] Production.ERROR: CronJobId end 12
[2025-04-09 01:06:03] Production.INFO: ==8870== Releasing lock...
[2025-04-09 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:06:04] Production.ERROR: done
[2025-04-09 01:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:06:04] Production.ERROR: done
[2025-04-09 01:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:06:05
[end_date_ymd] => 2025-04-09 01:06:05
[RateCDR] => 1
)
[2025-04-09 01:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:06:05' and `end` < '2025-04-09 01:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:06:11] Production.ERROR: CronJobId end10
[2025-04-09 01:06:11] Production.INFO: ==8868== Releasing lock...
[2025-04-09 01:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:06:14] Production.INFO: call_cost start
[2025-04-09 01:06:14] Production.INFO: call_cost end
[2025-04-09 01:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:06:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:06:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:06:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:06:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:06:14] Production.INFO: ==8863== Releasing lock...
[2025-04-09 01:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:06:18] Production.INFO: count ==94
[2025-04-09 01:06:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:06:05 - End Time 2025-04-09 01:06:05
[2025-04-09 01:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866061', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866061', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866061', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866061', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:06:18] Production.INFO: ProcessCDR(1,14866061,1,1,2)
[2025-04-09 01:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866061', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866061', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:06:21] Production.INFO: ==8872== Releasing lock...
[2025-04-09 01:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:06:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:07:01] Production.INFO: ==8977== Lock acquired, processing the job...
[2025-04-09 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:07:01] Production.INFO: neon service started
[2025-04-09 06:07:01] Production.INFO: neon service started
[2025-04-09 06:07:01] Production.INFO: ==8977== Releasing lock...
[2025-04-09 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:07:02] Production.INFO: ==8981== Lock acquired, processing the job...
[2025-04-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:07:02] Production.INFO: ==8981== Releasing lock...
[2025-04-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:07:02] Production.INFO: ==8979== Lock acquired, processing the job...
[2025-04-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:07:02] Production.INFO: ==8979== Releasing lock...
[2025-04-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:07:03] Production.INFO: ==8984== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:07:03] Production.INFO: ==8986== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:07:03] Production.INFO: ==8994== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:07:03] Production.INFO: count ==12
[2025-04-09 01:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:07:03] Production.INFO: count ==23
[2025-04-09 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866064') start
[2025-04-09 01:07:03] Production.INFO: ==8986== Releasing lock...
[2025-04-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:07:03] Production.INFO: ==8988== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866064') end
[2025-04-09 01:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:07:03] Production.INFO: 1
[2025-04-09 01:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:07:03] Production.INFO: ==8990== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:07:03] Production.INFO: ==8994== Releasing lock...
[2025-04-09 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:07:03] Production.INFO: ==8992== Lock acquired, processing the job...
[2025-04-09 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:07:03] Production.INFO: Account Balance Start.
[2025-04-09 01:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:07:03] Production.INFO: 117
[2025-04-09 01:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:07:04] Production.INFO: Total Charge 0
[2025-04-09 01:07:04] Production.INFO: CreateAllLog End
[2025-04-09 01:07:04] Production.ERROR: done
[2025-04-09 01:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:07:04] Production.INFO: Account Balance End.
[2025-04-09 01:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:07:04] Production.INFO: ==8990== Releasing lock...
[2025-04-09 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:07:04] Production.ERROR: done
[2025-04-09 01:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:07:05
[end_date_ymd] => 2025-04-09 01:07:05
[RateCDR] => 1
)
[2025-04-09 01:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:07:05' and `end` < '2025-04-09 01:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:07:12] Production.ERROR: CronJobId end10
[2025-04-09 01:07:12] Production.INFO: ==8988== Releasing lock...
[2025-04-09 01:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:07:13] Production.INFO: call_cost start
[2025-04-09 01:07:13] Production.INFO: call_cost end
[2025-04-09 01:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:07:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:07:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:07:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:07:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:07:14] Production.INFO: ==8984== Releasing lock...
[2025-04-09 01:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:07:18] Production.INFO: count ==94
[2025-04-09 01:07:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:07:05 - End Time 2025-04-09 01:07:05
[2025-04-09 01:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866066', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866066', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866066', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866066', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:07:18] Production.INFO: ProcessCDR(1,14866066,1,1,2)
[2025-04-09 01:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866066', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866066', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:07:21] Production.INFO: ==8992== Releasing lock...
[2025-04-09 01:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:07:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:08:02] Production.INFO: ==9061== Lock acquired, processing the job...
[2025-04-09 06:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:08:02] Production.INFO: neon service started
[2025-04-09 06:08:02] Production.INFO: neon service started
[2025-04-09 06:08:02] Production.INFO: ==9061== Releasing lock...
[2025-04-09 06:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:08:02] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-04-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:08:02] Production.INFO: ==9065== Releasing lock...
[2025-04-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:08:02] Production.INFO: ==9063== Lock acquired, processing the job...
[2025-04-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:08:02] Production.INFO: ==9063== Releasing lock...
[2025-04-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:08:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-04-09 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:08:03] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-04-09 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:08:04] Production.INFO: ==9070== Lock acquired, processing the job...
[2025-04-09 01:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:08:04] Production.INFO: count ==12
[2025-04-09 01:08:04] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-04-09 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:08:04] Production.INFO: count ==23
[2025-04-09 01:08:04] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-04-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866067') start
[2025-04-09 01:08:04] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-04-09 01:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866067') end
[2025-04-09 01:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:08:04] Production.INFO: 1
[2025-04-09 01:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:08:04] Production.INFO: Account Balance Start.
[2025-04-09 01:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:08:04] Production.INFO: ==9080== Releasing lock...
[2025-04-09 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:08:04] Production.INFO: 117
[2025-04-09 01:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:08:04] Production.INFO: Total Charge 0
[2025-04-09 01:08:04] Production.INFO: CreateAllLog End
[2025-04-09 01:08:04] Production.INFO: ==9072== Releasing lock...
[2025-04-09 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:08:04] Production.ERROR: done
[2025-04-09 01:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:08:04] Production.INFO: Account Balance End.
[2025-04-09 01:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:08:04] Production.INFO: ==9076== Releasing lock...
[2025-04-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:08:04] Production.ERROR: done
[2025-04-09 01:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:08:06
[end_date_ymd] => 2025-04-09 01:08:06
[RateCDR] => 1
)
[2025-04-09 01:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:08:06' and `end` < '2025-04-09 01:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:08:11] Production.ERROR: CronJobId end10
[2025-04-09 01:08:11] Production.INFO: ==9074== Releasing lock...
[2025-04-09 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:08:14] Production.INFO: call_cost start
[2025-04-09 01:08:14] Production.INFO: call_cost end
[2025-04-09 01:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:08:15] Production.INFO: ==9070== Releasing lock...
[2025-04-09 01:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:08:18] Production.INFO: count ==94
[2025-04-09 01:08:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:08:06 - End Time 2025-04-09 01:08:06
[2025-04-09 01:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866071', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866071', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866071', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866071', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:08:18] Production.INFO: ProcessCDR(1,14866071,1,1,2)
[2025-04-09 01:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866071', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866071', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:08:22] Production.INFO: ==9078== Releasing lock...
[2025-04-09 01:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:08:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:09:01] Production.INFO: ==9144== Lock acquired, processing the job...
[2025-04-09 06:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:09:01] Production.INFO: neon service started
[2025-04-09 06:09:01] Production.INFO: neon service started
[2025-04-09 06:09:01] Production.INFO: ==9144== Releasing lock...
[2025-04-09 06:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:09:01] Production.INFO: ==9146== Lock acquired, processing the job...
[2025-04-09 01:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:09:02] Production.INFO: ==9146== Releasing lock...
[2025-04-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:09:02] Production.INFO: ==9148== Lock acquired, processing the job...
[2025-04-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:09:02] Production.INFO: ==9148== Releasing lock...
[2025-04-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:09:03] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:09:03] Production.INFO: ==9153== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:09:03] Production.INFO: ==9155== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:09:03] Production.INFO: ==9161== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:09:03] Production.INFO: ==9157== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:09:03] Production.INFO: ==9159== Lock acquired, processing the job...
[2025-04-09 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:09:03] Production.INFO: count ==12
[2025-04-09 01:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:09:03] Production.INFO: count ==23
[2025-04-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866074') start
[2025-04-09 01:09:03] Production.INFO: ==9153== Releasing lock...
[2025-04-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:09:03] Production.INFO: Account Balance Start.
[2025-04-09 01:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:09:03] Production.INFO: 117
[2025-04-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866074') end
[2025-04-09 01:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:09:03] Production.INFO: 1
[2025-04-09 01:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:09:03] Production.INFO: Total Charge 0
[2025-04-09 01:09:03] Production.INFO: CreateAllLog End
[2025-04-09 01:09:03] Production.INFO: ==9161== Releasing lock...
[2025-04-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:09:04] Production.ERROR: done
[2025-04-09 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:09:04] Production.ERROR: done
[2025-04-09 01:09:04] Production.INFO: Account Balance End.
[2025-04-09 01:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:09:04] Production.INFO: ==9157== Releasing lock...
[2025-04-09 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:09:05
[end_date_ymd] => 2025-04-09 01:09:05
[RateCDR] => 1
)
[2025-04-09 01:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:09:05' and `end` < '2025-04-09 01:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:09:11] Production.ERROR: CronJobId end10
[2025-04-09 01:09:11] Production.INFO: ==9155== Releasing lock...
[2025-04-09 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:09:13] Production.INFO: call_cost start
[2025-04-09 01:09:13] Production.INFO: call_cost end
[2025-04-09 01:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:09:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:09:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:09:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:09:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:09:14] Production.INFO: ==9151== Releasing lock...
[2025-04-09 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:09:17] Production.INFO: count ==94
[2025-04-09 01:09:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:09:05 - End Time 2025-04-09 01:09:05
[2025-04-09 01:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866076', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866076', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866076', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866076', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:09:17] Production.INFO: ProcessCDR(1,14866076,1,1,2)
[2025-04-09 01:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866076', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866076', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:09:21] Production.INFO: ==9159== Releasing lock...
[2025-04-09 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:09:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:10:01] Production.INFO: ==9234== Lock acquired, processing the job...
[2025-04-09 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:10:01] Production.INFO: neon service started
[2025-04-09 06:10:02] Production.INFO: neon service started
[2025-04-09 06:10:02] Production.INFO: ==9234== Releasing lock...
[2025-04-09 06:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:10:02] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-04-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:10:02] Production.INFO: ==9238== Lock acquired, processing the job...
[2025-04-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:10:02] Production.INFO: ==9238== Releasing lock...
[2025-04-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:10:03] Production.INFO: ==9236== Releasing lock...
[2025-04-09 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:10:03] Production.INFO: ==9241== Lock acquired, processing the job...
[2025-04-09 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:10:03] Production.INFO: ==9241== Releasing lock...
[2025-04-09 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:10:03] Production.INFO: ==9243== Lock acquired, processing the job...
[2025-04-09 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:10:03] Production.INFO: ==9247== Lock acquired, processing the job...
[2025-04-09 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:10:03] Production.INFO: ==9245== Lock acquired, processing the job...
[2025-04-09 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:10:04] Production.INFO: ==9251== Lock acquired, processing the job...
[2025-04-09 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:10:04] Production.INFO: ==9249== Lock acquired, processing the job...
[2025-04-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:10:04] Production.INFO: ==9253== Lock acquired, processing the job...
[2025-04-09 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:10:04] Production.INFO: ==9255== Lock acquired, processing the job...
[2025-04-09 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:10:04] Production.INFO: ==9245== Releasing lock...
[2025-04-09 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:10:04] Production.INFO: Account Balance Start.
[2025-04-09 01:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:10:04] Production.INFO: 117
[2025-04-09 01:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:10:04] Production.INFO: count ==12
[2025-04-09 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:10:04] Production.INFO: count ==23
[2025-04-09 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866080') start
[2025-04-09 01:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:10:04] Production.ERROR: done
[2025-04-09 01:10:04] Production.ERROR: done
[2025-04-09 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:10:04] Production.INFO: Total Charge 0
[2025-04-09 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866081', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866080') end
[2025-04-09 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:10:04] Production.INFO: 1
[2025-04-09 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:10:05] Production.INFO: CreateAllLog End
[2025-04-09 01:10:05] Production.INFO: ==9255== Releasing lock...
[2025-04-09 01:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:10:05] Production.ERROR: done
[2025-04-09 01:10:05] Production.INFO: Account Balance End.
[2025-04-09 01:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 01:10:05] Production.INFO: ==9249== Releasing lock...
[2025-04-09 01:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:10:06
[end_date_ymd] => 2025-04-09 01:10:06
[RateCDR] => 1
)
[2025-04-09 01:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:10:06' and `end` < '2025-04-09 01:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866081', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:10:09] Production.INFO: ProcessCDR(1,14866081,1,1,2)
[2025-04-09 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866081,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:10:09] Production.INFO: ==9253== Releasing lock...
[2025-04-09 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:10:14] Production.ERROR: CronJobId end10
[2025-04-09 01:10:14] Production.INFO: ==9247== Releasing lock...
[2025-04-09 01:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:10:16] Production.INFO: call_cost start
[2025-04-09 01:10:16] Production.INFO: call_cost end
[2025-04-09 01:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:10:17] Production.INFO: ==9243== Releasing lock...
[2025-04-09 01:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:10:18] Production.INFO: count ==96
[2025-04-09 01:10:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:10:06 - End Time 2025-04-09 01:10:06
[2025-04-09 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866082', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866082', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866082', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866082', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:10:18] Production.INFO: ProcessCDR(1,14866082,1,1,2)
[2025-04-09 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866082', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866082', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:10:22] Production.INFO: ==9251== Releasing lock...
[2025-04-09 01:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:10:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:11:01] Production.INFO: ==9328== Lock acquired, processing the job...
[2025-04-09 06:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:11:01] Production.INFO: neon service started
[2025-04-09 06:11:01] Production.INFO: neon service started
[2025-04-09 06:11:01] Production.INFO: ==9328== Releasing lock...
[2025-04-09 06:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:11:01] Production.INFO: ==9330== Lock acquired, processing the job...
[2025-04-09 01:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:11:02] Production.INFO: ==9330== Releasing lock...
[2025-04-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:11:02] Production.INFO: ==9332== Lock acquired, processing the job...
[2025-04-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:11:02] Production.INFO: ==9332== Releasing lock...
[2025-04-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:11:02] Production.INFO: ==9340== Lock acquired, processing the job...
[2025-04-09 01:11:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:11:03] Production.INFO: Account Balance Start.
[2025-04-09 01:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:11:03] Production.INFO: 117
[2025-04-09 01:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:11:03] Production.INFO: Total Charge 0
[2025-04-09 01:11:03] Production.INFO: CreateAllLog End
[2025-04-09 01:11:03] Production.INFO: ==9346== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:11:03] Production.INFO: ==9334== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:11:03] Production.INFO: Account Balance End.
[2025-04-09 01:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:11:03] Production.ERROR: CronJobId end 12
[2025-04-09 01:11:03] Production.INFO: ==9340== Releasing lock...
[2025-04-09 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:11:03] Production.INFO: count ==12
[2025-04-09 01:11:03] Production.INFO: ==9336== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:11:03] Production.INFO: count ==23
[2025-04-09 01:11:03] Production.INFO: ==9338== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866084') start
[2025-04-09 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:11:03] Production.INFO: ==9344== Lock acquired, processing the job...
[2025-04-09 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866084') end
[2025-04-09 01:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:11:03] Production.INFO: 1
[2025-04-09 01:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:11:03] Production.INFO: ==9346== Releasing lock...
[2025-04-09 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:11:04] Production.INFO: ==9336== Releasing lock...
[2025-04-09 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:11:04] Production.ERROR: done
[2025-04-09 01:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:11:04] Production.ERROR: done
[2025-04-09 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:11:05
[end_date_ymd] => 2025-04-09 01:11:05
[RateCDR] => 1
)
[2025-04-09 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:11:05' and `end` < '2025-04-09 01:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:11:12] Production.ERROR: CronJobId end10
[2025-04-09 01:11:12] Production.INFO: ==9338== Releasing lock...
[2025-04-09 01:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:11:15] Production.INFO: call_cost start
[2025-04-09 01:11:15] Production.INFO: call_cost end
[2025-04-09 01:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:11:16] Production.INFO: ==9334== Releasing lock...
[2025-04-09 01:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:11:18] Production.INFO: count ==96
[2025-04-09 01:11:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:11:05 - End Time 2025-04-09 01:11:05
[2025-04-09 01:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866087', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866087', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866087', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866087', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:11:18] Production.INFO: ProcessCDR(1,14866087,1,1,2)
[2025-04-09 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866087', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866087', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:11:22] Production.INFO: ==9344== Releasing lock...
[2025-04-09 01:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:11:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:12:01] Production.INFO: ==9410== Lock acquired, processing the job...
[2025-04-09 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:12:01] Production.INFO: neon service started
[2025-04-09 06:12:01] Production.INFO: neon service started
[2025-04-09 06:12:01] Production.INFO: ==9410== Releasing lock...
[2025-04-09 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:12:02] Production.INFO: ==9412== Lock acquired, processing the job...
[2025-04-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:12:02] Production.INFO: ==9412== Releasing lock...
[2025-04-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:12:02] Production.INFO: ==9414== Lock acquired, processing the job...
[2025-04-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:12:02] Production.INFO: ==9414== Releasing lock...
[2025-04-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:12:03] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:12:03] Production.INFO: ==9418== Releasing lock...
[2025-04-09 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:12:03] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:12:03] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:12:03] Production.INFO: ==9426== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:12:03] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:12:03] Production.INFO: ==9424== Lock acquired, processing the job...
[2025-04-09 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:12:04] Production.INFO: Account Balance Start.
[2025-04-09 01:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:12:04] Production.INFO: 117
[2025-04-09 01:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:12:04] Production.INFO: Total Charge 0
[2025-04-09 01:12:04] Production.INFO: count ==12
[2025-04-09 01:12:04] Production.INFO: CreateAllLog End
[2025-04-09 01:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:12:04] Production.INFO: count ==23
[2025-04-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866090') start
[2025-04-09 01:12:04] Production.INFO: Account Balance End.
[2025-04-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866090') end
[2025-04-09 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:12:04] Production.INFO: 1
[2025-04-09 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:12:04] Production.ERROR: done
[2025-04-09 01:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:12:04] Production.INFO: ==9422== Releasing lock...
[2025-04-09 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:12:04] Production.INFO: ==9426== Releasing lock...
[2025-04-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:12:04] Production.ERROR: done
[2025-04-09 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:12:05
[end_date_ymd] => 2025-04-09 01:12:05
[RateCDR] => 1
)
[2025-04-09 01:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:12:05' and `end` < '2025-04-09 01:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:12:11] Production.ERROR: CronJobId end10
[2025-04-09 01:12:11] Production.INFO: ==9420== Releasing lock...
[2025-04-09 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:12:13] Production.INFO: call_cost start
[2025-04-09 01:12:13] Production.INFO: call_cost end
[2025-04-09 01:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:12:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:12:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:12:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:12:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:12:14] Production.INFO: ==9416== Releasing lock...
[2025-04-09 01:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:12:18] Production.INFO: count ==96
[2025-04-09 01:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:12:05 - End Time 2025-04-09 01:12:05
[2025-04-09 01:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866092', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866092', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866092', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866092', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:12:18] Production.INFO: ProcessCDR(1,14866092,1,1,2)
[2025-04-09 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866092', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866092', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:12:22] Production.INFO: ==9424== Releasing lock...
[2025-04-09 01:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:12:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:13:02] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-04-09 06:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:13:02] Production.INFO: neon service started
[2025-04-09 06:13:02] Production.INFO: neon service started
[2025-04-09 06:13:02] Production.INFO: ==9496== Releasing lock...
[2025-04-09 06:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:13:02] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-04-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:13:03] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:13:03] Production.INFO: ==9498== Releasing lock...
[2025-04-09 01:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:13:03] Production.INFO: ==9500== Releasing lock...
[2025-04-09 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:13:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:13:03] Production.INFO: ==9510== Lock acquired, processing the job...
[2025-04-09 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:13:03] Production.INFO: ==9513== Lock acquired, processing the job...
[2025-04-09 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:13:04] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-04-09 01:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:13:04] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-04-09 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:13:04] Production.INFO: count ==12
[2025-04-09 01:13:04] Production.INFO: ==9508== Lock acquired, processing the job...
[2025-04-09 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:13:04] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-04-09 01:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:13:04] Production.INFO: count ==23
[2025-04-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866093') start
[2025-04-09 01:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866093') end
[2025-04-09 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:13:04] Production.INFO: 1
[2025-04-09 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:13:04] Production.INFO: Account Balance Start.
[2025-04-09 01:13:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:13:04] Production.INFO: 117
[2025-04-09 01:13:04] Production.INFO: ==9513== Releasing lock...
[2025-04-09 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:13:04] Production.ERROR: done
[2025-04-09 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:13:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:13:04] Production.ERROR: done
[2025-04-09 01:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:13:04] Production.INFO: Total Charge 0
[2025-04-09 01:13:04] Production.INFO: ==9504== Releasing lock...
[2025-04-09 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:13:04] Production.INFO: CreateAllLog End
[2025-04-09 01:13:04] Production.INFO: Account Balance End.
[2025-04-09 01:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:13:04] Production.INFO: ==9508== Releasing lock...
[2025-04-09 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:13:05
[end_date_ymd] => 2025-04-09 01:13:05
[RateCDR] => 1
)
[2025-04-09 01:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:13:05' and `end` < '2025-04-09 01:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:13:11] Production.ERROR: CronJobId end10
[2025-04-09 01:13:11] Production.INFO: ==9506== Releasing lock...
[2025-04-09 01:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:13:14] Production.INFO: call_cost start
[2025-04-09 01:13:14] Production.INFO: call_cost end
[2025-04-09 01:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:13:15] Production.INFO: ==9502== Releasing lock...
[2025-04-09 01:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:13:18] Production.INFO: count ==98
[2025-04-09 01:13:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:13:05 - End Time 2025-04-09 01:13:05
[2025-04-09 01:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866097', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866097', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866097', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866097', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:13:18] Production.INFO: ProcessCDR(1,14866097,1,1,2)
[2025-04-09 01:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866097', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866097', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:13:21] Production.INFO: ==9510== Releasing lock...
[2025-04-09 01:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:13:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:14:01] Production.INFO: ==9580== Lock acquired, processing the job...
[2025-04-09 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:14:01] Production.INFO: neon service started
[2025-04-09 06:14:01] Production.INFO: neon service started
[2025-04-09 06:14:01] Production.INFO: ==9580== Releasing lock...
[2025-04-09 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:14:02] Production.INFO: ==9584== Lock acquired, processing the job...
[2025-04-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:14:02] Production.INFO: ==9584== Releasing lock...
[2025-04-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:14:02] Production.INFO: ==9582== Lock acquired, processing the job...
[2025-04-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:14:02] Production.INFO: ==9582== Releasing lock...
[2025-04-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:14:03] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:14:03] Production.INFO: ==9590== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:14:03] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:14:03] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:14:03] Production.INFO: ==9596== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:14:03] Production.INFO: ==9594== Lock acquired, processing the job...
[2025-04-09 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:14:03] Production.INFO: Account Balance Start.
[2025-04-09 01:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:14:03] Production.INFO: 117
[2025-04-09 01:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:14:03] Production.INFO: count ==12
[2025-04-09 01:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:14:03] Production.INFO: count ==23
[2025-04-09 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866101') start
[2025-04-09 01:14:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:14:04] Production.INFO: ==9588== Releasing lock...
[2025-04-09 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:14:04] Production.INFO: Total Charge 0
[2025-04-09 01:14:04] Production.INFO: CreateAllLog End
[2025-04-09 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866101') end
[2025-04-09 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:14:04] Production.INFO: 1
[2025-04-09 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:14:04] Production.ERROR: done
[2025-04-09 01:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:14:04] Production.INFO: ==9596== Releasing lock...
[2025-04-09 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:14:04] Production.ERROR: done
[2025-04-09 01:14:04] Production.INFO: Account Balance End.
[2025-04-09 01:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:14:04] Production.INFO: ==9592== Releasing lock...
[2025-04-09 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:14:05
[end_date_ymd] => 2025-04-09 01:14:05
[RateCDR] => 1
)
[2025-04-09 01:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:14:05' and `end` < '2025-04-09 01:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:14:12] Production.ERROR: CronJobId end10
[2025-04-09 01:14:12] Production.INFO: ==9590== Releasing lock...
[2025-04-09 01:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:14:14] Production.INFO: call_cost start
[2025-04-09 01:14:15] Production.INFO: call_cost end
[2025-04-09 01:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:14:15] Production.INFO: ==9586== Releasing lock...
[2025-04-09 01:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:14:17] Production.INFO: count ==100
[2025-04-09 01:14:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:14:05 - End Time 2025-04-09 01:14:05
[2025-04-09 01:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866102', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866102', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866102', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866102', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:14:18] Production.INFO: ProcessCDR(1,14866102,1,1,2)
[2025-04-09 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866102', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866102', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:14:21] Production.INFO: ==9594== Releasing lock...
[2025-04-09 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:14:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:15:02] Production.INFO: ==9675== Lock acquired, processing the job...
[2025-04-09 06:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:15:02] Production.INFO: neon service started
[2025-04-09 06:15:02] Production.INFO: neon service started
[2025-04-09 06:15:02] Production.INFO: ==9675== Releasing lock...
[2025-04-09 06:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:15:02] Production.INFO: ==9677== Lock acquired, processing the job...
[2025-04-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:15:02] Production.INFO: ==9679== Lock acquired, processing the job...
[2025-04-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:15:02] Production.INFO: ==9679== Releasing lock...
[2025-04-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:15:03] Production.INFO: ==9677== Releasing lock...
[2025-04-09 01:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:15:03] Production.INFO: ==9683== Lock acquired, processing the job...
[2025-04-09 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:15:03] Production.INFO: ==9687== Lock acquired, processing the job...
[2025-04-09 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:15:04] Production.INFO: ==9691== Lock acquired, processing the job...
[2025-04-09 01:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:15:04] Production.INFO: ==9685== Lock acquired, processing the job...
[2025-04-09 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:15:04] Production.INFO: ==9689== Lock acquired, processing the job...
[2025-04-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:15:04] Production.INFO: ==9693== Lock acquired, processing the job...
[2025-04-09 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:15:04] Production.INFO: Account Balance Start.
[2025-04-09 01:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:15:04] Production.INFO: 117
[2025-04-09 01:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:15:04] Production.ERROR: done
[2025-04-09 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:15:04] Production.INFO: Total Charge 0
[2025-04-09 01:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:15:04] Production.INFO: CreateAllLog End
[2025-04-09 01:15:04] Production.INFO: count ==12
[2025-04-09 01:15:04] Production.ERROR: done
[2025-04-09 01:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:15:04] Production.INFO: count ==23
[2025-04-09 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866106') start
[2025-04-09 01:15:04] Production.INFO: ==9685== Releasing lock...
[2025-04-09 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:15:04] Production.INFO: Account Balance End.
[2025-04-09 01:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:15:04] Production.INFO: ==9689== Releasing lock...
[2025-04-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866106') end
[2025-04-09 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:15:04] Production.INFO: 1
[2025-04-09 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:15:05] Production.INFO: ==9693== Releasing lock...
[2025-04-09 01:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:15:05
[end_date_ymd] => 2025-04-09 01:15:05
[RateCDR] => 1
)
[2025-04-09 01:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:15:05' and `end` < '2025-04-09 01:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:15:12] Production.ERROR: CronJobId end10
[2025-04-09 01:15:12] Production.INFO: ==9687== Releasing lock...
[2025-04-09 01:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:15:14] Production.INFO: call_cost start
[2025-04-09 01:15:14] Production.INFO: call_cost end
[2025-04-09 01:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:15:15] Production.INFO: ==9683== Releasing lock...
[2025-04-09 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:15:18] Production.INFO: count ==100
[2025-04-09 01:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:15:05 - End Time 2025-04-09 01:15:05
[2025-04-09 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866107', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866107', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866107', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866107', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:15:18] Production.INFO: ProcessCDR(1,14866107,1,1,2)
[2025-04-09 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866107', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866107', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:15:22] Production.INFO: ==9691== Releasing lock...
[2025-04-09 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:15:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:16:01] Production.INFO: ==9760== Lock acquired, processing the job...
[2025-04-09 06:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:16:01] Production.INFO: neon service started
[2025-04-09 06:16:01] Production.INFO: neon service started
[2025-04-09 06:16:01] Production.INFO: ==9760== Releasing lock...
[2025-04-09 06:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:16:01] Production.INFO: ==9762== Lock acquired, processing the job...
[2025-04-09 01:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:16:02] Production.INFO: ==9762== Releasing lock...
[2025-04-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:16:02] Production.INFO: ==9764== Lock acquired, processing the job...
[2025-04-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:16:02] Production.INFO: ==9764== Releasing lock...
[2025-04-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:16:03] Production.INFO: ==9767== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:16:03] Production.INFO: ==9769== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:16:03] Production.INFO: ==9773== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:16:03] Production.INFO: ==9771== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:16:03] Production.INFO: Account Balance Start.
[2025-04-09 01:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:16:03] Production.INFO: 117
[2025-04-09 01:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:16:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:16:03] Production.INFO: ==9775== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:16:03] Production.INFO: Total Charge 0
[2025-04-09 01:16:03] Production.INFO: ==9777== Lock acquired, processing the job...
[2025-04-09 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:16:03] Production.INFO: CreateAllLog End
[2025-04-09 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:16:03] Production.INFO: count ==12
[2025-04-09 01:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:16:03] Production.INFO: count ==23
[2025-04-09 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866111') start
[2025-04-09 01:16:03] Production.INFO: ==9769== Releasing lock...
[2025-04-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:16:04] Production.INFO: Account Balance End.
[2025-04-09 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866111') end
[2025-04-09 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:16:04] Production.INFO: 1
[2025-04-09 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:16:04] Production.INFO: ==9773== Releasing lock...
[2025-04-09 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:16:04] Production.INFO: ==9777== Releasing lock...
[2025-04-09 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:16:04] Production.ERROR: done
[2025-04-09 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:16:04] Production.ERROR: done
[2025-04-09 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:16:05
[end_date_ymd] => 2025-04-09 01:16:05
[RateCDR] => 1
)
[2025-04-09 01:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:16:05' and `end` < '2025-04-09 01:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:16:12] Production.ERROR: CronJobId end10
[2025-04-09 01:16:12] Production.INFO: ==9771== Releasing lock...
[2025-04-09 01:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:16:15] Production.INFO: call_cost start
[2025-04-09 01:16:15] Production.INFO: call_cost end
[2025-04-09 01:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:16:16] Production.INFO: ==9767== Releasing lock...
[2025-04-09 01:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:16:18] Production.INFO: count ==100
[2025-04-09 01:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:16:05 - End Time 2025-04-09 01:16:05
[2025-04-09 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866112', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866112', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866112', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866112', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:16:18] Production.INFO: ProcessCDR(1,14866112,1,1,2)
[2025-04-09 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866112', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866112', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:16:21] Production.INFO: ==9775== Releasing lock...
[2025-04-09 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:16:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:17:02] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-04-09 06:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:17:02] Production.INFO: neon service started
[2025-04-09 06:17:02] Production.INFO: neon service started
[2025-04-09 06:17:02] Production.INFO: ==9845== Releasing lock...
[2025-04-09 06:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:17:02] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-04-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:17:02] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-04-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:17:02] Production.INFO: ==9849== Releasing lock...
[2025-04-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:17:02] Production.INFO: ==9847== Releasing lock...
[2025-04-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:17:03] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-04-09 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:17:03] Production.INFO: ==9852== Lock acquired, processing the job...
[2025-04-09 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:17:03] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-04-09 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:17:03] Production.INFO: ==9854== Lock acquired, processing the job...
[2025-04-09 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:17:04] Production.INFO: ==9856== Lock acquired, processing the job...
[2025-04-09 01:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:17:04] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-04-09 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:17:04] Production.INFO: count ==12
[2025-04-09 01:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:17:04] Production.INFO: count ==23
[2025-04-09 01:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866113') start
[2025-04-09 01:17:04] Production.ERROR: done
[2025-04-09 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:17:04] Production.INFO: Account Balance Start.
[2025-04-09 01:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:17:04] Production.INFO: 117
[2025-04-09 01:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866113') end
[2025-04-09 01:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:17:04] Production.INFO: 1
[2025-04-09 01:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:17:04] Production.ERROR: done
[2025-04-09 01:17:04] Production.INFO: ==9862== Releasing lock...
[2025-04-09 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:17:04] Production.INFO: ==9854== Releasing lock...
[2025-04-09 01:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:17:04] Production.INFO: Total Charge 0
[2025-04-09 01:17:04] Production.INFO: CreateAllLog End
[2025-04-09 01:17:04] Production.INFO: Account Balance End.
[2025-04-09 01:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:17:04] Production.INFO: ==9858== Releasing lock...
[2025-04-09 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:17:05
[end_date_ymd] => 2025-04-09 01:17:05
[RateCDR] => 1
)
[2025-04-09 01:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:17:05' and `end` < '2025-04-09 01:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:17:10] Production.ERROR: CronJobId end10
[2025-04-09 01:17:10] Production.INFO: ==9856== Releasing lock...
[2025-04-09 01:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:17:15] Production.INFO: call_cost start
[2025-04-09 01:17:15] Production.INFO: call_cost end
[2025-04-09 01:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:17:16] Production.INFO: ==9852== Releasing lock...
[2025-04-09 01:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:17:17] Production.INFO: count ==99
[2025-04-09 01:17:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:17:05 - End Time 2025-04-09 01:17:05
[2025-04-09 01:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866117', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866117', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866117', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866117', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:17:17] Production.INFO: ProcessCDR(1,14866117,1,1,2)
[2025-04-09 01:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866117', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866117', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:17:21] Production.INFO: ==9860== Releasing lock...
[2025-04-09 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:17:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:18:01] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-04-09 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:18:01] Production.INFO: neon service started
[2025-04-09 06:18:01] Production.INFO: neon service started
[2025-04-09 06:18:01] Production.INFO: ==9940== Releasing lock...
[2025-04-09 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:18:02] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-04-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:18:02] Production.INFO: ==9944== Releasing lock...
[2025-04-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:18:02] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-04-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:18:02] Production.INFO: ==9942== Releasing lock...
[2025-04-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:18:03] Production.INFO: ==9947== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:18:03] Production.INFO: ==9951== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:18:03] Production.INFO: ==9953== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:18:03] Production.INFO: ==9949== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:18:03] Production.INFO: Account Balance Start.
[2025-04-09 01:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:18:03] Production.INFO: 117
[2025-04-09 01:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:18:03] Production.INFO: Total Charge 0
[2025-04-09 01:18:03] Production.INFO: CreateAllLog End
[2025-04-09 01:18:03] Production.INFO: ==9957== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:18:03] Production.INFO: ==9955== Lock acquired, processing the job...
[2025-04-09 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:18:03] Production.INFO: Account Balance End.
[2025-04-09 01:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:18:04] Production.INFO: ==9953== Releasing lock...
[2025-04-09 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 01:18:04] Production.INFO: ==9949== Releasing lock...
[2025-04-09 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:18:04] Production.INFO: count ==12
[2025-04-09 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-04-09 01:18:04] Production.INFO: count ==23
[2025-04-09 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866121') start
[2025-04-09 01:18:04] Production.ERROR: done
[2025-04-09 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866121') end
[2025-04-09 01:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:18:04] Production.INFO: 1
[2025-04-09 01:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:18:04] Production.ERROR: done
[2025-04-09 01:18:04] Production.INFO: ==9957== Releasing lock...
[2025-04-09 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:18:05
[end_date_ymd] => 2025-04-09 01:18:05
[RateCDR] => 1
)
[2025-04-09 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:18:05' and `end` < '2025-04-09 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:18:12] Production.ERROR: CronJobId end10
[2025-04-09 01:18:12] Production.INFO: ==9951== Releasing lock...
[2025-04-09 01:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:18:15] Production.INFO: call_cost start
[2025-04-09 01:18:15] Production.INFO: call_cost end
[2025-04-09 01:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:18:16] Production.INFO: ==9947== Releasing lock...
[2025-04-09 01:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:18:18] Production.INFO: count ==99
[2025-04-09 01:18:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:18:05 - End Time 2025-04-09 01:18:05
[2025-04-09 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866122', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866122', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866122', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866122', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:18:18] Production.INFO: ProcessCDR(1,14866122,1,1,2)
[2025-04-09 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866122', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866122', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:18:21] Production.INFO: ==9955== Releasing lock...
[2025-04-09 01:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:18:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:19:02] Production.INFO: ==10026== Lock acquired, processing the job...
[2025-04-09 06:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:19:02] Production.INFO: neon service started
[2025-04-09 06:19:02] Production.INFO: neon service started
[2025-04-09 06:19:02] Production.INFO: ==10026== Releasing lock...
[2025-04-09 06:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:19:02] Production.INFO: ==10030== Lock acquired, processing the job...
[2025-04-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:19:02] Production.INFO: ==10030== Releasing lock...
[2025-04-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:19:02] Production.INFO: ==10028== Lock acquired, processing the job...
[2025-04-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:19:02] Production.INFO: ==10028== Releasing lock...
[2025-04-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:19:03] Production.INFO: ==10033== Lock acquired, processing the job...
[2025-04-09 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:19:03] Production.INFO: ==10037== Lock acquired, processing the job...
[2025-04-09 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:19:03] Production.INFO: ==10039== Lock acquired, processing the job...
[2025-04-09 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:19:03] Production.INFO: ==10035== Lock acquired, processing the job...
[2025-04-09 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:19:03] Production.INFO: Account Balance Start.
[2025-04-09 01:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:19:03] Production.INFO: 117
[2025-04-09 01:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:19:03] Production.INFO: ==10041== Lock acquired, processing the job...
[2025-04-09 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:19:04] Production.INFO: ==10043== Lock acquired, processing the job...
[2025-04-09 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:19:04] Production.INFO: Total Charge 0
[2025-04-09 01:19:04] Production.INFO: CreateAllLog End
[2025-04-09 01:19:04] Production.INFO: ==10035== Releasing lock...
[2025-04-09 01:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:19:04] Production.INFO: Account Balance End.
[2025-04-09 01:19:04] Production.INFO: count ==12
[2025-04-09 01:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:19:04] Production.INFO: count ==23
[2025-04-09 01:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:19:04] Production.INFO: ==10039== Releasing lock...
[2025-04-09 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866126') start
[2025-04-09 01:19:04] Production.ERROR: done
[2025-04-09 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866126') end
[2025-04-09 01:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:19:04] Production.INFO: 1
[2025-04-09 01:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:19:04] Production.INFO: ==10043== Releasing lock...
[2025-04-09 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:19:04] Production.ERROR: done
[2025-04-09 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:19:05
[end_date_ymd] => 2025-04-09 01:19:05
[RateCDR] => 1
)
[2025-04-09 01:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:19:05' and `end` < '2025-04-09 01:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:19:11] Production.ERROR: CronJobId end10
[2025-04-09 01:19:11] Production.INFO: ==10037== Releasing lock...
[2025-04-09 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:19:14] Production.INFO: call_cost start
[2025-04-09 01:19:14] Production.INFO: call_cost end
[2025-04-09 01:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:19:14] Production.INFO: ==10033== Releasing lock...
[2025-04-09 01:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:19:18] Production.INFO: count ==101
[2025-04-09 01:19:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:19:05 - End Time 2025-04-09 01:19:05
[2025-04-09 01:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866127', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866127', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866127', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866127', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:19:18] Production.INFO: ProcessCDR(1,14866127,1,1,2)
[2025-04-09 01:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866127', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866127', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:19:22] Production.INFO: ==10041== Releasing lock...
[2025-04-09 01:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:19:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:20:01] Production.INFO: ==10110== Lock acquired, processing the job...
[2025-04-09 06:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:20:01] Production.INFO: neon service started
[2025-04-09 06:20:01] Production.INFO: neon service started
[2025-04-09 06:20:01] Production.INFO: ==10110== Releasing lock...
[2025-04-09 06:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:20:01] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-04-09 05:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:20:01] Production.INFO: ==10114== Releasing lock...
[2025-04-09 05:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:20:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:20:01] Production.INFO: ==10112== Lock acquired, processing the job...
[2025-04-09 01:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:20:02] Production.INFO: ==10112== Releasing lock...
[2025-04-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:20:03] Production.INFO: ==10121== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:20:03] Production.INFO: ==10117== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:20:03] Production.INFO: ==10119== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:20:03] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:20:03] Production.ERROR: CronJob PID - 10119
[2025-04-09 01:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 01:20:03] Production.ERROR: CronJob ID - 5
[2025-04-09 01:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:20:00
[2025-04-09 01:20:03] Production.INFO: ==10123== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:20:03] Production.ERROR: CronJob PID - 10121
[2025-04-09 01:20:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 01:20:03] Production.ERROR: CronJob ID - 7
[2025-04-09 01:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:20:00
[2025-04-09 01:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:20:03] Production.ERROR: CronJob PID - 10129
[2025-04-09 01:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 01:20:03] Production.ERROR: CronJob ID - 17
[2025-04-09 01:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:20:00
[2025-04-09 01:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:20:03] Production.INFO: ==10125== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:20:03] Production.INFO: ==10117== Releasing lock...
[2025-04-09 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:20:03] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:20:03] Production.INFO: ==10127== Lock acquired, processing the job...
[2025-04-09 01:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:20:03] Production.INFO: ==10121== Releasing lock...
[2025-04-09 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:20:04] Production.INFO: Account Balance Start.
[2025-04-09 01:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:20:04] Production.INFO: 117
[2025-04-09 01:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:20:04] Production.INFO: count ==12
[2025-04-09 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:20:04] Production.INFO: count ==23
[2025-04-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866130') start
[2025-04-09 01:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:20:04] Production.ERROR: done
[2025-04-09 01:20:04] Production.INFO: Total Charge 0
[2025-04-09 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866132', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:20:04] Production.INFO: CreateAllLog End
[2025-04-09 01:20:04] Production.ERROR: done
[2025-04-09 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866130') end
[2025-04-09 01:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:20:04] Production.INFO: 1
[2025-04-09 01:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:20:04] Production.INFO: ==10131== Releasing lock...
[2025-04-09 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:20:04] Production.ERROR: done
[2025-04-09 01:20:04] Production.INFO: Account Balance End.
[2025-04-09 01:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:20:04] Production.INFO: ==10125== Releasing lock...
[2025-04-09 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:20:05
[end_date_ymd] => 2025-04-09 01:20:05
[RateCDR] => 1
)
[2025-04-09 01: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-04-08 22:20:05' and `end` < '2025-04-09 01: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-04-09 01:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866132', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:20:08] Production.INFO: ProcessCDR(1,14866132,1,1,2)
[2025-04-09 01:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:20:08] Production.INFO: ==10129== Releasing lock...
[2025-04-09 01:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:20:13] Production.ERROR: CronJobId end10
[2025-04-09 01:20:13] Production.INFO: ==10123== Releasing lock...
[2025-04-09 01:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:20:16] Production.INFO: call_cost start
[2025-04-09 01:20:16] Production.INFO: call_cost end
[2025-04-09 01:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:20:17] Production.INFO: ==10119== Releasing lock...
[2025-04-09 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:20:18] Production.INFO: count ==109
[2025-04-09 01:20:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:20:05 - End Time 2025-04-09 01:20:05
[2025-04-09 01:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866133', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866133', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866133', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866133', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:20:18] Production.INFO: ProcessCDR(1,14866133,1,1,2)
[2025-04-09 01:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866133', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866133', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:20:22] Production.INFO: ==10127== Releasing lock...
[2025-04-09 01:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:21:01] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-04-09 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:21:01] Production.INFO: neon service started
[2025-04-09 06:21:01] Production.INFO: neon service started
[2025-04-09 06:21:01] Production.INFO: ==10198== Releasing lock...
[2025-04-09 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:21:02] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-04-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:21:02] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-04-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:21:02] Production.INFO: ==10202== Releasing lock...
[2025-04-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:21:03] Production.INFO: ==10200== Releasing lock...
[2025-04-09 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:21:03] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-04-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:21:03] Production.INFO: ==10209== Lock acquired, processing the job...
[2025-04-09 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:21:03] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-04-09 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:21:04] Production.INFO: ==10211== Lock acquired, processing the job...
[2025-04-09 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:21:04] Production.INFO: ==10215== Lock acquired, processing the job...
[2025-04-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:21:04] Production.INFO: Account Balance Start.
[2025-04-09 01:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:21:04] Production.INFO: 117
[2025-04-09 01:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:21:04] Production.INFO: ==10213== Lock acquired, processing the job...
[2025-04-09 01:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:21:04] Production.INFO: Total Charge 0
[2025-04-09 01:21:04] Production.INFO: CreateAllLog End
[2025-04-09 01:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:21:04] Production.INFO: ==10207== Releasing lock...
[2025-04-09 01:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:21:04] Production.INFO: count ==12
[2025-04-09 01:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:21:04] Production.INFO: count ==23
[2025-04-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866137') start
[2025-04-09 01:21:04] Production.INFO: Account Balance End.
[2025-04-09 01:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:21:04] Production.INFO: ==10211== Releasing lock...
[2025-04-09 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866137') end
[2025-04-09 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:21:04] Production.INFO: 1
[2025-04-09 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:21:04] Production.ERROR: done
[2025-04-09 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:21:04] Production.INFO: ==10215== Releasing lock...
[2025-04-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:21:04] Production.ERROR: done
[2025-04-09 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:21:05
[end_date_ymd] => 2025-04-09 01:21:05
[RateCDR] => 1
)
[2025-04-09 01:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:21:05' and `end` < '2025-04-09 01:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:21:12] Production.ERROR: CronJobId end10
[2025-04-09 01:21:12] Production.INFO: ==10209== Releasing lock...
[2025-04-09 01:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:21:14] Production.INFO: call_cost start
[2025-04-09 01:21:14] Production.INFO: call_cost end
[2025-04-09 01:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:21:15] Production.INFO: ==10205== Releasing lock...
[2025-04-09 01:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:21:18] Production.INFO: count ==111
[2025-04-09 01:21:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:21:05 - End Time 2025-04-09 01:21:05
[2025-04-09 01:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866138', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866138', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866138', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866138', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:21:18] Production.INFO: ProcessCDR(1,14866138,1,1,2)
[2025-04-09 01:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866138', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866138', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:21:21] Production.INFO: ==10213== Releasing lock...
[2025-04-09 01:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:22:01] Production.INFO: ==10327== Lock acquired, processing the job...
[2025-04-09 06:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:22:01] Production.INFO: neon service started
[2025-04-09 06:22:01] Production.INFO: neon service started
[2025-04-09 06:22:01] Production.INFO: ==10327== Releasing lock...
[2025-04-09 06:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:22:01] Production.INFO: ==10329== Lock acquired, processing the job...
[2025-04-09 01:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:22:02] Production.INFO: ==10329== Releasing lock...
[2025-04-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:22:02] Production.INFO: ==10331== Lock acquired, processing the job...
[2025-04-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:22:02] Production.INFO: ==10331== Releasing lock...
[2025-04-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:22:03] Production.INFO: ==10335== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:22:03] Production.INFO: ==10341== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:22:03] Production.INFO: ==10333== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:22:03] Production.INFO: ==10337== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:22:03] Production.INFO: ==10339== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:22:03] Production.INFO: ==10343== Lock acquired, processing the job...
[2025-04-09 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:22:03] Production.INFO: ==10335== Releasing lock...
[2025-04-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:22:03] Production.INFO: Account Balance Start.
[2025-04-09 01:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:22:03] Production.INFO: 117
[2025-04-09 01:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:22:03] Production.INFO: Total Charge 0
[2025-04-09 01:22:03] Production.INFO: CreateAllLog End
[2025-04-09 01:22:03] Production.ERROR: done
[2025-04-09 01:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 01:22:03] Production.INFO: count ==12
[2025-04-09 01:22:04] Production.ERROR: done
[2025-04-09 01:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:22:04] Production.INFO: count ==23
[2025-04-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866142') start
[2025-04-09 01:22:04] Production.INFO: Account Balance End.
[2025-04-09 01:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:22:04] Production.INFO: ==10339== Releasing lock...
[2025-04-09 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866142') end
[2025-04-09 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:22:04] Production.INFO: 1
[2025-04-09 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:22:04] Production.INFO: ==10343== Releasing lock...
[2025-04-09 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:22:05
[end_date_ymd] => 2025-04-09 01:22:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:22:05' and `end` < '2025-04-09 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-04-09 01:22:11] Production.ERROR: CronJobId end10
[2025-04-09 01:22:11] Production.INFO: ==10337== Releasing lock...
[2025-04-09 01:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:22:14] Production.INFO: call_cost start
[2025-04-09 01:22:14] Production.INFO: call_cost end
[2025-04-09 01:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:22:15] Production.INFO: ==10333== Releasing lock...
[2025-04-09 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:22:17] Production.INFO: count ==111
[2025-04-09 01:22:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:22:05 - End Time 2025-04-09 01:22:05
[2025-04-09 01:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866143', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866143', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866143', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866143', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:22:17] Production.INFO: ProcessCDR(1,14866143,1,1,2)
[2025-04-09 01:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866143', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866143', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:22:21] Production.INFO: ==10341== Releasing lock...
[2025-04-09 01:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:23:01] Production.INFO: ==10414== Lock acquired, processing the job...
[2025-04-09 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:23:01] Production.INFO: neon service started
[2025-04-09 06:23:01] Production.INFO: neon service started
[2025-04-09 06:23:01] Production.INFO: ==10414== Releasing lock...
[2025-04-09 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:23:02] Production.INFO: ==10416== Lock acquired, processing the job...
[2025-04-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:23:02] Production.INFO: ==10418== Lock acquired, processing the job...
[2025-04-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:23:02] Production.INFO: ==10418== Releasing lock...
[2025-04-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:23:02] Production.INFO: ==10416== Releasing lock...
[2025-04-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:23:03] Production.INFO: ==10421== Lock acquired, processing the job...
[2025-04-09 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:23:03] Production.INFO: ==10424== Lock acquired, processing the job...
[2025-04-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:23:03] Production.INFO: ==10430== Lock acquired, processing the job...
[2025-04-09 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:23:03] Production.INFO: ==10426== Lock acquired, processing the job...
[2025-04-09 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:23:04] Production.INFO: ==10432== Lock acquired, processing the job...
[2025-04-09 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:23:04] Production.INFO: ==10428== Lock acquired, processing the job...
[2025-04-09 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:23:04] Production.INFO: ==10424== Releasing lock...
[2025-04-09 01:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:23:04] Production.ERROR: done
[2025-04-09 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01: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-04-09 01:23:04] Production.INFO: Account Balance Start.
[2025-04-09 01:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:23:04] Production.INFO: 117
[2025-04-09 01:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:23:04] Production.INFO: count ==12
[2025-04-09 01:23:04] Production.ERROR: done
[2025-04-09 01: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-04-09 01:23:04] Production.INFO: count ==23
[2025-04-09 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866146') start
[2025-04-09 01:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:23:04] Production.INFO: Total Charge 0
[2025-04-09 01:23:04] Production.INFO: CreateAllLog End
[2025-04-09 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866146') end
[2025-04-09 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:23:04] Production.INFO: 1
[2025-04-09 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:23:04] Production.INFO: ==10432== Releasing lock...
[2025-04-09 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:23:04] Production.INFO: Account Balance End.
[2025-04-09 01:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:23:04] Production.INFO: ==10428== Releasing lock...
[2025-04-09 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:23:05
[end_date_ymd] => 2025-04-09 01:23:05
[RateCDR] => 1
)
[2025-04-09 01:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:23:05' and `end` < '2025-04-09 01:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:23:13] Production.ERROR: CronJobId end10
[2025-04-09 01:23:13] Production.INFO: ==10426== Releasing lock...
[2025-04-09 01:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:23:14] Production.INFO: call_cost start
[2025-04-09 01:23:14] Production.INFO: call_cost end
[2025-04-09 01:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:23:15] Production.INFO: ==10421== Releasing lock...
[2025-04-09 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:23:18] Production.INFO: count ==111
[2025-04-09 01:23:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:23:05 - End Time 2025-04-09 01:23:05
[2025-04-09 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866148', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866148', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866148', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866148', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:23:18] Production.INFO: ProcessCDR(1,14866148,1,1,2)
[2025-04-09 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866148', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866148', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:23:21] Production.INFO: ==10430== Releasing lock...
[2025-04-09 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:24:02] Production.INFO: ==10500== Lock acquired, processing the job...
[2025-04-09 06:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:24:02] Production.INFO: neon service started
[2025-04-09 06:24:02] Production.INFO: neon service started
[2025-04-09 06:24:02] Production.INFO: ==10500== Releasing lock...
[2025-04-09 06:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:24:02] Production.INFO: ==10502== Lock acquired, processing the job...
[2025-04-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:24:02] Production.INFO: ==10502== Releasing lock...
[2025-04-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:24:03] Production.INFO: ==10504== Lock acquired, processing the job...
[2025-04-09 05:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:24:03] Production.INFO: ==10504== Releasing lock...
[2025-04-09 05:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:24:03] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-04-09 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:24:03] Production.INFO: ==10516== Lock acquired, processing the job...
[2025-04-09 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:24:04] Production.INFO: ==10506== Lock acquired, processing the job...
[2025-04-09 01:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:24:04] Production.INFO: ==10508== Lock acquired, processing the job...
[2025-04-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:24:04] Production.INFO: count ==12
[2025-04-09 01:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:24:04] Production.INFO: count ==23
[2025-04-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866149') start
[2025-04-09 01:24:04] Production.INFO: ==10510== Lock acquired, processing the job...
[2025-04-09 01:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:24:04] Production.INFO: ==10512== Lock acquired, processing the job...
[2025-04-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866149') end
[2025-04-09 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:24:04] Production.INFO: 1
[2025-04-09 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:24:04] Production.INFO: Account Balance Start.
[2025-04-09 01:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:24:04] Production.INFO: 117
[2025-04-09 01:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:24:04] Production.INFO: ==10516== Releasing lock...
[2025-04-09 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:24:04] Production.ERROR: done
[2025-04-09 01:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:24:04] Production.INFO: Total Charge 0
[2025-04-09 01:24:04] Production.INFO: CreateAllLog End
[2025-04-09 01:24:04] Production.INFO: ==10508== Releasing lock...
[2025-04-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:24:04] Production.ERROR: done
[2025-04-09 01:24:04] Production.INFO: Account Balance End.
[2025-04-09 01:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:24:04] Production.INFO: ==10512== Releasing lock...
[2025-04-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:24:05
[end_date_ymd] => 2025-04-09 01:24:05
[RateCDR] => 1
)
[2025-04-09 01:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:24:05' and `end` < '2025-04-09 01:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:24:11] Production.ERROR: CronJobId end10
[2025-04-09 01:24:11] Production.INFO: ==10510== Releasing lock...
[2025-04-09 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:24:14] Production.INFO: call_cost start
[2025-04-09 01:24:14] Production.INFO: call_cost end
[2025-04-09 01:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:24:15] Production.INFO: ==10506== Releasing lock...
[2025-04-09 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:24:18] Production.INFO: count ==111
[2025-04-09 01:24:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:24:05 - End Time 2025-04-09 01:24:05
[2025-04-09 01:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866153', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866153', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866153', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866153', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:24:18] Production.INFO: ProcessCDR(1,14866153,1,1,2)
[2025-04-09 01:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866153', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866153', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:24:21] Production.INFO: ==10514== Releasing lock...
[2025-04-09 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:25:01] Production.INFO: ==10606== Lock acquired, processing the job...
[2025-04-09 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:25:01] Production.INFO: neon service started
[2025-04-09 06:25:01] Production.INFO: neon service started
[2025-04-09 06:25:01] Production.INFO: ==10606== Releasing lock...
[2025-04-09 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:25:02] Production.INFO: ==10608== Lock acquired, processing the job...
[2025-04-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:25:02] Production.INFO: ==10608== Releasing lock...
[2025-04-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:25:02] Production.INFO: ==10610== Lock acquired, processing the job...
[2025-04-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:25:02] Production.INFO: ==10610== Releasing lock...
[2025-04-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:25:03] Production.INFO: ==10612== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:25:03] Production.INFO: ==10614== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:25:03] Production.INFO: ==10622== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:25:03] Production.INFO: ==10616== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:25:03] Production.INFO: ==10620== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:25:03] Production.INFO: ==10618== Lock acquired, processing the job...
[2025-04-09 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:25:03] Production.INFO: Account Balance Start.
[2025-04-09 01:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:25:03] Production.INFO: 117
[2025-04-09 01:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:25:03] Production.INFO: count ==12
[2025-04-09 01:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:25:03] Production.INFO: count ==23
[2025-04-09 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866156') start
[2025-04-09 01:25:03] Production.INFO: ==10614== Releasing lock...
[2025-04-09 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:25:03] Production.INFO: Total Charge 0
[2025-04-09 01:25:03] Production.INFO: CreateAllLog End
[2025-04-09 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866156') end
[2025-04-09 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:25:03] Production.INFO: 1
[2025-04-09 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:25:04] Production.ERROR: done
[2025-04-09 01:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:25:04] Production.INFO: ==10622== Releasing lock...
[2025-04-09 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:25:04] Production.INFO: Account Balance End.
[2025-04-09 01:25:04] Production.ERROR: done
[2025-04-09 01:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:25:04] Production.INFO: ==10618== Releasing lock...
[2025-04-09 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:25:05
[end_date_ymd] => 2025-04-09 01:25:05
[RateCDR] => 1
)
[2025-04-09 01: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-04-08 22:25:05' and `end` < '2025-04-09 01: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-04-09 01:25:11] Production.ERROR: CronJobId end10
[2025-04-09 01:25:11] Production.INFO: ==10616== Releasing lock...
[2025-04-09 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:25:14] Production.INFO: call_cost start
[2025-04-09 01:25:14] Production.INFO: call_cost end
[2025-04-09 01:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:25:15] Production.INFO: ==10612== Releasing lock...
[2025-04-09 01:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:25:18] Production.INFO: count ==111
[2025-04-09 01:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:25:05 - End Time 2025-04-09 01:25:05
[2025-04-09 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866158', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866158', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866158', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866158', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:25:18] Production.INFO: ProcessCDR(1,14866158,1,1,2)
[2025-04-09 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866158', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866158', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:25:21] Production.INFO: ==10620== Releasing lock...
[2025-04-09 01:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:26:02] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-04-09 06:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:26:02] Production.INFO: neon service started
[2025-04-09 06:26:02] Production.INFO: neon service started
[2025-04-09 06:26:02] Production.INFO: ==10694== Releasing lock...
[2025-04-09 06:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:26:02] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-04-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:26:02] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-04-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:26:02] Production.INFO: ==10698== Releasing lock...
[2025-04-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:26:03] Production.INFO: ==10696== Releasing lock...
[2025-04-09 01:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:26:03] Production.INFO: ==10701== Lock acquired, processing the job...
[2025-04-09 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:26:03] Production.INFO: ==10709== Lock acquired, processing the job...
[2025-04-09 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:26:04] Production.INFO: ==10703== Lock acquired, processing the job...
[2025-04-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:26:04] Production.INFO: ==10705== Lock acquired, processing the job...
[2025-04-09 01:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:26:04] Production.INFO: ==10707== Lock acquired, processing the job...
[2025-04-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:26:04] Production.INFO: ==10711== Lock acquired, processing the job...
[2025-04-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:26:04] Production.ERROR: done
[2025-04-09 01:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:26:04] Production.INFO: Account Balance Start.
[2025-04-09 01:26:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:26:04] Production.INFO: 117
[2025-04-09 01:26:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:26:04] Production.INFO: count ==12
[2025-04-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:26:04] Production.INFO: count ==23
[2025-04-09 01:26:04] Production.ERROR: done
[2025-04-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866161') start
[2025-04-09 01:26:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:26:04] Production.INFO: Total Charge 0
[2025-04-09 01:26:04] Production.INFO: CreateAllLog End
[2025-04-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866161') end
[2025-04-09 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:26:04] Production.INFO: 1
[2025-04-09 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:26:04] Production.INFO: ==10703== Releasing lock...
[2025-04-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:26:04] Production.INFO: Account Balance End.
[2025-04-09 01:26:04] Production.INFO: ==10711== Releasing lock...
[2025-04-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:26:04] Production.INFO: ==10707== Releasing lock...
[2025-04-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:26:05
[end_date_ymd] => 2025-04-09 01:26:05
[RateCDR] => 1
)
[2025-04-09 01:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:26:05' and `end` < '2025-04-09 01:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:26:11] Production.ERROR: CronJobId end10
[2025-04-09 01:26:11] Production.INFO: ==10705== Releasing lock...
[2025-04-09 01:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:26:14] Production.INFO: call_cost start
[2025-04-09 01:26:14] Production.INFO: call_cost end
[2025-04-09 01:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:26:15] Production.INFO: ==10701== Releasing lock...
[2025-04-09 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:26:18] Production.INFO: count ==111
[2025-04-09 01:26:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:26:05 - End Time 2025-04-09 01:26:05
[2025-04-09 01:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866163', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866163', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866163', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866163', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:26:18] Production.INFO: ProcessCDR(1,14866163,1,1,2)
[2025-04-09 01:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866163', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866163', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:26:21] Production.INFO: ==10709== Releasing lock...
[2025-04-09 01:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:27:01] Production.INFO: ==10773== Lock acquired, processing the job...
[2025-04-09 06:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:27:01] Production.INFO: neon service started
[2025-04-09 06:27:01] Production.INFO: neon service started
[2025-04-09 06:27:01] Production.INFO: ==10773== Releasing lock...
[2025-04-09 06:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:27:02] Production.INFO: ==10775== Lock acquired, processing the job...
[2025-04-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:27:02] Production.INFO: ==10775== Releasing lock...
[2025-04-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:27:02] Production.INFO: ==10777== Lock acquired, processing the job...
[2025-04-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:27:02] Production.INFO: ==10777== Releasing lock...
[2025-04-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:27:03] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:27:03] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:27:03] Production.INFO: ==10790== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:27:03] Production.INFO: Account Balance Start.
[2025-04-09 01:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:27:03] Production.INFO: 117
[2025-04-09 01:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:27:03] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:27:03] Production.INFO: Total Charge 0
[2025-04-09 01:27:03] Production.INFO: CreateAllLog End
[2025-04-09 01:27:03] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:27:03] Production.INFO: count ==12
[2025-04-09 01:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:27:03] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-04-09 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:27:03] Production.INFO: count ==23
[2025-04-09 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866166') start
[2025-04-09 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:27:03] Production.INFO: Account Balance End.
[2025-04-09 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866166') end
[2025-04-09 01:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:27:03] Production.INFO: 1
[2025-04-09 01:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:27:04] Production.INFO: ==10786== Releasing lock...
[2025-04-09 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:27:04] Production.INFO: ==10790== Releasing lock...
[2025-04-09 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:27:04] Production.INFO: ==10782== Releasing lock...
[2025-04-09 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:27:04] Production.ERROR: done
[2025-04-09 01:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:27:04] Production.ERROR: done
[2025-04-09 01:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:27:05
[end_date_ymd] => 2025-04-09 01:27:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:27:05' and `end` < '2025-04-09 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-04-09 01:27:11] Production.ERROR: CronJobId end10
[2025-04-09 01:27:11] Production.INFO: ==10784== Releasing lock...
[2025-04-09 01:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:27:13] Production.INFO: call_cost start
[2025-04-09 01:27:13] Production.INFO: call_cost end
[2025-04-09 01:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:27:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:27:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:27:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:27:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:27:14] Production.INFO: ==10780== Releasing lock...
[2025-04-09 01:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:27:18] Production.INFO: count ==111
[2025-04-09 01:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:27:05 - End Time 2025-04-09 01:27:05
[2025-04-09 01:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866168', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866168', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866168', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866168', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:27:18] Production.INFO: ProcessCDR(1,14866168,1,1,2)
[2025-04-09 01:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866168', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866168', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:27:21] Production.INFO: ==10788== Releasing lock...
[2025-04-09 01:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:28:02] Production.INFO: ==10859== Lock acquired, processing the job...
[2025-04-09 06:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:28:02] Production.INFO: neon service started
[2025-04-09 06:28:02] Production.INFO: neon service started
[2025-04-09 06:28:02] Production.INFO: ==10859== Releasing lock...
[2025-04-09 06:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:28:02] Production.INFO: ==10862== Lock acquired, processing the job...
[2025-04-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:28:02] Production.INFO: ==10862== Releasing lock...
[2025-04-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:28:02] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-04-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:28:03] Production.INFO: ==10864== Releasing lock...
[2025-04-09 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:28:03] Production.INFO: ==10869== Lock acquired, processing the job...
[2025-04-09 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:28:03] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-04-09 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:28:04] Production.INFO: ==10867== Lock acquired, processing the job...
[2025-04-09 01:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:28:04] Production.INFO: ==10871== Lock acquired, processing the job...
[2025-04-09 01:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:28:04] Production.INFO: count ==12
[2025-04-09 01:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:28:04] Production.INFO: count ==23
[2025-04-09 01:28:04] Production.INFO: ==10873== Lock acquired, processing the job...
[2025-04-09 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866170') start
[2025-04-09 01:28:04] Production.INFO: ==10875== Lock acquired, processing the job...
[2025-04-09 01:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:28:04] Production.INFO: Account Balance Start.
[2025-04-09 01:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:28:04] Production.INFO: 117
[2025-04-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866170') end
[2025-04-09 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:28:04] Production.INFO: 1
[2025-04-09 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:28:04] Production.INFO: ==10877== Releasing lock...
[2025-04-09 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:28:04] Production.INFO: ==10869== Releasing lock...
[2025-04-09 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:28:04] Production.INFO: Total Charge 0
[2025-04-09 01:28:04] Production.ERROR: done
[2025-04-09 01:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:28:04] Production.INFO: CreateAllLog End
[2025-04-09 01:28:04] Production.ERROR: done
[2025-04-09 01:28:04] Production.INFO: Account Balance End.
[2025-04-09 01:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:28:04] Production.INFO: ==10873== Releasing lock...
[2025-04-09 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:28:05
[end_date_ymd] => 2025-04-09 01:28:05
[RateCDR] => 1
)
[2025-04-09 01:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:28:05' and `end` < '2025-04-09 01:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:28:12] Production.ERROR: CronJobId end10
[2025-04-09 01:28:12] Production.INFO: ==10871== Releasing lock...
[2025-04-09 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:28:14] Production.INFO: call_cost start
[2025-04-09 01:28:14] Production.INFO: call_cost end
[2025-04-09 01:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:28:15] Production.INFO: ==10867== Releasing lock...
[2025-04-09 01:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:28:18] Production.INFO: count ==110
[2025-04-09 01:28:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:28:05 - End Time 2025-04-09 01:28:05
[2025-04-09 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866173', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866173', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866173', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866173', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:28:18] Production.INFO: ProcessCDR(1,14866173,1,1,2)
[2025-04-09 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866173', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866173', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:28:21] Production.INFO: ==10875== Releasing lock...
[2025-04-09 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:29:01] Production.INFO: ==10943== Lock acquired, processing the job...
[2025-04-09 06:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:29:01] Production.INFO: neon service started
[2025-04-09 06:29:01] Production.INFO: neon service started
[2025-04-09 06:29:01] Production.INFO: ==10943== Releasing lock...
[2025-04-09 06:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:29:02] Production.INFO: ==10946== Lock acquired, processing the job...
[2025-04-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:29:02] Production.INFO: ==10948== Lock acquired, processing the job...
[2025-04-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:29:02] Production.INFO: ==10948== Releasing lock...
[2025-04-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:29:02] Production.INFO: ==10946== Releasing lock...
[2025-04-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:29:03] Production.INFO: ==10954== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:29:03] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:29:03] Production.INFO: ==10950== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:29:03] Production.INFO: ==10952== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:29:03] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:29:03] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-04-09 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:29:03] Production.ERROR: done
[2025-04-09 01:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:29:04] Production.INFO: Account Balance Start.
[2025-04-09 01:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:29:04] Production.INFO: 117
[2025-04-09 01:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:29:04] Production.INFO: count ==12
[2025-04-09 01:29:04] Production.ERROR: done
[2025-04-09 01:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:29:04] Production.INFO: count ==23
[2025-04-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866177') start
[2025-04-09 01:29:04] Production.INFO: Total Charge 0
[2025-04-09 01:29:04] Production.INFO: CreateAllLog End
[2025-04-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866177') end
[2025-04-09 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:29:04] Production.INFO: 1
[2025-04-09 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:29:04] Production.INFO: ==10960== Releasing lock...
[2025-04-09 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:29:04] Production.INFO: ==10952== Releasing lock...
[2025-04-09 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:29:04] Production.INFO: Account Balance End.
[2025-04-09 01:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:29:04] Production.INFO: ==10956== Releasing lock...
[2025-04-09 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:29:05
[end_date_ymd] => 2025-04-09 01:29:05
[RateCDR] => 1
)
[2025-04-09 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:29:05' and `end` < '2025-04-09 01:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:29:12] Production.ERROR: CronJobId end10
[2025-04-09 01:29:12] Production.INFO: ==10954== Releasing lock...
[2025-04-09 01:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:29:15] Production.INFO: call_cost start
[2025-04-09 01:29:15] Production.INFO: call_cost end
[2025-04-09 01:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:29:16] Production.INFO: ==10950== Releasing lock...
[2025-04-09 01:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:29:18] Production.INFO: count ==110
[2025-04-09 01:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:29:05 - End Time 2025-04-09 01:29:05
[2025-04-09 01:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866178', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866178', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866178', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866178', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:29:18] Production.INFO: ProcessCDR(1,14866178,1,1,2)
[2025-04-09 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866178', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866178', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:29:21] Production.INFO: ==10958== Releasing lock...
[2025-04-09 01:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:30:02] Production.INFO: ==11032== Lock acquired, processing the job...
[2025-04-09 06:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:30:02] Production.INFO: neon service started
[2025-04-09 06:30:02] Production.INFO: neon service started
[2025-04-09 06:30:02] Production.INFO: ==11032== Releasing lock...
[2025-04-09 06:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:30:02] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-04-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:30:02] Production.INFO: ==11038== Lock acquired, processing the job...
[2025-04-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:30:02] Production.INFO: ==11038== Releasing lock...
[2025-04-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:30:03] Production.INFO: ==11035== Releasing lock...
[2025-04-09 01:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:30:04] Production.INFO: ==11041== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:30:04] Production.INFO: ==11047== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:30:04] Production.ERROR: CronJob PID - 11047
[2025-04-09 01:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 01:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 01:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 01:30:00
[2025-04-09 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:30:04] Production.INFO: ==11041== Releasing lock...
[2025-04-09 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:30:04] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:30:04] Production.INFO: ==11051== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:30:04] Production.INFO: ==11045== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:30:04] Production.INFO: ==11055== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:30:04] Production.INFO: ==11049== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:30:04] Production.INFO: ==11053== Lock acquired, processing the job...
[2025-04-09 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:30:04] Production.INFO: Account Balance Start.
[2025-04-09 01:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:30:04] Production.INFO: 117
[2025-04-09 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:30:04] Production.ERROR: done
[2025-04-09 01:30:04] Production.INFO: count ==12
[2025-04-09 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:30:04] Production.INFO: ==11045== Releasing lock...
[2025-04-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:30:04] Production.INFO: count ==23
[2025-04-09 01:30:04] Production.ERROR: done
[2025-04-09 01:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:30:04] Production.INFO: Total Charge 0
[2025-04-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866181') start
[2025-04-09 01:30:04] Production.INFO: CreateAllLog End
[2025-04-09 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866183', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:30:04] Production.ERROR: done
[2025-04-09 01:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866181') end
[2025-04-09 01:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:30:05] Production.INFO: 1
[2025-04-09 01:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:30:05] Production.INFO: ==11055== Releasing lock...
[2025-04-09 01:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:30:05] Production.INFO: Account Balance End.
[2025-04-09 01:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 01:30:05] Production.INFO: ==11049== Releasing lock...
[2025-04-09 01:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:30:06
[end_date_ymd] => 2025-04-09 01:30:06
[RateCDR] => 1
)
[2025-04-09 01:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:30:06' and `end` < '2025-04-09 01:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866183', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:30:09] Production.INFO: ProcessCDR(1,14866183,1,1,2)
[2025-04-09 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866183,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:30:09] Production.INFO: ==11053== Releasing lock...
[2025-04-09 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:30:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-04-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-09 01:30:13] Production.ERROR: CronJobId end10
[2025-04-09 01:30:13] Production.INFO: ==11047== Releasing lock...
[2025-04-09 01:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:30:16] Production.INFO: call_cost start
[2025-04-09 01:30:16] Production.INFO: call_cost end
[2025-04-09 01:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:30:17] Production.INFO: ==11043== Releasing lock...
[2025-04-09 01:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:30:19] Production.INFO: count ==118
[2025-04-09 01:30:19] Production.ERROR: pbx CDR StartTime 2025-04-08 22:30:06 - End Time 2025-04-09 01:30:06
[2025-04-09 01:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866184', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866184', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866184', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866184', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:30:19] Production.INFO: ProcessCDR(1,14866184,1,1,2)
[2025-04-09 01:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866184', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866184', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:30:22] Production.INFO: ==11051== Releasing lock...
[2025-04-09 01:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:31:01] Production.INFO: ==11127== Lock acquired, processing the job...
[2025-04-09 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:31:01] Production.INFO: neon service started
[2025-04-09 06:31:01] Production.INFO: neon service started
[2025-04-09 06:31:01] Production.INFO: ==11127== Releasing lock...
[2025-04-09 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:31:01] Production.INFO: ==11129== Lock acquired, processing the job...
[2025-04-09 01:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:31:02] Production.INFO: ==11131== Lock acquired, processing the job...
[2025-04-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:31:02] Production.INFO: ==11131== Releasing lock...
[2025-04-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:31:02] Production.INFO: ==11129== Releasing lock...
[2025-04-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:31:03] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:31:03] Production.INFO: ==11134== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:31:03] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:31:03] Production.INFO: ==11136== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:31:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:31:03] Production.INFO: ==11141== Lock acquired, processing the job...
[2025-04-09 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:31:03] Production.ERROR: done
[2025-04-09 01:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:31:03] Production.INFO: Account Balance Start.
[2025-04-09 01:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:31:03] Production.INFO: 117
[2025-04-09 01:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:31:03] Production.INFO: count ==12
[2025-04-09 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:31:03] Production.INFO: count ==23
[2025-04-09 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866187') start
[2025-04-09 01:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:31:04] Production.ERROR: done
[2025-04-09 01:31:04] Production.INFO: Total Charge 0
[2025-04-09 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866187') end
[2025-04-09 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:31:04] Production.INFO: 1
[2025-04-09 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:31:04] Production.INFO: ==11145== Releasing lock...
[2025-04-09 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:31:04] Production.INFO: CreateAllLog End
[2025-04-09 01:31:04] Production.INFO: ==11136== Releasing lock...
[2025-04-09 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:31:04] Production.INFO: Account Balance End.
[2025-04-09 01:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:31:04] Production.INFO: ==11141== Releasing lock...
[2025-04-09 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:31:05
[end_date_ymd] => 2025-04-09 01:31:05
[RateCDR] => 1
)
[2025-04-09 01:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:31:05' and `end` < '2025-04-09 01:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:31:11] Production.ERROR: CronJobId end10
[2025-04-09 01:31:11] Production.INFO: ==11138== Releasing lock...
[2025-04-09 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:31:14] Production.INFO: call_cost start
[2025-04-09 01:31:14] Production.INFO: call_cost end
[2025-04-09 01:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:31:15] Production.INFO: ==11134== Releasing lock...
[2025-04-09 01:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:31:17] Production.INFO: count ==118
[2025-04-09 01:31:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:31:05 - End Time 2025-04-09 01:31:05
[2025-04-09 01:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866189', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866189', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866189', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866189', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:31:17] Production.INFO: ProcessCDR(1,14866189,1,1,2)
[2025-04-09 01:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866189', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866189', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:31:21] Production.INFO: ==11143== Releasing lock...
[2025-04-09 01:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:31:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:32:02] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-04-09 06:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:32:02] Production.INFO: neon service started
[2025-04-09 06:32:02] Production.INFO: neon service started
[2025-04-09 06:32:02] Production.INFO: ==11210== Releasing lock...
[2025-04-09 06:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:32:02] Production.INFO: ==11213== Lock acquired, processing the job...
[2025-04-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:32:02] Production.INFO: ==11215== Lock acquired, processing the job...
[2025-04-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:32:02] Production.INFO: ==11215== Releasing lock...
[2025-04-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:32:02] Production.INFO: ==11213== Releasing lock...
[2025-04-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:32:03] Production.INFO: ==11217== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:32:03] Production.INFO: ==11225== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:32:03] Production.INFO: ==11219== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:32:03] Production.INFO: ==11227== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:32:03] Production.INFO: ==11221== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:32:03] Production.INFO: ==11223== Lock acquired, processing the job...
[2025-04-09 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:32:03] Production.INFO: Account Balance Start.
[2025-04-09 01:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:32:03] Production.INFO: 117
[2025-04-09 01:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:32:04] Production.INFO: count ==12
[2025-04-09 01:32:04] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 01:32:04] Production.INFO: count ==23
[2025-04-09 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866193') start
[2025-04-09 01:32:04] Production.ERROR: done
[2025-04-09 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:32:04] Production.INFO: CreateAllLog End
[2025-04-09 01:32:04] Production.INFO: ==11219== Releasing lock...
[2025-04-09 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866193') end
[2025-04-09 01:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:32:04] Production.INFO: 1
[2025-04-09 01:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:32:04] Production.INFO: ==11227== Releasing lock...
[2025-04-09 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:32:04] Production.ERROR: done
[2025-04-09 01:32:04] Production.INFO: Account Balance End.
[2025-04-09 01:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:32:04] Production.INFO: ==11223== Releasing lock...
[2025-04-09 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:32:05
[end_date_ymd] => 2025-04-09 01:32:05
[RateCDR] => 1
)
[2025-04-09 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:32:05' and `end` < '2025-04-09 01:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:32:12] Production.ERROR: CronJobId end10
[2025-04-09 01:32:12] Production.INFO: ==11221== Releasing lock...
[2025-04-09 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:32:15] Production.INFO: call_cost start
[2025-04-09 01:32:15] Production.INFO: call_cost end
[2025-04-09 01:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:32:16] Production.INFO: ==11217== Releasing lock...
[2025-04-09 01:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:32:17] Production.INFO: count ==118
[2025-04-09 01:32:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:32:05 - End Time 2025-04-09 01:32:05
[2025-04-09 01:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866194', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866194', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866194', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866194', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:32:17] Production.INFO: ProcessCDR(1,14866194,1,1,2)
[2025-04-09 01:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866194', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866194', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:32:21] Production.INFO: ==11225== Releasing lock...
[2025-04-09 01:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:32:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:33:01] Production.INFO: ==11294== Lock acquired, processing the job...
[2025-04-09 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:33:01] Production.INFO: neon service started
[2025-04-09 06:33:01] Production.INFO: neon service started
[2025-04-09 06:33:01] Production.INFO: ==11294== Releasing lock...
[2025-04-09 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:33:01] Production.INFO: ==11297== Lock acquired, processing the job...
[2025-04-09 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:33:02] Production.INFO: ==11297== Releasing lock...
[2025-04-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:33:02] Production.INFO: ==11299== Lock acquired, processing the job...
[2025-04-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:33:02] Production.INFO: ==11299== Releasing lock...
[2025-04-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:33:03] Production.INFO: ==11303== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:33:03] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:33:03] Production.INFO: ==11301== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:33:03] Production.INFO: ==11307== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:33:03] Production.INFO: ==11309== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:33:03] Production.INFO: ==11312== Lock acquired, processing the job...
[2025-04-09 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:33:03] Production.INFO: Account Balance Start.
[2025-04-09 01:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:33:03] Production.INFO: 117
[2025-04-09 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 01:33:03] Production.INFO: count ==12
[2025-04-09 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-04-09 01:33:03] Production.INFO: ==11303== Releasing lock...
[2025-04-09 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:33:03] Production.INFO: count ==23
[2025-04-09 01:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:33:03] Production.INFO: Total Charge 0
[2025-04-09 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866198') start
[2025-04-09 01:33:03] Production.INFO: CreateAllLog End
[2025-04-09 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866198') end
[2025-04-09 01:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:33:03] Production.INFO: 1
[2025-04-09 01:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:33:03] Production.INFO: ==11312== Releasing lock...
[2025-04-09 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:33:04] Production.ERROR: done
[2025-04-09 01:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:33:04] Production.ERROR: done
[2025-04-09 01:33:04] Production.INFO: Account Balance End.
[2025-04-09 01:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:33:04] Production.INFO: ==11307== Releasing lock...
[2025-04-09 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:33:05
[end_date_ymd] => 2025-04-09 01:33:05
[RateCDR] => 1
)
[2025-04-09 01:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:33:05' and `end` < '2025-04-09 01:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:33:12] Production.ERROR: CronJobId end10
[2025-04-09 01:33:12] Production.INFO: ==11305== Releasing lock...
[2025-04-09 01:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:33:15] Production.INFO: call_cost start
[2025-04-09 01:33:15] Production.INFO: call_cost end
[2025-04-09 01:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:33:16] Production.INFO: ==11301== Releasing lock...
[2025-04-09 01:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:33:18] Production.INFO: count ==118
[2025-04-09 01:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:33:05 - End Time 2025-04-09 01:33:05
[2025-04-09 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866199', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866199', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866199', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866199', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:33:18] Production.INFO: ProcessCDR(1,14866199,1,1,2)
[2025-04-09 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866199', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866199', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:33:21] Production.INFO: ==11309== Releasing lock...
[2025-04-09 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:34:01] Production.INFO: ==11372== Lock acquired, processing the job...
[2025-04-09 06:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:34:01] Production.INFO: neon service started
[2025-04-09 06:34:02] Production.INFO: neon service started
[2025-04-09 06:34:02] Production.INFO: ==11372== Releasing lock...
[2025-04-09 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:34:02] Production.INFO: ==11374== Lock acquired, processing the job...
[2025-04-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:34:02] Production.INFO: ==11374== Releasing lock...
[2025-04-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:34:02] Production.INFO: ==11376== Lock acquired, processing the job...
[2025-04-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:34:02] Production.INFO: ==11376== Releasing lock...
[2025-04-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:34:03] Production.INFO: ==11380== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:34:03] Production.INFO: ==11386== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:34:03] Production.INFO: ==11378== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:34:03] Production.INFO: ==11380== Releasing lock...
[2025-04-09 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:34:03] Production.INFO: ==11382== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:34:03] Production.INFO: ==11384== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:34:03] Production.INFO: ==11388== Lock acquired, processing the job...
[2025-04-09 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:34:04] Production.ERROR: done
[2025-04-09 01:34:04] Production.INFO: Account Balance Start.
[2025-04-09 01:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:34:04] Production.INFO: 117
[2025-04-09 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-04-09 01:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:34:04] Production.INFO: count ==12
[2025-04-09 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-04-09 01:34:04] Production.INFO: count ==23
[2025-04-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866202') start
[2025-04-09 01:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:34:04] Production.ERROR: done
[2025-04-09 01:34:04] Production.INFO: Total Charge 0
[2025-04-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866202') end
[2025-04-09 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:34:04] Production.INFO: 1
[2025-04-09 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:34:04] Production.INFO: CreateAllLog End
[2025-04-09 01:34:04] Production.INFO: ==11388== Releasing lock...
[2025-04-09 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:34:04] Production.INFO: Account Balance End.
[2025-04-09 01:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:34:04] Production.INFO: ==11384== Releasing lock...
[2025-04-09 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:34:05
[end_date_ymd] => 2025-04-09 01:34:05
[RateCDR] => 1
)
[2025-04-09 01:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:34:05' and `end` < '2025-04-09 01:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:34:12] Production.ERROR: CronJobId end10
[2025-04-09 01:34:12] Production.INFO: ==11382== Releasing lock...
[2025-04-09 01:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:34:15] Production.INFO: call_cost start
[2025-04-09 01:34:15] Production.INFO: call_cost end
[2025-04-09 01:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:34:16] Production.INFO: ==11378== Releasing lock...
[2025-04-09 01:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:34:18] Production.INFO: count ==117
[2025-04-09 01:34:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:34:05 - End Time 2025-04-09 01:34:05
[2025-04-09 01:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866204', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866204', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866204', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866204', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:34:18] Production.INFO: ProcessCDR(1,14866204,1,1,2)
[2025-04-09 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866204', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866204', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:34:21] Production.INFO: ==11386== Releasing lock...
[2025-04-09 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:34:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:35:01] Production.INFO: ==11442== Lock acquired, processing the job...
[2025-04-09 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:35:01] Production.INFO: neon service started
[2025-04-09 06:35:01] Production.INFO: neon service started
[2025-04-09 06:35:01] Production.INFO: ==11442== Releasing lock...
[2025-04-09 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:35:01] Production.INFO: ==11444== Lock acquired, processing the job...
[2025-04-09 01:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:35:02] Production.INFO: ==11444== Releasing lock...
[2025-04-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:35:02] Production.INFO: ==11446== Lock acquired, processing the job...
[2025-04-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:35:02] Production.INFO: ==11446== Releasing lock...
[2025-04-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:35:03] Production.INFO: ==11450== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:35:03] Production.INFO: ==11458== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:35:03] Production.INFO: count ==12
[2025-04-09 01:35:03] Production.INFO: ==11448== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 01:35:03] Production.INFO: count ==23
[2025-04-09 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866205') start
[2025-04-09 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866205') end
[2025-04-09 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:35:03] Production.INFO: 1
[2025-04-09 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:35:03] Production.INFO: ==11452== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:35:03] Production.INFO: ==11458== Releasing lock...
[2025-04-09 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:35:03] Production.INFO: ==11454== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:35:03] Production.INFO: ==11456== Lock acquired, processing the job...
[2025-04-09 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:35:03] Production.INFO: ==11450== Releasing lock...
[2025-04-09 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:35:03] Production.INFO: Account Balance Start.
[2025-04-09 01:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:35:03] Production.INFO: 117
[2025-04-09 01:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:35:03] Production.INFO: Total Charge 0
[2025-04-09 01:35:03] Production.INFO: CreateAllLog End
[2025-04-09 01:35:03] Production.ERROR: done
[2025-04-09 01:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:35:04] Production.ERROR: done
[2025-04-09 01:35:04] Production.INFO: Account Balance End.
[2025-04-09 01:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:35:04] Production.INFO: ==11454== Releasing lock...
[2025-04-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:35:05
[end_date_ymd] => 2025-04-09 01:35:05
[RateCDR] => 1
)
[2025-04-09 01:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:35:05' and `end` < '2025-04-09 01:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:35:11] Production.ERROR: CronJobId end10
[2025-04-09 01:35:11] Production.INFO: ==11452== Releasing lock...
[2025-04-09 01:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:35:13] Production.INFO: call_cost start
[2025-04-09 01:35:13] Production.INFO: call_cost end
[2025-04-09 01:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:35:14] Production.INFO: ==11448== Releasing lock...
[2025-04-09 01:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:35:17] Production.INFO: count ==117
[2025-04-09 01:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:35:05 - End Time 2025-04-09 01:35:05
[2025-04-09 01:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866209', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866209', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866209', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866209', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:35:18] Production.INFO: ProcessCDR(1,14866209,1,1,2)
[2025-04-09 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866209', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866209', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:35:21] Production.INFO: ==11456== Releasing lock...
[2025-04-09 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:35:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:36:01] Production.INFO: ==11512== Lock acquired, processing the job...
[2025-04-09 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:36:01] Production.INFO: neon service started
[2025-04-09 06:36:01] Production.INFO: neon service started
[2025-04-09 06:36:01] Production.INFO: ==11512== Releasing lock...
[2025-04-09 06:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:36:02] Production.INFO: ==11514== Lock acquired, processing the job...
[2025-04-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:36:02] Production.INFO: ==11516== Lock acquired, processing the job...
[2025-04-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:36:02] Production.INFO: ==11516== Releasing lock...
[2025-04-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:36:03] Production.INFO: ==11514== Releasing lock...
[2025-04-09 01:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:36:03] Production.INFO: ==11519== Lock acquired, processing the job...
[2025-04-09 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:36:04] Production.INFO: ==11530== Lock acquired, processing the job...
[2025-04-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:36:04] Production.INFO: count ==12
[2025-04-09 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:36:04] Production.INFO: count ==23
[2025-04-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866211') start
[2025-04-09 01:36:04] Production.INFO: ==11522== Lock acquired, processing the job...
[2025-04-09 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:36:04] Production.INFO: ==11524== Lock acquired, processing the job...
[2025-04-09 01:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866211') end
[2025-04-09 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:36:04] Production.INFO: 1
[2025-04-09 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:36:04] Production.INFO: ==11526== Lock acquired, processing the job...
[2025-04-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:36:04] Production.INFO: ==11528== Lock acquired, processing the job...
[2025-04-09 01:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:36:04] Production.INFO: ==11530== Releasing lock...
[2025-04-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:36:04] Production.INFO: Account Balance Start.
[2025-04-09 01:36:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:36:04] Production.INFO: 117
[2025-04-09 01:36:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:36:04] Production.INFO: ==11522== Releasing lock...
[2025-04-09 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:36:04] Production.INFO: Total Charge 0
[2025-04-09 01:36:04] Production.INFO: CreateAllLog End
[2025-04-09 01:36:04] Production.INFO: Account Balance End.
[2025-04-09 01:36:04] Production.ERROR: done
[2025-04-09 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:36:04] Production.INFO: ==11526== Releasing lock...
[2025-04-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:36:04] Production.ERROR: done
[2025-04-09 01:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:36:05
[end_date_ymd] => 2025-04-09 01:36:05
[RateCDR] => 1
)
[2025-04-09 01:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:36:05' and `end` < '2025-04-09 01:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:36:11] Production.ERROR: CronJobId end10
[2025-04-09 01:36:11] Production.INFO: ==11524== Releasing lock...
[2025-04-09 01:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:36:13] Production.INFO: call_cost start
[2025-04-09 01:36:13] Production.INFO: call_cost end
[2025-04-09 01:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:36:14] Production.INFO: ==11519== Releasing lock...
[2025-04-09 01:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:36:18] Production.INFO: count ==117
[2025-04-09 01:36:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:36:05 - End Time 2025-04-09 01:36:05
[2025-04-09 01:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866214', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866214', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866214', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866214', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:36:18] Production.INFO: ProcessCDR(1,14866214,1,1,2)
[2025-04-09 01:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866214', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866214', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:36:22] Production.INFO: ==11528== Releasing lock...
[2025-04-09 01:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:36:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:37:01] Production.INFO: ==11624== Lock acquired, processing the job...
[2025-04-09 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:37:01] Production.INFO: neon service started
[2025-04-09 06:37:01] Production.INFO: neon service started
[2025-04-09 06:37:01] Production.INFO: ==11624== Releasing lock...
[2025-04-09 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:37:01] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-04-09 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:37:02] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-04-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:37:02] Production.INFO: ==11626== Releasing lock...
[2025-04-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:37:02] Production.INFO: ==11628== Releasing lock...
[2025-04-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:37:02] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-04-09 01:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:37:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:37:03] Production.INFO: ==11636== Lock acquired, processing the job...
[2025-04-09 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:37:03] Production.INFO: ==11638== Lock acquired, processing the job...
[2025-04-09 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:37:03] Production.INFO: Account Balance Start.
[2025-04-09 01:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:37:03] Production.INFO: 117
[2025-04-09 01:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:37:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:37:03] Production.INFO: Total Charge 0
[2025-04-09 01:37:03] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-04-09 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:37:03] Production.INFO: CreateAllLog End
[2025-04-09 01:37:03] Production.INFO: ==11640== Lock acquired, processing the job...
[2025-04-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:37:03] Production.INFO: ==11634== Lock acquired, processing the job...
[2025-04-09 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:37:03] Production.INFO: Account Balance End.
[2025-04-09 01:37:03] Production.ERROR: done
[2025-04-09 01:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 01:37:03] Production.INFO: count ==12
[2025-04-09 01:37:03] Production.ERROR: CronJobId end 12
[2025-04-09 01:37:03] Production.INFO: ==11636== Releasing lock...
[2025-04-09 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:37:03] Production.ERROR: done
[2025-04-09 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-04-09 01:37:03] Production.INFO: count ==23
[2025-04-09 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866218') start
[2025-04-09 01:37:03] Production.INFO: ==11632== Releasing lock...
[2025-04-09 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866218') end
[2025-04-09 01:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:37:03] Production.INFO: 1
[2025-04-09 01:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:37:03] Production.INFO: ==11640== Releasing lock...
[2025-04-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:37:04
[end_date_ymd] => 2025-04-09 01:37:04
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:37:04' and `end` < '2025-04-09 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-04-09 01:37:11] Production.ERROR: CronJobId end10
[2025-04-09 01:37:11] Production.INFO: ==11634== Releasing lock...
[2025-04-09 01:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:37:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:37:13] Production.INFO: call_cost start
[2025-04-09 01:37:13] Production.INFO: call_cost end
[2025-04-09 01:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:37:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:37:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:37:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:37:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:37:14] Production.INFO: ==11630== Releasing lock...
[2025-04-09 01:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:37:17] Production.INFO: count ==117
[2025-04-09 01:37:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:37:04 - End Time 2025-04-09 01:37:04
[2025-04-09 01:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866219', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866219', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866219', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866219', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:37:17] Production.INFO: ProcessCDR(1,14866219,1,1,2)
[2025-04-09 01:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866219', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866219', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:37:20] Production.INFO: ==11638== Releasing lock...
[2025-04-09 01:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:37:20] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:38:01] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-04-09 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:38:01] Production.INFO: neon service started
[2025-04-09 06:38:01] Production.INFO: neon service started
[2025-04-09 06:38:01] Production.INFO: ==11695== Releasing lock...
[2025-04-09 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:38:02] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-04-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:38:02] Production.INFO: ==11699== Releasing lock...
[2025-04-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:38:02] Production.INFO: ==11697== Lock acquired, processing the job...
[2025-04-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:38:02] Production.INFO: ==11697== Releasing lock...
[2025-04-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:38:03] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-04-09 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:38:03] Production.INFO: ==11710== Lock acquired, processing the job...
[2025-04-09 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:38:03] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-04-09 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:38:03] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-04-09 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:38:04] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-04-09 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:38:04] Production.INFO: ==11712== Lock acquired, processing the job...
[2025-04-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:38:04] Production.ERROR: done
[2025-04-09 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:38:04] Production.INFO: Account Balance Start.
[2025-04-09 01:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:38:04] Production.INFO: 117
[2025-04-09 01:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 01: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-04-09 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:38:04] Production.INFO: count ==12
[2025-04-09 01:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:38:04] Production.INFO: count ==23
[2025-04-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866221') start
[2025-04-09 01:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:38:04] Production.INFO: Total Charge 0
[2025-04-09 01:38:04] Production.INFO: CreateAllLog End
[2025-04-09 01:38:04] Production.ERROR: done
[2025-04-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866221') end
[2025-04-09 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:38:04] Production.INFO: 1
[2025-04-09 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:38:04] Production.INFO: ==11712== Releasing lock...
[2025-04-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:38:04] Production.INFO: Account Balance End.
[2025-04-09 01:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:38:04] Production.INFO: ==11708== Releasing lock...
[2025-04-09 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:38:04] Production.INFO: ==11704== Releasing lock...
[2025-04-09 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:38:05
[end_date_ymd] => 2025-04-09 01:38:05
[RateCDR] => 1
)
[2025-04-09 01:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:38:05' and `end` < '2025-04-09 01:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:38:12] Production.ERROR: CronJobId end10
[2025-04-09 01:38:12] Production.INFO: ==11706== Releasing lock...
[2025-04-09 01:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:38:14] Production.INFO: call_cost start
[2025-04-09 01:38:14] Production.INFO: call_cost end
[2025-04-09 01:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:38:15] Production.INFO: ==11702== Releasing lock...
[2025-04-09 01:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:38:18] Production.INFO: count ==115
[2025-04-09 01:38:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:38:05 - End Time 2025-04-09 01:38:05
[2025-04-09 01:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866224', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866224', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866224', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866224', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:38:18] Production.INFO: ProcessCDR(1,14866224,1,1,2)
[2025-04-09 01:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866224', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866224', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:38:21] Production.INFO: ==11710== Releasing lock...
[2025-04-09 01:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:38:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:39:02] Production.INFO: ==11768== Lock acquired, processing the job...
[2025-04-09 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:39:02] Production.INFO: neon service started
[2025-04-09 06:39:02] Production.INFO: neon service started
[2025-04-09 06:39:02] Production.INFO: ==11768== Releasing lock...
[2025-04-09 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:39:02] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-04-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:39:02] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-04-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:39:02] Production.INFO: ==11772== Releasing lock...
[2025-04-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:39:03] Production.INFO: ==11770== Releasing lock...
[2025-04-09 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:39:03] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-04-09 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:39:03] Production.INFO: ==11785== Lock acquired, processing the job...
[2025-04-09 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:39:03] Production.INFO: ==11783== Lock acquired, processing the job...
[2025-04-09 01:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:39:04] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-04-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:39:04] Production.INFO: count ==12
[2025-04-09 01:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:39:04] Production.INFO: ==11781== Lock acquired, processing the job...
[2025-04-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:39:04] Production.INFO: count ==23
[2025-04-09 01:39:04] Production.INFO: ==11779== Lock acquired, processing the job...
[2025-04-09 01:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866225') start
[2025-04-09 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866225') end
[2025-04-09 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:39:04] Production.INFO: 1
[2025-04-09 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:39:04] Production.INFO: Account Balance Start.
[2025-04-09 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:39:04] Production.INFO: ==11785== Releasing lock...
[2025-04-09 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:39:04] Production.INFO: 117
[2025-04-09 01:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:39:04] Production.INFO: Total Charge 0
[2025-04-09 01:39:04] Production.INFO: CreateAllLog End
[2025-04-09 01:39:04] Production.ERROR: done
[2025-04-09 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:39:04] Production.INFO: ==11777== Releasing lock...
[2025-04-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:39:04] Production.ERROR: done
[2025-04-09 01:39:04] Production.INFO: Account Balance End.
[2025-04-09 01:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:39:04] Production.INFO: ==11781== Releasing lock...
[2025-04-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:39:05
[end_date_ymd] => 2025-04-09 01:39:05
[RateCDR] => 1
)
[2025-04-09 01:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:39:05' and `end` < '2025-04-09 01:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:39:11] Production.ERROR: CronJobId end10
[2025-04-09 01:39:11] Production.INFO: ==11779== Releasing lock...
[2025-04-09 01:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:39:14] Production.INFO: call_cost start
[2025-04-09 01:39:14] Production.INFO: call_cost end
[2025-04-09 01:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:39:15] Production.INFO: ==11774== Releasing lock...
[2025-04-09 01:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:39:18] Production.INFO: count ==115
[2025-04-09 01:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:39:05 - End Time 2025-04-09 01:39:05
[2025-04-09 01:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866229', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866229', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866229', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866229', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:39:18] Production.INFO: ProcessCDR(1,14866229,1,1,2)
[2025-04-09 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866229', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866229', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:39:21] Production.INFO: ==11783== Releasing lock...
[2025-04-09 01:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:40:01] Production.INFO: ==11838== Lock acquired, processing the job...
[2025-04-09 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:40:01] Production.INFO: neon service started
[2025-04-09 06:40:01] Production.INFO: neon service started
[2025-04-09 06:40:01] Production.INFO: ==11838== Releasing lock...
[2025-04-09 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:40:02] Production.INFO: ==11842== Lock acquired, processing the job...
[2025-04-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:40:02] Production.INFO: ==11840== Lock acquired, processing the job...
[2025-04-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:40:02] Production.INFO: ==11842== Releasing lock...
[2025-04-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:40:02] Production.INFO: ==11840== Releasing lock...
[2025-04-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:40:03] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-04-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:40:03] Production.INFO: ==11849== Lock acquired, processing the job...
[2025-04-09 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:40:03] Production.INFO: ==11845== Releasing lock...
[2025-04-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:40:03] Production.INFO: ==11853== Lock acquired, processing the job...
[2025-04-09 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:40:03] Production.INFO: ==11855== Lock acquired, processing the job...
[2025-04-09 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:40:03] Production.INFO: Account Balance Start.
[2025-04-09 01:40:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:40:04] Production.INFO: 117
[2025-04-09 01:40:04] Production.INFO: ==11847== Lock acquired, processing the job...
[2025-04-09 01:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:40:04] Production.INFO: Total Charge 0
[2025-04-09 01:40:04] Production.INFO: ==11851== Lock acquired, processing the job...
[2025-04-09 01:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:40:04] Production.INFO: CreateAllLog End
[2025-04-09 01:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:40:04] Production.INFO: ==11857== Lock acquired, processing the job...
[2025-04-09 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:40:04] Production.INFO: ==11849== Releasing lock...
[2025-04-09 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:40:04] Production.INFO: ==11859== Lock acquired, processing the job...
[2025-04-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:40:04] Production.INFO: Account Balance End.
[2025-04-09 01:40:04] Production.ERROR: done
[2025-04-09 01:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:40:04] Production.INFO: ==11853== Releasing lock...
[2025-04-09 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:40:04] Production.ERROR: done
[2025-04-09 01:40:04] Production.INFO: count ==12
[2025-04-09 01:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:40:04] Production.INFO: count ==23
[2025-04-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866233') start
[2025-04-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866233') end
[2025-04-09 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:40:04] Production.INFO: 1
[2025-04-09 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:40:04] Production.INFO: ==11859== Releasing lock...
[2025-04-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:40:04] Production.ERROR: done
[2025-04-09 01:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866235', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:40:05
[end_date_ymd] => 2025-04-09 01:40:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:40:05' and `end` < '2025-04-09 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-04-09 01:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866235', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:40:09] Production.INFO: ProcessCDR(1,14866235,1,1,2)
[2025-04-09 01:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866235,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:40:09] Production.INFO: ==11857== Releasing lock...
[2025-04-09 01:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:40:14] Production.ERROR: CronJobId end10
[2025-04-09 01:40:14] Production.INFO: ==11851== Releasing lock...
[2025-04-09 01:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:40:16] Production.INFO: call_cost start
[2025-04-09 01:40:16] Production.INFO: call_cost end
[2025-04-09 01:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:40:17] Production.INFO: ==11847== Releasing lock...
[2025-04-09 01:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:40:18] Production.INFO: count ==123
[2025-04-09 01:40:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:40:05 - End Time 2025-04-09 01:40:05
[2025-04-09 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866234', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866234', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866234', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866234', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:40:18] Production.INFO: ProcessCDR(1,14866234,1,1,2)
[2025-04-09 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866234', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866234', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:40:21] Production.INFO: ==11855== Releasing lock...
[2025-04-09 01:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:40:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:41:02] Production.INFO: ==11921== Lock acquired, processing the job...
[2025-04-09 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:41:02] Production.INFO: neon service started
[2025-04-09 06:41:02] Production.INFO: neon service started
[2025-04-09 06:41:02] Production.INFO: ==11921== Releasing lock...
[2025-04-09 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:41:02] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-04-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:41:02] Production.INFO: ==11925== Lock acquired, processing the job...
[2025-04-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:41:02] Production.INFO: ==11925== Releasing lock...
[2025-04-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:41:03] Production.INFO: ==11923== Releasing lock...
[2025-04-09 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:41:03] Production.INFO: ==11928== Lock acquired, processing the job...
[2025-04-09 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:41:03] Production.INFO: ==11932== Lock acquired, processing the job...
[2025-04-09 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:41:04] Production.INFO: ==11936== Lock acquired, processing the job...
[2025-04-09 01:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:41:04] Production.INFO: ==11930== Lock acquired, processing the job...
[2025-04-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:41:04] Production.INFO: ==11934== Lock acquired, processing the job...
[2025-04-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:41:04] Production.INFO: ==11938== Lock acquired, processing the job...
[2025-04-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:41:04] Production.INFO: Account Balance Start.
[2025-04-09 01:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:41:04] Production.INFO: 117
[2025-04-09 01:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:41:04] Production.ERROR: done
[2025-04-09 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:41:04] Production.INFO: count ==12
[2025-04-09 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:41:04] Production.INFO: count ==23
[2025-04-09 01:41:04] Production.INFO: Total Charge 0
[2025-04-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866238') start
[2025-04-09 01:41:04] Production.INFO: CreateAllLog End
[2025-04-09 01:41:04] Production.ERROR: done
[2025-04-09 01:41:04] Production.INFO: ==11930== Releasing lock...
[2025-04-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866238') end
[2025-04-09 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:41:04] Production.INFO: 1
[2025-04-09 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:41:04] Production.INFO: ==11938== Releasing lock...
[2025-04-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:41:04] Production.INFO: Account Balance End.
[2025-04-09 01:41:05] Production.ERROR: CronJobId end 12
[2025-04-09 01:41:05] Production.INFO: ==11934== Releasing lock...
[2025-04-09 01:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:41:05
[end_date_ymd] => 2025-04-09 01:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:41:05' and `end` < '2025-04-09 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-04-09 01:41:12] Production.ERROR: CronJobId end10
[2025-04-09 01:41:12] Production.INFO: ==11932== Releasing lock...
[2025-04-09 01:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:41:14] Production.INFO: call_cost start
[2025-04-09 01:41:14] Production.INFO: call_cost end
[2025-04-09 01:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:41:15] Production.INFO: ==11928== Releasing lock...
[2025-04-09 01:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:41:18] Production.INFO: count ==122
[2025-04-09 01:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:41:05 - End Time 2025-04-09 01:41:05
[2025-04-09 01:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866240', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866240', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866240', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866240', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:41:18] Production.INFO: ProcessCDR(1,14866240,1,1,2)
[2025-04-09 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866240', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866240', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:41:22] Production.INFO: ==11936== Releasing lock...
[2025-04-09 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:41:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:42:01] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-04-09 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:42:01] Production.INFO: neon service started
[2025-04-09 06:42:01] Production.INFO: neon service started
[2025-04-09 06:42:01] Production.INFO: ==11991== Releasing lock...
[2025-04-09 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:42:02] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-04-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:42:02] Production.INFO: ==11993== Lock acquired, processing the job...
[2025-04-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:42:02] Production.INFO: ==11995== Releasing lock...
[2025-04-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:42:02] Production.INFO: ==11993== Releasing lock...
[2025-04-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:42:03] Production.INFO: ==11998== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:42:03] Production.INFO: ==12002== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:42:03] Production.INFO: ==12000== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:42:03] Production.INFO: ==12004== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:42:03] Production.INFO: ==12006== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:42:03] Production.INFO: ==12008== Lock acquired, processing the job...
[2025-04-09 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:42:03] Production.INFO: Account Balance Start.
[2025-04-09 01:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:42:03] Production.INFO: 117
[2025-04-09 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:42:03] Production.INFO: Total Charge 0
[2025-04-09 01:42:03] Production.INFO: CreateAllLog End
[2025-04-09 01:42:04] Production.INFO: ==12000== Releasing lock...
[2025-04-09 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01: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-04-09 01:42:04] Production.INFO: count ==12
[2025-04-09 01:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:42:04] Production.INFO: count ==23
[2025-04-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866244') start
[2025-04-09 01:42:04] Production.ERROR: done
[2025-04-09 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866244') end
[2025-04-09 01:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:42:04] Production.INFO: 1
[2025-04-09 01:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:42:04] Production.INFO: Account Balance End.
[2025-04-09 01:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:42:04] Production.INFO: ==12004== Releasing lock...
[2025-04-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:42:04] Production.INFO: ==12008== Releasing lock...
[2025-04-09 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:42:04] Production.ERROR: done
[2025-04-09 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:42:05
[end_date_ymd] => 2025-04-09 01:42:05
[RateCDR] => 1
)
[2025-04-09 01:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:42:05' and `end` < '2025-04-09 01:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:42:11] Production.ERROR: CronJobId end10
[2025-04-09 01:42:11] Production.INFO: ==12002== Releasing lock...
[2025-04-09 01:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:42:14] Production.INFO: call_cost start
[2025-04-09 01:42:14] Production.INFO: call_cost end
[2025-04-09 01:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:42:15] Production.INFO: ==11998== Releasing lock...
[2025-04-09 01:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:42:18] Production.INFO: count ==122
[2025-04-09 01:42:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:42:05 - End Time 2025-04-09 01:42:05
[2025-04-09 01:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866245', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866245', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866245', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866245', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:42:18] Production.INFO: ProcessCDR(1,14866245,1,1,2)
[2025-04-09 01:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866245', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866245', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:42:21] Production.INFO: ==12006== Releasing lock...
[2025-04-09 01:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:42:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:43:02] Production.INFO: ==12062== Lock acquired, processing the job...
[2025-04-09 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:43:02] Production.INFO: neon service started
[2025-04-09 06:43:02] Production.INFO: neon service started
[2025-04-09 06:43:02] Production.INFO: ==12062== Releasing lock...
[2025-04-09 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:43:02] Production.INFO: ==12064== Lock acquired, processing the job...
[2025-04-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:43:02] Production.INFO: ==12066== Lock acquired, processing the job...
[2025-04-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:43:02] Production.INFO: ==12066== Releasing lock...
[2025-04-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:43:03] Production.INFO: ==12064== Releasing lock...
[2025-04-09 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:43:03] Production.INFO: ==12075== Lock acquired, processing the job...
[2025-04-09 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:43:04] Production.INFO: Account Balance Start.
[2025-04-09 01:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:43:04] Production.INFO: 117
[2025-04-09 01:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:43:04] Production.INFO: ==12079== Lock acquired, processing the job...
[2025-04-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:43:04] Production.INFO: Total Charge 0
[2025-04-09 01:43:04] Production.INFO: CreateAllLog End
[2025-04-09 01:43:04] Production.INFO: ==12069== Lock acquired, processing the job...
[2025-04-09 01:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 01:43:04] Production.INFO: count ==12
[2025-04-09 01:43:04] Production.INFO: ==12071== Lock acquired, processing the job...
[2025-04-09 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:43:04] Production.INFO: count ==23
[2025-04-09 01:43:04] Production.INFO: ==12073== Lock acquired, processing the job...
[2025-04-09 01:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866247') start
[2025-04-09 01:43:04] Production.INFO: ==12077== Lock acquired, processing the job...
[2025-04-09 01:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:43:04] Production.INFO: Account Balance End.
[2025-04-09 01:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:43:04] Production.INFO: ==12075== Releasing lock...
[2025-04-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866247') end
[2025-04-09 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:43:04] Production.INFO: 1
[2025-04-09 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:43:04] Production.INFO: ==12079== Releasing lock...
[2025-04-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:43:04] Production.INFO: ==12071== Releasing lock...
[2025-04-09 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:43:04] Production.ERROR: done
[2025-04-09 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:43:04] Production.ERROR: done
[2025-04-09 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:43:05
[end_date_ymd] => 2025-04-09 01:43:05
[RateCDR] => 1
)
[2025-04-09 01:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:43:05' and `end` < '2025-04-09 01:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:43:11] Production.ERROR: CronJobId end10
[2025-04-09 01:43:11] Production.INFO: ==12073== Releasing lock...
[2025-04-09 01:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:43:14] Production.INFO: call_cost start
[2025-04-09 01:43:14] Production.INFO: call_cost end
[2025-04-09 01:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:43:15] Production.INFO: ==12069== Releasing lock...
[2025-04-09 01:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:43:18] Production.INFO: count ==122
[2025-04-09 01:43:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:43:05 - End Time 2025-04-09 01:43:05
[2025-04-09 01:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866250', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866250', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866250', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866250', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:43:18] Production.INFO: ProcessCDR(1,14866250,1,1,2)
[2025-04-09 01:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866250', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866250', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:43:22] Production.INFO: ==12077== Releasing lock...
[2025-04-09 01:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:43:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:44:01] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-04-09 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:44:01] Production.INFO: neon service started
[2025-04-09 06:44:01] Production.INFO: neon service started
[2025-04-09 06:44:01] Production.INFO: ==12135== Releasing lock...
[2025-04-09 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:44:02] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-04-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:44:02] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-04-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:44:02] Production.INFO: ==12139== Releasing lock...
[2025-04-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:44:02] Production.INFO: ==12137== Releasing lock...
[2025-04-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:44:03] Production.INFO: ==12142== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:44:03] Production.INFO: ==12146== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:44:03] Production.INFO: ==12148== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:44:03] Production.INFO: Account Balance Start.
[2025-04-09 01:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:44:03] Production.INFO: 117
[2025-04-09 01:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:44:03] Production.INFO: ==12144== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:44:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:44:03] Production.INFO: Total Charge 0
[2025-04-09 01:44:03] Production.INFO: CreateAllLog End
[2025-04-09 01:44:03] Production.INFO: ==12150== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:44:03] Production.INFO: Account Balance End.
[2025-04-09 01:44:03] Production.INFO: ==12152== Lock acquired, processing the job...
[2025-04-09 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:44:04] Production.INFO: ==12148== Releasing lock...
[2025-04-09 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:44:04] Production.INFO: count ==12
[2025-04-09 01:44:04] Production.INFO: ==12144== Releasing lock...
[2025-04-09 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:44:04] Production.INFO: count ==23
[2025-04-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866254') start
[2025-04-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866254') end
[2025-04-09 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:44:04] Production.INFO: 1
[2025-04-09 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:44:04] Production.INFO: ==12152== Releasing lock...
[2025-04-09 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:44:04] Production.ERROR: done
[2025-04-09 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:44:04] Production.ERROR: done
[2025-04-09 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:44:05
[end_date_ymd] => 2025-04-09 01:44:05
[RateCDR] => 1
)
[2025-04-09 01:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:44:05' and `end` < '2025-04-09 01:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:44:11] Production.ERROR: CronJobId end10
[2025-04-09 01:44:11] Production.INFO: ==12146== Releasing lock...
[2025-04-09 01:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:44:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:44:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:44:13] Production.INFO: call_cost start
[2025-04-09 01:44:13] Production.INFO: call_cost end
[2025-04-09 01:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:44:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:44:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:44:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:44:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:44:14] Production.INFO: ==12142== Releasing lock...
[2025-04-09 01:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:44:18] Production.INFO: count ==123
[2025-04-09 01:44:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:44:05 - End Time 2025-04-09 01:44:05
[2025-04-09 01:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866255', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866255', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866255', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866255', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:44:18] Production.INFO: ProcessCDR(1,14866255,1,1,2)
[2025-04-09 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866255', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866255', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:44:21] Production.INFO: ==12150== Releasing lock...
[2025-04-09 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:45:02] Production.INFO: ==12211== Lock acquired, processing the job...
[2025-04-09 06:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:45:02] Production.INFO: neon service started
[2025-04-09 06:45:02] Production.INFO: neon service started
[2025-04-09 06:45:02] Production.INFO: ==12211== Releasing lock...
[2025-04-09 06:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:45:02] Production.INFO: ==12213== Lock acquired, processing the job...
[2025-04-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:45:02] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-04-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:45:02] Production.INFO: ==12213== Releasing lock...
[2025-04-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:45:02] Production.INFO: ==12215== Releasing lock...
[2025-04-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:45:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:45:03] Production.INFO: ==12224== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:45:03] Production.INFO: ==12226== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:45:03] Production.INFO: Account Balance Start.
[2025-04-09 01:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:45:03] Production.INFO: 117
[2025-04-09 01:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:45:03] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:45:03] Production.INFO: ==12219== Lock acquired, processing the job...
[2025-04-09 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:45:04] Production.INFO: Total Charge 0
[2025-04-09 01:45:04] Production.INFO: ==12228== Lock acquired, processing the job...
[2025-04-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:45:04] Production.INFO: CreateAllLog End
[2025-04-09 01:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:45:04] Production.INFO: count ==12
[2025-04-09 01:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:45:04] Production.ERROR: done
[2025-04-09 01:45:04] Production.INFO: count ==23
[2025-04-09 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866258') start
[2025-04-09 01:45:04] Production.INFO: Account Balance End.
[2025-04-09 01:45:04] Production.INFO: ==12219== Releasing lock...
[2025-04-09 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:45:04] Production.INFO: ==12224== Releasing lock...
[2025-04-09 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866258') end
[2025-04-09 01:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:45:04] Production.INFO: 1
[2025-04-09 01:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:45:04] Production.ERROR: done
[2025-04-09 01:45:04] Production.INFO: ==12228== Releasing lock...
[2025-04-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:45:05
[end_date_ymd] => 2025-04-09 01:45:05
[RateCDR] => 1
)
[2025-04-09 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:45:05' and `end` < '2025-04-09 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:45:12] Production.ERROR: CronJobId end10
[2025-04-09 01:45:12] Production.INFO: ==12221== Releasing lock...
[2025-04-09 01:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:45:14] Production.INFO: call_cost start
[2025-04-09 01:45:14] Production.INFO: call_cost end
[2025-04-09 01:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:45:15] Production.INFO: ==12217== Releasing lock...
[2025-04-09 01:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:45:18] Production.INFO: count ==123
[2025-04-09 01:45:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:45:05 - End Time 2025-04-09 01:45:05
[2025-04-09 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866260', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866260', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866260', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866260', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:45:18] Production.INFO: ProcessCDR(1,14866260,1,1,2)
[2025-04-09 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866260', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866260', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:45:22] Production.INFO: ==12226== Releasing lock...
[2025-04-09 01:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:45:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:46:01] Production.INFO: ==12281== Lock acquired, processing the job...
[2025-04-09 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:46:01] Production.INFO: neon service started
[2025-04-09 06:46:01] Production.INFO: neon service started
[2025-04-09 06:46:01] Production.INFO: ==12281== Releasing lock...
[2025-04-09 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:46:02] Production.INFO: ==12283== Lock acquired, processing the job...
[2025-04-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:46:02] Production.INFO: ==12283== Releasing lock...
[2025-04-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:46:02] Production.INFO: ==12285== Lock acquired, processing the job...
[2025-04-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:46:02] Production.INFO: ==12285== Releasing lock...
[2025-04-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:46:03] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:46:03] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:46:03] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:46:03] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:46:03] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:46:03] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-04-09 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:46:03] Production.INFO: count ==12
[2025-04-09 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-04-09 01:46:03] Production.INFO: count ==23
[2025-04-09 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866261') start
[2025-04-09 01:46:03] Production.INFO: Account Balance Start.
[2025-04-09 01:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:46:03] Production.INFO: 117
[2025-04-09 01:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:46:03] Production.ERROR: done
[2025-04-09 01:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866261') end
[2025-04-09 01:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:46:03] Production.INFO: 1
[2025-04-09 01:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:46:03] Production.INFO: Total Charge 0
[2025-04-09 01:46:04] Production.INFO: CreateAllLog End
[2025-04-09 01:46:04] Production.INFO: ==12298== Releasing lock...
[2025-04-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:46:04] Production.ERROR: done
[2025-04-09 01:46:04] Production.INFO: ==12290== Releasing lock...
[2025-04-09 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:46:04] Production.INFO: Account Balance End.
[2025-04-09 01:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:46:04] Production.INFO: ==12294== Releasing lock...
[2025-04-09 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:46:05
[end_date_ymd] => 2025-04-09 01:46:05
[RateCDR] => 1
)
[2025-04-09 01:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:46:05' and `end` < '2025-04-09 01:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:46:11] Production.ERROR: CronJobId end10
[2025-04-09 01:46:11] Production.INFO: ==12292== Releasing lock...
[2025-04-09 01:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:46:13] Production.INFO: call_cost start
[2025-04-09 01:46:13] Production.INFO: call_cost end
[2025-04-09 01:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:46:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:46:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:46:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:46:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:46:14] Production.INFO: ==12288== Releasing lock...
[2025-04-09 01:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:46:17] Production.INFO: count ==122
[2025-04-09 01:46:17] Production.ERROR: pbx CDR StartTime 2025-04-08 22:46:05 - End Time 2025-04-09 01:46:05
[2025-04-09 01:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866265', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866265', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866265', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866265', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:46:17] Production.INFO: ProcessCDR(1,14866265,1,1,2)
[2025-04-09 01:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866265', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866265', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:46:21] Production.INFO: ==12296== Releasing lock...
[2025-04-09 01:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:47:02] Production.INFO: ==12352== Lock acquired, processing the job...
[2025-04-09 06:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:47:02] Production.INFO: neon service started
[2025-04-09 06:47:02] Production.INFO: neon service started
[2025-04-09 06:47:02] Production.INFO: ==12352== Releasing lock...
[2025-04-09 06:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:47:02] Production.INFO: ==12354== Lock acquired, processing the job...
[2025-04-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:47:02] Production.INFO: ==12354== Releasing lock...
[2025-04-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:47:02] Production.INFO: ==12356== Lock acquired, processing the job...
[2025-04-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:47:03] Production.INFO: ==12356== Releasing lock...
[2025-04-09 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:47:03] Production.INFO: ==12358== Lock acquired, processing the job...
[2025-04-09 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:47:03] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-04-09 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:47:03] Production.INFO: ==12366== Lock acquired, processing the job...
[2025-04-09 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:47:03] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-04-09 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:47:03] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-04-09 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:47:04] Production.INFO: ==12360== Releasing lock...
[2025-04-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:47:04] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-04-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:47:04] Production.INFO: Account Balance Start.
[2025-04-09 01:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:47:04] Production.INFO: 117
[2025-04-09 01:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:47:04] Production.INFO: count ==12
[2025-04-09 01:47:04] Production.INFO: Total Charge 0
[2025-04-09 01:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:47:04] Production.INFO: count ==23
[2025-04-09 01:47:04] Production.ERROR: done
[2025-04-09 01:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:47:04] Production.INFO: CreateAllLog End
[2025-04-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866269') start
[2025-04-09 01:47:04] Production.ERROR: done
[2025-04-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866269') end
[2025-04-09 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:47:04] Production.INFO: 1
[2025-04-09 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:47:04] Production.INFO: Account Balance End.
[2025-04-09 01:47:04] Production.INFO: ==12368== Releasing lock...
[2025-04-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:47:04] Production.INFO: ==12364== Releasing lock...
[2025-04-09 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:47:05
[end_date_ymd] => 2025-04-09 01:47:05
[RateCDR] => 1
)
[2025-04-09 01: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-04-08 22:47:05' and `end` < '2025-04-09 01: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-04-09 01:47:12] Production.ERROR: CronJobId end10
[2025-04-09 01:47:12] Production.INFO: ==12362== Releasing lock...
[2025-04-09 01:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:47:14] Production.INFO: call_cost start
[2025-04-09 01:47:14] Production.INFO: call_cost end
[2025-04-09 01:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:47:15] Production.INFO: ==12358== Releasing lock...
[2025-04-09 01:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:47:18] Production.INFO: count ==121
[2025-04-09 01:47:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:47:05 - End Time 2025-04-09 01:47:05
[2025-04-09 01:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866270', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866270', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866270', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866270', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:47:18] Production.INFO: ProcessCDR(1,14866270,1,1,2)
[2025-04-09 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866270', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866270', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:47:22] Production.INFO: ==12366== Releasing lock...
[2025-04-09 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:47:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:48:01] Production.INFO: ==12421== Lock acquired, processing the job...
[2025-04-09 06:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:48:01] Production.INFO: neon service started
[2025-04-09 06:48:01] Production.INFO: neon service started
[2025-04-09 06:48:01] Production.INFO: ==12421== Releasing lock...
[2025-04-09 06:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:48:02] Production.INFO: ==12423== Lock acquired, processing the job...
[2025-04-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:48:02] Production.INFO: ==12425== Lock acquired, processing the job...
[2025-04-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:48:02] Production.INFO: ==12425== Releasing lock...
[2025-04-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:48:02] Production.INFO: ==12423== Releasing lock...
[2025-04-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:48:03] Production.INFO: ==12434== Lock acquired, processing the job...
[2025-04-09 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:48:03] Production.INFO: ==12432== Lock acquired, processing the job...
[2025-04-09 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:48:03] Production.INFO: ==12428== Lock acquired, processing the job...
[2025-04-09 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:48:03] Production.INFO: Account Balance Start.
[2025-04-09 01:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:48:03] Production.INFO: 117
[2025-04-09 01:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:48:03] Production.INFO: ==12430== Lock acquired, processing the job...
[2025-04-09 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:48:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:48:03] Production.INFO: Total Charge 0
[2025-04-09 01:48:04] Production.INFO: CreateAllLog End
[2025-04-09 01:48:04] Production.INFO: ==12436== Lock acquired, processing the job...
[2025-04-09 01:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:48:04] Production.INFO: ==12438== Lock acquired, processing the job...
[2025-04-09 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:48:04] Production.INFO: ==12430== Releasing lock...
[2025-04-09 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:48:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 01:48:04] Production.INFO: count ==12
[2025-04-09 01:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:48:04] Production.INFO: ==12434== Releasing lock...
[2025-04-09 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:48:04] Production.ERROR: done
[2025-04-09 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-04-09 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:48:04] Production.INFO: count ==23
[2025-04-09 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866274') start
[2025-04-09 01:48:04] Production.ERROR: done
[2025-04-09 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866274') end
[2025-04-09 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:48:04] Production.INFO: 1
[2025-04-09 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:48:04] Production.INFO: ==12438== Releasing lock...
[2025-04-09 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:48:05
[end_date_ymd] => 2025-04-09 01:48:05
[RateCDR] => 1
)
[2025-04-09 01:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:48:05' and `end` < '2025-04-09 01:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:48:11] Production.ERROR: CronJobId end10
[2025-04-09 01:48:11] Production.INFO: ==12432== Releasing lock...
[2025-04-09 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:48:14] Production.INFO: call_cost start
[2025-04-09 01:48:14] Production.INFO: call_cost end
[2025-04-09 01:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:48:15] Production.INFO: ==12428== Releasing lock...
[2025-04-09 01:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:48:18] Production.INFO: count ==122
[2025-04-09 01:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:48:05 - End Time 2025-04-09 01:48:05
[2025-04-09 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866275', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866275', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866275', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866275', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:48:18] Production.INFO: ProcessCDR(1,14866275,1,1,2)
[2025-04-09 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866275', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866275', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:48:23] Production.INFO: ==12436== Releasing lock...
[2025-04-09 01:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:48:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:49:02] Production.INFO: ==12496== Lock acquired, processing the job...
[2025-04-09 06:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:49:02] Production.INFO: neon service started
[2025-04-09 06:49:02] Production.INFO: neon service started
[2025-04-09 06:49:02] Production.INFO: ==12496== Releasing lock...
[2025-04-09 06:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:49:02] Production.INFO: ==12498== Lock acquired, processing the job...
[2025-04-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:49:02] Production.INFO: ==12500== Lock acquired, processing the job...
[2025-04-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:49:02] Production.INFO: ==12500== Releasing lock...
[2025-04-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:49:03] Production.INFO: ==12498== Releasing lock...
[2025-04-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:49:04] Production.INFO: ==12503== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:49:04] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:49:04] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:49:04] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:49:04] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:49:04] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-04-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:49:04] Production.INFO: count ==12
[2025-04-09 01:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:49:04] Production.ERROR: done
[2025-04-09 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:49:04] Production.INFO: count ==23
[2025-04-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866277') start
[2025-04-09 01:49:04] Production.INFO: Account Balance Start.
[2025-04-09 01:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:49:04] Production.INFO: 117
[2025-04-09 01:49:04] Production.INFO: ==12505== Releasing lock...
[2025-04-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:49:04] Production.ERROR: done
[2025-04-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866277') end
[2025-04-09 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:49:04] Production.INFO: 1
[2025-04-09 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:49:04] Production.INFO: ==12513== Releasing lock...
[2025-04-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:49:04] Production.INFO: Total Charge 0
[2025-04-09 01:49:04] Production.INFO: CreateAllLog End
[2025-04-09 01:49:04] Production.INFO: Account Balance End.
[2025-04-09 01:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:49:04] Production.INFO: ==12509== Releasing lock...
[2025-04-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:49:05
[end_date_ymd] => 2025-04-09 01:49:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:49:05' and `end` < '2025-04-09 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-04-09 01:49:12] Production.ERROR: CronJobId end10
[2025-04-09 01:49:12] Production.INFO: ==12507== Releasing lock...
[2025-04-09 01:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:49:14] Production.INFO: call_cost start
[2025-04-09 01:49:14] Production.INFO: call_cost end
[2025-04-09 01:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:49:15] Production.INFO: ==12503== Releasing lock...
[2025-04-09 01:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:49:18] Production.INFO: count ==122
[2025-04-09 01:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:49:05 - End Time 2025-04-09 01:49:05
[2025-04-09 01:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866280', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866280', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866280', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866280', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:49:18] Production.INFO: ProcessCDR(1,14866280,1,1,2)
[2025-04-09 01:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866280', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866280', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:49:21] Production.INFO: ==12511== Releasing lock...
[2025-04-09 01:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:49:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:50:01] Production.INFO: ==12566== Lock acquired, processing the job...
[2025-04-09 06:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:50:01] Production.INFO: neon service started
[2025-04-09 06:50:01] Production.INFO: neon service started
[2025-04-09 06:50:01] Production.INFO: ==12566== Releasing lock...
[2025-04-09 06:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:50:02] Production.INFO: ==12568== Lock acquired, processing the job...
[2025-04-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:50:02] Production.INFO: ==12568== Releasing lock...
[2025-04-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:50:02] Production.INFO: ==12570== Lock acquired, processing the job...
[2025-04-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:50:02] Production.INFO: ==12570== Releasing lock...
[2025-04-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:50:03] Production.INFO: ==12576== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:50:03] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 01:50:03] Production.INFO: ==12572== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:50:03] Production.INFO: ==12574== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:50:03] Production.INFO: ==12586== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:50:03] Production.INFO: ==12578== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:50:03] Production.INFO: ==12580== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:50:03] Production.ERROR: CronJob PID - 12574
[2025-04-09 01:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 01:50:03] Production.ERROR: CronJob ID - 5
[2025-04-09 01:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:50:00
[2025-04-09 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:50:03] Production.ERROR: CronJob PID - 12576
[2025-04-09 01:50:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 01:50:03] Production.ERROR: CronJob ID - 7
[2025-04-09 01:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:50:00
[2025-04-09 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:50:03] Production.ERROR: CronJob PID - 12584
[2025-04-09 01:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 01:50:03] Production.ERROR: CronJob ID - 17
[2025-04-09 01:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:50:00
[2025-04-09 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 01:50:03] Production.ERROR: CronJob PID - 12586
[2025-04-09 01:50:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 01:50:03] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-04-09 01:50:03] Production.ERROR: CronJob ID - 19
[2025-04-09 01:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 01:50:00
[2025-04-09 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:50:04] Production.INFO: count ==12
[2025-04-09 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:50:04] Production.INFO: count ==23
[2025-04-09 01:50:04] Production.INFO: ==12576== Releasing lock...
[2025-04-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 01:50:04] Production.INFO: ==12572== Releasing lock...
[2025-04-09 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 01:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866282') start
[2025-04-09 01:50:04] Production.INFO: Account Balance Start.
[2025-04-09 01:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:50:04] Production.INFO: 117
[2025-04-09 01:50:04] Production.ERROR: done
[2025-04-09 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866285', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 01:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:50:04] Production.INFO: Total Charge 0
[2025-04-09 01:50:04] Production.INFO: CreateAllLog End
[2025-04-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866282') end
[2025-04-09 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:50:04] Production.INFO: 1
[2025-04-09 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:50:04] Production.INFO: ==12586== Releasing lock...
[2025-04-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:50:04] Production.ERROR: done
[2025-04-09 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:50:04] Production.ERROR: done
[2025-04-09 01:50:04] Production.INFO: Account Balance End.
[2025-04-09 01:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:50:04] Production.INFO: ==12580== Releasing lock...
[2025-04-09 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:50:05
[end_date_ymd] => 2025-04-09 01:50:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:50:05' and `end` < '2025-04-09 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-04-09 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866285', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 01:50:08] Production.INFO: ProcessCDR(1,14866285,1,1,2)
[2025-04-09 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:50:08] Production.INFO: ==12584== Releasing lock...
[2025-04-09 01:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 01:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 01:50:13] Production.ERROR: CronJobId end10
[2025-04-09 01:50:13] Production.INFO: ==12578== Releasing lock...
[2025-04-09 01:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:50:15] Production.INFO: call_cost start
[2025-04-09 01:50:15] Production.INFO: call_cost end
[2025-04-09 01:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:50:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:50:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:50:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:50:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:50:16] Production.INFO: ==12574== Releasing lock...
[2025-04-09 01:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:50:18] Production.INFO: count ==122
[2025-04-09 01:50:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:50:05 - End Time 2025-04-09 01:50:05
[2025-04-09 01:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866286', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866286', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866286', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866286', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:50:18] Production.INFO: ProcessCDR(1,14866286,1,1,2)
[2025-04-09 01:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866286', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866286', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:50:22] Production.INFO: ==12582== Releasing lock...
[2025-04-09 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:51:02] Production.INFO: ==12642== Lock acquired, processing the job...
[2025-04-09 06:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:51:02] Production.INFO: neon service started
[2025-04-09 06:51:02] Production.INFO: neon service started
[2025-04-09 06:51:02] Production.INFO: ==12642== Releasing lock...
[2025-04-09 06:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:51:02] Production.INFO: ==12646== Lock acquired, processing the job...
[2025-04-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:51:02] Production.INFO: ==12646== Releasing lock...
[2025-04-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:51:02] Production.INFO: ==12644== Lock acquired, processing the job...
[2025-04-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:51:02] Production.INFO: ==12644== Releasing lock...
[2025-04-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:51:03] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-04-09 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:51:03] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-04-09 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:51:03] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-04-09 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:51:04] Production.INFO: ==12655== Lock acquired, processing the job...
[2025-04-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:51:04] Production.INFO: ==12651== Releasing lock...
[2025-04-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:51:04] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-04-09 01:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:51:04] Production.INFO: ==12659== Lock acquired, processing the job...
[2025-04-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:51:04] Production.INFO: Account Balance Start.
[2025-04-09 01:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:51:04] Production.INFO: 117
[2025-04-09 01:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:51:04] Production.INFO: count ==12
[2025-04-09 01:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:51:04] Production.INFO: count ==23
[2025-04-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866290') start
[2025-04-09 01:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:51:04] Production.INFO: Total Charge 0
[2025-04-09 01:51:04] Production.INFO: CreateAllLog End
[2025-04-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866290') end
[2025-04-09 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:51:04] Production.INFO: 1
[2025-04-09 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:51:04] Production.INFO: ==12659== Releasing lock...
[2025-04-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:51:04] Production.ERROR: done
[2025-04-09 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:51:04] Production.ERROR: done
[2025-04-09 01:51:04] Production.INFO: Account Balance End.
[2025-04-09 01:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:51:04] Production.INFO: ==12655== Releasing lock...
[2025-04-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:51:05
[end_date_ymd] => 2025-04-09 01:51:05
[RateCDR] => 1
)
[2025-04-09 01:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:51:05' and `end` < '2025-04-09 01:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:51:11] Production.ERROR: CronJobId end10
[2025-04-09 01:51:11] Production.INFO: ==12653== Releasing lock...
[2025-04-09 01:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:51:14] Production.INFO: call_cost start
[2025-04-09 01:51:14] Production.INFO: call_cost end
[2025-04-09 01:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:51:15] Production.INFO: ==12649== Releasing lock...
[2025-04-09 01:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:51:18] Production.INFO: count ==122
[2025-04-09 01:51:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:51:05 - End Time 2025-04-09 01:51:05
[2025-04-09 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866291', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866291', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866291', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866291', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:51:18] Production.INFO: ProcessCDR(1,14866291,1,1,2)
[2025-04-09 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866291', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866291', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:51:22] Production.INFO: ==12657== Releasing lock...
[2025-04-09 01:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:51:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:52:01] Production.INFO: ==12712== Lock acquired, processing the job...
[2025-04-09 06:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:52:01] Production.INFO: neon service started
[2025-04-09 06:52:01] Production.INFO: neon service started
[2025-04-09 06:52:01] Production.INFO: ==12712== Releasing lock...
[2025-04-09 06:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:52:01] Production.INFO: ==12714== Lock acquired, processing the job...
[2025-04-09 01:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:52:02] Production.INFO: ==12714== Releasing lock...
[2025-04-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:52:02] Production.INFO: ==12716== Lock acquired, processing the job...
[2025-04-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:52:02] Production.INFO: ==12716== Releasing lock...
[2025-04-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:52:03] Production.INFO: ==12723== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:52:03] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:52:03] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:52:03] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:52:03] Production.INFO: count ==12
[2025-04-09 01:52:03] Production.INFO: ==12725== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:52:03] Production.INFO: count ==23
[2025-04-09 01:52:03] Production.INFO: ==12727== Lock acquired, processing the job...
[2025-04-09 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866292') start
[2025-04-09 01:52:03] Production.INFO: Account Balance Start.
[2025-04-09 01:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:52:03] Production.INFO: 117
[2025-04-09 01:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866292') end
[2025-04-09 01:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:52:03] Production.INFO: Total Charge 0
[2025-04-09 01:52:03] Production.INFO: 1
[2025-04-09 01:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:52:03] Production.INFO: CreateAllLog End
[2025-04-09 01:52:03] Production.INFO: ==12729== Releasing lock...
[2025-04-09 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:52:03] Production.INFO: ==12721== Releasing lock...
[2025-04-09 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:52:04] Production.INFO: Account Balance End.
[2025-04-09 01:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:52:04] Production.INFO: ==12725== Releasing lock...
[2025-04-09 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:52:04] Production.ERROR: done
[2025-04-09 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:52:04] Production.ERROR: done
[2025-04-09 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:52:05
[end_date_ymd] => 2025-04-09 01:52:05
[RateCDR] => 1
)
[2025-04-09 01:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:52:05' and `end` < '2025-04-09 01:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:52:10] Production.ERROR: CronJobId end10
[2025-04-09 01:52:10] Production.INFO: ==12723== Releasing lock...
[2025-04-09 01:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:52:14] Production.INFO: call_cost start
[2025-04-09 01:52:14] Production.INFO: call_cost end
[2025-04-09 01:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:52:15] Production.INFO: ==12719== Releasing lock...
[2025-04-09 01:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:52:18] Production.INFO: count ==122
[2025-04-09 01:52:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:52:05 - End Time 2025-04-09 01:52:05
[2025-04-09 01:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866296', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866296', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866296', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866296', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:52:18] Production.INFO: ProcessCDR(1,14866296,1,1,2)
[2025-04-09 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866296', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866296', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:52:21] Production.INFO: ==12727== Releasing lock...
[2025-04-09 01:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:52:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:53:01] Production.INFO: ==12824== Lock acquired, processing the job...
[2025-04-09 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:53:02] Production.INFO: neon service started
[2025-04-09 06:53:02] Production.INFO: neon service started
[2025-04-09 06:53:02] Production.INFO: ==12824== Releasing lock...
[2025-04-09 06:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:53:02] Production.INFO: ==12826== Lock acquired, processing the job...
[2025-04-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:53:02] Production.INFO: ==12828== Lock acquired, processing the job...
[2025-04-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 01:53:02] Production.INFO: ==12826== Releasing lock...
[2025-04-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:53:02] Production.INFO: ==12828== Releasing lock...
[2025-04-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:53:03] Production.INFO: ==12835== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:53:03] Production.INFO: ==12837== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:53:03] Production.INFO: ==12841== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:53:03] Production.INFO: Account Balance Start.
[2025-04-09 01:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:53:03] Production.INFO: 117
[2025-04-09 01:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:53:03] Production.INFO: ==12831== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:53:03] Production.INFO: ==12839== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 01:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:53:03] Production.INFO: count ==12
[2025-04-09 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-04-09 01:53:03] Production.INFO: count ==23
[2025-04-09 01:53:03] Production.INFO: ==12833== Lock acquired, processing the job...
[2025-04-09 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866298') start
[2025-04-09 01:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:53:03] Production.INFO: Total Charge 0
[2025-04-09 01:53:03] Production.INFO: CreateAllLog End
[2025-04-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866298') end
[2025-04-09 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:53:04] Production.INFO: 1
[2025-04-09 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:53:04] Production.INFO: ==12841== Releasing lock...
[2025-04-09 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:53:04] Production.INFO: Account Balance End.
[2025-04-09 01:53:04] Production.INFO: ==12833== Releasing lock...
[2025-04-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:53:04] Production.INFO: ==12837== Releasing lock...
[2025-04-09 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:53:04] Production.ERROR: done
[2025-04-09 01:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:53:04] Production.ERROR: done
[2025-04-09 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:53:05
[end_date_ymd] => 2025-04-09 01:53:05
[RateCDR] => 1
)
[2025-04-09 01:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:53:05' and `end` < '2025-04-09 01:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:53:12] Production.ERROR: CronJobId end10
[2025-04-09 01:53:12] Production.INFO: ==12835== Releasing lock...
[2025-04-09 01:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:53:15] Production.INFO: call_cost start
[2025-04-09 01:53:15] Production.INFO: call_cost end
[2025-04-09 01:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:53:16] Production.INFO: ==12831== Releasing lock...
[2025-04-09 01:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:53:18] Production.INFO: count ==123
[2025-04-09 01:53:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:53:05 - End Time 2025-04-09 01:53:05
[2025-04-09 01:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866301', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866301', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866301', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866301', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:53:18] Production.INFO: ProcessCDR(1,14866301,1,1,2)
[2025-04-09 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866301', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866301', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:53:23] Production.INFO: ==12839== Releasing lock...
[2025-04-09 01:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:53:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:54:01] Production.INFO: ==12896== Lock acquired, processing the job...
[2025-04-09 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:54:01] Production.INFO: neon service started
[2025-04-09 06:54:01] Production.INFO: neon service started
[2025-04-09 06:54:01] Production.INFO: ==12896== Releasing lock...
[2025-04-09 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:54:01] Production.INFO: ==12898== Lock acquired, processing the job...
[2025-04-09 01:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:54:02] Production.INFO: ==12898== Releasing lock...
[2025-04-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:54:02] Production.INFO: ==12900== Lock acquired, processing the job...
[2025-04-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:54:02] Production.INFO: ==12900== Releasing lock...
[2025-04-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:54:03] Production.INFO: ==12905== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:54:03] Production.INFO: ==12903== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:54:03] Production.INFO: ==12913== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:54:03] Production.INFO: ==12907== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:54:03] Production.INFO: ==12909== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:54:03] Production.INFO: ==12911== Lock acquired, processing the job...
[2025-04-09 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:54:03] Production.INFO: Account Balance Start.
[2025-04-09 01:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:54:03] Production.INFO: 117
[2025-04-09 01:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:54:03] Production.INFO: count ==12
[2025-04-09 01:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:54:03] Production.INFO: count ==23
[2025-04-09 01:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866304') start
[2025-04-09 01:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:54:03] Production.INFO: Total Charge 0
[2025-04-09 01:54:03] Production.INFO: CreateAllLog End
[2025-04-09 01:54:03] Production.INFO: ==12905== Releasing lock...
[2025-04-09 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866304') end
[2025-04-09 01:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:54:03] Production.INFO: 1
[2025-04-09 01:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:54:03] Production.INFO: ==12913== Releasing lock...
[2025-04-09 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:54:04] Production.ERROR: done
[2025-04-09 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:54:04] Production.INFO: Account Balance End.
[2025-04-09 01:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:54:04] Production.INFO: ==12909== Releasing lock...
[2025-04-09 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:54:04] Production.ERROR: done
[2025-04-09 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:54:05
[end_date_ymd] => 2025-04-09 01:54:05
[RateCDR] => 1
)
[2025-04-09 01:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:54:05' and `end` < '2025-04-09 01:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:54:13] Production.ERROR: CronJobId end10
[2025-04-09 01:54:13] Production.INFO: ==12907== Releasing lock...
[2025-04-09 01:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:54:14] Production.INFO: call_cost start
[2025-04-09 01:54:14] Production.INFO: call_cost end
[2025-04-09 01:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:54:15] Production.INFO: ==12903== Releasing lock...
[2025-04-09 01:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:54:17] Production.INFO: count ==123
[2025-04-09 01:54:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:54:05 - End Time 2025-04-09 01:54:05
[2025-04-09 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866306', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866306', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866306', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866306', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:54:18] Production.INFO: ProcessCDR(1,14866306,1,1,2)
[2025-04-09 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866306', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866306', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:54:21] Production.INFO: ==12911== Releasing lock...
[2025-04-09 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:55:02] Production.INFO: ==12967== Lock acquired, processing the job...
[2025-04-09 06:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:55:02] Production.INFO: neon service started
[2025-04-09 06:55:02] Production.INFO: neon service started
[2025-04-09 06:55:02] Production.INFO: ==12967== Releasing lock...
[2025-04-09 06:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:55:02] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-04-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:55:02] Production.INFO: ==12969== Releasing lock...
[2025-04-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:55:02] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-04-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:55:02] Production.INFO: ==12971== Releasing lock...
[2025-04-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:55:03] Production.INFO: ==12982== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:55:03] Production.INFO: ==12984== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:55:03] Production.INFO: ==12974== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:55:03] Production.INFO: ==12980== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:55:03] Production.INFO: ==12978== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:55:03] Production.INFO: ==12976== Lock acquired, processing the job...
[2025-04-09 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:55:04] Production.INFO: Account Balance Start.
[2025-04-09 01:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:55:04] Production.INFO: 117
[2025-04-09 01:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:55:04] Production.INFO: count ==12
[2025-04-09 01:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:55:04] Production.INFO: count ==23
[2025-04-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866308') start
[2025-04-09 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:55:04] Production.ERROR: done
[2025-04-09 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866308') end
[2025-04-09 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:55:04] Production.INFO: 1
[2025-04-09 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:55:04] Production.INFO: Total Charge 0
[2025-04-09 01:55:04] Production.INFO: CreateAllLog End
[2025-04-09 01:55:04] Production.INFO: ==12984== Releasing lock...
[2025-04-09 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:55:04] Production.ERROR: done
[2025-04-09 01:55:04] Production.INFO: ==12976== Releasing lock...
[2025-04-09 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:55:04] Production.INFO: Account Balance End.
[2025-04-09 01:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:55:04] Production.INFO: ==12980== Releasing lock...
[2025-04-09 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:55:05
[end_date_ymd] => 2025-04-09 01:55:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 22:55:05' and `end` < '2025-04-09 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-04-09 01:55:13] Production.ERROR: CronJobId end10
[2025-04-09 01:55:13] Production.INFO: ==12978== Releasing lock...
[2025-04-09 01:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:55:14] Production.INFO: call_cost start
[2025-04-09 01:55:14] Production.INFO: call_cost end
[2025-04-09 01:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:55:15] Production.INFO: ==12974== Releasing lock...
[2025-04-09 01:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:55:18] Production.INFO: count ==123
[2025-04-09 01:55:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:55:05 - End Time 2025-04-09 01:55:05
[2025-04-09 01:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866311', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866311', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866311', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866311', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:55:18] Production.INFO: ProcessCDR(1,14866311,1,1,2)
[2025-04-09 01:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866311', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866311', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:55:21] Production.INFO: ==12982== Releasing lock...
[2025-04-09 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:56:01] Production.INFO: ==13038== Lock acquired, processing the job...
[2025-04-09 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:56:01] Production.INFO: neon service started
[2025-04-09 06:56:01] Production.INFO: neon service started
[2025-04-09 06:56:01] Production.INFO: ==13038== Releasing lock...
[2025-04-09 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:56:01] Production.INFO: ==13042== Lock acquired, processing the job...
[2025-04-09 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:56:01] Production.INFO: ==13042== Releasing lock...
[2025-04-09 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:56:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:56:02] Production.INFO: ==13040== Lock acquired, processing the job...
[2025-04-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:56:02] Production.INFO: ==13040== Releasing lock...
[2025-04-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:56:03] Production.INFO: ==13049== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:56:03] Production.INFO: ==13055== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:56:03] Production.INFO: ==13044== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:56:03] Production.INFO: count ==12
[2025-04-09 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:56:03] Production.INFO: ==13047== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:56:03] Production.INFO: count ==23
[2025-04-09 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866312') start
[2025-04-09 01:56:03] Production.INFO: ==13051== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:56:03] Production.INFO: ==13053== Lock acquired, processing the job...
[2025-04-09 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866312') end
[2025-04-09 01:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:56:03] Production.INFO: 1
[2025-04-09 01:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:56:03] Production.INFO: ==13055== Releasing lock...
[2025-04-09 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:56:03] Production.INFO: Account Balance Start.
[2025-04-09 01:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:56:03] Production.INFO: 117
[2025-04-09 01:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:56:04] Production.INFO: Total Charge 0
[2025-04-09 01:56:04] Production.INFO: CreateAllLog End
[2025-04-09 01:56:04] Production.INFO: ==13047== Releasing lock...
[2025-04-09 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:56:04] Production.INFO: Account Balance End.
[2025-04-09 01:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:56:04] Production.INFO: ==13051== Releasing lock...
[2025-04-09 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:56:04] Production.ERROR: done
[2025-04-09 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:56:04] Production.ERROR: done
[2025-04-09 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:56:05
[end_date_ymd] => 2025-04-09 01:56:05
[RateCDR] => 1
)
[2025-04-09 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:56:05' and `end` < '2025-04-09 01:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:56:11] Production.ERROR: CronJobId end10
[2025-04-09 01:56:11] Production.INFO: ==13049== Releasing lock...
[2025-04-09 01:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:56:14] Production.INFO: call_cost start
[2025-04-09 01:56:14] Production.INFO: call_cost end
[2025-04-09 01:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:56:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:56:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:56:15] Production.INFO: ==13044== Releasing lock...
[2025-04-09 01:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:56:18] Production.INFO: count ==121
[2025-04-09 01:56:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:56:05 - End Time 2025-04-09 01:56:05
[2025-04-09 01:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866316', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866316', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866316', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866316', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:56:18] Production.INFO: ProcessCDR(1,14866316,1,1,2)
[2025-04-09 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866316', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866316', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:56:21] Production.INFO: ==13053== Releasing lock...
[2025-04-09 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:56:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:57:01] Production.INFO: ==13110== Lock acquired, processing the job...
[2025-04-09 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:57:01] Production.INFO: neon service started
[2025-04-09 06:57:01] Production.INFO: neon service started
[2025-04-09 06:57:01] Production.INFO: ==13110== Releasing lock...
[2025-04-09 06:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:57:02] Production.INFO: ==13112== Lock acquired, processing the job...
[2025-04-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:57:02] Production.INFO: ==13112== Releasing lock...
[2025-04-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:57:02] Production.INFO: ==13114== Lock acquired, processing the job...
[2025-04-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:57:02] Production.INFO: ==13114== Releasing lock...
[2025-04-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:57:03] Production.INFO: ==13122== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:57:03] Production.INFO: Account Balance Start.
[2025-04-09 01:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:57:03] Production.INFO: 117
[2025-04-09 01:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:57:03] Production.INFO: ==13116== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: ==13126== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:57:03] Production.INFO: ==13118== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:57:03] Production.INFO: ==13120== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:57:03] Production.INFO: Total Charge 0
[2025-04-09 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01: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-04-09 01:57:03] Production.INFO: ==13124== Lock acquired, processing the job...
[2025-04-09 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:57:03] Production.INFO: CreateAllLog End
[2025-04-09 01:57:03] Production.INFO: count ==12
[2025-04-09 01: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-04-09 01:57:03] Production.INFO: count ==23
[2025-04-09 01:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866318') start
[2025-04-09 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866318') end
[2025-04-09 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:57:04] Production.INFO: 1
[2025-04-09 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:57:04] Production.INFO: ==13118== Releasing lock...
[2025-04-09 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:57:04] Production.INFO: ==13126== Releasing lock...
[2025-04-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:57:04] Production.ERROR: done
[2025-04-09 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:57:04] Production.INFO: Account Balance End.
[2025-04-09 01:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:57:04] Production.INFO: ==13122== Releasing lock...
[2025-04-09 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:57:04] Production.ERROR: done
[2025-04-09 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:57:05
[end_date_ymd] => 2025-04-09 01:57:05
[RateCDR] => 1
)
[2025-04-09 01:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:57:05' and `end` < '2025-04-09 01:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:57:12] Production.ERROR: CronJobId end10
[2025-04-09 01:57:12] Production.INFO: ==13120== Releasing lock...
[2025-04-09 01:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:57:14] Production.INFO: call_cost start
[2025-04-09 01:57:14] Production.INFO: call_cost end
[2025-04-09 01:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:57:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:57:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:57:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:57:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:57:14] Production.INFO: ==13116== Releasing lock...
[2025-04-09 01:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:57:18] Production.INFO: count ==121
[2025-04-09 01:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:57:05 - End Time 2025-04-09 01:57:05
[2025-04-09 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866321', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866321', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866321', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866321', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:57:18] Production.INFO: ProcessCDR(1,14866321,1,1,2)
[2025-04-09 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866321', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866321', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:57:21] Production.INFO: ==13124== Releasing lock...
[2025-04-09 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 06:58:01] Production.INFO: ==13181== Lock acquired, processing the job...
[2025-04-09 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:58:01] Production.INFO: neon service started
[2025-04-09 06:58:01] Production.INFO: neon service started
[2025-04-09 06:58:01] Production.INFO: ==13181== Releasing lock...
[2025-04-09 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:58:01] Production.INFO: ==13183== Lock acquired, processing the job...
[2025-04-09 01:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:58:02] Production.INFO: ==13185== Lock acquired, processing the job...
[2025-04-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:58:02] Production.INFO: ==13185== Releasing lock...
[2025-04-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:58:02] Production.INFO: ==13183== Releasing lock...
[2025-04-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 01:58:03] Production.INFO: ==13191== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:58:03] Production.INFO: ==13187== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:58:03] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:58:03] Production.INFO: ==13189== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:58:03] Production.INFO: ==13196== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:58:03] Production.INFO: ==13193== Lock acquired, processing the job...
[2025-04-09 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:58:03] Production.INFO: count ==12
[2025-04-09 01:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 01:58:03] Production.INFO: count ==23
[2025-04-09 01:58:03] Production.INFO: Account Balance Start.
[2025-04-09 01:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 01:58:03] Production.INFO: 117
[2025-04-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866323') start
[2025-04-09 01:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866323') end
[2025-04-09 01:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:58:03] Production.INFO: 1
[2025-04-09 01:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 01:58:03] Production.INFO: Total Charge 0
[2025-04-09 01:58:03] Production.INFO: CreateAllLog End
[2025-04-09 01:58:03] Production.INFO: ==13198== Releasing lock...
[2025-04-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:58:03] Production.INFO: ==13189== Releasing lock...
[2025-04-09 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:58:03] Production.ERROR: done
[2025-04-09 01:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:58:04] Production.ERROR: done
[2025-04-09 01:58:04] Production.INFO: Account Balance End.
[2025-04-09 01:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:58:04] Production.INFO: ==13193== Releasing lock...
[2025-04-09 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:58:05
[end_date_ymd] => 2025-04-09 01:58:05
[RateCDR] => 1
)
[2025-04-09 01:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:58:05' and `end` < '2025-04-09 01:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:58:11] Production.ERROR: CronJobId end10
[2025-04-09 01:58:11] Production.INFO: ==13191== Releasing lock...
[2025-04-09 01:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:58:14] Production.INFO: call_cost start
[2025-04-09 01:58:14] Production.INFO: call_cost end
[2025-04-09 01:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:58:15] Production.INFO: ==13187== Releasing lock...
[2025-04-09 01:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:58:18] Production.INFO: count ==123
[2025-04-09 01:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:58:05 - End Time 2025-04-09 01:58:05
[2025-04-09 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866326', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866326', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866326', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866326', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:58:18] Production.INFO: ProcessCDR(1,14866326,1,1,2)
[2025-04-09 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866326', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866326', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:58:21] Production.INFO: ==13196== Releasing lock...
[2025-04-09 01:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 06:59:01] Production.INFO: ==13253== Lock acquired, processing the job...
[2025-04-09 06:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 06:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 06:59:02] Production.INFO: neon service started
[2025-04-09 06:59:02] Production.INFO: neon service started
[2025-04-09 06:59:02] Production.INFO: ==13253== Releasing lock...
[2025-04-09 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 01:59:02] Production.INFO: ==13255== Lock acquired, processing the job...
[2025-04-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 01:59:02] Production.INFO: ==13255== Releasing lock...
[2025-04-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:59:02] Production.INFO: ==13257== Lock acquired, processing the job...
[2025-04-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:59:02] Production.INFO: ==13257== Releasing lock...
[2025-04-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 01:59:03] Production.INFO: ==13263== Lock acquired, processing the job...
[2025-04-09 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 01:59:03] Production.INFO: ==13270== Lock acquired, processing the job...
[2025-04-09 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 01:59:03] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-04-09 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 01:59:03] Production.INFO: ==13259== Lock acquired, processing the job...
[2025-04-09 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 01:59:03] Production.INFO: count ==12
[2025-04-09 01: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-04-09 01:59:03] Production.INFO: count ==23
[2025-04-09 01:59:03] Production.INFO: ==13266== Lock acquired, processing the job...
[2025-04-09 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866327') start
[2025-04-09 01:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 01:59:04] Production.INFO: ==13268== Lock acquired, processing the job...
[2025-04-09 01:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866327') end
[2025-04-09 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 01:59:04] Production.INFO: 1
[2025-04-09 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 01:59:04] Production.INFO: Account Balance Start.
[2025-04-09 01:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 01:59:04] Production.INFO: 117
[2025-04-09 01:59:04] Production.INFO: ==13270== Releasing lock...
[2025-04-09 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 01:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 01:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 01:59:04] Production.INFO: ==13261== Releasing lock...
[2025-04-09 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 01:59:04] Production.INFO: Total Charge 0
[2025-04-09 01:59:04] Production.INFO: CreateAllLog End
[2025-04-09 01:59:04] Production.ERROR: done
[2025-04-09 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 01:59:04] Production.ERROR: done
[2025-04-09 01:59:04] Production.INFO: Account Balance End.
[2025-04-09 01:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 01:59:04] Production.INFO: ==13266== Releasing lock...
[2025-04-09 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 22:59:05
[end_date_ymd] => 2025-04-09 01:59:05
[RateCDR] => 1
)
[2025-04-09 01:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 22:59:05' and `end` < '2025-04-09 01:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 01:59:12] Production.ERROR: CronJobId end10
[2025-04-09 01:59:12] Production.INFO: ==13263== Releasing lock...
[2025-04-09 01:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 01:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 01:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 01:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 01:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 01:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 01:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 01:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 01:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 01:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 01:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 01:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 01:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 01:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 01:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 01:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 01:59:14] Production.INFO: call_cost start
[2025-04-09 01:59:14] Production.INFO: call_cost end
[2025-04-09 01:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 01:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 01:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 01:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 01:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 01:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 01:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 01:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 01:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 01:59:15] Production.INFO: ==13259== Releasing lock...
[2025-04-09 01:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 01:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 01:59:18] Production.INFO: count ==123
[2025-04-09 01:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 22:59:05 - End Time 2025-04-09 01:59:05
[2025-04-09 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866331', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866331', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866331', 'tblTempVendorCDR_20' ) start
[2025-04-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866331', 'tblTempVendorCDR_20' ) end
[2025-04-09 01:59:18] Production.INFO: ProcessCDR(1,14866331,1,1,2)
[2025-04-09 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 01:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866331', 'tblTempUsageDetail_20' ) start
[2025-04-09 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866331', 'tblTempUsageDetail_20' ) end
[2025-04-09 01:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 01:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 01:59:21] Production.INFO: ==13268== Releasing lock...
[2025-04-09 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 01:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:00:01] Production.INFO: ==13331== Lock acquired, processing the job...
[2025-04-09 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:00:01] Production.INFO: neon service started
[2025-04-09 07:00:01] Production.INFO: neon service started
[2025-04-09 07:00:01] Production.INFO: ==13331== Releasing lock...
[2025-04-09 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:00:01] Production.INFO: ==13333== Lock acquired, processing the job...
[2025-04-09 02:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:00:02] Production.INFO: ==13335== Lock acquired, processing the job...
[2025-04-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:00:02] Production.INFO: ==13333== Releasing lock...
[2025-04-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:00:02] Production.INFO: ==13335== Releasing lock...
[2025-04-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:00:03] Production.INFO: ==13344== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:00:03] Production.INFO: ==13337== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:00:03] Production.INFO: ==13346== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:00:03] Production.ERROR: CronJob PID - 13344
[2025-04-09 02:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 02:00:03] Production.ERROR: CronJob ID - 10
[2025-04-09 02:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 02:00:00
[2025-04-09 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:00:03] Production.ERROR: CronJob PID - 13346
[2025-04-09 02:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 02:00:03] Production.ERROR: CronJob ID - 12
[2025-04-09 02:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 02:00:00
[2025-04-09 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:00:03] Production.INFO: ==13348== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:00:03] Production.INFO: ==13339== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:00:03] Production.INFO: ==13337== Releasing lock...
[2025-04-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:00:03] Production.INFO: ==13342== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:00:03] Production.INFO: Account Balance Start.
[2025-04-09 02:00:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:00:03] Production.INFO: 117
[2025-04-09 02:00:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:00:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:00:03] Production.INFO: Total Charge 0
[2025-04-09 02:00:03] Production.INFO: CreateAllLog End
[2025-04-09 02:00:03] Production.INFO: ==13350== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:00:03] Production.INFO: ==13352== Lock acquired, processing the job...
[2025-04-09 02:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:00:04] Production.INFO: count ==12
[2025-04-09 02:00:04] Production.ERROR: done
[2025-04-09 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:00:04] Production.INFO: Account Balance End.
[2025-04-09 02:00:04] Production.INFO: count ==23
[2025-04-09 02:00:04] Production.INFO: ==13342== Releasing lock...
[2025-04-09 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866335') start
[2025-04-09 02:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:00:04] Production.INFO: ==13346== Releasing lock...
[2025-04-09 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:00:04] Production.ERROR: done
[2025-04-09 02:00:04] Production.ERROR: done
[2025-04-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866335') end
[2025-04-09 02:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:00:04] Production.INFO: 1
[2025-04-09 02:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:00:04] Production.INFO: ==13352== Releasing lock...
[2025-04-09 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866337', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:00:05
[end_date_ymd] => 2025-04-09 02:00:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 23:00:05' and `end` < '2025-04-09 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-04-09 02:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866337', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:00:08] Production.INFO: ProcessCDR(1,14866337,1,1,2)
[2025-04-09 02:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866337,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866337,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:00:09] Production.INFO: ==13350== Releasing lock...
[2025-04-09 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:00:13] Production.ERROR: CronJobId end10
[2025-04-09 02:00:13] Production.INFO: ==13344== Releasing lock...
[2025-04-09 02:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:00:16] Production.INFO: call_cost start
[2025-04-09 02:00:16] Production.INFO: call_cost end
[2025-04-09 02:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:00:17] Production.INFO: ==13339== Releasing lock...
[2025-04-09 02:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:00:18] Production.INFO: count ==127
[2025-04-09 02:00:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:00:05 - End Time 2025-04-09 02:00:05
[2025-04-09 02:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866336', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866336', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866336', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866336', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:00:18] Production.INFO: ProcessCDR(1,14866336,1,1,2)
[2025-04-09 02:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866336', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866336', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:00:21] Production.INFO: ==13348== Releasing lock...
[2025-04-09 02:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:00:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:01:01] Production.INFO: ==13410== Lock acquired, processing the job...
[2025-04-09 07:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:01:01] Production.INFO: neon service started
[2025-04-09 07:01:01] Production.INFO: neon service started
[2025-04-09 07:01:01] Production.INFO: ==13410== Releasing lock...
[2025-04-09 07:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:01:02] Production.INFO: ==13425== Lock acquired, processing the job...
[2025-04-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:01:02] Production.INFO: ==13427== Lock acquired, processing the job...
[2025-04-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:01:02] Production.INFO: ==13427== Releasing lock...
[2025-04-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:01:02] Production.INFO: ==13425== Releasing lock...
[2025-04-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:01:03] Production.INFO: ==13432== Lock acquired, processing the job...
[2025-04-09 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:01:03] Production.INFO: ==13430== Lock acquired, processing the job...
[2025-04-09 02:01:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-04-09 02:01:03] Production.INFO: ==13436== Lock acquired, processing the job...
[2025-04-09 02:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:01:04] Production.INFO: ==13434== Lock acquired, processing the job...
[2025-04-09 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:01:04] Production.INFO: ==13438== Lock acquired, processing the job...
[2025-04-09 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:01:04] Production.INFO: ==13440== Lock acquired, processing the job...
[2025-04-09 02:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:01:04] Production.INFO: ==13442== Lock acquired, processing the job...
[2025-04-09 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:01:04] Production.INFO: Account Balance Start.
[2025-04-09 02:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:01:04] Production.INFO: 117
[2025-04-09 02:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:01:04] Production.INFO: Total Charge 0
[2025-04-09 02:01:04] Production.INFO: CreateAllLog End
[2025-04-09 02:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:01:04] Production.INFO: count ==12
[2025-04-09 02:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:01:04] Production.INFO: count ==23
[2025-04-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866341') start
[2025-04-09 02:01:04] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-04-09 02:01: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.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 36G 15G 71% /
/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/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
/dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739
/dev/loop1 56M 56M 0 100% /var/lib/snapd/snap/certbot/4482
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4557
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-04-09 02:01:04] Production.INFO: Delete Storage Log Start
[2025-04-09 02:01:04] Production.INFO: Front End Delete Storage Log Start
[2025-04-09 02:01:04] Production.INFO: ==13434== Releasing lock...
[2025-04-09 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866341') end
[2025-04-09 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:01:04] Production.INFO: 1
[2025-04-09 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:01:04] Production.INFO: ==13442== Releasing lock...
[2025-04-09 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:01:04] Production.ERROR: done
[2025-04-09 02:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:01:04] Production.INFO: Account Balance End.
[2025-04-09 02:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:01:04] Production.INFO: ==13438== Releasing lock...
[2025-04-09 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:01:04] Production.ERROR: done
[2025-04-09 02:01:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-04-09 02:01:05] Production.INFO: Front End Delete Storage Log End
[2025-04-09 02:01:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-04-09 02:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:01:06
[end_date_ymd] => 2025-04-09 02:01:06
[RateCDR] => 1
)
[2025-04-09 02:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:01:06' and `end` < '2025-04-09 02:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:01:06] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-04-09 02:01:06] Production.INFO: Back End(Service) Delete Storage Log End
[2025-04-09 02:01:06] Production.INFO: Delete Storage Log End
[2025-04-09 02:01:06] Production.INFO: Delete Temp Files Start
[2025-04-09 02:01:06] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-04-09 02:01:06] Production.INFO: Delete Temp Files End
[2025-04-09 02:01:06] Production.INFO: Delete CDR File Start
[2025-04-09 02:01:07] Production.INFO: Delete CDR File End
[2025-04-09 02:01:07] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-04-09 02:01:07] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 36G 15G 71% /
/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/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
/dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739
/dev/loop1 56M 56M 0 100% /var/lib/snapd/snap/certbot/4482
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4557
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-04-09 02:01:07] Production.ERROR: CronJobId end 4
[2025-04-09 02:01:07] Production.INFO: ==13430== Releasing lock...
[2025-04-09 02:01:07] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-04-09 02:01:07] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 02:01:15] Production.ERROR: CronJobId end10
[2025-04-09 02:01:15] Production.INFO: ==13436== Releasing lock...
[2025-04-09 02:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:01:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:01:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:01:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:01:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:01:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:01:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:01:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:01:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:01:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:01:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:01:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:01:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:01:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:01:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:01:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:01:17] Production.INFO: call_cost start
[2025-04-09 02:01:17] Production.INFO: call_cost end
[2025-04-09 02:01:18] Production.INFO: count ==127
[2025-04-09 02:01:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:01:06 - End Time 2025-04-09 02:01:06
[2025-04-09 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866342', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866342', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866342', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:01:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:01:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:01:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:01:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:01:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:01:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:01:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:01:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:01:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866342', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:01:18] Production.INFO: ProcessCDR(1,14866342,1,1,2)
[2025-04-09 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:01:18] Production.INFO: ==13432== Releasing lock...
[2025-04-09 02:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:01:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866342', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866342', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:01:22] Production.INFO: ==13440== Releasing lock...
[2025-04-09 02:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:02:02] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-04-09 07:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:02:02] Production.INFO: neon service started
[2025-04-09 07:02:02] Production.INFO: neon service started
[2025-04-09 07:02:02] Production.INFO: ==13579== Releasing lock...
[2025-04-09 07:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:02:03] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-04-09 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:02:03] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-04-09 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:02:03] Production.INFO: ==13583== Releasing lock...
[2025-04-09 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:02:03] Production.INFO: ==13581== Releasing lock...
[2025-04-09 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:02:04] Production.INFO: ==13592== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:02:04] Production.INFO: ==13594== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:02:04] Production.INFO: Account Balance Start.
[2025-04-09 02:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:02:04] Production.INFO: 117
[2025-04-09 02:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:02:04] Production.INFO: ==13586== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:02:04] Production.INFO: Total Charge 0
[2025-04-09 02:02:04] Production.INFO: CreateAllLog End
[2025-04-09 02:02:04] Production.INFO: ==13588== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:02:04] Production.INFO: ==13590== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:02:04] Production.INFO: ==13596== Lock acquired, processing the job...
[2025-04-09 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:02:04] Production.ERROR: done
[2025-04-09 02:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:02:04] Production.INFO: Account Balance End.
[2025-04-09 02:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:02:04] Production.INFO: ==13592== Releasing lock...
[2025-04-09 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:02:04] Production.INFO: count ==12
[2025-04-09 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:02:04] Production.INFO: count ==23
[2025-04-09 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866345') start
[2025-04-09 02:02:05] Production.ERROR: done
[2025-04-09 02:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866345') end
[2025-04-09 02:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:02:05] Production.INFO: 1
[2025-04-09 02:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:02:05] Production.INFO: ==13596== Releasing lock...
[2025-04-09 02:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:02:05] Production.INFO: ==13588== Releasing lock...
[2025-04-09 02:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:02:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:02:06
[end_date_ymd] => 2025-04-09 02:02:06
[RateCDR] => 1
)
[2025-04-09 02:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:02:06' and `end` < '2025-04-09 02:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:02:12] Production.ERROR: CronJobId end10
[2025-04-09 02:02:12] Production.INFO: ==13590== Releasing lock...
[2025-04-09 02:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:02:14] Production.INFO: call_cost start
[2025-04-09 02:02:14] Production.INFO: call_cost end
[2025-04-09 02:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:02:15] Production.INFO: ==13586== Releasing lock...
[2025-04-09 02:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:02:18] Production.INFO: count ==127
[2025-04-09 02:02:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:02:06 - End Time 2025-04-09 02:02:06
[2025-04-09 02:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866347', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866347', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866347', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866347', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:02:18] Production.INFO: ProcessCDR(1,14866347,1,1,2)
[2025-04-09 02:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866347', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866347', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:02:22] Production.INFO: ==13594== Releasing lock...
[2025-04-09 02:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:03:01] Production.INFO: ==13649== Lock acquired, processing the job...
[2025-04-09 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:03:01] Production.INFO: neon service started
[2025-04-09 07:03:01] Production.INFO: neon service started
[2025-04-09 07:03:01] Production.INFO: ==13649== Releasing lock...
[2025-04-09 07:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:03:02] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-04-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:03:02] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-04-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:03:02] Production.INFO: ==13653== Releasing lock...
[2025-04-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:03:02] Production.INFO: ==13651== Releasing lock...
[2025-04-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:03:03] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:03:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:03:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:03:03] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:03:03] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:03:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-04-09 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:03:03] Production.INFO: Account Balance Start.
[2025-04-09 02:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:03:03] Production.INFO: 117
[2025-04-09 02:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:03:04] Production.INFO: Total Charge 0
[2025-04-09 02:03:04] Production.INFO: CreateAllLog End
[2025-04-09 02:03:04] Production.INFO: ==13658== Releasing lock...
[2025-04-09 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:03:04] Production.INFO: count ==12
[2025-04-09 02:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:03:04] Production.INFO: count ==23
[2025-04-09 02:03:04] Production.ERROR: done
[2025-04-09 02:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:03:04] Production.INFO: Account Balance End.
[2025-04-09 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866351') start
[2025-04-09 02:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:03:04] Production.INFO: ==13662== Releasing lock...
[2025-04-09 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866351') end
[2025-04-09 02:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:03:04] Production.INFO: 1
[2025-04-09 02:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:03:04] Production.INFO: ==13666== Releasing lock...
[2025-04-09 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:03:04] Production.ERROR: done
[2025-04-09 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:03:05
[end_date_ymd] => 2025-04-09 02:03:05
[RateCDR] => 1
)
[2025-04-09 02:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:03:05' and `end` < '2025-04-09 02:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:03:12] Production.ERROR: CronJobId end10
[2025-04-09 02:03:12] Production.INFO: ==13660== Releasing lock...
[2025-04-09 02:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:03:14] Production.INFO: call_cost start
[2025-04-09 02:03:14] Production.INFO: call_cost end
[2025-04-09 02:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:03:15] Production.INFO: ==13656== Releasing lock...
[2025-04-09 02:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:03:18] Production.INFO: count ==127
[2025-04-09 02:03:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:03:05 - End Time 2025-04-09 02:03:05
[2025-04-09 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866352', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866352', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866352', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866352', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:03:18] Production.INFO: ProcessCDR(1,14866352,1,1,2)
[2025-04-09 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866352', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866352', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:03:21] Production.INFO: ==13664== Releasing lock...
[2025-04-09 02:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:04:01] Production.INFO: ==13721== Lock acquired, processing the job...
[2025-04-09 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:04:01] Production.INFO: neon service started
[2025-04-09 07:04:01] Production.INFO: neon service started
[2025-04-09 07:04:01] Production.INFO: ==13721== Releasing lock...
[2025-04-09 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:04:01] Production.INFO: ==13725== Lock acquired, processing the job...
[2025-04-09 06:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:04:01] Production.INFO: ==13725== Releasing lock...
[2025-04-09 06:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:04:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:04:01] Production.INFO: ==13723== Lock acquired, processing the job...
[2025-04-09 02:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:04:02] Production.INFO: ==13723== Releasing lock...
[2025-04-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:04:03] Production.INFO: ==13727== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:04:03] Production.INFO: ==13737== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:04:03] Production.INFO: ==13729== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:04:03] Production.INFO: ==13731== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:04:03] Production.INFO: count ==12
[2025-04-09 02:04:03] Production.INFO: ==13733== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:04:03] Production.INFO: count ==23
[2025-04-09 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866354') start
[2025-04-09 02:04:03] Production.INFO: ==13735== Lock acquired, processing the job...
[2025-04-09 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866354') end
[2025-04-09 02:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:04:03] Production.INFO: 1
[2025-04-09 02:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:04:03] Production.INFO: Account Balance Start.
[2025-04-09 02:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:04:03] Production.INFO: 117
[2025-04-09 02:04:03] Production.INFO: ==13737== Releasing lock...
[2025-04-09 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:04:03] Production.INFO: ==13729== Releasing lock...
[2025-04-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:04:04] Production.INFO: Total Charge 0
[2025-04-09 02:04:04] Production.INFO: CreateAllLog End
[2025-04-09 02:04:04] Production.ERROR: done
[2025-04-09 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:04:04] Production.ERROR: done
[2025-04-09 02:04:04] Production.INFO: Account Balance End.
[2025-04-09 02:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:04:04] Production.INFO: ==13733== Releasing lock...
[2025-04-09 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:04:05
[end_date_ymd] => 2025-04-09 02:04:05
[RateCDR] => 1
)
[2025-04-09 02:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:04:05' and `end` < '2025-04-09 02:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:04:11] Production.ERROR: CronJobId end10
[2025-04-09 02:04:11] Production.INFO: ==13731== Releasing lock...
[2025-04-09 02:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:04:14] Production.INFO: call_cost start
[2025-04-09 02:04:14] Production.INFO: call_cost end
[2025-04-09 02:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:04:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:04:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:04:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:04:15] Production.INFO: ==13727== Releasing lock...
[2025-04-09 02:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:04:17] Production.INFO: count ==127
[2025-04-09 02:04:17] Production.ERROR: pbx CDR StartTime 2025-04-08 23:04:05 - End Time 2025-04-09 02:04:05
[2025-04-09 02:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866357', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866357', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866357', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866357', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:04:18] Production.INFO: ProcessCDR(1,14866357,1,1,2)
[2025-04-09 02:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866357', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866357', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:04:21] Production.INFO: ==13735== Releasing lock...
[2025-04-09 02:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:04:21] Production.INFO: 29 MB #Memory Used#
[2025-04-09 07:05:01] Production.INFO: ==13793== Lock acquired, processing the job...
[2025-04-09 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:05:01] Production.INFO: neon service started
[2025-04-09 07:05:01] Production.INFO: neon service started
[2025-04-09 07:05:01] Production.INFO: ==13793== Releasing lock...
[2025-04-09 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:05:02] Production.INFO: ==13795== Lock acquired, processing the job...
[2025-04-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:05:02] Production.INFO: ==13797== Lock acquired, processing the job...
[2025-04-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:05:02] Production.INFO: ==13797== Releasing lock...
[2025-04-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:05:02] Production.INFO: ==13795== Releasing lock...
[2025-04-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:05:03] Production.INFO: ==13808== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:05:03] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:05:03] Production.INFO: ==13800== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:05:03] Production.INFO: Account Balance Start.
[2025-04-09 02:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:05:03] Production.INFO: 117
[2025-04-09 02:05:03] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:05:03] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:05:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-04-09 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:05:04] Production.INFO: Total Charge 0
[2025-04-09 02:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:05:04] Production.INFO: CreateAllLog End
[2025-04-09 02:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:05:04] Production.ERROR: done
[2025-04-09 02:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:05:04] Production.INFO: count ==12
[2025-04-09 02:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:05:04] Production.INFO: count ==23
[2025-04-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866361') start
[2025-04-09 02:05:04] Production.ERROR: done
[2025-04-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866361') end
[2025-04-09 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:05:04] Production.INFO: 1
[2025-04-09 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:05:04] Production.INFO: Account Balance End.
[2025-04-09 02:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:05:04] Production.INFO: ==13806== Releasing lock...
[2025-04-09 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:05:04] Production.INFO: ==13810== Releasing lock...
[2025-04-09 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:05:04] Production.INFO: ==13802== Releasing lock...
[2025-04-09 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:05:05
[end_date_ymd] => 2025-04-09 02:05:05
[RateCDR] => 1
)
[2025-04-09 02:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:05:05' and `end` < '2025-04-09 02:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:05:11] Production.ERROR: CronJobId end10
[2025-04-09 02:05:11] Production.INFO: ==13804== Releasing lock...
[2025-04-09 02:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:05:15] Production.INFO: call_cost start
[2025-04-09 02:05:15] Production.INFO: call_cost end
[2025-04-09 02:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:05:16] Production.INFO: ==13800== Releasing lock...
[2025-04-09 02:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:05:18] Production.INFO: count ==127
[2025-04-09 02:05:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:05:05 - End Time 2025-04-09 02:05:05
[2025-04-09 02:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866362', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866362', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866362', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866362', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:05:18] Production.INFO: ProcessCDR(1,14866362,1,1,2)
[2025-04-09 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866362', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866362', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:05:21] Production.INFO: ==13808== Releasing lock...
[2025-04-09 02:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:06:02] Production.INFO: ==13862== Lock acquired, processing the job...
[2025-04-09 07:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:06:02] Production.INFO: neon service started
[2025-04-09 07:06:02] Production.INFO: neon service started
[2025-04-09 07:06:02] Production.INFO: ==13862== Releasing lock...
[2025-04-09 07:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:06:02] Production.INFO: ==13865== Lock acquired, processing the job...
[2025-04-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:06:02] Production.INFO: ==13867== Lock acquired, processing the job...
[2025-04-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:06:02] Production.INFO: ==13867== Releasing lock...
[2025-04-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:06:02] Production.INFO: ==13865== Releasing lock...
[2025-04-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:06:03] Production.INFO: ==13873== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:06:03] Production.INFO: ==13875== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:06:03] Production.INFO: ==13877== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:06:03] Production.INFO: Account Balance Start.
[2025-04-09 02:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:06:03] Production.INFO: 117
[2025-04-09 02:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:06:03] Production.INFO: ==13869== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:06:03] Production.INFO: ==13879== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:06:03] Production.INFO: Total Charge 0
[2025-04-09 02:06:03] Production.INFO: CreateAllLog End
[2025-04-09 02:06:03] Production.INFO: ==13871== Lock acquired, processing the job...
[2025-04-09 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:06:04] Production.INFO: Account Balance End.
[2025-04-09 02:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:06:04] Production.INFO: ==13875== Releasing lock...
[2025-04-09 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:06:04] Production.INFO: count ==12
[2025-04-09 02:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:06:04] Production.INFO: count ==23
[2025-04-09 02:06:04] Production.ERROR: done
[2025-04-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866364') start
[2025-04-09 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866364') end
[2025-04-09 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:06:04] Production.INFO: 1
[2025-04-09 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:06:04] Production.INFO: ==13879== Releasing lock...
[2025-04-09 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:06:04] Production.INFO: ==13871== Releasing lock...
[2025-04-09 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:06:04] Production.ERROR: done
[2025-04-09 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:06:05
[end_date_ymd] => 2025-04-09 02:06:05
[RateCDR] => 1
)
[2025-04-09 02:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:06:05' and `end` < '2025-04-09 02:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:06:12] Production.ERROR: CronJobId end10
[2025-04-09 02:06:12] Production.INFO: ==13873== Releasing lock...
[2025-04-09 02:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:06:14] Production.INFO: call_cost start
[2025-04-09 02:06:14] Production.INFO: call_cost end
[2025-04-09 02:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:06:15] Production.INFO: ==13869== Releasing lock...
[2025-04-09 02:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:06:18] Production.INFO: count ==127
[2025-04-09 02:06:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:06:05 - End Time 2025-04-09 02:06:05
[2025-04-09 02:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866367', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866367', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866367', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866367', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:06:18] Production.INFO: ProcessCDR(1,14866367,1,1,2)
[2025-04-09 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866367', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866367', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:06:21] Production.INFO: ==13877== Releasing lock...
[2025-04-09 02:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:07:01] Production.INFO: ==13931== Lock acquired, processing the job...
[2025-04-09 07:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:07:01] Production.INFO: neon service started
[2025-04-09 07:07:01] Production.INFO: neon service started
[2025-04-09 07:07:01] Production.INFO: ==13931== Releasing lock...
[2025-04-09 07:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:07:02] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-04-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:07:02] Production.INFO: ==13933== Releasing lock...
[2025-04-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:07:02] Production.INFO: ==13936== Lock acquired, processing the job...
[2025-04-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:07:02] Production.INFO: ==13936== Releasing lock...
[2025-04-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:07:03] Production.INFO: ==13938== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:07:03] Production.INFO: ==13944== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:07:03] Production.INFO: ==13940== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:07:03] Production.INFO: Account Balance Start.
[2025-04-09 02:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:07:03] Production.INFO: 117
[2025-04-09 02:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:07:03] Production.INFO: ==13942== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:07:03] Production.INFO: Total Charge 0
[2025-04-09 02:07:03] Production.INFO: CreateAllLog End
[2025-04-09 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:07:03] Production.INFO: ==13946== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:07:03] Production.INFO: Account Balance End.
[2025-04-09 02:07:03] Production.ERROR: CronJobId end 12
[2025-04-09 02:07:03] Production.INFO: ==13944== Releasing lock...
[2025-04-09 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:07:03] Production.INFO: ==13948== Lock acquired, processing the job...
[2025-04-09 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:07:03] Production.INFO: ==13940== Releasing lock...
[2025-04-09 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:07:04] Production.INFO: count ==12
[2025-04-09 02:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:07:04] Production.INFO: count ==23
[2025-04-09 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866371') start
[2025-04-09 02:07:04] Production.ERROR: done
[2025-04-09 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866371') end
[2025-04-09 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:07:04] Production.INFO: 1
[2025-04-09 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:07:04] Production.INFO: ==13948== Releasing lock...
[2025-04-09 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:07:04] Production.ERROR: done
[2025-04-09 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:07:05
[end_date_ymd] => 2025-04-09 02:07:05
[RateCDR] => 1
)
[2025-04-09 02:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:07:05' and `end` < '2025-04-09 02:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:07:12] Production.ERROR: CronJobId end10
[2025-04-09 02:07:12] Production.INFO: ==13942== Releasing lock...
[2025-04-09 02:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:07:14] Production.INFO: call_cost start
[2025-04-09 02:07:14] Production.INFO: call_cost end
[2025-04-09 02:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:07:15] Production.INFO: ==13938== Releasing lock...
[2025-04-09 02:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:07:18] Production.INFO: count ==127
[2025-04-09 02:07:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:07:05 - End Time 2025-04-09 02:07:05
[2025-04-09 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866372', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866372', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866372', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866372', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:07:18] Production.INFO: ProcessCDR(1,14866372,1,1,2)
[2025-04-09 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866372', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866372', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:07:21] Production.INFO: ==13946== Releasing lock...
[2025-04-09 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:08:02] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-04-09 07:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:08:02] Production.INFO: neon service started
[2025-04-09 07:08:02] Production.INFO: neon service started
[2025-04-09 07:08:02] Production.INFO: ==14002== Releasing lock...
[2025-04-09 07:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:08:02] Production.INFO: ==14004== Lock acquired, processing the job...
[2025-04-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:08:02] Production.INFO: ==14006== Lock acquired, processing the job...
[2025-04-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:08:02] Production.INFO: ==14006== Releasing lock...
[2025-04-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:08:03] Production.INFO: ==14004== Releasing lock...
[2025-04-09 02:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:08:03] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-04-09 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:08:03] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-04-09 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:08:03] Production.INFO: ==14009== Lock acquired, processing the job...
[2025-04-09 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:08:04] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-04-09 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:08:04] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-04-09 02:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:08:04] Production.INFO: ==14011== Releasing lock...
[2025-04-09 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:08:04] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-04-09 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:08:04] Production.INFO: Account Balance Start.
[2025-04-09 02:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:08:04] Production.INFO: 117
[2025-04-09 02:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:08:04] Production.INFO: Total Charge 0
[2025-04-09 02:08:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 02:08:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:08:04] Production.INFO: count ==23
[2025-04-09 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866376') start
[2025-04-09 02:08:04] Production.INFO: Account Balance End.
[2025-04-09 02:08:04] Production.ERROR: done
[2025-04-09 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:08:04] Production.INFO: ==14015== Releasing lock...
[2025-04-09 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866376') end
[2025-04-09 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:08:04] Production.INFO: 1
[2025-04-09 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:08:04] Production.INFO: ==14019== Releasing lock...
[2025-04-09 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:08:04] Production.ERROR: done
[2025-04-09 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:08:05
[end_date_ymd] => 2025-04-09 02:08:05
[RateCDR] => 1
)
[2025-04-09 02:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:08:05' and `end` < '2025-04-09 02:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:08:12] Production.ERROR: CronJobId end10
[2025-04-09 02:08:12] Production.INFO: ==14013== Releasing lock...
[2025-04-09 02:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:08:15] Production.INFO: call_cost start
[2025-04-09 02:08:15] Production.INFO: call_cost end
[2025-04-09 02:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:08:16] Production.INFO: ==14009== Releasing lock...
[2025-04-09 02:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:08:18] Production.INFO: count ==127
[2025-04-09 02:08:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:08:05 - End Time 2025-04-09 02:08:05
[2025-04-09 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866377', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866377', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866377', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866377', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:08:18] Production.INFO: ProcessCDR(1,14866377,1,1,2)
[2025-04-09 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866377', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866377', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:08:21] Production.INFO: ==14017== Releasing lock...
[2025-04-09 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:08:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:09:01] Production.INFO: ==14074== Lock acquired, processing the job...
[2025-04-09 07:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:09:01] Production.INFO: neon service started
[2025-04-09 07:09:01] Production.INFO: neon service started
[2025-04-09 07:09:01] Production.INFO: ==14074== Releasing lock...
[2025-04-09 07:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:09:02] Production.INFO: ==14076== Lock acquired, processing the job...
[2025-04-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:09:02] Production.INFO: ==14078== Lock acquired, processing the job...
[2025-04-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:09:02] Production.INFO: ==14078== Releasing lock...
[2025-04-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:09:02] Production.INFO: ==14076== Releasing lock...
[2025-04-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:09:03] Production.INFO: ==14083== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:09:03] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:09:03] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:09:03] Production.INFO: ==14085== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:09:03] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:09:03] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-04-09 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:09:03] Production.INFO: ==14083== Releasing lock...
[2025-04-09 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02: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-04-09 02:09:03] Production.INFO: Account Balance Start.
[2025-04-09 02:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:09:03] Production.INFO: 117
[2025-04-09 02:09:03] Production.INFO: count ==12
[2025-04-09 02: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-04-09 02:09:03] Production.INFO: count ==23
[2025-04-09 02:09:04] Production.ERROR: done
[2025-04-09 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866380') start
[2025-04-09 02:09:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866380') end
[2025-04-09 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:09:04] Production.INFO: 1
[2025-04-09 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:09:04] Production.ERROR: done
[2025-04-09 02:09:04] Production.INFO: ==14091== Releasing lock...
[2025-04-09 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:09:04] Production.INFO: Total Charge 0
[2025-04-09 02:09:04] Production.INFO: CreateAllLog End
[2025-04-09 02:09:04] Production.INFO: Account Balance End.
[2025-04-09 02:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:09:04] Production.INFO: ==14087== Releasing lock...
[2025-04-09 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:09:05
[end_date_ymd] => 2025-04-09 02:09:05
[RateCDR] => 1
)
[2025-04-09 02:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:09:05' and `end` < '2025-04-09 02:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:09:11] Production.ERROR: CronJobId end10
[2025-04-09 02:09:11] Production.INFO: ==14085== Releasing lock...
[2025-04-09 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:09:14] Production.INFO: call_cost start
[2025-04-09 02:09:14] Production.INFO: call_cost end
[2025-04-09 02:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:09:15] Production.INFO: ==14081== Releasing lock...
[2025-04-09 02:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:09:18] Production.INFO: count ==127
[2025-04-09 02:09:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:09:05 - End Time 2025-04-09 02:09:05
[2025-04-09 02:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866382', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866382', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866382', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866382', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:09:18] Production.INFO: ProcessCDR(1,14866382,1,1,2)
[2025-04-09 02:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866382', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866382', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:09:21] Production.INFO: ==14089== Releasing lock...
[2025-04-09 02:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:10:02] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-04-09 07:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:10:02] Production.INFO: neon service started
[2025-04-09 07:10:02] Production.INFO: neon service started
[2025-04-09 07:10:02] Production.INFO: ==14144== Releasing lock...
[2025-04-09 07:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:10:02] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-04-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:10:02] Production.INFO: ==14146== Releasing lock...
[2025-04-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:10:03] Production.INFO: ==14148== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:10:03] Production.INFO: ==14148== Releasing lock...
[2025-04-09 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:10:04] Production.INFO: ==14155== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:10:04] Production.INFO: ==14165== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:10:04] Production.INFO: ==14163== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:10:04] Production.INFO: ==14150== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:10:04] Production.ERROR: CronJob PID - 14155
[2025-04-09 02:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 02:10:04] Production.ERROR: CronJob ID - 7
[2025-04-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:10:00
[2025-04-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:10:04] Production.ERROR: CronJob PID - 14163
[2025-04-09 02:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 02:10:04] Production.ERROR: CronJob ID - 17
[2025-04-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:10:00
[2025-04-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:10:04] Production.ERROR: CronJob PID - 14165
[2025-04-09 02:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 02:10:04] Production.ERROR: CronJob ID - 19
[2025-04-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:10:00
[2025-04-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:10:04] Production.INFO: ==14152== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:10:04] Production.INFO: count ==12
[2025-04-09 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:10:04] Production.INFO: count ==23
[2025-04-09 02:10:04] Production.INFO: ==14157== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866384') start
[2025-04-09 02:10:04] Production.INFO: ==14161== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:10:04] Production.INFO: ==14150== Releasing lock...
[2025-04-09 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:10:04] Production.INFO: ==14159== Lock acquired, processing the job...
[2025-04-09 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:10:04] Production.INFO: ==14155== Releasing lock...
[2025-04-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866384') end
[2025-04-09 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:10:04] Production.INFO: 1
[2025-04-09 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:10:04] Production.INFO: Account Balance Start.
[2025-04-09 02:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:10:04] Production.INFO: 117
[2025-04-09 02:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:10:04] Production.INFO: ==14165== Releasing lock...
[2025-04-09 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:10:04] Production.INFO: Total Charge 0
[2025-04-09 02:10:04] Production.INFO: CreateAllLog End
[2025-04-09 02:10:04] Production.ERROR: done
[2025-04-09 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866387', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:10:05] Production.ERROR: done
[2025-04-09 02:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:10:05] Production.INFO: Account Balance End.
[2025-04-09 02:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:10:05] Production.INFO: ==14159== Releasing lock...
[2025-04-09 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:10:05] Production.ERROR: done
[2025-04-09 02:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:10:06
[end_date_ymd] => 2025-04-09 02:10:06
[RateCDR] => 1
)
[2025-04-09 02:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:10:06' and `end` < '2025-04-09 02:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866387', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:10:09] Production.INFO: ProcessCDR(1,14866387,1,1,2)
[2025-04-09 02:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866387,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:10:09] Production.INFO: ==14163== Releasing lock...
[2025-04-09 02:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:10:13] Production.ERROR: CronJobId end10
[2025-04-09 02:10:13] Production.INFO: ==14157== Releasing lock...
[2025-04-09 02:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:10:16] Production.INFO: call_cost start
[2025-04-09 02:10:16] Production.INFO: call_cost end
[2025-04-09 02:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:10:17] Production.INFO: ==14152== Releasing lock...
[2025-04-09 02:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:10:19] Production.INFO: count ==129
[2025-04-09 02:10:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:10:06 - End Time 2025-04-09 02:10:06
[2025-04-09 02:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866388', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866388', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866388', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866388', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:10:19] Production.INFO: ProcessCDR(1,14866388,1,1,2)
[2025-04-09 02:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866388', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866388', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:10:22] Production.INFO: ==14161== Releasing lock...
[2025-04-09 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:11:01] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-04-09 07:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:11:01] Production.INFO: neon service started
[2025-04-09 07:11:01] Production.INFO: neon service started
[2025-04-09 07:11:01] Production.INFO: ==14219== Releasing lock...
[2025-04-09 07:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:11:02] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-04-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:11:02] Production.INFO: ==14221== Releasing lock...
[2025-04-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:11:02] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-04-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:11:02] Production.INFO: ==14223== Releasing lock...
[2025-04-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:11:03] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:11:03] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:11:03] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:11:03] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:11:03] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:11:03] Production.INFO: ==14227== Releasing lock...
[2025-04-09 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:11:03] Production.INFO: ==14235== Lock acquired, processing the job...
[2025-04-09 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:11:03] Production.INFO: Account Balance Start.
[2025-04-09 02:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:11:03] Production.INFO: 117
[2025-04-09 02:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 02: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-04-09 02:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:11:03] Production.INFO: Total Charge 0
[2025-04-09 02:11:03] Production.INFO: CreateAllLog End
[2025-04-09 02:11:03] Production.INFO: count ==12
[2025-04-09 02: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-04-09 02:11:03] Production.INFO: count ==23
[2025-04-09 02:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866392') start
[2025-04-09 02:11:03] Production.ERROR: done
[2025-04-09 02:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866392') end
[2025-04-09 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:11:04] Production.INFO: 1
[2025-04-09 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:11:04] Production.ERROR: done
[2025-04-09 02:11:04] Production.INFO: ==14235== Releasing lock...
[2025-04-09 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:11:04] Production.INFO: Account Balance End.
[2025-04-09 02:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:11:04] Production.INFO: ==14231== Releasing lock...
[2025-04-09 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:11:05
[end_date_ymd] => 2025-04-09 02:11:05
[RateCDR] => 1
)
[2025-04-09 02:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:11:05' and `end` < '2025-04-09 02:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:11:12] Production.ERROR: CronJobId end10
[2025-04-09 02:11:12] Production.INFO: ==14229== Releasing lock...
[2025-04-09 02:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:11:14] Production.INFO: call_cost start
[2025-04-09 02:11:14] Production.INFO: call_cost end
[2025-04-09 02:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:11:15] Production.INFO: ==14225== Releasing lock...
[2025-04-09 02:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:11:17] Production.INFO: count ==129
[2025-04-09 02:11:17] Production.ERROR: pbx CDR StartTime 2025-04-08 23:11:05 - End Time 2025-04-09 02:11:05
[2025-04-09 02:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866393', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866393', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866393', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866393', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:11:17] Production.INFO: ProcessCDR(1,14866393,1,1,2)
[2025-04-09 02:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866393', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866393', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:11:21] Production.INFO: ==14233== Releasing lock...
[2025-04-09 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:12:02] Production.INFO: ==14290== Lock acquired, processing the job...
[2025-04-09 07:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:12:02] Production.INFO: neon service started
[2025-04-09 07:12:02] Production.INFO: neon service started
[2025-04-09 07:12:02] Production.INFO: ==14290== Releasing lock...
[2025-04-09 07:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:12:02] Production.INFO: ==14292== Lock acquired, processing the job...
[2025-04-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:12:02] Production.INFO: ==14292== Releasing lock...
[2025-04-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:12:02] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-04-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:12:02] Production.INFO: ==14294== Releasing lock...
[2025-04-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:12:03] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-04-09 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:12:03] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-04-09 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:12:03] Production.INFO: ==14306== Lock acquired, processing the job...
[2025-04-09 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:12:03] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-04-09 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:12:03] Production.INFO: count ==12
[2025-04-09 02:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:12:04] Production.INFO: count ==23
[2025-04-09 02:12:04] Production.INFO: ==14302== Lock acquired, processing the job...
[2025-04-09 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866395') start
[2025-04-09 02:12:04] Production.INFO: ==14304== Lock acquired, processing the job...
[2025-04-09 02:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866395') end
[2025-04-09 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:12:04] Production.INFO: 1
[2025-04-09 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:12:04] Production.INFO: Account Balance Start.
[2025-04-09 02:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:12:04] Production.INFO: 117
[2025-04-09 02:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:12:04] Production.INFO: ==14306== Releasing lock...
[2025-04-09 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:12:04] Production.INFO: Total Charge 0
[2025-04-09 02:12:04] Production.INFO: CreateAllLog End
[2025-04-09 02:12:04] Production.INFO: ==14298== Releasing lock...
[2025-04-09 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:12:04] Production.INFO: Account Balance End.
[2025-04-09 02:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:12:04] Production.INFO: ==14302== Releasing lock...
[2025-04-09 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:12:04] Production.ERROR: done
[2025-04-09 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:12:04] Production.ERROR: done
[2025-04-09 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:12:05
[end_date_ymd] => 2025-04-09 02:12:05
[RateCDR] => 1
)
[2025-04-09 02:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:12:05' and `end` < '2025-04-09 02:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:12:12] Production.ERROR: CronJobId end10
[2025-04-09 02:12:12] Production.INFO: ==14300== Releasing lock...
[2025-04-09 02:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:12:14] Production.INFO: call_cost start
[2025-04-09 02:12:14] Production.INFO: call_cost end
[2025-04-09 02:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:12:15] Production.INFO: ==14296== Releasing lock...
[2025-04-09 02:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:12:18] Production.INFO: count ==127
[2025-04-09 02:12:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:12:05 - End Time 2025-04-09 02:12:05
[2025-04-09 02:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866398', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866398', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866398', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866398', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:12:18] Production.INFO: ProcessCDR(1,14866398,1,1,2)
[2025-04-09 02:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866398', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866398', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:12:21] Production.INFO: ==14304== Releasing lock...
[2025-04-09 02:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:13:01] Production.INFO: ==14361== Lock acquired, processing the job...
[2025-04-09 07:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:13:01] Production.INFO: neon service started
[2025-04-09 07:13:01] Production.INFO: neon service started
[2025-04-09 07:13:01] Production.INFO: ==14361== Releasing lock...
[2025-04-09 07:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:13:01] Production.INFO: ==14363== Lock acquired, processing the job...
[2025-04-09 02:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:13:02] Production.INFO: ==14363== Releasing lock...
[2025-04-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:13:02] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-04-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:13:02] Production.INFO: ==14365== Releasing lock...
[2025-04-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:13:03] Production.INFO: ==14369== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:13:03] Production.INFO: ==14367== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:13:03] Production.INFO: ==14377== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:13:03] Production.INFO: ==14371== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:13:03] Production.INFO: count ==12
[2025-04-09 02:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:13:03] Production.INFO: count ==23
[2025-04-09 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866399') start
[2025-04-09 02:13:03] Production.INFO: ==14373== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:13:03] Production.INFO: ==14375== Lock acquired, processing the job...
[2025-04-09 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:13:03] Production.INFO: Account Balance Start.
[2025-04-09 02:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:13:03] Production.INFO: 117
[2025-04-09 02:13:03] Production.INFO: ==14369== Releasing lock...
[2025-04-09 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866399') end
[2025-04-09 02:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:13:03] Production.INFO: 1
[2025-04-09 02:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:13:03] Production.INFO: Total Charge 0
[2025-04-09 02:13:03] Production.INFO: CreateAllLog End
[2025-04-09 02:13:03] Production.INFO: ==14377== Releasing lock...
[2025-04-09 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:13:03] Production.ERROR: done
[2025-04-09 02:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:13:03] Production.INFO: Account Balance End.
[2025-04-09 02:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:13:04] Production.INFO: ==14373== Releasing lock...
[2025-04-09 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:13:04] Production.ERROR: done
[2025-04-09 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:13:05
[end_date_ymd] => 2025-04-09 02:13:05
[RateCDR] => 1
)
[2025-04-09 02:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:13:05' and `end` < '2025-04-09 02:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:13:11] Production.ERROR: CronJobId end10
[2025-04-09 02:13:11] Production.INFO: ==14371== Releasing lock...
[2025-04-09 02:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:13:14] Production.INFO: call_cost start
[2025-04-09 02:13:14] Production.INFO: call_cost end
[2025-04-09 02:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:13:15] Production.INFO: ==14367== Releasing lock...
[2025-04-09 02:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:13:18] Production.INFO: count ==127
[2025-04-09 02:13:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:13:05 - End Time 2025-04-09 02:13:05
[2025-04-09 02:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866403', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866403', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866403', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866403', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:13:18] Production.INFO: ProcessCDR(1,14866403,1,1,2)
[2025-04-09 02:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866403', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866403', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:13:21] Production.INFO: ==14375== Releasing lock...
[2025-04-09 02:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:14:01] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-04-09 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:14:01] Production.INFO: neon service started
[2025-04-09 07:14:01] Production.INFO: neon service started
[2025-04-09 07:14:01] Production.INFO: ==14435== Releasing lock...
[2025-04-09 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:14:02] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-04-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:14:02] Production.INFO: ==14439== Releasing lock...
[2025-04-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:14:02] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-04-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:14:02] Production.INFO: ==14437== Releasing lock...
[2025-04-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:14:03] Production.INFO: ==14446== Lock acquired, processing the job...
[2025-04-09 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:14:03] Production.INFO: ==14442== Lock acquired, processing the job...
[2025-04-09 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:14:03] Production.INFO: ==14450== Lock acquired, processing the job...
[2025-04-09 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:14:03] Production.INFO: ==14444== Lock acquired, processing the job...
[2025-04-09 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:14:03] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-04-09 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:14:04] Production.INFO: ==14452== Lock acquired, processing the job...
[2025-04-09 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:14:04] Production.INFO: Account Balance Start.
[2025-04-09 02:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:14:04] Production.INFO: 117
[2025-04-09 02:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:14:04] Production.ERROR: done
[2025-04-09 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:14:04] Production.INFO: Total Charge 0
[2025-04-09 02:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:14:04] Production.INFO: CreateAllLog End
[2025-04-09 02:14:04] Production.INFO: count ==12
[2025-04-09 02:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:14:04] Production.INFO: count ==23
[2025-04-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866407') start
[2025-04-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866407') end
[2025-04-09 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:14:04] Production.INFO: 1
[2025-04-09 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:14:04] Production.INFO: ==14444== Releasing lock...
[2025-04-09 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:14:04] Production.INFO: ==14452== Releasing lock...
[2025-04-09 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:14:04] Production.ERROR: done
[2025-04-09 02:14:04] Production.INFO: Account Balance End.
[2025-04-09 02:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:14:04] Production.INFO: ==14448== Releasing lock...
[2025-04-09 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:14:05
[end_date_ymd] => 2025-04-09 02:14:05
[RateCDR] => 1
)
[2025-04-09 02:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:14:05' and `end` < '2025-04-09 02:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:14:11] Production.ERROR: CronJobId end10
[2025-04-09 02:14:11] Production.INFO: ==14446== Releasing lock...
[2025-04-09 02:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:14:14] Production.INFO: call_cost start
[2025-04-09 02:14:14] Production.INFO: call_cost end
[2025-04-09 02:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:14:15] Production.INFO: ==14442== Releasing lock...
[2025-04-09 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:14:18] Production.INFO: count ==127
[2025-04-09 02:14:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:14:05 - End Time 2025-04-09 02:14:05
[2025-04-09 02:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866408', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866408', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866408', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866408', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:14:18] Production.INFO: ProcessCDR(1,14866408,1,1,2)
[2025-04-09 02:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866408', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866408', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:14:21] Production.INFO: ==14450== Releasing lock...
[2025-04-09 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:15:01] Production.INFO: ==14505== Lock acquired, processing the job...
[2025-04-09 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:15:01] Production.INFO: neon service started
[2025-04-09 07:15:01] Production.INFO: neon service started
[2025-04-09 07:15:01] Production.INFO: ==14505== Releasing lock...
[2025-04-09 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:15:02] Production.INFO: ==14507== Lock acquired, processing the job...
[2025-04-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:15:02] Production.INFO: ==14509== Lock acquired, processing the job...
[2025-04-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:15:02] Production.INFO: ==14509== Releasing lock...
[2025-04-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:15:02] Production.INFO: ==14507== Releasing lock...
[2025-04-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:15:03] Production.INFO: ==14520== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:15:03] Production.INFO: ==14512== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:15:03] Production.INFO: ==14516== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:15:03] Production.INFO: ==14514== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:15:03] Production.INFO: ==14518== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:15:03] Production.INFO: ==14522== Lock acquired, processing the job...
[2025-04-09 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:15:03] Production.ERROR: done
[2025-04-09 02:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:15:03] Production.INFO: Account Balance Start.
[2025-04-09 02:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:15:03] Production.INFO: 117
[2025-04-09 02:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 02:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:15:03] Production.INFO: count ==12
[2025-04-09 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-04-09 02:15:03] Production.INFO: count ==23
[2025-04-09 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866410') start
[2025-04-09 02:15:03] Production.INFO: Total Charge 0
[2025-04-09 02:15:03] Production.INFO: CreateAllLog End
[2025-04-09 02:15:04] Production.ERROR: done
[2025-04-09 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866410') end
[2025-04-09 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:15:04] Production.INFO: 1
[2025-04-09 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:15:04] Production.INFO: ==14514== Releasing lock...
[2025-04-09 02:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:15:04] Production.INFO: Account Balance End.
[2025-04-09 02:15:04] Production.INFO: ==14522== Releasing lock...
[2025-04-09 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:15:04] Production.INFO: ==14518== Releasing lock...
[2025-04-09 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:15:05
[end_date_ymd] => 2025-04-09 02:15:05
[RateCDR] => 1
)
[2025-04-09 02:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:15:05' and `end` < '2025-04-09 02:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:15:11] Production.ERROR: CronJobId end10
[2025-04-09 02:15:11] Production.INFO: ==14516== Releasing lock...
[2025-04-09 02:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:15:14] Production.INFO: call_cost start
[2025-04-09 02:15:14] Production.INFO: call_cost end
[2025-04-09 02:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:15:15] Production.INFO: ==14512== Releasing lock...
[2025-04-09 02:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:15:18] Production.INFO: count ==127
[2025-04-09 02:15:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:15:05 - End Time 2025-04-09 02:15:05
[2025-04-09 02:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866413', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866413', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866413', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866413', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:15:18] Production.INFO: ProcessCDR(1,14866413,1,1,2)
[2025-04-09 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866413', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866413', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:15:21] Production.INFO: ==14520== Releasing lock...
[2025-04-09 02:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:16:01] Production.INFO: ==14615== Lock acquired, processing the job...
[2025-04-09 07:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:16:01] Production.INFO: neon service started
[2025-04-09 07:16:01] Production.INFO: neon service started
[2025-04-09 07:16:01] Production.INFO: ==14615== Releasing lock...
[2025-04-09 07:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:16:02] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-04-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:16:02] Production.INFO: ==14619== Releasing lock...
[2025-04-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:16:02] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-04-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:16:02] Production.INFO: ==14617== Releasing lock...
[2025-04-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:16:03] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:16:03] Production.INFO: ==14626== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:16:03] Production.INFO: ==14628== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:16:03] Production.INFO: Account Balance Start.
[2025-04-09 02:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:16:03] Production.INFO: 117
[2025-04-09 02:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:16:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:16:03] Production.INFO: ==14622== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:16:03] Production.INFO: Total Charge 0
[2025-04-09 02:16:03] Production.INFO: ==14630== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:16:03] Production.INFO: CreateAllLog End
[2025-04-09 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:16:03] Production.INFO: ==14624== Releasing lock...
[2025-04-09 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:16:03] Production.INFO: Account Balance End.
[2025-04-09 02:16:03] Production.INFO: ==14632== Lock acquired, processing the job...
[2025-04-09 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:16:03] Production.ERROR: CronJobId end 12
[2025-04-09 02:16:03] Production.INFO: ==14628== Releasing lock...
[2025-04-09 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 02:16:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:16:04] Production.ERROR: done
[2025-04-09 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:16:04] Production.INFO: count ==23
[2025-04-09 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866417') start
[2025-04-09 02:16:04] Production.ERROR: done
[2025-04-09 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866417') end
[2025-04-09 02:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:16:04] Production.INFO: 1
[2025-04-09 02:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:16:04] Production.INFO: ==14632== Releasing lock...
[2025-04-09 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:16:05
[end_date_ymd] => 2025-04-09 02:16:05
[RateCDR] => 1
)
[2025-04-09 02:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:16:05' and `end` < '2025-04-09 02:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:16:11] Production.ERROR: CronJobId end10
[2025-04-09 02:16:11] Production.INFO: ==14626== Releasing lock...
[2025-04-09 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:16:14] Production.INFO: call_cost start
[2025-04-09 02:16:14] Production.INFO: call_cost end
[2025-04-09 02:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:16:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:16:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:16:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:16:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:16:15] Production.INFO: ==14622== Releasing lock...
[2025-04-09 02:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:16:18] Production.INFO: count ==127
[2025-04-09 02:16:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:16:05 - End Time 2025-04-09 02:16:05
[2025-04-09 02:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866418', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866418', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866418', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866418', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:16:18] Production.INFO: ProcessCDR(1,14866418,1,1,2)
[2025-04-09 02:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866418', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866418', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:16:21] Production.INFO: ==14630== Releasing lock...
[2025-04-09 02:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:16:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:17:02] Production.INFO: ==14685== Lock acquired, processing the job...
[2025-04-09 07:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:17:02] Production.INFO: neon service started
[2025-04-09 07:17:02] Production.INFO: neon service started
[2025-04-09 07:17:02] Production.INFO: ==14685== Releasing lock...
[2025-04-09 07:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:17:02] Production.INFO: ==14687== Lock acquired, processing the job...
[2025-04-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:17:03] Production.INFO: ==14689== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:17:03] Production.INFO: ==14687== Releasing lock...
[2025-04-09 02:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:17:03] Production.INFO: ==14689== Releasing lock...
[2025-04-09 06:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:17:04] Production.INFO: ==14693== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:17:04] Production.INFO: ==14691== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:17:04] Production.INFO: ==14695== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:17:04] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:17:04] Production.INFO: ==14697== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:17:04] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-04-09 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:17:04] Production.INFO: Account Balance Start.
[2025-04-09 02:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:17:04] Production.INFO: 117
[2025-04-09 02:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:17:04] Production.INFO: count ==12
[2025-04-09 02:17:04] Production.INFO: ==14693== Releasing lock...
[2025-04-09 02:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:17:04] Production.INFO: count ==23
[2025-04-09 02:17:04] Production.INFO: Total Charge 0
[2025-04-09 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866422') start
[2025-04-09 02:17:04] Production.INFO: CreateAllLog End
[2025-04-09 02:17:04] Production.ERROR: done
[2025-04-09 02:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866422') end
[2025-04-09 02:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:17:04] Production.INFO: 1
[2025-04-09 02:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:17:04] Production.INFO: Account Balance End.
[2025-04-09 02:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:17:04] Production.INFO: ==14697== Releasing lock...
[2025-04-09 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:17:04] Production.INFO: ==14702== Releasing lock...
[2025-04-09 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:17:04] Production.ERROR: done
[2025-04-09 02:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:17:05
[end_date_ymd] => 2025-04-09 02:17:05
[RateCDR] => 1
)
[2025-04-09 02:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:17:05' and `end` < '2025-04-09 02:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:17:12] Production.ERROR: CronJobId end10
[2025-04-09 02:17:12] Production.INFO: ==14695== Releasing lock...
[2025-04-09 02:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:17:15] Production.INFO: call_cost start
[2025-04-09 02:17:15] Production.INFO: call_cost end
[2025-04-09 02:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:17:16] Production.INFO: ==14691== Releasing lock...
[2025-04-09 02:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:17:18] Production.INFO: count ==127
[2025-04-09 02:17:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:17:05 - End Time 2025-04-09 02:17:05
[2025-04-09 02:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866423', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866423', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866423', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866423', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:17:18] Production.INFO: ProcessCDR(1,14866423,1,1,2)
[2025-04-09 02:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866423', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866423', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:17:21] Production.INFO: ==14700== Releasing lock...
[2025-04-09 02:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:18:01] Production.INFO: ==14756== Lock acquired, processing the job...
[2025-04-09 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:18:01] Production.INFO: neon service started
[2025-04-09 07:18:01] Production.INFO: neon service started
[2025-04-09 07:18:01] Production.INFO: ==14756== Releasing lock...
[2025-04-09 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:18:02] Production.INFO: ==14758== Lock acquired, processing the job...
[2025-04-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:18:02] Production.INFO: ==14758== Releasing lock...
[2025-04-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:18:02] Production.INFO: ==14760== Lock acquired, processing the job...
[2025-04-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:18:02] Production.INFO: ==14760== Releasing lock...
[2025-04-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:18:03] Production.INFO: ==14763== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:18:03] Production.INFO: ==14769== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:18:03] Production.INFO: Account Balance Start.
[2025-04-09 02:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:18:03] Production.INFO: 117
[2025-04-09 02:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:18:03] Production.INFO: ==14765== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:18:03] Production.INFO: ==14767== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:18:03] Production.INFO: Total Charge 0
[2025-04-09 02:18:03] Production.INFO: CreateAllLog End
[2025-04-09 02:18:03] Production.INFO: ==14771== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:18:03] Production.INFO: ==14773== Lock acquired, processing the job...
[2025-04-09 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:18:03] Production.INFO: Account Balance End.
[2025-04-09 02:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:18:03] Production.INFO: count ==12
[2025-04-09 02:18:03] Production.ERROR: CronJobId end 12
[2025-04-09 02:18:03] Production.INFO: ==14769== Releasing lock...
[2025-04-09 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:18:03] Production.INFO: count ==23
[2025-04-09 02:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866427') start
[2025-04-09 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866427') end
[2025-04-09 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:18:04] Production.INFO: 1
[2025-04-09 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:18:04] Production.INFO: ==14765== Releasing lock...
[2025-04-09 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:18:04] Production.ERROR: done
[2025-04-09 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:18:04] Production.INFO: ==14773== Releasing lock...
[2025-04-09 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:18:04] Production.ERROR: done
[2025-04-09 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:18:05
[end_date_ymd] => 2025-04-09 02:18:05
[RateCDR] => 1
)
[2025-04-09 02:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:18:05' and `end` < '2025-04-09 02:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:18:11] Production.ERROR: CronJobId end10
[2025-04-09 02:18:11] Production.INFO: ==14767== Releasing lock...
[2025-04-09 02:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:18:14] Production.INFO: call_cost start
[2025-04-09 02:18:14] Production.INFO: call_cost end
[2025-04-09 02:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:18:15] Production.INFO: ==14763== Releasing lock...
[2025-04-09 02:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:18:18] Production.INFO: count ==127
[2025-04-09 02:18:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:18:05 - End Time 2025-04-09 02:18:05
[2025-04-09 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866428', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866428', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866428', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866428', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:18:18] Production.INFO: ProcessCDR(1,14866428,1,1,2)
[2025-04-09 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866428', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866428', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:18:21] Production.INFO: ==14771== Releasing lock...
[2025-04-09 02:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:19:02] Production.INFO: ==14828== Lock acquired, processing the job...
[2025-04-09 07:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:19:02] Production.INFO: neon service started
[2025-04-09 07:19:02] Production.INFO: neon service started
[2025-04-09 07:19:02] Production.INFO: ==14828== Releasing lock...
[2025-04-09 07:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:19:02] Production.INFO: ==14833== Lock acquired, processing the job...
[2025-04-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:19:02] Production.INFO: ==14833== Releasing lock...
[2025-04-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:19:02] Production.INFO: ==14831== Lock acquired, processing the job...
[2025-04-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:19:03] Production.INFO: ==14831== Releasing lock...
[2025-04-09 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:19:04] Production.INFO: ==14835== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:19:04] Production.INFO: ==14841== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:19:04] Production.INFO: ==14845== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:19:04] Production.INFO: ==14837== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:19:04] Production.INFO: Account Balance Start.
[2025-04-09 02:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:19:04] Production.INFO: 117
[2025-04-09 02:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:19:04] Production.INFO: ==14839== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:19:04] Production.INFO: count ==12
[2025-04-09 02:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:19:04] Production.INFO: count ==23
[2025-04-09 02:19:04] Production.INFO: ==14843== Lock acquired, processing the job...
[2025-04-09 02:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866431') start
[2025-04-09 02:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:19:04] Production.INFO: Total Charge 0
[2025-04-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866431') end
[2025-04-09 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:19:04] Production.INFO: 1
[2025-04-09 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:19:04] Production.INFO: CreateAllLog End
[2025-04-09 02:19:04] Production.INFO: ==14845== Releasing lock...
[2025-04-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:19:04] Production.INFO: ==14837== Releasing lock...
[2025-04-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:19:04] Production.ERROR: done
[2025-04-09 02:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:19:04] Production.INFO: Account Balance End.
[2025-04-09 02:19:04] Production.ERROR: done
[2025-04-09 02:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:19:04] Production.INFO: ==14841== Releasing lock...
[2025-04-09 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:19:05
[end_date_ymd] => 2025-04-09 02:19:05
[RateCDR] => 1
)
[2025-04-09 02:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:19:05' and `end` < '2025-04-09 02:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:19:12] Production.ERROR: CronJobId end10
[2025-04-09 02:19:12] Production.INFO: ==14839== Releasing lock...
[2025-04-09 02:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:19:15] Production.INFO: call_cost start
[2025-04-09 02:19:15] Production.INFO: call_cost end
[2025-04-09 02:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:19:16] Production.INFO: ==14835== Releasing lock...
[2025-04-09 02:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:19:18] Production.INFO: count ==127
[2025-04-09 02:19:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:19:05 - End Time 2025-04-09 02:19:05
[2025-04-09 02:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866433', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866433', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866433', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866433', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:19:18] Production.INFO: ProcessCDR(1,14866433,1,1,2)
[2025-04-09 02:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866433', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866433', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:19:21] Production.INFO: ==14843== Releasing lock...
[2025-04-09 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:20:01] Production.INFO: ==14906== Lock acquired, processing the job...
[2025-04-09 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:20:01] Production.INFO: neon service started
[2025-04-09 07:20:01] Production.INFO: neon service started
[2025-04-09 07:20:01] Production.INFO: ==14906== Releasing lock...
[2025-04-09 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:20:02] Production.INFO: ==14908== Lock acquired, processing the job...
[2025-04-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:20:02] Production.INFO: ==14910== Lock acquired, processing the job...
[2025-04-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:20:02] Production.INFO: ==14910== Releasing lock...
[2025-04-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:20:02] Production.INFO: ==14908== Releasing lock...
[2025-04-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:20:03] Production.INFO: ==14912== Lock acquired, processing the job...
[2025-04-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:20:03] Production.INFO: ==14912== Releasing lock...
[2025-04-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:20:03] Production.INFO: ==14915== Lock acquired, processing the job...
[2025-04-09 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:20:03] Production.INFO: ==14917== Lock acquired, processing the job...
[2025-04-09 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:20:03] Production.INFO: ==14921== Lock acquired, processing the job...
[2025-04-09 02:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:20:03] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-04-09 02:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:20:03] Production.INFO: Account Balance Start.
[2025-04-09 02:20:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:20:03] Production.INFO: 117
[2025-04-09 02:20:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:20:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:20:03] Production.INFO: Total Charge 0
[2025-04-09 02:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:20:03] Production.INFO: CreateAllLog End
[2025-04-09 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:20:04] Production.INFO: ==14917== Releasing lock...
[2025-04-09 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:20:04] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-04-09 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:20:04] Production.INFO: ==14925== Lock acquired, processing the job...
[2025-04-09 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:20:04] Production.INFO: Account Balance End.
[2025-04-09 02:20:04] Production.INFO: ==14927== Lock acquired, processing the job...
[2025-04-09 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:20:04] Production.INFO: ==14921== Releasing lock...
[2025-04-09 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 02:20:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:20:04] Production.INFO: count ==23
[2025-04-09 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866437') start
[2025-04-09 02:20:04] Production.ERROR: done
[2025-04-09 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866437') end
[2025-04-09 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:20:04] Production.INFO: 1
[2025-04-09 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:20:05] Production.ERROR: done
[2025-04-09 02:20:05] Production.INFO: ==14927== Releasing lock...
[2025-04-09 02:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:20:05] Production.ERROR: done
[2025-04-09 02:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866439', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:20:06
[end_date_ymd] => 2025-04-09 02:20:06
[RateCDR] => 1
)
[2025-04-09 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-04-08 23:20:06' and `end` < '2025-04-09 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-04-09 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866439', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:20:09] Production.INFO: ProcessCDR(1,14866439,1,1,2)
[2025-04-09 02:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866439,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866439,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:20:09] Production.INFO: ==14925== Releasing lock...
[2025-04-09 02:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:20:14] Production.ERROR: CronJobId end10
[2025-04-09 02:20:14] Production.INFO: ==14919== Releasing lock...
[2025-04-09 02:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:20:15] Production.INFO: call_cost start
[2025-04-09 02:20:15] Production.INFO: call_cost end
[2025-04-09 02:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:20:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:20:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:20:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:20:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:20:16] Production.INFO: ==14915== Releasing lock...
[2025-04-09 02:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:20:18] Production.INFO: count ==136
[2025-04-09 02:20:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:20:06 - End Time 2025-04-09 02:20:06
[2025-04-09 02:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866438', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866438', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866438', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866438', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:20:18] Production.INFO: ProcessCDR(1,14866438,1,1,2)
[2025-04-09 02:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866438', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866438', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:20:23] Production.INFO: ==14923== Releasing lock...
[2025-04-09 02:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:20:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:21:02] Production.INFO: ==14981== Lock acquired, processing the job...
[2025-04-09 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:21:02] Production.INFO: neon service started
[2025-04-09 07:21:02] Production.INFO: neon service started
[2025-04-09 07:21:02] Production.INFO: ==14981== Releasing lock...
[2025-04-09 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:21:02] Production.INFO: ==14983== Lock acquired, processing the job...
[2025-04-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:21:03] Production.INFO: ==14983== Releasing lock...
[2025-04-09 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:21:03] Production.INFO: ==14985== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:21:03] Production.INFO: ==14985== Releasing lock...
[2025-04-09 06:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:21:03] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-04-09 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:21:03] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-04-09 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:21:03] Production.INFO: ==14997== Lock acquired, processing the job...
[2025-04-09 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:21:04] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-04-09 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:21:04] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-04-09 02:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:21:04] Production.INFO: count ==12
[2025-04-09 02:21:04] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-04-09 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:21:04] Production.INFO: count ==23
[2025-04-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866441') start
[2025-04-09 02:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866441') end
[2025-04-09 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:21:04] Production.INFO: 1
[2025-04-09 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:21:04] Production.INFO: Account Balance Start.
[2025-04-09 02:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:21:04] Production.INFO: 117
[2025-04-09 02:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:21:04] Production.INFO: ==14997== Releasing lock...
[2025-04-09 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:21:04] Production.ERROR: done
[2025-04-09 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:21:04] Production.INFO: Total Charge 0
[2025-04-09 02:21:04] Production.INFO: ==14989== Releasing lock...
[2025-04-09 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:21:04] Production.INFO: CreateAllLog End
[2025-04-09 02:21:04] Production.ERROR: done
[2025-04-09 02:21:04] Production.INFO: Account Balance End.
[2025-04-09 02:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:21:04] Production.INFO: ==14993== Releasing lock...
[2025-04-09 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:21:05
[end_date_ymd] => 2025-04-09 02:21:05
[RateCDR] => 1
)
[2025-04-09 02:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:21:05' and `end` < '2025-04-09 02:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:21:13] Production.ERROR: CronJobId end10
[2025-04-09 02:21:13] Production.INFO: ==14991== Releasing lock...
[2025-04-09 02:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:21:15] Production.INFO: call_cost start
[2025-04-09 02:21:15] Production.INFO: call_cost end
[2025-04-09 02:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:21:16] Production.INFO: ==14987== Releasing lock...
[2025-04-09 02:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:21:18] Production.INFO: count ==136
[2025-04-09 02:21:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:21:05 - End Time 2025-04-09 02:21:05
[2025-04-09 02:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866444', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866444', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866444', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866444', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:21:18] Production.INFO: ProcessCDR(1,14866444,1,1,2)
[2025-04-09 02:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866444', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866444', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:21:21] Production.INFO: ==14995== Releasing lock...
[2025-04-09 02:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:22:01] Production.INFO: ==15071== Lock acquired, processing the job...
[2025-04-09 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:22:01] Production.INFO: neon service started
[2025-04-09 07:22:01] Production.INFO: neon service started
[2025-04-09 07:22:01] Production.INFO: ==15071== Releasing lock...
[2025-04-09 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:22:02] Production.INFO: ==15076== Lock acquired, processing the job...
[2025-04-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:22:02] Production.INFO: ==15076== Releasing lock...
[2025-04-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:22:02] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-04-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:22:02] Production.INFO: ==15074== Releasing lock...
[2025-04-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:22:03] Production.INFO: ==15080== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:22:03] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:22:03] Production.INFO: ==15088== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:22:03] Production.INFO: ==15080== Releasing lock...
[2025-04-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:22:03] Production.INFO: ==15078== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:22:03] Production.INFO: count ==12
[2025-04-09 02:22:03] Production.INFO: ==15084== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:22:03] Production.INFO: count ==23
[2025-04-09 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866446') start
[2025-04-09 02:22:03] Production.INFO: ==15086== Lock acquired, processing the job...
[2025-04-09 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866446') end
[2025-04-09 02:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:22:03] Production.INFO: 1
[2025-04-09 02:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:22:03] Production.INFO: Account Balance Start.
[2025-04-09 02:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:22:03] Production.INFO: 117
[2025-04-09 02:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:22:03] Production.INFO: Total Charge 0
[2025-04-09 02:22:03] Production.INFO: CreateAllLog End
[2025-04-09 02:22:03] Production.INFO: ==15088== Releasing lock...
[2025-04-09 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:22:04] Production.INFO: Account Balance End.
[2025-04-09 02:22:04] Production.ERROR: done
[2025-04-09 02:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:22:04] Production.INFO: ==15084== Releasing lock...
[2025-04-09 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:22:04] Production.ERROR: done
[2025-04-09 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:22:05
[end_date_ymd] => 2025-04-09 02:22:05
[RateCDR] => 1
)
[2025-04-09 02:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:22:05' and `end` < '2025-04-09 02:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:22:11] Production.ERROR: CronJobId end10
[2025-04-09 02:22:11] Production.INFO: ==15082== Releasing lock...
[2025-04-09 02:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:22:14] Production.INFO: call_cost start
[2025-04-09 02:22:14] Production.INFO: call_cost end
[2025-04-09 02:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:22:15] Production.INFO: ==15078== Releasing lock...
[2025-04-09 02:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:22:18] Production.INFO: count ==136
[2025-04-09 02:22:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:22:05 - End Time 2025-04-09 02:22:05
[2025-04-09 02:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866449', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866449', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866449', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866449', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:22:18] Production.INFO: ProcessCDR(1,14866449,1,1,2)
[2025-04-09 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866449', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866449', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:22:21] Production.INFO: ==15086== Releasing lock...
[2025-04-09 02:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:23:02] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-04-09 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:23:02] Production.INFO: neon service started
[2025-04-09 07:23:02] Production.INFO: neon service started
[2025-04-09 07:23:02] Production.INFO: ==15196== Releasing lock...
[2025-04-09 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:23:02] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-04-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:23:02] Production.INFO: ==15202== Releasing lock...
[2025-04-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:23:02] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-04-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:23:03] Production.INFO: ==15200== Releasing lock...
[2025-04-09 02:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:23:03] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-04-09 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:23:03] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-04-09 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:23:03] Production.INFO: Account Balance Start.
[2025-04-09 02:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:23:03] Production.INFO: 117
[2025-04-09 02:23:04] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-04-09 02:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 02:23:04] Production.INFO: Total Charge 0
[2025-04-09 02:23:04] Production.INFO: CreateAllLog End
[2025-04-09 02:23:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:23:04] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-04-09 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:23:04] Production.INFO: count ==23
[2025-04-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866451') start
[2025-04-09 02:23:04] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-04-09 02:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:23:04] Production.INFO: Account Balance End.
[2025-04-09 02:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:23:04] Production.INFO: ==15211== Releasing lock...
[2025-04-09 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:23:04] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-04-09 02:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866451') end
[2025-04-09 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:23:04] Production.INFO: 1
[2025-04-09 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:23:04] Production.INFO: ==15215== Releasing lock...
[2025-04-09 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:23:04] Production.INFO: ==15207== Releasing lock...
[2025-04-09 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:23:04] Production.ERROR: done
[2025-04-09 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:23:05] Production.ERROR: done
[2025-04-09 02:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:23:06
[end_date_ymd] => 2025-04-09 02:23:06
[RateCDR] => 1
)
[2025-04-09 02: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-04-08 23:23:06' and `end` < '2025-04-09 02: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-04-09 02:23:12] Production.ERROR: CronJobId end10
[2025-04-09 02:23:12] Production.INFO: ==15209== Releasing lock...
[2025-04-09 02:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:23:15] Production.INFO: call_cost start
[2025-04-09 02:23:15] Production.INFO: call_cost end
[2025-04-09 02:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:23:16] Production.INFO: ==15205== Releasing lock...
[2025-04-09 02:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:23:18] Production.INFO: count ==136
[2025-04-09 02:23:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:23:06 - End Time 2025-04-09 02:23:06
[2025-04-09 02:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866454', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866454', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866454', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866454', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:23:18] Production.INFO: ProcessCDR(1,14866454,1,1,2)
[2025-04-09 02:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866454', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866454', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:23:22] Production.INFO: ==15213== Releasing lock...
[2025-04-09 02:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:23:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:24:01] Production.INFO: ==15321== Lock acquired, processing the job...
[2025-04-09 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:24:01] Production.INFO: neon service started
[2025-04-09 07:24:01] Production.INFO: neon service started
[2025-04-09 07:24:01] Production.INFO: ==15321== Releasing lock...
[2025-04-09 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:24:01] Production.INFO: ==15323== Lock acquired, processing the job...
[2025-04-09 02:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:24:02] Production.INFO: ==15323== Releasing lock...
[2025-04-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:24:02] Production.INFO: ==15325== Lock acquired, processing the job...
[2025-04-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:24:02] Production.INFO: ==15325== Releasing lock...
[2025-04-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:24:03] Production.INFO: ==15330== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:24:03] Production.INFO: ==15328== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:24:03] Production.INFO: ==15332== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:24:03] Production.INFO: ==15338== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:24:03] Production.INFO: ==15334== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:24:03] Production.INFO: ==15336== Lock acquired, processing the job...
[2025-04-09 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 02:24:03] Production.INFO: count ==12
[2025-04-09 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:24:03] Production.INFO: Account Balance Start.
[2025-04-09 02:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 02: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-04-09 02:24:03] Production.INFO: 117
[2025-04-09 02:24:03] Production.INFO: count ==23
[2025-04-09 02:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866457') start
[2025-04-09 02:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:24:03] Production.INFO: Total Charge 0
[2025-04-09 02:24:03] Production.INFO: CreateAllLog End
[2025-04-09 02:24:03] Production.INFO: ==15330== Releasing lock...
[2025-04-09 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866457') end
[2025-04-09 02:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:24:03] Production.INFO: 1
[2025-04-09 02:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:24:04] Production.INFO: ==15338== Releasing lock...
[2025-04-09 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:24:04] Production.ERROR: done
[2025-04-09 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:24:04] Production.INFO: Account Balance End.
[2025-04-09 02:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:24:04] Production.INFO: ==15334== Releasing lock...
[2025-04-09 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:24:04] Production.ERROR: done
[2025-04-09 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:24:05
[end_date_ymd] => 2025-04-09 02:24:05
[RateCDR] => 1
)
[2025-04-09 02:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:24:05' and `end` < '2025-04-09 02:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:24:13] Production.ERROR: CronJobId end10
[2025-04-09 02:24:13] Production.INFO: ==15332== Releasing lock...
[2025-04-09 02:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:24:15] Production.INFO: call_cost start
[2025-04-09 02:24:15] Production.INFO: call_cost end
[2025-04-09 02:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:24:16] Production.INFO: ==15328== Releasing lock...
[2025-04-09 02:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:24:18] Production.INFO: count ==136
[2025-04-09 02:24:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:24:05 - End Time 2025-04-09 02:24:05
[2025-04-09 02:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866459', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866459', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866459', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866459', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:24:18] Production.INFO: ProcessCDR(1,14866459,1,1,2)
[2025-04-09 02:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866459', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866459', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:24:21] Production.INFO: ==15336== Releasing lock...
[2025-04-09 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:25:02] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-04-09 07:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:25:02] Production.INFO: neon service started
[2025-04-09 07:25:02] Production.INFO: neon service started
[2025-04-09 07:25:02] Production.INFO: ==15443== Releasing lock...
[2025-04-09 07:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:25:02] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-04-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:25:02] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-04-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:25:02] Production.INFO: ==15447== Releasing lock...
[2025-04-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:25:03] Production.INFO: ==15445== Releasing lock...
[2025-04-09 02:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:25:03] Production.INFO: ==15458== Lock acquired, processing the job...
[2025-04-09 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:25:04] Production.INFO: ==15460== Lock acquired, processing the job...
[2025-04-09 02:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:25:04] Production.INFO: Account Balance Start.
[2025-04-09 02:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:25:04] Production.INFO: 117
[2025-04-09 02:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:25:04] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-04-09 02:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:25:04] Production.INFO: ==15454== Lock acquired, processing the job...
[2025-04-09 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:25:04] Production.INFO: ==15456== Lock acquired, processing the job...
[2025-04-09 02:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:25:04] Production.INFO: ==15462== Lock acquired, processing the job...
[2025-04-09 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:25:04] Production.INFO: Total Charge 0
[2025-04-09 02:25:04] Production.INFO: CreateAllLog End
[2025-04-09 02:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 02:25:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:25:04] Production.INFO: count ==23
[2025-04-09 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866461') start
[2025-04-09 02:25:04] Production.ERROR: done
[2025-04-09 02:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:25:04] Production.INFO: Account Balance End.
[2025-04-09 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866461') end
[2025-04-09 02:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:25:04] Production.INFO: 1
[2025-04-09 02:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:25:04] Production.INFO: ==15458== Releasing lock...
[2025-04-09 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:25:04] Production.INFO: ==15462== Releasing lock...
[2025-04-09 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:25:04] Production.ERROR: done
[2025-04-09 02:25:04] Production.INFO: ==15454== Releasing lock...
[2025-04-09 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:25:05
[end_date_ymd] => 2025-04-09 02:25:05
[RateCDR] => 1
)
[2025-04-09 02:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:25:05' and `end` < '2025-04-09 02:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:25:12] Production.ERROR: CronJobId end10
[2025-04-09 02:25:12] Production.INFO: ==15456== Releasing lock...
[2025-04-09 02:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:25:15] Production.INFO: call_cost start
[2025-04-09 02:25:15] Production.INFO: call_cost end
[2025-04-09 02:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:25:15] Production.INFO: ==15452== Releasing lock...
[2025-04-09 02:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:25:18] Production.INFO: count ==136
[2025-04-09 02:25:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:25:05 - End Time 2025-04-09 02:25:05
[2025-04-09 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866464', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866464', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866464', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866464', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:25:18] Production.INFO: ProcessCDR(1,14866464,1,1,2)
[2025-04-09 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866464', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866464', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:25:22] Production.INFO: ==15460== Releasing lock...
[2025-04-09 02:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:25:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:26:01] Production.INFO: ==15569== Lock acquired, processing the job...
[2025-04-09 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:26:01] Production.INFO: neon service started
[2025-04-09 07:26:01] Production.INFO: neon service started
[2025-04-09 07:26:01] Production.INFO: ==15569== Releasing lock...
[2025-04-09 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:26:02] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-04-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:26:02] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-04-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:26:02] Production.INFO: ==15573== Releasing lock...
[2025-04-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:26:02] Production.INFO: ==15571== Releasing lock...
[2025-04-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:26:03] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:26:03] Production.INFO: ==15576== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:26:03] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:26:03] Production.INFO: ==15578== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:26:03] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:26:03] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-04-09 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 02:26:04] Production.INFO: count ==12
[2025-04-09 02:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:26:04] Production.INFO: count ==23
[2025-04-09 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866467') start
[2025-04-09 02:26:04] Production.INFO: Account Balance Start.
[2025-04-09 02:26:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:26:04] Production.INFO: 117
[2025-04-09 02:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:26:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:26:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866467') end
[2025-04-09 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:26:04] Production.INFO: 1
[2025-04-09 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:26:04] Production.INFO: Total Charge 0
[2025-04-09 02:26:04] Production.INFO: CreateAllLog End
[2025-04-09 02:26:04] Production.INFO: ==15586== Releasing lock...
[2025-04-09 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:26:04] Production.INFO: ==15578== Releasing lock...
[2025-04-09 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:26:04] Production.ERROR: done
[2025-04-09 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:26:04] Production.ERROR: done
[2025-04-09 02:26:04] Production.INFO: Account Balance End.
[2025-04-09 02:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:26:04] Production.INFO: ==15582== Releasing lock...
[2025-04-09 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:26:05
[end_date_ymd] => 2025-04-09 02:26:05
[RateCDR] => 1
)
[2025-04-09 02:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:26:05' and `end` < '2025-04-09 02:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:26:12] Production.ERROR: CronJobId end10
[2025-04-09 02:26:12] Production.INFO: ==15580== Releasing lock...
[2025-04-09 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:26:15] Production.INFO: call_cost start
[2025-04-09 02:26:15] Production.INFO: call_cost end
[2025-04-09 02:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:26:16] Production.INFO: ==15576== Releasing lock...
[2025-04-09 02:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:26:18] Production.INFO: count ==136
[2025-04-09 02:26:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:26:05 - End Time 2025-04-09 02:26:05
[2025-04-09 02:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866469', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866469', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866469', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866469', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:26:18] Production.INFO: ProcessCDR(1,14866469,1,1,2)
[2025-04-09 02:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866469', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866469', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:26:21] Production.INFO: ==15584== Releasing lock...
[2025-04-09 02:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:27:01] Production.INFO: ==15693== Lock acquired, processing the job...
[2025-04-09 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:27:01] Production.INFO: neon service started
[2025-04-09 07:27:01] Production.INFO: neon service started
[2025-04-09 07:27:01] Production.INFO: ==15693== Releasing lock...
[2025-04-09 07:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:27:02] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-04-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:27:02] Production.INFO: ==15695== Releasing lock...
[2025-04-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:27:02] Production.INFO: ==15697== Lock acquired, processing the job...
[2025-04-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:27:02] Production.INFO: ==15697== Releasing lock...
[2025-04-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:27:03] Production.INFO: ==15700== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:27:03] Production.INFO: ==15706== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:27:03] Production.INFO: ==15703== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:27:03] Production.INFO: ==15712== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:27:03] Production.INFO: ==15708== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:27:03] Production.INFO: count ==12
[2025-04-09 02:27:03] Production.INFO: ==15710== Lock acquired, processing the job...
[2025-04-09 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:27:03] Production.INFO: Account Balance Start.
[2025-04-09 02:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:27:03] Production.INFO: count ==23
[2025-04-09 02:27:03] Production.INFO: 117
[2025-04-09 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866471') start
[2025-04-09 02:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866471') end
[2025-04-09 02:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:27:04] Production.INFO: 1
[2025-04-09 02:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:27:04] Production.INFO: ==15703== Releasing lock...
[2025-04-09 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:27:04] Production.INFO: ==15712== Releasing lock...
[2025-04-09 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:27:04] Production.INFO: Total Charge 0
[2025-04-09 02:27:04] Production.INFO: CreateAllLog End
[2025-04-09 02:27:04] Production.ERROR: done
[2025-04-09 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:27:04] Production.INFO: Account Balance End.
[2025-04-09 02:27:04] Production.ERROR: done
[2025-04-09 02:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:27:04] Production.INFO: ==15708== Releasing lock...
[2025-04-09 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:27:05
[end_date_ymd] => 2025-04-09 02:27:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 23:27:05' and `end` < '2025-04-09 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-04-09 02:27:12] Production.ERROR: CronJobId end10
[2025-04-09 02:27:12] Production.INFO: ==15706== Releasing lock...
[2025-04-09 02:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:27:14] Production.INFO: call_cost start
[2025-04-09 02:27:14] Production.INFO: call_cost end
[2025-04-09 02:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:27:15] Production.INFO: ==15700== Releasing lock...
[2025-04-09 02:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:27:18] Production.INFO: count ==136
[2025-04-09 02:27:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:27:05 - End Time 2025-04-09 02:27:05
[2025-04-09 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866474', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866474', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866474', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866474', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:27:18] Production.INFO: ProcessCDR(1,14866474,1,1,2)
[2025-04-09 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866474', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866474', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:27:21] Production.INFO: ==15710== Releasing lock...
[2025-04-09 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:28:01] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-04-09 07:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:28:01] Production.INFO: neon service started
[2025-04-09 07:28:01] Production.INFO: neon service started
[2025-04-09 07:28:01] Production.INFO: ==15816== Releasing lock...
[2025-04-09 07:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:28:01] Production.INFO: ==15818== Lock acquired, processing the job...
[2025-04-09 02:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:28:02] Production.INFO: ==15818== Releasing lock...
[2025-04-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:28:02] Production.INFO: ==15820== Lock acquired, processing the job...
[2025-04-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:28:02] Production.INFO: ==15820== Releasing lock...
[2025-04-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:28:03] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:28:03] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:28:03] Production.INFO: ==15832== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:28:03] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:28:03] Production.INFO: ==15830== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:28:03] Production.INFO: ==15834== Lock acquired, processing the job...
[2025-04-09 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:28:03] Production.INFO: ==15826== Releasing lock...
[2025-04-09 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:28:03] Production.INFO: Account Balance Start.
[2025-04-09 02:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:28:03] Production.INFO: 117
[2025-04-09 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-04-09 02:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:28:03] Production.ERROR: done
[2025-04-09 02:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:28:03] Production.INFO: count ==12
[2025-04-09 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-04-09 02:28:03] Production.INFO: count ==23
[2025-04-09 02:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866478') start
[2025-04-09 02:28:03] Production.ERROR: done
[2025-04-09 02:28:03] Production.INFO: Total Charge 0
[2025-04-09 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866478') end
[2025-04-09 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:28:03] Production.INFO: 1
[2025-04-09 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:28:03] Production.INFO: CreateAllLog End
[2025-04-09 02:28:03] Production.INFO: ==15834== Releasing lock...
[2025-04-09 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:28:03] Production.INFO: Account Balance End.
[2025-04-09 02:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:28:04] Production.INFO: ==15830== Releasing lock...
[2025-04-09 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:28:04
[end_date_ymd] => 2025-04-09 02:28:04
[RateCDR] => 1
)
[2025-04-09 02: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-04-08 23:28:04' and `end` < '2025-04-09 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-04-09 02:28:12] Production.ERROR: CronJobId end10
[2025-04-09 02:28:12] Production.INFO: ==15828== Releasing lock...
[2025-04-09 02:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:28:14] Production.INFO: call_cost start
[2025-04-09 02:28:14] Production.INFO: call_cost end
[2025-04-09 02:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:28:15] Production.INFO: ==15824== Releasing lock...
[2025-04-09 02:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:28:17] Production.INFO: count ==135
[2025-04-09 02:28:17] Production.ERROR: pbx CDR StartTime 2025-04-08 23:28:04 - End Time 2025-04-09 02:28:04
[2025-04-09 02:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866479', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866479', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866479', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866479', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:28:17] Production.INFO: ProcessCDR(1,14866479,1,1,2)
[2025-04-09 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866479', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866479', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:28:21] Production.INFO: ==15832== Releasing lock...
[2025-04-09 02:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:29:01] Production.INFO: ==15939== Lock acquired, processing the job...
[2025-04-09 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:29:01] Production.INFO: neon service started
[2025-04-09 07:29:01] Production.INFO: neon service started
[2025-04-09 07:29:01] Production.INFO: ==15939== Releasing lock...
[2025-04-09 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:29:02] Production.INFO: ==15942== Lock acquired, processing the job...
[2025-04-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:29:02] Production.INFO: ==15942== Releasing lock...
[2025-04-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:29:02] Production.INFO: ==15944== Lock acquired, processing the job...
[2025-04-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:29:02] Production.INFO: ==15944== Releasing lock...
[2025-04-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:29:03] Production.INFO: ==15950== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:29:03] Production.INFO: ==15946== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:29:03] Production.INFO: ==15956== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:29:03] Production.INFO: ==15948== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:29:03] Production.INFO: count ==12
[2025-04-09 02:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:29:03] Production.INFO: count ==23
[2025-04-09 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866481') start
[2025-04-09 02:29:03] Production.INFO: ==15952== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:29:03] Production.INFO: ==15954== Lock acquired, processing the job...
[2025-04-09 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866481') end
[2025-04-09 02:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:29:03] Production.INFO: 1
[2025-04-09 02:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:29:03] Production.INFO: ==15956== Releasing lock...
[2025-04-09 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:29:03] Production.INFO: Account Balance Start.
[2025-04-09 02:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:29:03] Production.INFO: 117
[2025-04-09 02:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:29:04] Production.INFO: Total Charge 0
[2025-04-09 02:29:04] Production.INFO: CreateAllLog End
[2025-04-09 02:29:04] Production.INFO: ==15948== Releasing lock...
[2025-04-09 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:29:04] Production.ERROR: done
[2025-04-09 02:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:29:04] Production.INFO: Account Balance End.
[2025-04-09 02:29:04] Production.ERROR: done
[2025-04-09 02:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:29:04] Production.INFO: ==15952== Releasing lock...
[2025-04-09 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:29:05
[end_date_ymd] => 2025-04-09 02:29:05
[RateCDR] => 1
)
[2025-04-09 02:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:29:05' and `end` < '2025-04-09 02:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:29:12] Production.ERROR: CronJobId end10
[2025-04-09 02:29:12] Production.INFO: ==15950== Releasing lock...
[2025-04-09 02:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:29:15] Production.INFO: call_cost start
[2025-04-09 02:29:15] Production.INFO: call_cost end
[2025-04-09 02:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:29:16] Production.INFO: ==15946== Releasing lock...
[2025-04-09 02:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:29:18] Production.INFO: count ==135
[2025-04-09 02:29:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:29:05 - End Time 2025-04-09 02:29:05
[2025-04-09 02:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866484', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866484', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866484', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866484', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:29:18] Production.INFO: ProcessCDR(1,14866484,1,1,2)
[2025-04-09 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866484', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866484', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:29:21] Production.INFO: ==15954== Releasing lock...
[2025-04-09 02:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:30:02] Production.INFO: ==16066== Lock acquired, processing the job...
[2025-04-09 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:30:02] Production.INFO: neon service started
[2025-04-09 07:30:02] Production.INFO: neon service started
[2025-04-09 07:30:02] Production.INFO: ==16066== Releasing lock...
[2025-04-09 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:30:02] Production.INFO: ==16068== Lock acquired, processing the job...
[2025-04-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:30:02] Production.INFO: ==16070== Lock acquired, processing the job...
[2025-04-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:30:03] Production.INFO: ==16070== Releasing lock...
[2025-04-09 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:30:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:30:03] Production.INFO: ==16068== Releasing lock...
[2025-04-09 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:30:04] Production.INFO: ==16077== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:30:04] Production.INFO: ==16079== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:30:04] Production.INFO: ==16073== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:30:04] Production.INFO: ==16075== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:30:04] Production.INFO: ==16085== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:30:04] Production.ERROR: CronJob PID - 16075
[2025-04-09 02:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 02:30:04] Production.ERROR: CronJob ID - 5
[2025-04-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:30:00
[2025-04-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:30:04] Production.ERROR: CronJob PID - 16077
[2025-04-09 02:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 02:30:04] Production.ERROR: CronJob ID - 7
[2025-04-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:30:00
[2025-04-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:30:04] Production.ERROR: CronJob PID - 16079
[2025-04-09 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 02:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:30:00
[2025-04-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:30:04] Production.ERROR: CronJob PID - 16085
[2025-04-09 02:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 02:30:04] Production.ERROR: CronJob ID - 17
[2025-04-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:30:00
[2025-04-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:30:04] Production.INFO: ==16073== Releasing lock...
[2025-04-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:30:04] Production.INFO: ==16077== Releasing lock...
[2025-04-09 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:30:04] Production.INFO: ==16083== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:30:04] Production.INFO: ==16081== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:30:04] Production.INFO: ==16087== Lock acquired, processing the job...
[2025-04-09 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:30:05] Production.INFO: Account Balance Start.
[2025-04-09 02:30:05] Production.INFO: CreateAllLog Start
[2025-04-09 02:30:05] Production.INFO: 117
[2025-04-09 02:30:05] Production.ERROR: done
[2025-04-09 02:30:05] Production.INFO: Date 2025-04-08
[2025-04-09 02:30:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:30:05] Production.INFO: Reseller ==> 0
[2025-04-09 02:30:05] Production.INFO: count ==12
[2025-04-09 02:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:30:05] Production.INFO: count ==23
[2025-04-09 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866488') start
[2025-04-09 02:30:05] Production.ERROR: done
[2025-04-09 02:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866489', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:30:05] Production.INFO: Date 2025-04-09
[2025-04-09 02:30:05] Production.INFO: Reseller ==> 0
[2025-04-09 02:30:05] Production.INFO: Total Charge 0
[2025-04-09 02:30:05] Production.INFO: CreateAllLog End
[2025-04-09 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866488') end
[2025-04-09 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:30:05] Production.INFO: 1
[2025-04-09 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:30:05] Production.ERROR: done
[2025-04-09 02:30:05] Production.INFO: ==16087== Releasing lock...
[2025-04-09 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:30:05] Production.INFO: Account Balance End.
[2025-04-09 02:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:30:05] Production.INFO: ==16081== Releasing lock...
[2025-04-09 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:30:07
[end_date_ymd] => 2025-04-09 02:30:07
[RateCDR] => 1
)
[2025-04-09 02:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:30:07' and `end` < '2025-04-09 02:30:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866489', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:30:09] Production.INFO: ProcessCDR(1,14866489,1,1,2)
[2025-04-09 02:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866489,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:30:09] Production.INFO: ==16085== Releasing lock...
[2025-04-09 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:30:14] Production.ERROR: CronJobId end10
[2025-04-09 02:30:14] Production.INFO: ==16079== Releasing lock...
[2025-04-09 02:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:30:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:30:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:30:17] Production.INFO: call_cost start
[2025-04-09 02:30:17] Production.INFO: call_cost end
[2025-04-09 02:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:30:18] Production.INFO: ==16075== Releasing lock...
[2025-04-09 02:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:30:19] Production.INFO: count ==145
[2025-04-09 02:30:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:30:07 - End Time 2025-04-09 02:30:07
[2025-04-09 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866490', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866490', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866490', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866490', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:30:19] Production.INFO: ProcessCDR(1,14866490,1,1,2)
[2025-04-09 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866490', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866490', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:30:23] Production.INFO: ==16083== Releasing lock...
[2025-04-09 02:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:30:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:31:01] Production.INFO: ==16229== Lock acquired, processing the job...
[2025-04-09 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:31:01] Production.INFO: neon service started
[2025-04-09 07:31:01] Production.INFO: neon service started
[2025-04-09 07:31:01] Production.INFO: ==16229== Releasing lock...
[2025-04-09 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:31:02] Production.INFO: ==16231== Lock acquired, processing the job...
[2025-04-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:31:02] Production.INFO: ==16233== Lock acquired, processing the job...
[2025-04-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:31:02] Production.INFO: ==16233== Releasing lock...
[2025-04-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:31:02] Production.INFO: ==16231== Releasing lock...
[2025-04-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:31:03] Production.INFO: ==16238== Lock acquired, processing the job...
[2025-04-09 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:31:03] Production.INFO: ==16236== Lock acquired, processing the job...
[2025-04-09 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:31:03] Production.INFO: ==16244== Lock acquired, processing the job...
[2025-04-09 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:31:03] Production.INFO: ==16240== Lock acquired, processing the job...
[2025-04-09 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:31:04] Production.INFO: ==16238== Releasing lock...
[2025-04-09 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:31:04] Production.INFO: ==16242== Lock acquired, processing the job...
[2025-04-09 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:31:04] Production.INFO: ==16246== Lock acquired, processing the job...
[2025-04-09 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:31:04] Production.INFO: Account Balance Start.
[2025-04-09 02:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:31:04] Production.INFO: 117
[2025-04-09 02:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:31:04] Production.ERROR: done
[2025-04-09 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:31:04] Production.INFO: Total Charge 0
[2025-04-09 02:31:04] Production.INFO: CreateAllLog End
[2025-04-09 02:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:31:04] Production.INFO: count ==12
[2025-04-09 02:31:04] Production.ERROR: done
[2025-04-09 02:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:31:04] Production.INFO: count ==23
[2025-04-09 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866494') start
[2025-04-09 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866494') end
[2025-04-09 02:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:31:04] Production.INFO: 1
[2025-04-09 02:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:31:04] Production.INFO: Account Balance End.
[2025-04-09 02:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:31:04] Production.INFO: ==16242== Releasing lock...
[2025-04-09 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:31:04] Production.INFO: ==16246== Releasing lock...
[2025-04-09 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:31:05
[end_date_ymd] => 2025-04-09 02:31:05
[RateCDR] => 1
)
[2025-04-09 02:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:31:05' and `end` < '2025-04-09 02:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:31:10] Production.ERROR: CronJobId end10
[2025-04-09 02:31:10] Production.INFO: ==16240== Releasing lock...
[2025-04-09 02:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:31:14] Production.INFO: call_cost start
[2025-04-09 02:31:14] Production.INFO: call_cost end
[2025-04-09 02:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:31:15] Production.INFO: ==16236== Releasing lock...
[2025-04-09 02:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:31:18] Production.INFO: count ==145
[2025-04-09 02:31:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:31:05 - End Time 2025-04-09 02:31:05
[2025-04-09 02:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866495', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866495', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866495', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866495', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:31:18] Production.INFO: ProcessCDR(1,14866495,1,1,2)
[2025-04-09 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866495', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866495', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:31:22] Production.INFO: ==16244== Releasing lock...
[2025-04-09 02:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:31:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:32:02] Production.INFO: ==16326== Lock acquired, processing the job...
[2025-04-09 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:32:02] Production.INFO: neon service started
[2025-04-09 07:32:02] Production.INFO: neon service started
[2025-04-09 07:32:02] Production.INFO: ==16326== Releasing lock...
[2025-04-09 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:32:02] Production.INFO: ==16328== Lock acquired, processing the job...
[2025-04-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:32:03] Production.INFO: ==16328== Releasing lock...
[2025-04-09 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:32:03] Production.INFO: ==16330== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:32:03] Production.INFO: ==16330== Releasing lock...
[2025-04-09 06:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:32:03] Production.INFO: ==16335== Lock acquired, processing the job...
[2025-04-09 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:32:03] Production.INFO: ==16333== Lock acquired, processing the job...
[2025-04-09 02:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:32:03] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-04-09 02:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:32:04] Production.INFO: ==16335== Releasing lock...
[2025-04-09 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:32:04] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-04-09 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:32:04] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-04-09 02:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:32:04] Production.INFO: Account Balance Start.
[2025-04-09 02:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:32:04] Production.INFO: 117
[2025-04-09 02:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:32:04] Production.INFO: ==16343== Lock acquired, processing the job...
[2025-04-09 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:32:04] Production.INFO: Total Charge 0
[2025-04-09 02:32:04] Production.INFO: CreateAllLog End
[2025-04-09 02:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:32:04] Production.INFO: count ==12
[2025-04-09 02:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:32:04] Production.INFO: count ==23
[2025-04-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866499') start
[2025-04-09 02:32:04] Production.ERROR: done
[2025-04-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866499') end
[2025-04-09 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:32:04] Production.INFO: 1
[2025-04-09 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:32:04] Production.INFO: Account Balance End.
[2025-04-09 02:32:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:32:05] Production.INFO: ==16339== Releasing lock...
[2025-04-09 02:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:32:05] Production.INFO: ==16343== Releasing lock...
[2025-04-09 02:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:32:05] Production.ERROR: done
[2025-04-09 02:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:32:06
[end_date_ymd] => 2025-04-09 02:32:06
[RateCDR] => 1
)
[2025-04-09 02:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:32:06' and `end` < '2025-04-09 02:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:32:12] Production.ERROR: CronJobId end10
[2025-04-09 02:32:12] Production.INFO: ==16337== Releasing lock...
[2025-04-09 02:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:32:16] Production.INFO: call_cost start
[2025-04-09 02:32:16] Production.INFO: call_cost end
[2025-04-09 02:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:32:16] Production.INFO: ==16333== Releasing lock...
[2025-04-09 02:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:32:19] Production.INFO: count ==145
[2025-04-09 02:32:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:32:06 - End Time 2025-04-09 02:32:06
[2025-04-09 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866500', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866500', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866500', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866500', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:32:19] Production.INFO: ProcessCDR(1,14866500,1,1,2)
[2025-04-09 02:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866500', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866500', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:32:22] Production.INFO: ==16341== Releasing lock...
[2025-04-09 02:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:32:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:33:01] Production.INFO: ==16398== Lock acquired, processing the job...
[2025-04-09 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:33:01] Production.INFO: neon service started
[2025-04-09 07:33:01] Production.INFO: neon service started
[2025-04-09 07:33:01] Production.INFO: ==16398== Releasing lock...
[2025-04-09 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:33:02] Production.INFO: ==16400== Lock acquired, processing the job...
[2025-04-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:33:02] Production.INFO: ==16400== Releasing lock...
[2025-04-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:33:02] Production.INFO: ==16402== Lock acquired, processing the job...
[2025-04-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:33:02] Production.INFO: ==16402== Releasing lock...
[2025-04-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:33:03] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:33:03] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:33:03] Production.INFO: ==16408== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:33:03] Production.INFO: ==16410== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:33:03] Production.INFO: ==16414== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:33:03] Production.INFO: ==16412== Lock acquired, processing the job...
[2025-04-09 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:33:03] Production.INFO: ==16406== Releasing lock...
[2025-04-09 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:33:03] Production.INFO: Account Balance Start.
[2025-04-09 02:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:33:03] Production.INFO: 117
[2025-04-09 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:33:03] Production.INFO: count ==12
[2025-04-09 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:33:03] Production.INFO: count ==23
[2025-04-09 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866503') start
[2025-04-09 02:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866503') end
[2025-04-09 02:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:33:03] Production.INFO: 1
[2025-04-09 02:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:33:03] Production.INFO: Total Charge 0
[2025-04-09 02:33:04] Production.INFO: CreateAllLog End
[2025-04-09 02:33:04] Production.INFO: ==16414== Releasing lock...
[2025-04-09 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:33:04] Production.ERROR: done
[2025-04-09 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:33:04] Production.ERROR: done
[2025-04-09 02:33:04] Production.INFO: Account Balance End.
[2025-04-09 02:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:33:04] Production.INFO: ==16410== Releasing lock...
[2025-04-09 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:33:05
[end_date_ymd] => 2025-04-09 02:33:05
[RateCDR] => 1
)
[2025-04-09 02:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:33:05' and `end` < '2025-04-09 02:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:33:11] Production.ERROR: CronJobId end10
[2025-04-09 02:33:11] Production.INFO: ==16408== Releasing lock...
[2025-04-09 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:33:14] Production.INFO: call_cost start
[2025-04-09 02:33:14] Production.INFO: call_cost end
[2025-04-09 02:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:33:15] Production.INFO: ==16404== Releasing lock...
[2025-04-09 02:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:33:18] Production.INFO: count ==145
[2025-04-09 02:33:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:33:05 - End Time 2025-04-09 02:33:05
[2025-04-09 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866505', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866505', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866505', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866505', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:33:18] Production.INFO: ProcessCDR(1,14866505,1,1,2)
[2025-04-09 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866505', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866505', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:33:21] Production.INFO: ==16412== Releasing lock...
[2025-04-09 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 07:34:02] Production.INFO: ==16472== Lock acquired, processing the job...
[2025-04-09 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:34:02] Production.INFO: neon service started
[2025-04-09 07:34:02] Production.INFO: neon service started
[2025-04-09 07:34:02] Production.INFO: ==16472== Releasing lock...
[2025-04-09 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:34:02] Production.INFO: ==16476== Lock acquired, processing the job...
[2025-04-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:34:02] Production.INFO: ==16476== Releasing lock...
[2025-04-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:34:02] Production.INFO: ==16474== Lock acquired, processing the job...
[2025-04-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:34:03] Production.INFO: ==16474== Releasing lock...
[2025-04-09 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:34:03] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-04-09 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:34:03] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-04-09 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:34:04] Production.INFO: ==16484== Lock acquired, processing the job...
[2025-04-09 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:34:04] Production.INFO: Account Balance Start.
[2025-04-09 02:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:34:04] Production.INFO: 117
[2025-04-09 02:34:04] Production.INFO: ==16478== Lock acquired, processing the job...
[2025-04-09 02:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:34:04] Production.INFO: Total Charge 0
[2025-04-09 02:34:04] Production.INFO: ==16480== Releasing lock...
[2025-04-09 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:34:04] Production.INFO: CreateAllLog End
[2025-04-09 02:34:04] Production.INFO: ==16489== Lock acquired, processing the job...
[2025-04-09 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:34:04] Production.INFO: ==16487== Lock acquired, processing the job...
[2025-04-09 02:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:34:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 02:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:34:04] Production.INFO: ==16484== Releasing lock...
[2025-04-09 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:34:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:34:04] Production.INFO: count ==23
[2025-04-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866509') start
[2025-04-09 02:34:04] Production.ERROR: done
[2025-04-09 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866509') end
[2025-04-09 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:34:04] Production.INFO: 1
[2025-04-09 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:34:04] Production.INFO: ==16489== Releasing lock...
[2025-04-09 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:34:05] Production.ERROR: done
[2025-04-09 02:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:34:06
[end_date_ymd] => 2025-04-09 02:34:06
[RateCDR] => 1
)
[2025-04-09 02: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-04-08 23:34:06' and `end` < '2025-04-09 02: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-04-09 02:34:13] Production.ERROR: CronJobId end10
[2025-04-09 02:34:13] Production.INFO: ==16482== Releasing lock...
[2025-04-09 02:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:34:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:34:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:34:16] Production.INFO: call_cost start
[2025-04-09 02:34:16] Production.INFO: call_cost end
[2025-04-09 02:34:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:34:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:34:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:34:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:34:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:34:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:34:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:34:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:34:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:34:18] Production.INFO: ==16478== Releasing lock...
[2025-04-09 02:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:34:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:34:18] Production.INFO: count ==134
[2025-04-09 02:34:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:34:06 - End Time 2025-04-09 02:34:06
[2025-04-09 02:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866510', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866510', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866510', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866510', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:34:18] Production.INFO: ProcessCDR(1,14866510,1,1,2)
[2025-04-09 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866510', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866510', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:34:22] Production.INFO: ==16487== Releasing lock...
[2025-04-09 02:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:34:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:35:01] Production.INFO: ==16542== Lock acquired, processing the job...
[2025-04-09 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:35:01] Production.INFO: neon service started
[2025-04-09 07:35:01] Production.INFO: neon service started
[2025-04-09 07:35:01] Production.INFO: ==16542== Releasing lock...
[2025-04-09 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:35:02] Production.INFO: ==16544== Lock acquired, processing the job...
[2025-04-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:35:02] Production.INFO: ==16546== Lock acquired, processing the job...
[2025-04-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:35:02] Production.INFO: ==16546== Releasing lock...
[2025-04-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:35:02] Production.INFO: ==16544== Releasing lock...
[2025-04-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:35:03] Production.INFO: ==16553== Lock acquired, processing the job...
[2025-04-09 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:35:03] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-04-09 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:35:03] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-04-09 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:35:03] Production.INFO: count ==12
[2025-04-09 02:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:35:03] Production.INFO: count ==23
[2025-04-09 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866511') start
[2025-04-09 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:35:04] Production.INFO: ==16551== Lock acquired, processing the job...
[2025-04-09 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866511') end
[2025-04-09 02:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:35:04] Production.INFO: 1
[2025-04-09 02:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:35:04] Production.INFO: ==16555== Lock acquired, processing the job...
[2025-04-09 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:35:04] Production.INFO: ==16559== Releasing lock...
[2025-04-09 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:35:04] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-04-09 02:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:35:04] Production.INFO: Account Balance Start.
[2025-04-09 02:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:35:04] Production.INFO: 117
[2025-04-09 02:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:35:04] Production.INFO: Total Charge 0
[2025-04-09 02:35:04] Production.INFO: CreateAllLog End
[2025-04-09 02:35:04] Production.INFO: ==16551== Releasing lock...
[2025-04-09 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:35:04] Production.INFO: Account Balance End.
[2025-04-09 02:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:35:04] Production.INFO: ==16555== Releasing lock...
[2025-04-09 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:35:04] Production.ERROR: done
[2025-04-09 02:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:35:04] Production.ERROR: done
[2025-04-09 02:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:35:05
[end_date_ymd] => 2025-04-09 02:35:05
[RateCDR] => 1
)
[2025-04-09 02:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:35:05' and `end` < '2025-04-09 02:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:35:12] Production.ERROR: CronJobId end10
[2025-04-09 02:35:12] Production.INFO: ==16553== Releasing lock...
[2025-04-09 02:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:35:14] Production.INFO: call_cost start
[2025-04-09 02:35:14] Production.INFO: call_cost end
[2025-04-09 02:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:35:15] Production.INFO: ==16549== Releasing lock...
[2025-04-09 02:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:35:18] Production.INFO: count ==135
[2025-04-09 02:35:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:35:05 - End Time 2025-04-09 02:35:05
[2025-04-09 02:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866515', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866515', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866515', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866515', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:35:18] Production.INFO: ProcessCDR(1,14866515,1,1,2)
[2025-04-09 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866515', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866515', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:35:24] Production.INFO: ==16557== Releasing lock...
[2025-04-09 02:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:35:24] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:36:02] Production.INFO: ==16613== Lock acquired, processing the job...
[2025-04-09 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:36:02] Production.INFO: neon service started
[2025-04-09 07:36:02] Production.INFO: neon service started
[2025-04-09 07:36:02] Production.INFO: ==16613== Releasing lock...
[2025-04-09 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:36:02] Production.INFO: ==16615== Lock acquired, processing the job...
[2025-04-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:36:02] Production.INFO: ==16615== Releasing lock...
[2025-04-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:36:03] Production.INFO: ==16617== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:36:03] Production.INFO: ==16617== Releasing lock...
[2025-04-09 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:36:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:36:03] Production.INFO: ==16624== Lock acquired, processing the job...
[2025-04-09 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:36:04] Production.INFO: ==16628== Lock acquired, processing the job...
[2025-04-09 02:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:36:04] Production.INFO: ==16620== Lock acquired, processing the job...
[2025-04-09 02:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:36:04] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-04-09 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:36:04] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-04-09 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:36:04] Production.INFO: ==16630== Lock acquired, processing the job...
[2025-04-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:36:04] Production.INFO: Account Balance Start.
[2025-04-09 02:36:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:36:04] Production.INFO: 117
[2025-04-09 02:36:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:36:04] Production.INFO: count ==12
[2025-04-09 02:36:04] Production.INFO: Total Charge 0
[2025-04-09 02:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:36:04] Production.INFO: count ==23
[2025-04-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866519') start
[2025-04-09 02:36:04] Production.INFO: CreateAllLog End
[2025-04-09 02:36:04] Production.ERROR: done
[2025-04-09 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866519') end
[2025-04-09 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:36:04] Production.INFO: 1
[2025-04-09 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:36:04] Production.INFO: ==16622== Releasing lock...
[2025-04-09 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:36:04] Production.INFO: ==16630== Releasing lock...
[2025-04-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:36:05] Production.ERROR: done
[2025-04-09 02:36:05] Production.INFO: Account Balance End.
[2025-04-09 02:36:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:36:05] Production.INFO: ==16626== Releasing lock...
[2025-04-09 02:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:36:06
[end_date_ymd] => 2025-04-09 02:36:06
[RateCDR] => 1
)
[2025-04-09 02:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:36:06' and `end` < '2025-04-09 02:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:36:13] Production.ERROR: CronJobId end10
[2025-04-09 02:36:13] Production.INFO: ==16624== Releasing lock...
[2025-04-09 02:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:36:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:36:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:36:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:36:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:36:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:36:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:36:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:36:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:36:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:36:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:36:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:36:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:36:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:36:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:36:17] Production.INFO: call_cost start
[2025-04-09 02:36:17] Production.INFO: call_cost end
[2025-04-09 02:36:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:36:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:36:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:36:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:36:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:36:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:36:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:36:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:36:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:36:18] Production.INFO: ==16620== Releasing lock...
[2025-04-09 02:36:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:36:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:36:18] Production.INFO: count ==135
[2025-04-09 02:36:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:36:06 - End Time 2025-04-09 02:36:06
[2025-04-09 02:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866520', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866520', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866520', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866520', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:36:19] Production.INFO: ProcessCDR(1,14866520,1,1,2)
[2025-04-09 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866520', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866520', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:36:22] Production.INFO: ==16628== Releasing lock...
[2025-04-09 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:36:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:37:01] Production.INFO: ==16683== Lock acquired, processing the job...
[2025-04-09 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:37:01] Production.INFO: neon service started
[2025-04-09 07:37:01] Production.INFO: neon service started
[2025-04-09 07:37:01] Production.INFO: ==16683== Releasing lock...
[2025-04-09 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:37:02] Production.INFO: ==16687== Lock acquired, processing the job...
[2025-04-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:37:02] Production.INFO: ==16687== Releasing lock...
[2025-04-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:37:02] Production.INFO: ==16685== Lock acquired, processing the job...
[2025-04-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:37:02] Production.INFO: ==16685== Releasing lock...
[2025-04-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:37:03] Production.INFO: ==16692== Lock acquired, processing the job...
[2025-04-09 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:37:03] Production.INFO: ==16690== Lock acquired, processing the job...
[2025-04-09 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:37:03] Production.INFO: ==16700== Lock acquired, processing the job...
[2025-04-09 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:37:04] Production.INFO: ==16694== Lock acquired, processing the job...
[2025-04-09 02:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:37:04] Production.INFO: count ==12
[2025-04-09 02:37:04] Production.INFO: ==16696== Lock acquired, processing the job...
[2025-04-09 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:37:04] Production.INFO: ==16692== Releasing lock...
[2025-04-09 02:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:37:04] Production.INFO: count ==23
[2025-04-09 02:37:04] Production.INFO: ==16698== Lock acquired, processing the job...
[2025-04-09 02:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866523') start
[2025-04-09 02:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866523') end
[2025-04-09 02:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:37:04] Production.INFO: 1
[2025-04-09 02:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:37:04] Production.INFO: Account Balance Start.
[2025-04-09 02:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:37:04] Production.INFO: 117
[2025-04-09 02:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:37:04] Production.INFO: Total Charge 0
[2025-04-09 02:37:04] Production.INFO: CreateAllLog End
[2025-04-09 02:37:04] Production.INFO: ==16700== Releasing lock...
[2025-04-09 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:37:04] Production.ERROR: done
[2025-04-09 02:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:37:05] Production.ERROR: done
[2025-04-09 02:37:05] Production.INFO: Account Balance End.
[2025-04-09 02:37:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:37:05] Production.INFO: ==16696== Releasing lock...
[2025-04-09 02:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:37:06
[end_date_ymd] => 2025-04-09 02:37:06
[RateCDR] => 1
)
[2025-04-09 02:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:37:06' and `end` < '2025-04-09 02:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:37:14] Production.ERROR: CronJobId end10
[2025-04-09 02:37:14] Production.INFO: ==16694== Releasing lock...
[2025-04-09 02:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:37:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:37:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:37:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:37:16] Production.INFO: call_cost start
[2025-04-09 02:37:16] Production.INFO: call_cost end
[2025-04-09 02:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:37:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:37:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:37:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:37:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:37:17] Production.INFO: ==16690== Releasing lock...
[2025-04-09 02:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:37:18] Production.INFO: count ==137
[2025-04-09 02:37:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:37:06 - End Time 2025-04-09 02:37:06
[2025-04-09 02:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866525', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866525', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866525', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866525', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:37:18] Production.INFO: ProcessCDR(1,14866525,1,1,2)
[2025-04-09 02:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866525', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866525', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:37:23] Production.INFO: ==16698== Releasing lock...
[2025-04-09 02:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:37:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:38:02] Production.INFO: ==16757== Lock acquired, processing the job...
[2025-04-09 07:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:38:02] Production.INFO: neon service started
[2025-04-09 07:38:02] Production.INFO: neon service started
[2025-04-09 07:38:02] Production.INFO: ==16757== Releasing lock...
[2025-04-09 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:38:02] Production.INFO: ==16761== Lock acquired, processing the job...
[2025-04-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:38:02] Production.INFO: ==16761== Releasing lock...
[2025-04-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:38:02] Production.INFO: ==16759== Lock acquired, processing the job...
[2025-04-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:38:03] Production.INFO: ==16759== Releasing lock...
[2025-04-09 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:38:04] Production.INFO: ==16766== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:38:04] Production.INFO: ==16770== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:38:04] Production.INFO: ==16774== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:38:04] Production.INFO: Account Balance Start.
[2025-04-09 02:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:38:04] Production.INFO: 117
[2025-04-09 02:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:38:04] Production.INFO: count ==12
[2025-04-09 02:38:04] Production.INFO: Total Charge 0
[2025-04-09 02:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:38:04] Production.INFO: count ==23
[2025-04-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866528') start
[2025-04-09 02:38:04] Production.INFO: CreateAllLog End
[2025-04-09 02:38:04] Production.INFO: ==16764== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:38:04] Production.INFO: ==16766== Releasing lock...
[2025-04-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:38:04] Production.INFO: ==16768== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:38:04] Production.INFO: ==16772== Lock acquired, processing the job...
[2025-04-09 02:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866528') end
[2025-04-09 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:38:04] Production.INFO: 1
[2025-04-09 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:38:04] Production.INFO: ==16774== Releasing lock...
[2025-04-09 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:38:04] Production.INFO: Account Balance End.
[2025-04-09 02:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:38:04] Production.INFO: ==16770== Releasing lock...
[2025-04-09 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:38:05] Production.ERROR: done
[2025-04-09 02:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:38:05] Production.ERROR: done
[2025-04-09 02:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:38:06
[end_date_ymd] => 2025-04-09 02:38:06
[RateCDR] => 1
)
[2025-04-09 02:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:38:06' and `end` < '2025-04-09 02:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:38:14] Production.ERROR: CronJobId end10
[2025-04-09 02:38:14] Production.INFO: ==16768== Releasing lock...
[2025-04-09 02:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:38:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:38:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:38:17] Production.INFO: call_cost start
[2025-04-09 02:38:17] Production.INFO: call_cost end
[2025-04-09 02:38:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:38:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:38:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:38:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:38:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:38:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:38:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:38:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:38:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:38:18] Production.INFO: ==16764== Releasing lock...
[2025-04-09 02:38:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:38:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:38:18] Production.INFO: count ==137
[2025-04-09 02:38:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:38:06 - End Time 2025-04-09 02:38:06
[2025-04-09 02:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866530', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866530', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866530', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866530', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:38:19] Production.INFO: ProcessCDR(1,14866530,1,1,2)
[2025-04-09 02:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866530', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866530', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:38:23] Production.INFO: ==16772== Releasing lock...
[2025-04-09 02:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:38:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:39:01] Production.INFO: ==16832== Lock acquired, processing the job...
[2025-04-09 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:39:01] Production.INFO: neon service started
[2025-04-09 07:39:01] Production.INFO: neon service started
[2025-04-09 07:39:01] Production.INFO: ==16832== Releasing lock...
[2025-04-09 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:39:02] Production.INFO: ==16835== Lock acquired, processing the job...
[2025-04-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:39:02] Production.INFO: ==16835== Releasing lock...
[2025-04-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:39:02] Production.INFO: ==16837== Lock acquired, processing the job...
[2025-04-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:39:02] Production.INFO: ==16837== Releasing lock...
[2025-04-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:39:03] Production.INFO: ==16847== Lock acquired, processing the job...
[2025-04-09 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:39:03] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-04-09 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:39:03] Production.INFO: Account Balance Start.
[2025-04-09 02:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:39:03] Production.INFO: 117
[2025-04-09 02:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:39:03] Production.INFO: ==16839== Lock acquired, processing the job...
[2025-04-09 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:39:04] Production.INFO: ==16841== Lock acquired, processing the job...
[2025-04-09 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:39:04] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-04-09 02:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:39:04] Production.INFO: ==16849== Lock acquired, processing the job...
[2025-04-09 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:39:04] Production.INFO: Total Charge 0
[2025-04-09 02:39:04] Production.INFO: CreateAllLog End
[2025-04-09 02:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:39:04] Production.ERROR: done
[2025-04-09 02:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:39:04] Production.INFO: Account Balance End.
[2025-04-09 02:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:39:04] Production.INFO: count ==12
[2025-04-09 02:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:39:04] Production.INFO: ==16845== Releasing lock...
[2025-04-09 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:39:04] Production.INFO: count ==23
[2025-04-09 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866533') start
[2025-04-09 02:39:04] Production.ERROR: done
[2025-04-09 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866533') end
[2025-04-09 02:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:39:04] Production.INFO: 1
[2025-04-09 02:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:39:04] Production.INFO: ==16849== Releasing lock...
[2025-04-09 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:39:04] Production.INFO: ==16841== Releasing lock...
[2025-04-09 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:39:05
[end_date_ymd] => 2025-04-09 02:39:05
[RateCDR] => 1
)
[2025-04-09 02:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:39:05' and `end` < '2025-04-09 02:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:39:14] Production.ERROR: CronJobId end10
[2025-04-09 02:39:14] Production.INFO: ==16843== Releasing lock...
[2025-04-09 02:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:39:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:39:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:39:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:39:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:39:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:39:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:39:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:39:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:39:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:39:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:39:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:39:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:39:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:39:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:39:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:39:16] Production.INFO: call_cost start
[2025-04-09 02:39:16] Production.INFO: call_cost end
[2025-04-09 02:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:39:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:39:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:39:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:39:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:39:17] Production.INFO: ==16839== Releasing lock...
[2025-04-09 02:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:39:18] Production.INFO: count ==137
[2025-04-09 02:39:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:39:05 - End Time 2025-04-09 02:39:05
[2025-04-09 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866535', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866535', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866535', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866535', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:39:18] Production.INFO: ProcessCDR(1,14866535,1,1,2)
[2025-04-09 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866535', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866535', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:39:22] Production.INFO: ==16847== Releasing lock...
[2025-04-09 02:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:39:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:40:02] Production.INFO: ==16903== Lock acquired, processing the job...
[2025-04-09 07:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:40:02] Production.INFO: neon service started
[2025-04-09 07:40:02] Production.INFO: neon service started
[2025-04-09 07:40:02] Production.INFO: ==16903== Releasing lock...
[2025-04-09 07:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:40:02] Production.INFO: ==16905== Lock acquired, processing the job...
[2025-04-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:40:03] Production.INFO: ==16907== Lock acquired, processing the job...
[2025-04-09 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:40:03] Production.INFO: ==16905== Releasing lock...
[2025-04-09 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:40:03] Production.INFO: ==16907== Releasing lock...
[2025-04-09 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:40:04] Production.INFO: ==16914== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:40:04] Production.INFO: ==16916== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:40:04] Production.INFO: ==16910== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:40:04] Production.INFO: ==16912== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:40:04] Production.INFO: ==16920== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:40:04] Production.ERROR: CronJob PID - 16914
[2025-04-09 02:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 02:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 02:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:40:00
[2025-04-09 02:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:40:04] Production.ERROR: CronJob PID - 16916
[2025-04-09 02:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 02:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 02:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:40:00
[2025-04-09 02:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:40:04] Production.INFO: ==16910== Releasing lock...
[2025-04-09 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:40:04] Production.INFO: ==16918== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:40:04] Production.INFO: ==16922== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:40:04] Production.INFO: ==16924== Lock acquired, processing the job...
[2025-04-09 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:40:05] Production.INFO: ==16914== Releasing lock...
[2025-04-09 02:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:40:05] Production.INFO: Account Balance Start.
[2025-04-09 02:40:05] Production.INFO: CreateAllLog Start
[2025-04-09 02:40:05] Production.INFO: 117
[2025-04-09 02:40:05] Production.INFO: Date 2025-04-08
[2025-04-09 02: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-04-09 02:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 02:40:05] Production.INFO: Date 2025-04-09
[2025-04-09 02:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 02:40:05] Production.INFO: count ==12
[2025-04-09 02: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-04-09 02:40:05] Production.INFO: count ==23
[2025-04-09 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866539') start
[2025-04-09 02:40:05] Production.INFO: Total Charge 0
[2025-04-09 02:40:05] Production.ERROR: done
[2025-04-09 02:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:40:05] Production.INFO: CreateAllLog End
[2025-04-09 02:40:05] Production.ERROR: done
[2025-04-09 02:40:05] Production.ERROR: done
[2025-04-09 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866539') end
[2025-04-09 02:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:40:05] Production.INFO: 1
[2025-04-09 02:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866540', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:40:05] Production.INFO: ==16924== Releasing lock...
[2025-04-09 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:40:05] Production.INFO: Account Balance End.
[2025-04-09 02:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:40:05] Production.INFO: ==16918== Releasing lock...
[2025-04-09 02:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:40:06
[end_date_ymd] => 2025-04-09 02:40:06
[RateCDR] => 1
)
[2025-04-09 02:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:40:06' and `end` < '2025-04-09 02:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:40:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866540', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:40:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:40:11] Production.INFO: ProcessCDR(1,14866540,1,1,2)
[2025-04-09 02:40:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:40:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866540,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:40:11] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:40:11] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:40:11] Production.INFO: ==16922== Releasing lock...
[2025-04-09 02:40:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:40:11] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:40:15] Production.ERROR: CronJobId end10
[2025-04-09 02:40:15] Production.INFO: ==16916== Releasing lock...
[2025-04-09 02:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:40:18] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:40:18] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:40:18] Production.INFO: call_cost start
[2025-04-09 02:40:18] Production.INFO: call_cost end
[2025-04-09 02:40:19] Production.INFO: count ==139
[2025-04-09 02:40:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:40:06 - End Time 2025-04-09 02:40:06
[2025-04-09 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866541', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866541', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866541', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866541', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:40:19] Production.INFO: ProcessCDR(1,14866541,1,1,2)
[2025-04-09 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:40:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:40:20] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:40:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:40:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:40:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:40:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:40:20] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:40:20] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:40:20] Production.INFO: ==16912== Releasing lock...
[2025-04-09 02:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:40:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866541', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866541', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:40:23] Production.INFO: ==16920== Releasing lock...
[2025-04-09 02:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:40:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:41:01] Production.INFO: ==16978== Lock acquired, processing the job...
[2025-04-09 07:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:41:01] Production.INFO: neon service started
[2025-04-09 07:41:01] Production.INFO: neon service started
[2025-04-09 07:41:01] Production.INFO: ==16978== Releasing lock...
[2025-04-09 07:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:41:02] Production.INFO: ==16980== Lock acquired, processing the job...
[2025-04-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:41:02] Production.INFO: ==16982== Lock acquired, processing the job...
[2025-04-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:41:02] Production.INFO: ==16982== Releasing lock...
[2025-04-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:41:02] Production.INFO: ==16980== Releasing lock...
[2025-04-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:41:03] Production.INFO: ==16985== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:41:03] Production.INFO: ==16987== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:41:03] Production.INFO: ==16993== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:41:03] Production.INFO: ==16989== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:41:03] Production.INFO: ==16991== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:41:03] Production.INFO: ==16995== Lock acquired, processing the job...
[2025-04-09 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:41:03] Production.INFO: ==16987== Releasing lock...
[2025-04-09 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:41:04] Production.INFO: Account Balance Start.
[2025-04-09 02:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:41:04] Production.INFO: 117
[2025-04-09 02:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:41:04] Production.INFO: count ==12
[2025-04-09 02:41:04] Production.INFO: Total Charge 0
[2025-04-09 02:41:04] Production.INFO: CreateAllLog End
[2025-04-09 02:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:41:04] Production.INFO: count ==23
[2025-04-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866545') start
[2025-04-09 02:41:04] Production.ERROR: done
[2025-04-09 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866545') end
[2025-04-09 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:41:04] Production.INFO: 1
[2025-04-09 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:41:04] Production.INFO: Account Balance End.
[2025-04-09 02:41:04] Production.INFO: ==16995== Releasing lock...
[2025-04-09 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:41:04] Production.INFO: ==16991== Releasing lock...
[2025-04-09 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:41:04] Production.ERROR: done
[2025-04-09 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:41:05
[end_date_ymd] => 2025-04-09 02:41:05
[RateCDR] => 1
)
[2025-04-09 02:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:41:05' and `end` < '2025-04-09 02:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:41:12] Production.ERROR: CronJobId end10
[2025-04-09 02:41:12] Production.INFO: ==16989== Releasing lock...
[2025-04-09 02:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:41:15] Production.INFO: call_cost start
[2025-04-09 02:41:16] Production.INFO: call_cost end
[2025-04-09 02:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:41:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:41:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:41:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:41:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:41:17] Production.INFO: ==16985== Releasing lock...
[2025-04-09 02:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:41:18] Production.INFO: count ==138
[2025-04-09 02:41:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:41:05 - End Time 2025-04-09 02:41:05
[2025-04-09 02:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866546', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866546', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866546', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866546', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:41:18] Production.INFO: ProcessCDR(1,14866546,1,1,2)
[2025-04-09 02:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866546', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866546', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:41:22] Production.INFO: ==16993== Releasing lock...
[2025-04-09 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:41:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:42:02] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-04-09 07:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:42:02] Production.INFO: neon service started
[2025-04-09 07:42:02] Production.INFO: neon service started
[2025-04-09 07:42:02] Production.INFO: ==17054== Releasing lock...
[2025-04-09 07:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:42:03] Production.INFO: ==17058== Lock acquired, processing the job...
[2025-04-09 06:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:42:03] Production.INFO: ==17058== Releasing lock...
[2025-04-09 06:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:42:03] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-04-09 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:42:03] Production.INFO: ==17056== Releasing lock...
[2025-04-09 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:42:04] Production.INFO: ==17063== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:42:04] Production.INFO: ==17061== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:42:04] Production.INFO: ==17067== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:42:04] Production.INFO: ==17065== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:42:04] Production.INFO: ==17071== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:42:04] Production.INFO: ==17063== Releasing lock...
[2025-04-09 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:42:04] Production.INFO: Account Balance Start.
[2025-04-09 02:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:42:04] Production.INFO: 117
[2025-04-09 02:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:42:04] Production.INFO: ==17069== Lock acquired, processing the job...
[2025-04-09 02:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:42:04] Production.INFO: count ==12
[2025-04-09 02:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:42:04] Production.INFO: count ==23
[2025-04-09 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866549') start
[2025-04-09 02:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:42:05] Production.INFO: Total Charge 0
[2025-04-09 02:42:05] Production.INFO: CreateAllLog End
[2025-04-09 02:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866549') end
[2025-04-09 02:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:42:05] Production.INFO: 1
[2025-04-09 02:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:42:05] Production.INFO: ==17071== Releasing lock...
[2025-04-09 02:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:42:05] Production.ERROR: done
[2025-04-09 02:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:42:05] Production.ERROR: done
[2025-04-09 02:42:05] Production.INFO: Account Balance End.
[2025-04-09 02:42:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:42:05] Production.INFO: ==17067== Releasing lock...
[2025-04-09 02:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:42:06
[end_date_ymd] => 2025-04-09 02:42:06
[RateCDR] => 1
)
[2025-04-09 02:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:42:06' and `end` < '2025-04-09 02:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:42:12] Production.ERROR: CronJobId end10
[2025-04-09 02:42:12] Production.INFO: ==17065== Releasing lock...
[2025-04-09 02:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:42:15] Production.INFO: call_cost start
[2025-04-09 02:42:15] Production.INFO: call_cost end
[2025-04-09 02:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:42:16] Production.INFO: ==17061== Releasing lock...
[2025-04-09 02:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:42:19] Production.INFO: count ==138
[2025-04-09 02:42:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:42:06 - End Time 2025-04-09 02:42:06
[2025-04-09 02:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866551', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866551', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866551', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866551', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:42:19] Production.INFO: ProcessCDR(1,14866551,1,1,2)
[2025-04-09 02:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866551', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866551', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:42:23] Production.INFO: ==17069== Releasing lock...
[2025-04-09 02:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:42:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:43:01] Production.INFO: ==17123== Lock acquired, processing the job...
[2025-04-09 07:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:43:01] Production.INFO: neon service started
[2025-04-09 07:43:01] Production.INFO: neon service started
[2025-04-09 07:43:01] Production.INFO: ==17123== Releasing lock...
[2025-04-09 07:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:43:02] Production.INFO: ==17127== Lock acquired, processing the job...
[2025-04-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:43:02] Production.INFO: ==17127== Releasing lock...
[2025-04-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:43:02] Production.INFO: ==17125== Lock acquired, processing the job...
[2025-04-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:43:02] Production.INFO: ==17125== Releasing lock...
[2025-04-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:43:03] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-04-09 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:43:03] Production.INFO: ==17134== Lock acquired, processing the job...
[2025-04-09 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:43:03] Production.INFO: ==17132== Lock acquired, processing the job...
[2025-04-09 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:43:03] Production.INFO: ==17136== Lock acquired, processing the job...
[2025-04-09 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:43:03] Production.INFO: Account Balance Start.
[2025-04-09 02:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:43:03] Production.INFO: 117
[2025-04-09 02:43:03] Production.INFO: ==17138== Lock acquired, processing the job...
[2025-04-09 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:43:04] Production.INFO: Total Charge 0
[2025-04-09 02:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:43:04] Production.INFO: CreateAllLog End
[2025-04-09 02:43:04] Production.INFO: ==17140== Lock acquired, processing the job...
[2025-04-09 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:43:04] Production.INFO: ==17132== Releasing lock...
[2025-04-09 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:43:04] Production.INFO: count ==12
[2025-04-09 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:43:04] Production.INFO: count ==23
[2025-04-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866555') start
[2025-04-09 02:43:04] Production.ERROR: done
[2025-04-09 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866555') end
[2025-04-09 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:43:04] Production.INFO: 1
[2025-04-09 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:43:04] Production.INFO: ==17140== Releasing lock...
[2025-04-09 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:43:04] Production.ERROR: done
[2025-04-09 02:43:04] Production.INFO: Account Balance End.
[2025-04-09 02:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:43:04] Production.INFO: ==17136== Releasing lock...
[2025-04-09 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:43:06
[end_date_ymd] => 2025-04-09 02:43:06
[RateCDR] => 1
)
[2025-04-09 02:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:43:06' and `end` < '2025-04-09 02:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:43:12] Production.ERROR: CronJobId end10
[2025-04-09 02:43:12] Production.INFO: ==17134== Releasing lock...
[2025-04-09 02:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:43:15] Production.INFO: call_cost start
[2025-04-09 02:43:15] Production.INFO: call_cost end
[2025-04-09 02:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:43:16] Production.INFO: ==17130== Releasing lock...
[2025-04-09 02:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:43:18] Production.INFO: count ==137
[2025-04-09 02:43:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:43:06 - End Time 2025-04-09 02:43:06
[2025-04-09 02:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866556', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866556', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866556', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866556', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:43:18] Production.INFO: ProcessCDR(1,14866556,1,1,2)
[2025-04-09 02:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866556', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866556', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:43:22] Production.INFO: ==17138== Releasing lock...
[2025-04-09 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:43:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:44:02] Production.INFO: ==17194== Lock acquired, processing the job...
[2025-04-09 07:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:44:02] Production.INFO: neon service started
[2025-04-09 07:44:02] Production.INFO: neon service started
[2025-04-09 07:44:02] Production.INFO: ==17194== Releasing lock...
[2025-04-09 07:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:44:02] Production.INFO: ==17196== Lock acquired, processing the job...
[2025-04-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:44:03] Production.INFO: ==17196== Releasing lock...
[2025-04-09 02:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:44:03] Production.INFO: ==17198== Lock acquired, processing the job...
[2025-04-09 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:44:03] Production.INFO: ==17198== Releasing lock...
[2025-04-09 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:44:04] Production.INFO: ==17206== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:44:04] Production.INFO: ==17200== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:44:04] Production.INFO: ==17210== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:44:04] Production.INFO: ==17202== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:44:04] Production.INFO: Account Balance Start.
[2025-04-09 02:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:44:04] Production.INFO: 117
[2025-04-09 02:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:44:04] Production.INFO: ==17204== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:44:04] Production.INFO: count ==12
[2025-04-09 02:44:04] Production.INFO: ==17208== Lock acquired, processing the job...
[2025-04-09 02:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:44:04] Production.INFO: count ==23
[2025-04-09 02:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:44:04] Production.INFO: Total Charge 0
[2025-04-09 02:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866559') start
[2025-04-09 02:44:04] Production.INFO: CreateAllLog End
[2025-04-09 02:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866559') end
[2025-04-09 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:44:04] Production.INFO: 1
[2025-04-09 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:44:04] Production.INFO: ==17210== Releasing lock...
[2025-04-09 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:44:04] Production.INFO: ==17202== Releasing lock...
[2025-04-09 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:44:04] Production.INFO: Account Balance End.
[2025-04-09 02:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:44:04] Production.INFO: ==17206== Releasing lock...
[2025-04-09 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:44:05] Production.ERROR: done
[2025-04-09 02:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:44:05] Production.ERROR: done
[2025-04-09 02:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:44:06
[end_date_ymd] => 2025-04-09 02:44:06
[RateCDR] => 1
)
[2025-04-09 02:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:44:06' and `end` < '2025-04-09 02:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:44:14] Production.ERROR: CronJobId end10
[2025-04-09 02:44:14] Production.INFO: ==17204== Releasing lock...
[2025-04-09 02:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:44:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:44:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:44:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:44:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:44:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:44:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:44:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:44:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:44:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:44:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:44:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:44:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:44:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:44:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:44:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:44:16] Production.INFO: call_cost start
[2025-04-09 02:44:16] Production.INFO: call_cost end
[2025-04-09 02:44:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:44:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:44:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:44:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:44:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:44:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:44:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:44:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:44:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:44:18] Production.INFO: ==17200== Releasing lock...
[2025-04-09 02:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:44:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:44:19] Production.INFO: count ==138
[2025-04-09 02:44:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:44:06 - End Time 2025-04-09 02:44:06
[2025-04-09 02:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866561', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866561', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866561', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866561', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:44:19] Production.INFO: ProcessCDR(1,14866561,1,1,2)
[2025-04-09 02:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866561', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866561', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:44:24] Production.INFO: ==17208== Releasing lock...
[2025-04-09 02:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:44:24] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:45:01] Production.INFO: ==17264== Lock acquired, processing the job...
[2025-04-09 07:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:45:01] Production.INFO: neon service started
[2025-04-09 07:45:01] Production.INFO: neon service started
[2025-04-09 07:45:01] Production.INFO: ==17264== Releasing lock...
[2025-04-09 07:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:45:02] Production.INFO: ==17267== Lock acquired, processing the job...
[2025-04-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:45:02] Production.INFO: ==17269== Lock acquired, processing the job...
[2025-04-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:45:02] Production.INFO: ==17269== Releasing lock...
[2025-04-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:45:02] Production.INFO: ==17267== Releasing lock...
[2025-04-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:45:03] Production.INFO: ==17275== Lock acquired, processing the job...
[2025-04-09 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:45:03] Production.INFO: ==17281== Lock acquired, processing the job...
[2025-04-09 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02: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-04-09 02:45:04] Production.INFO: ==17271== Lock acquired, processing the job...
[2025-04-09 02:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:45:04] Production.INFO: ==17273== Lock acquired, processing the job...
[2025-04-09 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:45:04] Production.INFO: count ==12
[2025-04-09 02:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:45:04] Production.INFO: count ==23
[2025-04-09 02:45:04] Production.INFO: ==17277== Lock acquired, processing the job...
[2025-04-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:45:04] Production.INFO: ==17279== Lock acquired, processing the job...
[2025-04-09 02:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866562') start
[2025-04-09 02:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866562') end
[2025-04-09 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:45:04] Production.INFO: 1
[2025-04-09 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:45:04] Production.INFO: Account Balance Start.
[2025-04-09 02:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:45:04] Production.INFO: ==17281== Releasing lock...
[2025-04-09 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:45:04] Production.INFO: 117
[2025-04-09 02:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:45:04] Production.INFO: Total Charge 0
[2025-04-09 02:45:04] Production.INFO: CreateAllLog End
[2025-04-09 02:45:04] Production.ERROR: done
[2025-04-09 02:45:04] Production.INFO: ==17273== Releasing lock...
[2025-04-09 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:45:04] Production.INFO: Account Balance End.
[2025-04-09 02:45:04] Production.ERROR: done
[2025-04-09 02:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:45:04] Production.INFO: ==17277== Releasing lock...
[2025-04-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:45:05
[end_date_ymd] => 2025-04-09 02:45:05
[RateCDR] => 1
)
[2025-04-09 02:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:45:05' and `end` < '2025-04-09 02:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:45:14] Production.ERROR: CronJobId end10
[2025-04-09 02:45:14] Production.INFO: ==17275== Releasing lock...
[2025-04-09 02:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:45:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:45:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:45:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:45:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:45:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:45:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:45:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:45:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:45:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:45:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:45:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:45:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:45:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:45:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:45:17] Production.INFO: call_cost start
[2025-04-09 02:45:17] Production.INFO: call_cost end
[2025-04-09 02:45:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:45:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:45:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:45:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:45:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:45:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:45:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:45:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:45:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:45:18] Production.INFO: ==17271== Releasing lock...
[2025-04-09 02:45:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:45:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:45:18] Production.INFO: count ==138
[2025-04-09 02:45:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:45:05 - End Time 2025-04-09 02:45:05
[2025-04-09 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866566', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866566', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866566', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866566', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:45:18] Production.INFO: ProcessCDR(1,14866566,1,1,2)
[2025-04-09 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866566', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866566', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:45:22] Production.INFO: ==17279== Releasing lock...
[2025-04-09 02:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:45:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:46:02] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-04-09 07:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:46:02] Production.INFO: neon service started
[2025-04-09 07:46:02] Production.INFO: neon service started
[2025-04-09 07:46:02] Production.INFO: ==17336== Releasing lock...
[2025-04-09 07:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:46:02] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-04-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:46:02] Production.INFO: ==17341== Releasing lock...
[2025-04-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:46:03] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-04-09 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:46:03] Production.INFO: ==17339== Releasing lock...
[2025-04-09 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:46:04] Production.INFO: ==17343== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:46:04] Production.INFO: ==17345== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:46:04] Production.INFO: ==17349== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:46:04] Production.INFO: ==17347== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:46:04] Production.INFO: Account Balance Start.
[2025-04-09 02:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:46:04] Production.INFO: 117
[2025-04-09 02:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:46:04] Production.INFO: ==17351== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:46:04] Production.INFO: Total Charge 0
[2025-04-09 02:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:46:04] Production.INFO: CreateAllLog End
[2025-04-09 02:46:04] Production.INFO: ==17345== Releasing lock...
[2025-04-09 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:46:04] Production.INFO: ==17353== Lock acquired, processing the job...
[2025-04-09 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:46: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-04-09 02:46:05] Production.INFO: count ==12
[2025-04-09 02:46:05] Production.INFO: Account Balance End.
[2025-04-09 02:46:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:46:05] Production.INFO: count ==23
[2025-04-09 02:46:05] Production.ERROR: done
[2025-04-09 02:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866570') start
[2025-04-09 02:46:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:46:05] Production.INFO: ==17349== Releasing lock...
[2025-04-09 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866570') end
[2025-04-09 02:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:46:05] Production.INFO: 1
[2025-04-09 02:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:46:05] Production.INFO: ==17353== Releasing lock...
[2025-04-09 02:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:46:05] Production.ERROR: done
[2025-04-09 02:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:46:06
[end_date_ymd] => 2025-04-09 02:46:06
[RateCDR] => 1
)
[2025-04-09 02:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:46:06' and `end` < '2025-04-09 02:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:46:14] Production.ERROR: CronJobId end10
[2025-04-09 02:46:14] Production.INFO: ==17347== Releasing lock...
[2025-04-09 02:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:46:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:46:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:46:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:46:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:46:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:46:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:46:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:46:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:46:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:46:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:46:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:46:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:46:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:46:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:46:17] Production.INFO: call_cost start
[2025-04-09 02:46:17] Production.INFO: call_cost end
[2025-04-09 02:46:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:46:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:46:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:46:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:46:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:46:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:46:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:46:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:46:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:46:18] Production.INFO: ==17343== Releasing lock...
[2025-04-09 02:46:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:46:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:46:19] Production.INFO: count ==138
[2025-04-09 02:46:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:46:06 - End Time 2025-04-09 02:46:06
[2025-04-09 02:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866571', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866571', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866571', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866571', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:46:19] Production.INFO: ProcessCDR(1,14866571,1,1,2)
[2025-04-09 02:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866571', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866571', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:46:23] Production.INFO: ==17351== Releasing lock...
[2025-04-09 02:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:46:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:47:02] Production.INFO: ==17444== Lock acquired, processing the job...
[2025-04-09 07:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:47:02] Production.INFO: neon service started
[2025-04-09 07:47:02] Production.INFO: neon service started
[2025-04-09 07:47:02] Production.INFO: ==17444== Releasing lock...
[2025-04-09 07:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:47:02] Production.INFO: ==17447== Lock acquired, processing the job...
[2025-04-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:47:02] Production.INFO: ==17449== Lock acquired, processing the job...
[2025-04-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:47:02] Production.INFO: ==17449== Releasing lock...
[2025-04-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:47:03] Production.INFO: ==17447== Releasing lock...
[2025-04-09 02:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:47:04] Production.INFO: ==17457== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:47:04] Production.INFO: ==17461== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:47:04] Production.INFO: Account Balance Start.
[2025-04-09 02:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:47:04] Production.INFO: 117
[2025-04-09 02:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:47:04] Production.INFO: Total Charge 0
[2025-04-09 02:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:47:04] Production.INFO: CreateAllLog End
[2025-04-09 02:47:04] Production.INFO: ==17453== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:47:04] Production.INFO: count ==12
[2025-04-09 02:47:04] Production.INFO: ==17451== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:47:04] Production.INFO: ==17455== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:47:04] Production.INFO: count ==23
[2025-04-09 02:47:04] Production.INFO: Account Balance End.
[2025-04-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866573') start
[2025-04-09 02:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:47:04] Production.INFO: ==17457== Releasing lock...
[2025-04-09 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:47:04] Production.INFO: ==17459== Lock acquired, processing the job...
[2025-04-09 02:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866573') end
[2025-04-09 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:47:04] Production.INFO: 1
[2025-04-09 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:47:04] Production.INFO: ==17461== Releasing lock...
[2025-04-09 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:47:05] Production.INFO: ==17453== Releasing lock...
[2025-04-09 02:47:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:47:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:47:05] Production.ERROR: done
[2025-04-09 02:47:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:47:05] Production.ERROR: done
[2025-04-09 02:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:47:06
[end_date_ymd] => 2025-04-09 02:47:06
[RateCDR] => 1
)
[2025-04-09 02:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:47:06' and `end` < '2025-04-09 02:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:47:14] Production.ERROR: CronJobId end10
[2025-04-09 02:47:14] Production.INFO: ==17455== Releasing lock...
[2025-04-09 02:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:47:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:47:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:47:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:47:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:47:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:47:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:47:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:47:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:47:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:47:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:47:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:47:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:47:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:47:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:47:17] Production.INFO: call_cost start
[2025-04-09 02:47:17] Production.INFO: call_cost end
[2025-04-09 02:47:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:47:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:47:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:47:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:47:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:47:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:47:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:47:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:47:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:47:18] Production.INFO: ==17451== Releasing lock...
[2025-04-09 02:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:47:19] Production.INFO: count ==138
[2025-04-09 02:47:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:47:06 - End Time 2025-04-09 02:47:06
[2025-04-09 02:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866576', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866576', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866576', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866576', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:47:19] Production.INFO: ProcessCDR(1,14866576,1,1,2)
[2025-04-09 02:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866576', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866576', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:47:23] Production.INFO: ==17459== Releasing lock...
[2025-04-09 02:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:47:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:48:01] Production.INFO: ==17513== Lock acquired, processing the job...
[2025-04-09 07:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:48:01] Production.INFO: neon service started
[2025-04-09 07:48:01] Production.INFO: neon service started
[2025-04-09 07:48:01] Production.INFO: ==17513== Releasing lock...
[2025-04-09 07:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:48:02] Production.INFO: ==17515== Lock acquired, processing the job...
[2025-04-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:48:02] Production.INFO: ==17517== Lock acquired, processing the job...
[2025-04-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:48:02] Production.INFO: ==17517== Releasing lock...
[2025-04-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:48:02] Production.INFO: ==17515== Releasing lock...
[2025-04-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:48:03] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-04-09 02:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:48:04] Production.INFO: ==17531== Lock acquired, processing the job...
[2025-04-09 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:48:04] Production.INFO: ==17520== Lock acquired, processing the job...
[2025-04-09 02:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:48:04] Production.INFO: ==17522== Lock acquired, processing the job...
[2025-04-09 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:48:04] Production.INFO: ==17524== Lock acquired, processing the job...
[2025-04-09 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 02:48:04] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-04-09 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:48:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:48:04] Production.INFO: count ==23
[2025-04-09 02:48:04] Production.ERROR: done
[2025-04-09 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866577') start
[2025-04-09 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:48:04] Production.INFO: Account Balance Start.
[2025-04-09 02:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:48:04] Production.INFO: 117
[2025-04-09 02:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866577') end
[2025-04-09 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:48:04] Production.INFO: 1
[2025-04-09 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:48:04] Production.INFO: ==17531== Releasing lock...
[2025-04-09 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:48:04] Production.ERROR: done
[2025-04-09 02:48:04] Production.INFO: Total Charge 0
[2025-04-09 02:48:04] Production.INFO: CreateAllLog End
[2025-04-09 02:48:04] Production.INFO: Account Balance End.
[2025-04-09 02:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:48:04] Production.INFO: ==17527== Releasing lock...
[2025-04-09 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:48:04] Production.INFO: ==17522== Releasing lock...
[2025-04-09 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:48:05
[end_date_ymd] => 2025-04-09 02:48:05
[RateCDR] => 1
)
[2025-04-09 02:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:48:05' and `end` < '2025-04-09 02:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:48:13] Production.ERROR: CronJobId end10
[2025-04-09 02:48:13] Production.INFO: ==17524== Releasing lock...
[2025-04-09 02:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:48:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:48:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:48:16] Production.INFO: call_cost start
[2025-04-09 02:48:16] Production.INFO: call_cost end
[2025-04-09 02:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:48:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:48:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:48:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:48:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:48:17] Production.INFO: ==17520== Releasing lock...
[2025-04-09 02:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:48:18] Production.INFO: count ==138
[2025-04-09 02:48:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:48:05 - End Time 2025-04-09 02:48:05
[2025-04-09 02:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866581', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866581', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866581', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866581', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:48:18] Production.INFO: ProcessCDR(1,14866581,1,1,2)
[2025-04-09 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866581', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866581', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:48:22] Production.INFO: ==17529== Releasing lock...
[2025-04-09 02:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:48:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 07:49:02] Production.INFO: ==17585== Lock acquired, processing the job...
[2025-04-09 07:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:49:02] Production.INFO: neon service started
[2025-04-09 07:49:02] Production.INFO: neon service started
[2025-04-09 07:49:02] Production.INFO: ==17585== Releasing lock...
[2025-04-09 07:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:49:02] Production.INFO: ==17589== Lock acquired, processing the job...
[2025-04-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:49:02] Production.INFO: ==17589== Releasing lock...
[2025-04-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:49:02] Production.INFO: ==17587== Lock acquired, processing the job...
[2025-04-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:49:03] Production.INFO: ==17587== Releasing lock...
[2025-04-09 02:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:49:03] Production.INFO: ==17594== Lock acquired, processing the job...
[2025-04-09 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:49:03] Production.INFO: ==17600== Lock acquired, processing the job...
[2025-04-09 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:49:03] Production.INFO: ==17602== Lock acquired, processing the job...
[2025-04-09 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:49:04] Production.INFO: count ==12
[2025-04-09 02:49:04] Production.INFO: ==17596== Lock acquired, processing the job...
[2025-04-09 02:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:49:04] Production.INFO: ==17592== Lock acquired, processing the job...
[2025-04-09 02:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:49:04] Production.INFO: count ==23
[2025-04-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866583') start
[2025-04-09 02:49:04] Production.INFO: ==17598== Lock acquired, processing the job...
[2025-04-09 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866583') end
[2025-04-09 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:49:04] Production.INFO: 1
[2025-04-09 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:49:04] Production.INFO: Account Balance Start.
[2025-04-09 02:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:49:04] Production.INFO: 117
[2025-04-09 02:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:49:04] Production.INFO: ==17602== Releasing lock...
[2025-04-09 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:49:04] Production.INFO: ==17594== Releasing lock...
[2025-04-09 02:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:49:04] Production.ERROR: done
[2025-04-09 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:49:04] Production.INFO: Total Charge 0
[2025-04-09 02:49:04] Production.INFO: CreateAllLog End
[2025-04-09 02:49:04] Production.ERROR: done
[2025-04-09 02:49:04] Production.INFO: Account Balance End.
[2025-04-09 02:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:49:04] Production.INFO: ==17598== Releasing lock...
[2025-04-09 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:49:05
[end_date_ymd] => 2025-04-09 02:49:05
[RateCDR] => 1
)
[2025-04-09 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:49:05' and `end` < '2025-04-09 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:49:12] Production.ERROR: CronJobId end10
[2025-04-09 02:49:12] Production.INFO: ==17596== Releasing lock...
[2025-04-09 02:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:49:15] Production.INFO: call_cost start
[2025-04-09 02:49:15] Production.INFO: call_cost end
[2025-04-09 02:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:49:17] Production.INFO: ==17592== Releasing lock...
[2025-04-09 02:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:49:18] Production.INFO: count ==196
[2025-04-09 02:49:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:49:05 - End Time 2025-04-09 02:49:05
[2025-04-09 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866586', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866586', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866586', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866586', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:49:18] Production.INFO: ProcessCDR(1,14866586,1,1,2)
[2025-04-09 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866586', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866586', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:49:22] Production.INFO: ==17600== Releasing lock...
[2025-04-09 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:49:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 07:50:01] Production.INFO: ==17658== Lock acquired, processing the job...
[2025-04-09 07:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:50:01] Production.INFO: neon service started
[2025-04-09 07:50:01] Production.INFO: neon service started
[2025-04-09 07:50:01] Production.INFO: ==17658== Releasing lock...
[2025-04-09 07:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:50:02] Production.INFO: ==17660== Lock acquired, processing the job...
[2025-04-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:50:02] Production.INFO: ==17662== Lock acquired, processing the job...
[2025-04-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:50:02] Production.INFO: ==17660== Releasing lock...
[2025-04-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:50:02] Production.INFO: ==17662== Releasing lock...
[2025-04-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:50:03] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-04-09 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 02:50:03] Production.INFO: ==17666== Lock acquired, processing the job...
[2025-04-09 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:50:03] Production.INFO: ==17671== Lock acquired, processing the job...
[2025-04-09 02:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:50:03] Production.INFO: ==17673== Lock acquired, processing the job...
[2025-04-09 02:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:50:03] Production.INFO: ==17669== Lock acquired, processing the job...
[2025-04-09 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 02:50:04] Production.ERROR: CronJob PID - 17666
[2025-04-09 02:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 02:50:04] Production.ERROR: CronJob ID - 5
[2025-04-09 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 02:50:00
[2025-04-09 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 02:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 02:50:04] Production.INFO: ==17664== Releasing lock...
[2025-04-09 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 02:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 02:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:50:04] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-04-09 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:50:04] Production.INFO: Account Balance Start.
[2025-04-09 02:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:50:04] Production.INFO: 117
[2025-04-09 02:50:04] Production.INFO: ==17675== Lock acquired, processing the job...
[2025-04-09 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:50:04] Production.INFO: Total Charge 0
[2025-04-09 02:50:04] Production.INFO: CreateAllLog End
[2025-04-09 02:50:04] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-04-09 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:50:04] Production.INFO: ==17669== Releasing lock...
[2025-04-09 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02: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-04-09 02:50:04] Production.INFO: count ==12
[2025-04-09 02:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:50:04] Production.INFO: count ==23
[2025-04-09 02:50:04] Production.ERROR: done
[2025-04-09 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866590') start
[2025-04-09 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866591', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 02:50:04] Production.INFO: Account Balance End.
[2025-04-09 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866590') end
[2025-04-09 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:50:04] Production.INFO: 1
[2025-04-09 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:50:04] Production.INFO: ==17673== Releasing lock...
[2025-04-09 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:50:04] Production.INFO: ==17679== Releasing lock...
[2025-04-09 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:50:04] Production.ERROR: done
[2025-04-09 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:50:05] Production.ERROR: done
[2025-04-09 02:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:50:06
[end_date_ymd] => 2025-04-09 02:50:06
[RateCDR] => 1
)
[2025-04-09 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-04-08 23:50:06' and `end` < '2025-04-09 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-04-09 02:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866591', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 02:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 02:50:09] Production.INFO: ProcessCDR(1,14866591,1,1,2)
[2025-04-09 02:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866591,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866591,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:50:10] Production.INFO: ==17677== Releasing lock...
[2025-04-09 02:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 02:50:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 02:50:15] Production.ERROR: CronJobId end10
[2025-04-09 02:50:15] Production.INFO: ==17671== Releasing lock...
[2025-04-09 02:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:50:18] Production.INFO: call_cost start
[2025-04-09 02:50:18] Production.INFO: call_cost end
[2025-04-09 02:50:18] Production.INFO: count ==209
[2025-04-09 02:50:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:50:06 - End Time 2025-04-09 02:50:06
[2025-04-09 02:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866592', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866592', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866592', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866592', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:50:19] Production.INFO: ProcessCDR(1,14866592,1,1,2)
[2025-04-09 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:50:19] Production.INFO: ==17666== Releasing lock...
[2025-04-09 02:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866592', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866592', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:50:23] Production.INFO: ==17675== Releasing lock...
[2025-04-09 02:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:50:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:51:02] Production.INFO: ==17732== Lock acquired, processing the job...
[2025-04-09 07:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:51:02] Production.INFO: neon service started
[2025-04-09 07:51:02] Production.INFO: neon service started
[2025-04-09 07:51:02] Production.INFO: ==17732== Releasing lock...
[2025-04-09 07:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:51:02] Production.INFO: ==17737== Lock acquired, processing the job...
[2025-04-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:51:02] Production.INFO: ==17737== Releasing lock...
[2025-04-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:51:02] Production.INFO: ==17734== Lock acquired, processing the job...
[2025-04-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:51:03] Production.INFO: ==17734== Releasing lock...
[2025-04-09 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:51:04] Production.INFO: ==17739== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:51:04] Production.INFO: ==17743== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:51:04] Production.INFO: ==17741== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:51:04] Production.INFO: ==17745== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:51:04] Production.INFO: ==17747== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:51:04] Production.INFO: Account Balance Start.
[2025-04-09 02:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:51:04] Production.INFO: 117
[2025-04-09 02:51:04] Production.INFO: ==17749== Lock acquired, processing the job...
[2025-04-09 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 02: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-04-09 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:51:04] Production.INFO: count ==12
[2025-04-09 02:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:51:04] Production.INFO: count ==23
[2025-04-09 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866596') start
[2025-04-09 02:51:04] Production.ERROR: done
[2025-04-09 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:51:04] Production.INFO: Total Charge 0
[2025-04-09 02:51:04] Production.INFO: ==17741== Releasing lock...
[2025-04-09 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:51:04] Production.INFO: CreateAllLog End
[2025-04-09 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866596') end
[2025-04-09 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:51:04] Production.INFO: 1
[2025-04-09 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:51:05] Production.INFO: ==17749== Releasing lock...
[2025-04-09 02:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:51:05] Production.ERROR: done
[2025-04-09 02:51:05] Production.INFO: Account Balance End.
[2025-04-09 02:51:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:51:05] Production.INFO: ==17745== Releasing lock...
[2025-04-09 02:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:51:06
[end_date_ymd] => 2025-04-09 02:51:06
[RateCDR] => 1
)
[2025-04-09 02: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-04-08 23:51:06' and `end` < '2025-04-09 02: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-04-09 02:51:13] Production.ERROR: CronJobId end10
[2025-04-09 02:51:13] Production.INFO: ==17743== Releasing lock...
[2025-04-09 02:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:51:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:51:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:51:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:51:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:51:16] Production.INFO: call_cost start
[2025-04-09 02:51:16] Production.INFO: call_cost end
[2025-04-09 02:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:51:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:51:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:51:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:51:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:51:17] Production.INFO: ==17739== Releasing lock...
[2025-04-09 02:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:51:19] Production.INFO: count ==209
[2025-04-09 02:51:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:51:06 - End Time 2025-04-09 02:51:06
[2025-04-09 02:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866597', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866597', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866597', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866597', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:51:19] Production.INFO: ProcessCDR(1,14866597,1,1,2)
[2025-04-09 02:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866597', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866597', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:51:22] Production.INFO: ==17747== Releasing lock...
[2025-04-09 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:51:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:52:01] Production.INFO: ==17802== Lock acquired, processing the job...
[2025-04-09 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:52:01] Production.INFO: neon service started
[2025-04-09 07:52:01] Production.INFO: neon service started
[2025-04-09 07:52:01] Production.INFO: ==17802== Releasing lock...
[2025-04-09 07:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:52:02] Production.INFO: ==17804== Lock acquired, processing the job...
[2025-04-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:52:02] Production.INFO: ==17806== Lock acquired, processing the job...
[2025-04-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:52:02] Production.INFO: ==17806== Releasing lock...
[2025-04-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:52:02] Production.INFO: ==17804== Releasing lock...
[2025-04-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:52:03] Production.INFO: ==17813== Lock acquired, processing the job...
[2025-04-09 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:52:03] Production.INFO: ==17815== Lock acquired, processing the job...
[2025-04-09 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:52:04] Production.INFO: ==17809== Lock acquired, processing the job...
[2025-04-09 02:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:52:04] Production.INFO: Account Balance Start.
[2025-04-09 02:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:52:04] Production.INFO: 117
[2025-04-09 02:52:04] Production.INFO: ==17811== Lock acquired, processing the job...
[2025-04-09 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:52:04] Production.INFO: Total Charge 0
[2025-04-09 02:52:04] Production.INFO: ==17817== Lock acquired, processing the job...
[2025-04-09 02:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:52:04] Production.INFO: CreateAllLog End
[2025-04-09 02:52:04] Production.INFO: ==17819== Lock acquired, processing the job...
[2025-04-09 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:52:04] Production.INFO: Account Balance End.
[2025-04-09 02:52:04] Production.INFO: count ==12
[2025-04-09 02:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:52:04] Production.INFO: count ==23
[2025-04-09 02:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866601') start
[2025-04-09 02:52:04] Production.INFO: ==17815== Releasing lock...
[2025-04-09 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:52:04] Production.INFO: ==17811== Releasing lock...
[2025-04-09 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866601') end
[2025-04-09 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:52:04] Production.INFO: 1
[2025-04-09 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:52:05] Production.INFO: ==17819== Releasing lock...
[2025-04-09 02:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:52:05] Production.ERROR: done
[2025-04-09 02:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:52:05] Production.ERROR: done
[2025-04-09 02:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:52:06
[end_date_ymd] => 2025-04-09 02:52:06
[RateCDR] => 1
)
[2025-04-09 02:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:52:06' and `end` < '2025-04-09 02:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:52:12] Production.ERROR: CronJobId end10
[2025-04-09 02:52:12] Production.INFO: ==17813== Releasing lock...
[2025-04-09 02:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:52:16] Production.INFO: call_cost start
[2025-04-09 02:52:16] Production.INFO: call_cost end
[2025-04-09 02:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:52:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:52:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:52:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:52:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:52:17] Production.INFO: ==17809== Releasing lock...
[2025-04-09 02:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:52:19] Production.INFO: count ==209
[2025-04-09 02:52:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:52:06 - End Time 2025-04-09 02:52:06
[2025-04-09 02:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866602', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866602', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866602', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866602', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:52:19] Production.INFO: ProcessCDR(1,14866602,1,1,2)
[2025-04-09 02:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866602', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866602', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:52:22] Production.INFO: ==17817== Releasing lock...
[2025-04-09 02:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:52:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:53:02] Production.INFO: ==17872== Lock acquired, processing the job...
[2025-04-09 07:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:53:02] Production.INFO: neon service started
[2025-04-09 07:53:02] Production.INFO: neon service started
[2025-04-09 07:53:02] Production.INFO: ==17872== Releasing lock...
[2025-04-09 07:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:53:02] Production.INFO: ==17875== Lock acquired, processing the job...
[2025-04-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:53:03] Production.INFO: ==17877== Lock acquired, processing the job...
[2025-04-09 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:53:03] Production.INFO: ==17875== Releasing lock...
[2025-04-09 02:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:53:03] Production.INFO: ==17877== Releasing lock...
[2025-04-09 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:53:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:53:04] Production.INFO: ==17881== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:53:04] Production.INFO: ==17885== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:53:04] Production.INFO: ==17889== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:53:04] Production.INFO: ==17879== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:53:04] Production.INFO: ==17881== Releasing lock...
[2025-04-09 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:53:04] Production.INFO: Account Balance Start.
[2025-04-09 02:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:53:04] Production.INFO: 117
[2025-04-09 02:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:53:04] Production.INFO: count ==12
[2025-04-09 02:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:53:04] Production.INFO: count ==23
[2025-04-09 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866604') start
[2025-04-09 02:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:53:04] Production.INFO: ==17887== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:53:04] Production.INFO: Total Charge 0
[2025-04-09 02:53:04] Production.INFO: ==17883== Lock acquired, processing the job...
[2025-04-09 02:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:53:04] Production.INFO: CreateAllLog End
[2025-04-09 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866604') end
[2025-04-09 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:53:04] Production.INFO: 1
[2025-04-09 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:53:04] Production.INFO: ==17889== Releasing lock...
[2025-04-09 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:53:04] Production.INFO: Account Balance End.
[2025-04-09 02:53:04] Production.ERROR: done
[2025-04-09 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:53:04] Production.INFO: ==17885== Releasing lock...
[2025-04-09 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:53:04] Production.ERROR: done
[2025-04-09 02:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:53:06
[end_date_ymd] => 2025-04-09 02:53:06
[RateCDR] => 1
)
[2025-04-09 02:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:53:06' and `end` < '2025-04-09 02:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:53:13] Production.ERROR: CronJobId end10
[2025-04-09 02:53:13] Production.INFO: ==17883== Releasing lock...
[2025-04-09 02:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:53:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:53:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:53:17] Production.INFO: call_cost start
[2025-04-09 02:53:17] Production.INFO: call_cost end
[2025-04-09 02:53:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:53:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:53:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:53:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:53:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:53:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:53:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:53:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:53:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:53:18] Production.INFO: ==17879== Releasing lock...
[2025-04-09 02:53:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:53:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:53:18] Production.INFO: count ==209
[2025-04-09 02:53:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:53:06 - End Time 2025-04-09 02:53:06
[2025-04-09 02:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866607', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866607', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866607', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866607', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:53:18] Production.INFO: ProcessCDR(1,14866607,1,1,2)
[2025-04-09 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866607', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866607', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:53:22] Production.INFO: ==17887== Releasing lock...
[2025-04-09 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:53:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:54:01] Production.INFO: ==17953== Lock acquired, processing the job...
[2025-04-09 07:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:54:01] Production.INFO: neon service started
[2025-04-09 07:54:01] Production.INFO: neon service started
[2025-04-09 07:54:01] Production.INFO: ==17953== Releasing lock...
[2025-04-09 07:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:54:02] Production.INFO: ==17956== Lock acquired, processing the job...
[2025-04-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:54:02] Production.INFO: ==17958== Lock acquired, processing the job...
[2025-04-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:54:02] Production.INFO: ==17958== Releasing lock...
[2025-04-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:54:03] Production.INFO: ==17956== Releasing lock...
[2025-04-09 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:54:04] Production.INFO: ==17965== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:54:04] Production.INFO: ==17971== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:54:04] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:54:04] Production.INFO: count ==12
[2025-04-09 02:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:54:04] Production.INFO: count ==23
[2025-04-09 02:54:04] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866608') start
[2025-04-09 02:54:04] Production.INFO: ==17967== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:54:04] Production.INFO: ==17969== Lock acquired, processing the job...
[2025-04-09 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866608') end
[2025-04-09 02:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:54:04] Production.INFO: 1
[2025-04-09 02:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:54:04] Production.INFO: ==17971== Releasing lock...
[2025-04-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:54:04] Production.INFO: Account Balance Start.
[2025-04-09 02:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:54:04] Production.INFO: 117
[2025-04-09 02:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:54:04] Production.INFO: Total Charge 0
[2025-04-09 02:54:04] Production.INFO: CreateAllLog End
[2025-04-09 02:54:04] Production.ERROR: done
[2025-04-09 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:54:05] Production.INFO: ==17963== Releasing lock...
[2025-04-09 02:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:54:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:54:05] Production.ERROR: done
[2025-04-09 02:54:05] Production.INFO: Account Balance End.
[2025-04-09 02:54:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:54:05] Production.INFO: ==17967== Releasing lock...
[2025-04-09 02:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:54:06
[end_date_ymd] => 2025-04-09 02:54:06
[RateCDR] => 1
)
[2025-04-09 02:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:54:06' and `end` < '2025-04-09 02:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:54:12] Production.ERROR: CronJobId end10
[2025-04-09 02:54:12] Production.INFO: ==17965== Releasing lock...
[2025-04-09 02:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:54:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:54:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:54:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:54:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:54:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:54:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:54:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:54:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:54:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:54:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:54:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:54:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:54:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:54:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:54:16] Production.INFO: call_cost start
[2025-04-09 02:54:16] Production.INFO: call_cost end
[2025-04-09 02:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:54:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:54:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:54:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:54:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:54:17] Production.INFO: ==17961== Releasing lock...
[2025-04-09 02:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:54:18] Production.INFO: count ==208
[2025-04-09 02:54:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:54:06 - End Time 2025-04-09 02:54:06
[2025-04-09 02:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866612', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866612', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866612', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866612', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:54:19] Production.INFO: ProcessCDR(1,14866612,1,1,2)
[2025-04-09 02:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866612', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866612', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:54:22] Production.INFO: ==17969== Releasing lock...
[2025-04-09 02:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:54:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:55:01] Production.INFO: ==18030== Lock acquired, processing the job...
[2025-04-09 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:55:01] Production.INFO: neon service started
[2025-04-09 07:55:01] Production.INFO: neon service started
[2025-04-09 07:55:01] Production.INFO: ==18030== Releasing lock...
[2025-04-09 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:55:01] Production.INFO: ==18032== Lock acquired, processing the job...
[2025-04-09 02:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:55:02] Production.INFO: ==18034== Lock acquired, processing the job...
[2025-04-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:55:02] Production.INFO: ==18034== Releasing lock...
[2025-04-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:55:02] Production.INFO: ==18032== Releasing lock...
[2025-04-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 02:55:03] Production.INFO: ==18037== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:55:03] Production.INFO: ==18039== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:55:03] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:55:03] Production.INFO: count ==12
[2025-04-09 02:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:55:03] Production.INFO: count ==23
[2025-04-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866615') start
[2025-04-09 02:55:03] Production.INFO: ==18041== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:55:03] Production.INFO: ==18043== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:55:03] Production.INFO: ==18039== Releasing lock...
[2025-04-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:55:03] Production.INFO: ==18045== Lock acquired, processing the job...
[2025-04-09 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866615') end
[2025-04-09 02:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:55:03] Production.INFO: 1
[2025-04-09 02:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:55:03] Production.INFO: ==18047== Releasing lock...
[2025-04-09 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:55:03] Production.INFO: Account Balance Start.
[2025-04-09 02:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:55:03] Production.INFO: 117
[2025-04-09 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:55:04] Production.INFO: Total Charge 0
[2025-04-09 02:55:04] Production.ERROR: done
[2025-04-09 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:55:04] Production.INFO: CreateAllLog End
[2025-04-09 02:55:04] Production.ERROR: done
[2025-04-09 02:55:04] Production.INFO: Account Balance End.
[2025-04-09 02:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:55:04] Production.INFO: ==18043== Releasing lock...
[2025-04-09 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:55:05
[end_date_ymd] => 2025-04-09 02:55:05
[RateCDR] => 1
)
[2025-04-09 02:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:55:05' and `end` < '2025-04-09 02:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:55:12] Production.ERROR: CronJobId end10
[2025-04-09 02:55:12] Production.INFO: ==18041== Releasing lock...
[2025-04-09 02:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:55:15] Production.INFO: call_cost start
[2025-04-09 02:55:15] Production.INFO: call_cost end
[2025-04-09 02:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:55:16] Production.INFO: ==18037== Releasing lock...
[2025-04-09 02:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:55:17] Production.INFO: count ==208
[2025-04-09 02:55:17] Production.ERROR: pbx CDR StartTime 2025-04-08 23:55:05 - End Time 2025-04-09 02:55:05
[2025-04-09 02:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866617', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866617', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866617', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866617', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:55:18] Production.INFO: ProcessCDR(1,14866617,1,1,2)
[2025-04-09 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866617', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866617', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:55:21] Production.INFO: ==18045== Releasing lock...
[2025-04-09 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:55:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 07:56:01] Production.INFO: ==18103== Lock acquired, processing the job...
[2025-04-09 07:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:56:01] Production.INFO: neon service started
[2025-04-09 07:56:01] Production.INFO: neon service started
[2025-04-09 07:56:01] Production.INFO: ==18103== Releasing lock...
[2025-04-09 07:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:56:02] Production.INFO: ==18105== Lock acquired, processing the job...
[2025-04-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:56:02] Production.INFO: ==18105== Releasing lock...
[2025-04-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:56:02] Production.INFO: ==18107== Lock acquired, processing the job...
[2025-04-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:56:03] Production.INFO: ==18107== Releasing lock...
[2025-04-09 06:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:56:03] Production.INFO: ==18113== Lock acquired, processing the job...
[2025-04-09 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:56:03] Production.INFO: ==18120== Lock acquired, processing the job...
[2025-04-09 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 02:56:04] Production.INFO: ==18109== Lock acquired, processing the job...
[2025-04-09 02:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:56:04] Production.INFO: count ==12
[2025-04-09 02:56:04] Production.INFO: ==18111== Lock acquired, processing the job...
[2025-04-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:56:04] Production.INFO: count ==23
[2025-04-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866618') start
[2025-04-09 02:56:04] Production.INFO: ==18115== Lock acquired, processing the job...
[2025-04-09 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:56:04] Production.INFO: ==18117== Lock acquired, processing the job...
[2025-04-09 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:56:04] Production.INFO: Account Balance Start.
[2025-04-09 02:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:56:04] Production.INFO: 117
[2025-04-09 02:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866618') end
[2025-04-09 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:56:04] Production.INFO: 1
[2025-04-09 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:56:04] Production.INFO: Total Charge 0
[2025-04-09 02:56:04] Production.INFO: CreateAllLog End
[2025-04-09 02:56:04] Production.INFO: ==18120== Releasing lock...
[2025-04-09 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:56:04] Production.ERROR: done
[2025-04-09 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:56:04] Production.INFO: ==18111== Releasing lock...
[2025-04-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:56:05] Production.ERROR: done
[2025-04-09 02:56:05] Production.INFO: Account Balance End.
[2025-04-09 02:56:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:56:05] Production.INFO: ==18115== Releasing lock...
[2025-04-09 02:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:56:06
[end_date_ymd] => 2025-04-09 02:56:06
[RateCDR] => 1
)
[2025-04-09 02:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:56:06' and `end` < '2025-04-09 02:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:56:12] Production.ERROR: CronJobId end10
[2025-04-09 02:56:12] Production.INFO: ==18113== Releasing lock...
[2025-04-09 02:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:56:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:56:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:56:16] Production.INFO: call_cost start
[2025-04-09 02:56:16] Production.INFO: call_cost end
[2025-04-09 02:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:56:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:56:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:56:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:56:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:56:17] Production.INFO: ==18109== Releasing lock...
[2025-04-09 02:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:56:19] Production.INFO: count ==210
[2025-04-09 02:56:19] Production.ERROR: pbx CDR StartTime 2025-04-08 23:56:06 - End Time 2025-04-09 02:56:06
[2025-04-09 02:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866622', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866622', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866622', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866622', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:56:19] Production.INFO: ProcessCDR(1,14866622,1,1,2)
[2025-04-09 02:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866622', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866622', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:56:22] Production.INFO: ==18117== Releasing lock...
[2025-04-09 02:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:56:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 07:57:01] Production.INFO: ==18175== Lock acquired, processing the job...
[2025-04-09 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:57:01] Production.INFO: neon service started
[2025-04-09 07:57:01] Production.INFO: neon service started
[2025-04-09 07:57:01] Production.INFO: ==18175== Releasing lock...
[2025-04-09 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:57:01] Production.INFO: ==18177== Lock acquired, processing the job...
[2025-04-09 02:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:57:02] Production.INFO: ==18177== Releasing lock...
[2025-04-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:57:02] Production.INFO: ==18179== Lock acquired, processing the job...
[2025-04-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:57:02] Production.INFO: ==18179== Releasing lock...
[2025-04-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:57:03] Production.INFO: ==18183== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:57:03] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:57:03] Production.INFO: ==18181== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:57:03] Production.INFO: ==18185== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:57:03] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:57:03] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-04-09 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:57:03] Production.INFO: Account Balance Start.
[2025-04-09 02:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:57:03] Production.INFO: 117
[2025-04-09 02:57:03] Production.INFO: ==18183== Releasing lock...
[2025-04-09 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:57:03] Production.ERROR: done
[2025-04-09 02:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:57:03] Production.INFO: count ==12
[2025-04-09 02:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:57:04] Production.INFO: count ==23
[2025-04-09 02:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:57:04] Production.ERROR: done
[2025-04-09 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866626') start
[2025-04-09 02:57:04] Production.INFO: Total Charge 0
[2025-04-09 02:57:04] Production.INFO: CreateAllLog End
[2025-04-09 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866626') end
[2025-04-09 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:57:04] Production.INFO: 1
[2025-04-09 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:57:04] Production.INFO: ==18191== Releasing lock...
[2025-04-09 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:57:04] Production.INFO: Account Balance End.
[2025-04-09 02:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:57:04] Production.INFO: ==18187== Releasing lock...
[2025-04-09 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:57:05
[end_date_ymd] => 2025-04-09 02:57:05
[RateCDR] => 1
)
[2025-04-09 02:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:57:05' and `end` < '2025-04-09 02:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:57:12] Production.ERROR: CronJobId end10
[2025-04-09 02:57:12] Production.INFO: ==18185== Releasing lock...
[2025-04-09 02:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:57:16] Production.INFO: call_cost start
[2025-04-09 02:57:16] Production.INFO: call_cost end
[2025-04-09 02:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:57:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:57:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:57:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:57:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:57:17] Production.INFO: ==18181== Releasing lock...
[2025-04-09 02:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:57:18] Production.INFO: count ==208
[2025-04-09 02:57:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:57:05 - End Time 2025-04-09 02:57:05
[2025-04-09 02:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866627', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866627', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866627', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866627', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:57:18] Production.INFO: ProcessCDR(1,14866627,1,1,2)
[2025-04-09 02:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866627', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866627', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:57:22] Production.INFO: ==18189== Releasing lock...
[2025-04-09 02:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:57:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 07:58:02] Production.INFO: ==18246== Lock acquired, processing the job...
[2025-04-09 07:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:58:02] Production.INFO: neon service started
[2025-04-09 07:58:02] Production.INFO: neon service started
[2025-04-09 07:58:02] Production.INFO: ==18246== Releasing lock...
[2025-04-09 07:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:58:02] Production.INFO: ==18249== Lock acquired, processing the job...
[2025-04-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 02:58:02] Production.INFO: ==18249== Releasing lock...
[2025-04-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:58:02] Production.INFO: ==18251== Lock acquired, processing the job...
[2025-04-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:58:03] Production.INFO: ==18251== Releasing lock...
[2025-04-09 06:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:58:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:58:03] Production.INFO: ==18253== Lock acquired, processing the job...
[2025-04-09 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:58:03] Production.INFO: ==18255== Lock acquired, processing the job...
[2025-04-09 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:58:03] Production.INFO: ==18261== Lock acquired, processing the job...
[2025-04-09 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:58:04] Production.INFO: ==18257== Lock acquired, processing the job...
[2025-04-09 02:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:58:04] Production.INFO: ==18259== Lock acquired, processing the job...
[2025-04-09 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:58:04] Production.INFO: ==18263== Lock acquired, processing the job...
[2025-04-09 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:58:04] Production.INFO: ==18255== Releasing lock...
[2025-04-09 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:58:04] Production.INFO: Account Balance Start.
[2025-04-09 02:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 02:58:04] Production.INFO: 117
[2025-04-09 02:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 02:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 02:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 02:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 02:58:04] Production.ERROR: done
[2025-04-09 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:58:04] Production.INFO: Total Charge 0
[2025-04-09 02:58:04] Production.INFO: count ==12
[2025-04-09 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-04-09 02:58:04] Production.INFO: count ==23
[2025-04-09 02:58:04] Production.INFO: CreateAllLog End
[2025-04-09 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866631') start
[2025-04-09 02:58:04] Production.ERROR: done
[2025-04-09 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866631') end
[2025-04-09 02:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:58:04] Production.INFO: 1
[2025-04-09 02:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:58:04] Production.INFO: ==18263== Releasing lock...
[2025-04-09 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:58:04] Production.INFO: Account Balance End.
[2025-04-09 02:58:05] Production.ERROR: CronJobId end 12
[2025-04-09 02:58:05] Production.INFO: ==18259== Releasing lock...
[2025-04-09 02:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:58:06
[end_date_ymd] => 2025-04-09 02:58:06
[RateCDR] => 1
)
[2025-04-09 02:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-08 23:58:06' and `end` < '2025-04-09 02:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 02:58:13] Production.ERROR: CronJobId end10
[2025-04-09 02:58:13] Production.INFO: ==18257== Releasing lock...
[2025-04-09 02:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:58:16] Production.INFO: call_cost start
[2025-04-09 02:58:16] Production.INFO: call_cost end
[2025-04-09 02:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:58:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:58:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:58:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:58:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:58:17] Production.INFO: ==18253== Releasing lock...
[2025-04-09 02:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:58:18] Production.INFO: count ==208
[2025-04-09 02:58:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:58:06 - End Time 2025-04-09 02:58:06
[2025-04-09 02:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866632', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866632', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866632', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866632', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:58:19] Production.INFO: ProcessCDR(1,14866632,1,1,2)
[2025-04-09 02:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866632', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866632', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:58:23] Production.INFO: ==18261== Releasing lock...
[2025-04-09 02:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:58:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 07:59:01] Production.INFO: ==18322== Lock acquired, processing the job...
[2025-04-09 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 07:59:01] Production.INFO: neon service started
[2025-04-09 07:59:01] Production.INFO: neon service started
[2025-04-09 07:59:01] Production.INFO: ==18322== Releasing lock...
[2025-04-09 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 02:59:02] Production.INFO: ==18324== Lock acquired, processing the job...
[2025-04-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:59:02] Production.INFO: ==18326== Lock acquired, processing the job...
[2025-04-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 02:59:02] Production.INFO: ==18324== Releasing lock...
[2025-04-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:59:02] Production.INFO: ==18326== Releasing lock...
[2025-04-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 02:59:03] Production.INFO: ==18329== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 02:59:03] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 02:59:03] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 02:59:03] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 02:59:03] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 02:59:03] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-04-09 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 02:59:03] Production.INFO: ==18331== Releasing lock...
[2025-04-09 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 02:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 02:59:03] Production.INFO: Account Balance Start.
[2025-04-09 02:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 02:59:03] Production.INFO: 117
[2025-04-09 02:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 02:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 02:59:03] Production.INFO: count ==12
[2025-04-09 02:59:03] Production.INFO: Total Charge 0
[2025-04-09 02:59:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 02:59:04] Production.INFO: count ==23
[2025-04-09 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866636') start
[2025-04-09 02:59:04] Production.ERROR: done
[2025-04-09 02:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866636') end
[2025-04-09 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 02:59:04] Production.INFO: 1
[2025-04-09 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 02:59:04] Production.INFO: ==18339== Releasing lock...
[2025-04-09 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 02:59:04] Production.ERROR: done
[2025-04-09 02:59:04] Production.INFO: Account Balance End.
[2025-04-09 02:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 02:59:04] Production.INFO: ==18335== Releasing lock...
[2025-04-09 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-08 23:59:05
[end_date_ymd] => 2025-04-09 02:59:05
[RateCDR] => 1
)
[2025-04-09 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-04-08 23:59:05' and `end` < '2025-04-09 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-04-09 02:59:13] Production.ERROR: CronJobId end10
[2025-04-09 02:59:13] Production.INFO: ==18333== Releasing lock...
[2025-04-09 02:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 02:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 02:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 02:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 02:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 02:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 02:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 02:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 02:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 02:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 02:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 02:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 02:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 02:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 02:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 02:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 02:59:16] Production.INFO: call_cost start
[2025-04-09 02:59:16] Production.INFO: call_cost end
[2025-04-09 02:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 02:59:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 02:59:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 02:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 02:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 02:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 02:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 02:59:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 02:59:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 02:59:17] Production.INFO: ==18329== Releasing lock...
[2025-04-09 02:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 02:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 02:59:18] Production.INFO: count ==208
[2025-04-09 02:59:18] Production.ERROR: pbx CDR StartTime 2025-04-08 23:59:05 - End Time 2025-04-09 02:59:05
[2025-04-09 02:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866637', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866637', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866637', 'tblTempVendorCDR_20' ) start
[2025-04-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866637', 'tblTempVendorCDR_20' ) end
[2025-04-09 02:59:18] Production.INFO: ProcessCDR(1,14866637,1,1,2)
[2025-04-09 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866637', 'tblTempUsageDetail_20' ) start
[2025-04-09 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866637', 'tblTempUsageDetail_20' ) end
[2025-04-09 02:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 02:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 02:59:22] Production.INFO: ==18337== Releasing lock...
[2025-04-09 02:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 02:59:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:00:02] Production.INFO: ==18393== Lock acquired, processing the job...
[2025-04-09 08:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:00:02] Production.INFO: neon service started
[2025-04-09 08:00:02] Production.INFO: neon service started
[2025-04-09 08:00:02] Production.INFO: ==18393== Releasing lock...
[2025-04-09 08:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:00:02] Production.INFO: ==18395== Lock acquired, processing the job...
[2025-04-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:00:02] Production.INFO: ==18395== Releasing lock...
[2025-04-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:00:02] Production.INFO: ==18397== Lock acquired, processing the job...
[2025-04-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:00:03] Production.INFO: ==18397== Releasing lock...
[2025-04-09 07:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:00:04] Production.INFO: ==18406== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:00:04] Production.INFO: ==18408== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:00:04] Production.INFO: ==18400== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:00:04] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:00:04] Production.INFO: Account Balance Start.
[2025-04-09 03:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:00:04] Production.INFO: 117
[2025-04-09 03:00:04] Production.INFO: ==18402== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:00:04] Production.ERROR: CronJob PID - 18406
[2025-04-09 03:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 03:00:04] Production.ERROR: CronJob ID - 10
[2025-04-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:00:00
[2025-04-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:00:04] Production.ERROR: CronJob PID - 18408
[2025-04-09 03:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 03:00:04] Production.ERROR: CronJob ID - 12
[2025-04-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:00:00
[2025-04-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:00:04] Production.ERROR: CronJob PID - 18410
[2025-04-09 03:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 03:00:04] Production.ERROR: CronJob ID - 16
[2025-04-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:00:00
[2025-04-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:00:04] Production.INFO: ==18404== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:00:04] Production.INFO: Total Charge 0
[2025-04-09 03:00:04] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:00:04] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-04-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:00:04] Production.INFO: CreateAllLog End
[2025-04-09 03:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:00:04] Production.INFO: ==18400== Releasing lock...
[2025-04-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:00:04] Production.ERROR: done
[2025-04-09 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:00:04] Production.INFO: Account Balance End.
[2025-04-09 03:00:04] Production.INFO: count ==12
[2025-04-09 03:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:00:04] Production.INFO: ==18408== Releasing lock...
[2025-04-09 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:00:04] Production.INFO: count ==23
[2025-04-09 03:00:04] Production.ERROR: done
[2025-04-09 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866641') start
[2025-04-09 03:00:05] Production.INFO: ==18404== Releasing lock...
[2025-04-09 03:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:00:05] Production.ERROR: done
[2025-04-09 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866641') end
[2025-04-09 03:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:00:05] Production.INFO: 1
[2025-04-09 03:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866643', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:00:05] Production.INFO: ==18414== Releasing lock...
[2025-04-09 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:00:06
[end_date_ymd] => 2025-04-09 03:00:06
[RateCDR] => 1
)
[2025-04-09 03:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:00:06' and `end` < '2025-04-09 03:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866643', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:00:09] Production.INFO: ProcessCDR(1,14866643,1,1,2)
[2025-04-09 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866643,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:00:09] Production.INFO: ==18412== Releasing lock...
[2025-04-09 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:00:15] Production.ERROR: CronJobId end10
[2025-04-09 03:00:15] Production.INFO: ==18406== Releasing lock...
[2025-04-09 03:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:00:17] Production.INFO: call_cost start
[2025-04-09 03:00:17] Production.INFO: call_cost end
[2025-04-09 03:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:00:18] Production.INFO: ==18402== Releasing lock...
[2025-04-09 03:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:00:19] Production.INFO: count ==208
[2025-04-09 03:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:00:06 - End Time 2025-04-09 03:00:06
[2025-04-09 03:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866642', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866642', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866642', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866642', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:00:19] Production.INFO: ProcessCDR(1,14866642,1,1,2)
[2025-04-09 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866642', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866642', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:00:22] Production.INFO: ==18410== Releasing lock...
[2025-04-09 03:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:00:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:01:01] Production.INFO: ==18471== Lock acquired, processing the job...
[2025-04-09 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:01:01] Production.INFO: neon service started
[2025-04-09 08:01:01] Production.INFO: neon service started
[2025-04-09 08:01:01] Production.INFO: ==18471== Releasing lock...
[2025-04-09 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:01:01] Production.INFO: ==18483== Lock acquired, processing the job...
[2025-04-09 03:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:01:02] Production.INFO: ==18483== Releasing lock...
[2025-04-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:01:02] Production.INFO: ==18485== Lock acquired, processing the job...
[2025-04-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:01:02] Production.INFO: ==18485== Releasing lock...
[2025-04-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:01:03] Production.INFO: ==18495== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:01:03] Production.INFO: ==18497== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:01:03] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:01:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:01:03] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:01:03] Production.INFO: ==18493== Lock acquired, processing the job...
[2025-04-09 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03: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-04-09 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:01:03] Production.INFO: count ==12
[2025-04-09 03: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-04-09 03:01:03] Production.INFO: count ==23
[2025-04-09 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866645') start
[2025-04-09 03:01:03] Production.INFO: Account Balance Start.
[2025-04-09 03:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:01:03] Production.INFO: 117
[2025-04-09 03:01:03] Production.ERROR: done
[2025-04-09 03:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866645') end
[2025-04-09 03:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:01:03] Production.INFO: 1
[2025-04-09 03:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:01:03] Production.INFO: Total Charge 0
[2025-04-09 03:01:03] Production.INFO: CreateAllLog End
[2025-04-09 03:01:04] Production.INFO: ==18497== Releasing lock...
[2025-04-09 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:01:04] Production.ERROR: done
[2025-04-09 03:01:04] Production.INFO: ==18489== Releasing lock...
[2025-04-09 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:01:04] Production.INFO: Account Balance End.
[2025-04-09 03:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:01:04] Production.INFO: ==18493== Releasing lock...
[2025-04-09 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:01:05
[end_date_ymd] => 2025-04-09 03:01:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:01:05' and `end` < '2025-04-09 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-04-09 03:01:12] Production.ERROR: CronJobId end10
[2025-04-09 03:01:12] Production.INFO: ==18491== Releasing lock...
[2025-04-09 03:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:01:14] Production.INFO: call_cost start
[2025-04-09 03:01:14] Production.INFO: call_cost end
[2025-04-09 03:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:01:15] Production.INFO: ==18487== Releasing lock...
[2025-04-09 03:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:01:17] Production.INFO: count ==208
[2025-04-09 03:01:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:01:05 - End Time 2025-04-09 03:01:05
[2025-04-09 03:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866648', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866648', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866648', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866648', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:01:17] Production.INFO: ProcessCDR(1,14866648,1,1,2)
[2025-04-09 03:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866648', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866648', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:01:21] Production.INFO: ==18495== Releasing lock...
[2025-04-09 03:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:01:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:02:02] Production.INFO: ==18668== Lock acquired, processing the job...
[2025-04-09 08:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:02:02] Production.INFO: neon service started
[2025-04-09 08:02:02] Production.INFO: neon service started
[2025-04-09 08:02:02] Production.INFO: ==18668== Releasing lock...
[2025-04-09 08:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:02:02] Production.INFO: ==18672== Lock acquired, processing the job...
[2025-04-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:02:02] Production.INFO: ==18672== Releasing lock...
[2025-04-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:02:02] Production.INFO: ==18670== Lock acquired, processing the job...
[2025-04-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:02:03] Production.INFO: ==18670== Releasing lock...
[2025-04-09 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:02:03] Production.INFO: ==18675== Lock acquired, processing the job...
[2025-04-09 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:02:03] Production.INFO: ==18683== Lock acquired, processing the job...
[2025-04-09 03:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:02:04] Production.INFO: ==18677== Lock acquired, processing the job...
[2025-04-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:02:04] Production.INFO: ==18679== Lock acquired, processing the job...
[2025-04-09 03:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:02:04] Production.INFO: ==18681== Lock acquired, processing the job...
[2025-04-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:02:04] Production.INFO: ==18685== Lock acquired, processing the job...
[2025-04-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:02:04] Production.ERROR: done
[2025-04-09 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:02:04] Production.INFO: Account Balance Start.
[2025-04-09 03:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:02:04] Production.INFO: 117
[2025-04-09 03:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:02:04] Production.INFO: count ==12
[2025-04-09 03:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:02:04] Production.INFO: count ==23
[2025-04-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866652') start
[2025-04-09 03:02:04] Production.INFO: Total Charge 0
[2025-04-09 03:02:04] Production.INFO: CreateAllLog End
[2025-04-09 03:02:04] Production.INFO: ==18677== Releasing lock...
[2025-04-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:02:04] Production.ERROR: done
[2025-04-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866652') end
[2025-04-09 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:02:04] Production.INFO: 1
[2025-04-09 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:02:04] Production.INFO: ==18685== Releasing lock...
[2025-04-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:02:04] Production.INFO: Account Balance End.
[2025-04-09 03:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:02:04] Production.INFO: ==18681== Releasing lock...
[2025-04-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:02:05
[end_date_ymd] => 2025-04-09 03:02:05
[RateCDR] => 1
)
[2025-04-09 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:02:05' and `end` < '2025-04-09 03:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:02:12] Production.ERROR: CronJobId end10
[2025-04-09 03:02:12] Production.INFO: ==18679== Releasing lock...
[2025-04-09 03:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:02:15] Production.INFO: call_cost start
[2025-04-09 03:02:15] Production.INFO: call_cost end
[2025-04-09 03:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:02:16] Production.INFO: ==18675== Releasing lock...
[2025-04-09 03:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:02:18] Production.INFO: count ==208
[2025-04-09 03:02:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:02:05 - End Time 2025-04-09 03:02:05
[2025-04-09 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866653', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866653', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866653', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866653', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:02:18] Production.INFO: ProcessCDR(1,14866653,1,1,2)
[2025-04-09 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866653', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866653', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:02:21] Production.INFO: ==18683== Releasing lock...
[2025-04-09 03:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:02:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:03:01] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-04-09 08:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:03:01] Production.INFO: neon service started
[2025-04-09 08:03:01] Production.INFO: neon service started
[2025-04-09 08:03:01] Production.INFO: ==18737== Releasing lock...
[2025-04-09 08:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:03:02] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-04-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:03:02] Production.INFO: ==18739== Releasing lock...
[2025-04-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:03:02] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-04-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:03:02] Production.INFO: ==18741== Releasing lock...
[2025-04-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:03:03] Production.INFO: ==18747== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:03:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:03:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:03:03] Production.INFO: ==18753== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:03:03] Production.INFO: ==18749== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:03:03] Production.INFO: ==18751== Lock acquired, processing the job...
[2025-04-09 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03: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-04-09 03:03:03] Production.INFO: count ==12
[2025-04-09 03: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-04-09 03:03:03] Production.INFO: count ==23
[2025-04-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866656') start
[2025-04-09 03:03:03] Production.INFO: Account Balance Start.
[2025-04-09 03:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:03:03] Production.INFO: 117
[2025-04-09 03:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866656') end
[2025-04-09 03:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:03:03] Production.INFO: 1
[2025-04-09 03:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:03:03] Production.INFO: Total Charge 0
[2025-04-09 03:03:03] Production.INFO: CreateAllLog End
[2025-04-09 03:03:03] Production.INFO: ==18753== Releasing lock...
[2025-04-09 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:03:03] Production.INFO: ==18745== Releasing lock...
[2025-04-09 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:03:04] Production.ERROR: done
[2025-04-09 03:03:04] Production.INFO: Account Balance End.
[2025-04-09 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:03:04] Production.INFO: ==18749== Releasing lock...
[2025-04-09 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:03:04] Production.ERROR: done
[2025-04-09 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:03:05
[end_date_ymd] => 2025-04-09 03:03:05
[RateCDR] => 1
)
[2025-04-09 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:03:05' and `end` < '2025-04-09 03:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:03:11] Production.ERROR: CronJobId end10
[2025-04-09 03:03:11] Production.INFO: ==18747== Releasing lock...
[2025-04-09 03:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:03:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:03:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:03:14] Production.INFO: call_cost start
[2025-04-09 03:03:14] Production.INFO: call_cost end
[2025-04-09 03:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:03:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:03:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:03:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:03:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:03:14] Production.INFO: ==18743== Releasing lock...
[2025-04-09 03:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:03:18] Production.INFO: count ==207
[2025-04-09 03:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:03:05 - End Time 2025-04-09 03:03:05
[2025-04-09 03:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866658', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866658', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866658', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866658', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:03:18] Production.INFO: ProcessCDR(1,14866658,1,1,2)
[2025-04-09 03:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866658', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866658', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:03:21] Production.INFO: ==18751== Releasing lock...
[2025-04-09 03:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:03:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:04:02] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-04-09 08:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:04:02] Production.INFO: neon service started
[2025-04-09 08:04:02] Production.INFO: neon service started
[2025-04-09 08:04:02] Production.INFO: ==18809== Releasing lock...
[2025-04-09 08:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:04:02] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-04-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:04:02] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-04-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:04:02] Production.INFO: ==18811== Releasing lock...
[2025-04-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:04:02] Production.INFO: ==18813== Releasing lock...
[2025-04-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:04:03] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-04-09 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:04:03] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-04-09 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:04:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-04-09 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:04:03] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-04-09 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:04:04] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-04-09 03:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:04:04] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-04-09 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:04:04] Production.INFO: count ==12
[2025-04-09 03:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:04:04] Production.INFO: count ==23
[2025-04-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866659') start
[2025-04-09 03:04:04] Production.INFO: Account Balance Start.
[2025-04-09 03:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:04:04] Production.INFO: 117
[2025-04-09 03:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866659') end
[2025-04-09 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:04:04] Production.INFO: 1
[2025-04-09 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:04:04] Production.INFO: Total Charge 0
[2025-04-09 03:04:04] Production.INFO: CreateAllLog End
[2025-04-09 03:04:04] Production.INFO: ==18825== Releasing lock...
[2025-04-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:04:04] Production.INFO: ==18817== Releasing lock...
[2025-04-09 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:04:04] Production.ERROR: done
[2025-04-09 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:04:04] Production.ERROR: done
[2025-04-09 03:04:04] Production.INFO: Account Balance End.
[2025-04-09 03:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:04:04] Production.INFO: ==18821== Releasing lock...
[2025-04-09 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:04:05
[end_date_ymd] => 2025-04-09 03:04:05
[RateCDR] => 1
)
[2025-04-09 03:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:04:05' and `end` < '2025-04-09 03:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:04:12] Production.ERROR: CronJobId end10
[2025-04-09 03:04:12] Production.INFO: ==18819== Releasing lock...
[2025-04-09 03:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:04:15] Production.INFO: call_cost start
[2025-04-09 03:04:15] Production.INFO: call_cost end
[2025-04-09 03:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:04:16] Production.INFO: ==18815== Releasing lock...
[2025-04-09 03:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:04:18] Production.INFO: count ==207
[2025-04-09 03:04:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:04:05 - End Time 2025-04-09 03:04:05
[2025-04-09 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866663', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866663', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866663', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866663', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:04:18] Production.INFO: ProcessCDR(1,14866663,1,1,2)
[2025-04-09 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866663', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866663', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:04:21] Production.INFO: ==18823== Releasing lock...
[2025-04-09 03:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:04:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:05:01] Production.INFO: ==18877== Lock acquired, processing the job...
[2025-04-09 08:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:05:01] Production.INFO: neon service started
[2025-04-09 08:05:01] Production.INFO: neon service started
[2025-04-09 08:05:01] Production.INFO: ==18877== Releasing lock...
[2025-04-09 08:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:05:02] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-04-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:05:02] Production.INFO: ==18881== Releasing lock...
[2025-04-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:05:02] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-04-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:05:02] Production.INFO: ==18879== Releasing lock...
[2025-04-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:05:03] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:05:03] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:05:03] Production.INFO: ==18887== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:05:03] Production.INFO: ==18885== Releasing lock...
[2025-04-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:05:03] Production.INFO: ==18889== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:05:03] Production.INFO: ==18891== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:05:03] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-04-09 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:05:03] Production.INFO: Account Balance Start.
[2025-04-09 03:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:05:03] Production.INFO: 117
[2025-04-09 03:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 03:05:04] Production.INFO: count ==12
[2025-04-09 03:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:05:04] Production.INFO: count ==23
[2025-04-09 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866667') start
[2025-04-09 03:05:04] Production.INFO: Total Charge 0
[2025-04-09 03:05:04] Production.INFO: CreateAllLog End
[2025-04-09 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866667') end
[2025-04-09 03:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:05:04] Production.INFO: 1
[2025-04-09 03:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:05:04] Production.INFO: ==18894== Releasing lock...
[2025-04-09 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:05:04] Production.INFO: Account Balance End.
[2025-04-09 03:05:04] Production.ERROR: done
[2025-04-09 03:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:05:04] Production.INFO: ==18889== Releasing lock...
[2025-04-09 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:05:04] Production.ERROR: done
[2025-04-09 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:05:05
[end_date_ymd] => 2025-04-09 03:05:05
[RateCDR] => 1
)
[2025-04-09 03:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:05:05' and `end` < '2025-04-09 03:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:05:11] Production.ERROR: CronJobId end10
[2025-04-09 03:05:11] Production.INFO: ==18887== Releasing lock...
[2025-04-09 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:05:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:05:14] Production.INFO: call_cost start
[2025-04-09 03:05:14] Production.INFO: call_cost end
[2025-04-09 03:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:05:15] Production.INFO: ==18883== Releasing lock...
[2025-04-09 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:05:18] Production.INFO: count ==204
[2025-04-09 03:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:05:05 - End Time 2025-04-09 03:05:05
[2025-04-09 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866668', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866668', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866668', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866668', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:05:18] Production.INFO: ProcessCDR(1,14866668,1,1,2)
[2025-04-09 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866668', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866668', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:05:21] Production.INFO: ==18891== Releasing lock...
[2025-04-09 03:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:05:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:06:02] Production.INFO: ==19023== Lock acquired, processing the job...
[2025-04-09 08:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:06:02] Production.INFO: neon service started
[2025-04-09 08:06:02] Production.INFO: neon service started
[2025-04-09 08:06:02] Production.INFO: ==19023== Releasing lock...
[2025-04-09 08:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:06:02] Production.INFO: ==19025== Lock acquired, processing the job...
[2025-04-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:06:02] Production.INFO: ==19027== Lock acquired, processing the job...
[2025-04-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:06:02] Production.INFO: ==19027== Releasing lock...
[2025-04-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:06:03] Production.INFO: ==19025== Releasing lock...
[2025-04-09 03:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:06:04] Production.INFO: ==19030== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:06:04] Production.INFO: ==19032== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:06:04] Production.INFO: ==19036== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:06:04] Production.INFO: ==19034== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:06:04] Production.INFO: ==19040== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:06:04] Production.INFO: Account Balance Start.
[2025-04-09 03:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:06:04] Production.INFO: 117
[2025-04-09 03:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:06:04] Production.INFO: count ==12
[2025-04-09 03:06:04] Production.INFO: ==19038== Lock acquired, processing the job...
[2025-04-09 03:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:06:04] Production.INFO: count ==23
[2025-04-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866672') start
[2025-04-09 03:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:06:04] Production.INFO: Total Charge 0
[2025-04-09 03:06:04] Production.INFO: ==19032== Releasing lock...
[2025-04-09 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:06:04] Production.INFO: CreateAllLog End
[2025-04-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866672') end
[2025-04-09 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:06:04] Production.INFO: 1
[2025-04-09 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:06:04] Production.INFO: ==19040== Releasing lock...
[2025-04-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:06:04] Production.ERROR: done
[2025-04-09 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:06:05] Production.INFO: Account Balance End.
[2025-04-09 03:06:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:06:05] Production.INFO: ==19036== Releasing lock...
[2025-04-09 03:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:06:05] Production.ERROR: done
[2025-04-09 03:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:06:06
[end_date_ymd] => 2025-04-09 03:06:06
[RateCDR] => 1
)
[2025-04-09 03:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:06:06' and `end` < '2025-04-09 03:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:06:12] Production.ERROR: CronJobId end10
[2025-04-09 03:06:12] Production.INFO: ==19034== Releasing lock...
[2025-04-09 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:06:14] Production.INFO: call_cost start
[2025-04-09 03:06:14] Production.INFO: call_cost end
[2025-04-09 03:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:06:15] Production.INFO: ==19030== Releasing lock...
[2025-04-09 03:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:06:19] Production.INFO: count ==204
[2025-04-09 03:06:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:06:06 - End Time 2025-04-09 03:06:06
[2025-04-09 03:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866673', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866673', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866673', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866673', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:06:19] Production.INFO: ProcessCDR(1,14866673,1,1,2)
[2025-04-09 03:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866673', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866673', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:06:22] Production.INFO: ==19038== Releasing lock...
[2025-04-09 03:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:06:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:07:01] Production.INFO: ==19096== Lock acquired, processing the job...
[2025-04-09 08:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:07:01] Production.INFO: neon service started
[2025-04-09 08:07:01] Production.INFO: neon service started
[2025-04-09 08:07:01] Production.INFO: ==19096== Releasing lock...
[2025-04-09 08:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:07:02] Production.INFO: ==19100== Lock acquired, processing the job...
[2025-04-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:07:02] Production.INFO: ==19100== Releasing lock...
[2025-04-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:07:02] Production.INFO: ==19098== Lock acquired, processing the job...
[2025-04-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:07:02] Production.INFO: ==19098== Releasing lock...
[2025-04-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:07:03] Production.INFO: ==19103== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:07:03] Production.INFO: ==19107== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:07:03] Production.INFO: ==19111== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:07:03] Production.INFO: ==19105== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:07:03] Production.INFO: ==19109== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:07:03] Production.INFO: ==19113== Lock acquired, processing the job...
[2025-04-09 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:07:03] Production.ERROR: done
[2025-04-09 03:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:07:03] Production.INFO: Account Balance Start.
[2025-04-09 03:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:07:03] Production.INFO: 117
[2025-04-09 03:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 03:07:03] Production.INFO: Total Charge 0
[2025-04-09 03:07:03] Production.INFO: count ==12
[2025-04-09 03:07:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 03:07:03] Production.INFO: count ==23
[2025-04-09 03:07:03] Production.ERROR: done
[2025-04-09 03:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866676') start
[2025-04-09 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866676') end
[2025-04-09 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:07:04] Production.INFO: 1
[2025-04-09 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:07:04] Production.INFO: Account Balance End.
[2025-04-09 03:07:04] Production.INFO: ==19113== Releasing lock...
[2025-04-09 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:07:04] Production.INFO: ==19109== Releasing lock...
[2025-04-09 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:07:04] Production.INFO: ==19105== Releasing lock...
[2025-04-09 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:07:05
[end_date_ymd] => 2025-04-09 03:07:05
[RateCDR] => 1
)
[2025-04-09 03:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:07:05' and `end` < '2025-04-09 03:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:07:11] Production.ERROR: CronJobId end10
[2025-04-09 03:07:11] Production.INFO: ==19107== Releasing lock...
[2025-04-09 03:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:07:14] Production.INFO: call_cost start
[2025-04-09 03:07:14] Production.INFO: call_cost end
[2025-04-09 03:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:07:15] Production.INFO: ==19103== Releasing lock...
[2025-04-09 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:07:17] Production.INFO: count ==204
[2025-04-09 03:07:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:07:05 - End Time 2025-04-09 03:07:05
[2025-04-09 03:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866678', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866678', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866678', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866678', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:07:17] Production.INFO: ProcessCDR(1,14866678,1,1,2)
[2025-04-09 03:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866678', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866678', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:07:21] Production.INFO: ==19111== Releasing lock...
[2025-04-09 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:07:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:08:02] Production.INFO: ==19167== Lock acquired, processing the job...
[2025-04-09 08:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:08:02] Production.INFO: neon service started
[2025-04-09 08:08:02] Production.INFO: neon service started
[2025-04-09 08:08:02] Production.INFO: ==19167== Releasing lock...
[2025-04-09 08:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:08:02] Production.INFO: ==19169== Lock acquired, processing the job...
[2025-04-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:08:02] Production.INFO: ==19169== Releasing lock...
[2025-04-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:08:03] Production.INFO: ==19171== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:08:03] Production.INFO: ==19171== Releasing lock...
[2025-04-09 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:08:03] Production.INFO: ==19184== Lock acquired, processing the job...
[2025-04-09 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:08:03] Production.INFO: ==19174== Lock acquired, processing the job...
[2025-04-09 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:08:04] Production.INFO: ==19176== Lock acquired, processing the job...
[2025-04-09 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:08:04] Production.INFO: ==19178== Lock acquired, processing the job...
[2025-04-09 03:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:08:04] Production.INFO: ==19180== Lock acquired, processing the job...
[2025-04-09 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 03:08:04] Production.INFO: ==19182== Lock acquired, processing the job...
[2025-04-09 03:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:08:04] Production.INFO: Account Balance Start.
[2025-04-09 03:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:08:04] Production.INFO: 117
[2025-04-09 03:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:08:04] Production.INFO: count ==12
[2025-04-09 03:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 03:08:04] Production.INFO: count ==23
[2025-04-09 03:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866680') start
[2025-04-09 03:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:08:04] Production.INFO: Total Charge 0
[2025-04-09 03:08:04] Production.INFO: CreateAllLog End
[2025-04-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866680') end
[2025-04-09 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:08:04] Production.INFO: 1
[2025-04-09 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:08:04] Production.INFO: ==19176== Releasing lock...
[2025-04-09 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:08:04] Production.ERROR: done
[2025-04-09 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:08:04] Production.INFO: ==19184== Releasing lock...
[2025-04-09 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:08:04] Production.INFO: Account Balance End.
[2025-04-09 03:08:04] Production.ERROR: done
[2025-04-09 03:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:08:04] Production.INFO: ==19180== Releasing lock...
[2025-04-09 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:08:05
[end_date_ymd] => 2025-04-09 03:08:05
[RateCDR] => 1
)
[2025-04-09 03:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:08:05' and `end` < '2025-04-09 03:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:08:12] Production.ERROR: CronJobId end10
[2025-04-09 03:08:12] Production.INFO: ==19178== Releasing lock...
[2025-04-09 03:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:08:15] Production.INFO: call_cost start
[2025-04-09 03:08:15] Production.INFO: call_cost end
[2025-04-09 03:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:08:15] Production.INFO: ==19174== Releasing lock...
[2025-04-09 03:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:08:18] Production.INFO: count ==204
[2025-04-09 03:08:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:08:05 - End Time 2025-04-09 03:08:05
[2025-04-09 03:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866683', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866683', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866683', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866683', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:08:18] Production.INFO: ProcessCDR(1,14866683,1,1,2)
[2025-04-09 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866683', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866683', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:08:21] Production.INFO: ==19182== Releasing lock...
[2025-04-09 03:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:08:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:09:01] Production.INFO: ==19316== Lock acquired, processing the job...
[2025-04-09 08:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:09:01] Production.INFO: neon service started
[2025-04-09 08:09:01] Production.INFO: neon service started
[2025-04-09 08:09:01] Production.INFO: ==19316== Releasing lock...
[2025-04-09 08:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:09:02] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-04-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:09:02] Production.INFO: ==19318== Releasing lock...
[2025-04-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:09:02] Production.INFO: ==19320== Lock acquired, processing the job...
[2025-04-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:09:02] Production.INFO: ==19320== Releasing lock...
[2025-04-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:09:03] Production.INFO: ==19329== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:09:03] Production.INFO: ==19333== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:09:03] Production.INFO: Account Balance Start.
[2025-04-09 03:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:09:03] Production.INFO: 117
[2025-04-09 03:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:09:03] Production.INFO: ==19325== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:09:03] Production.INFO: ==19323== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:09:03] Production.INFO: ==19327== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:09:03] Production.INFO: count ==12
[2025-04-09 03:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:09:03] Production.INFO: count ==23
[2025-04-09 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866685') start
[2025-04-09 03:09:03] Production.INFO: ==19331== Lock acquired, processing the job...
[2025-04-09 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:09:03] Production.INFO: Total Charge 0
[2025-04-09 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:09:03] Production.INFO: CreateAllLog End
[2025-04-09 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866685') end
[2025-04-09 03:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:09:03] Production.INFO: 1
[2025-04-09 03:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:09:03] Production.INFO: ==19333== Releasing lock...
[2025-04-09 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:09:04] Production.INFO: ==19325== Releasing lock...
[2025-04-09 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:09:04] Production.INFO: Account Balance End.
[2025-04-09 03:09:04] Production.ERROR: done
[2025-04-09 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:09:04] Production.INFO: ==19329== Releasing lock...
[2025-04-09 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:09:04] Production.ERROR: done
[2025-04-09 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:09:05
[end_date_ymd] => 2025-04-09 03:09:05
[RateCDR] => 1
)
[2025-04-09 03:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:09:05' and `end` < '2025-04-09 03:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:09:11] Production.ERROR: CronJobId end10
[2025-04-09 03:09:11] Production.INFO: ==19327== Releasing lock...
[2025-04-09 03:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:09:13] Production.INFO: call_cost start
[2025-04-09 03:09:13] Production.INFO: call_cost end
[2025-04-09 03:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:09:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:09:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:09:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:09:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:09:14] Production.INFO: ==19323== Releasing lock...
[2025-04-09 03:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:09:17] Production.INFO: count ==204
[2025-04-09 03:09:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:09:05 - End Time 2025-04-09 03:09:05
[2025-04-09 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866688', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866688', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866688', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866688', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:09:18] Production.INFO: ProcessCDR(1,14866688,1,1,2)
[2025-04-09 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866688', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866688', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:09:21] Production.INFO: ==19331== Releasing lock...
[2025-04-09 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:09:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:10:02] Production.INFO: ==19385== Lock acquired, processing the job...
[2025-04-09 08:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:10:02] Production.INFO: neon service started
[2025-04-09 08:10:02] Production.INFO: neon service started
[2025-04-09 08:10:02] Production.INFO: ==19385== Releasing lock...
[2025-04-09 08:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:10:02] Production.INFO: ==19387== Lock acquired, processing the job...
[2025-04-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:10:02] Production.INFO: ==19389== Lock acquired, processing the job...
[2025-04-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:10:02] Production.INFO: ==19389== Releasing lock...
[2025-04-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:10:03] Production.INFO: ==19387== Releasing lock...
[2025-04-09 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:10:04] Production.INFO: ==19392== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:10:04] Production.INFO: ==19392== Releasing lock...
[2025-04-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:10:04] Production.INFO: ==19394== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:10:04] Production.INFO: ==19396== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:10:04] Production.INFO: ==19398== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:10:04] Production.INFO: ==19402== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:10:04] Production.INFO: ==19400== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:10:04] Production.INFO: Account Balance Start.
[2025-04-09 03:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:10:04] Production.INFO: 117
[2025-04-09 03:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:10:04] Production.INFO: ==19404== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:10:04] Production.INFO: ==19396== Releasing lock...
[2025-04-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:10:04] Production.INFO: ==19406== Lock acquired, processing the job...
[2025-04-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:10:04] Production.INFO: Total Charge 0
[2025-04-09 03:10:04] Production.INFO: CreateAllLog End
[2025-04-09 03:10:05] Production.ERROR: done
[2025-04-09 03:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:10:05] Production.INFO: count ==12
[2025-04-09 03:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:10:05] Production.INFO: count ==23
[2025-04-09 03:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866692') start
[2025-04-09 03:10:05] Production.ERROR: done
[2025-04-09 03:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866693', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:10:05] Production.INFO: Account Balance End.
[2025-04-09 03:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866692') end
[2025-04-09 03:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:10:05] Production.INFO: 1
[2025-04-09 03:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:10:05] Production.ERROR: done
[2025-04-09 03:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:10:05] Production.INFO: ==19400== Releasing lock...
[2025-04-09 03:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:10:05] Production.INFO: ==19406== Releasing lock...
[2025-04-09 03:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:10:06
[end_date_ymd] => 2025-04-09 03:10:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:10:06' and `end` < '2025-04-09 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-04-09 03:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866693', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:10:09] Production.INFO: ProcessCDR(1,14866693,1,1,2)
[2025-04-09 03:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:10:09] Production.INFO: ==19404== Releasing lock...
[2025-04-09 03:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:10:14] Production.ERROR: CronJobId end10
[2025-04-09 03:10:14] Production.INFO: ==19398== Releasing lock...
[2025-04-09 03:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:10:16] Production.INFO: call_cost start
[2025-04-09 03:10:16] Production.INFO: call_cost end
[2025-04-09 03:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:10:17] Production.INFO: ==19394== Releasing lock...
[2025-04-09 03:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:10:19] Production.INFO: count ==204
[2025-04-09 03:10:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:10:06 - End Time 2025-04-09 03:10:06
[2025-04-09 03:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866694', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866694', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866694', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866694', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:10:19] Production.INFO: ProcessCDR(1,14866694,1,1,2)
[2025-04-09 03:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866694', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866694', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:10:22] Production.INFO: ==19402== Releasing lock...
[2025-04-09 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:10:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:11:01] Production.INFO: ==19461== Lock acquired, processing the job...
[2025-04-09 08:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:11:01] Production.INFO: neon service started
[2025-04-09 08:11:01] Production.INFO: neon service started
[2025-04-09 08:11:01] Production.INFO: ==19461== Releasing lock...
[2025-04-09 08:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:11:01] Production.INFO: ==19463== Lock acquired, processing the job...
[2025-04-09 03:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:11:02] Production.INFO: ==19463== Releasing lock...
[2025-04-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:11:02] Production.INFO: ==19465== Lock acquired, processing the job...
[2025-04-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:11:02] Production.INFO: ==19465== Releasing lock...
[2025-04-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:11:03] Production.INFO: ==19476== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:11:03] Production.INFO: ==19478== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:11:03] Production.INFO: ==19467== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:11:03] Production.INFO: count ==12
[2025-04-09 03:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:11:03] Production.INFO: count ==23
[2025-04-09 03:11:03] Production.INFO: ==19469== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:11:03] Production.INFO: ==19471== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866695') start
[2025-04-09 03:11:03] Production.INFO: ==19473== Lock acquired, processing the job...
[2025-04-09 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:11:03] Production.INFO: Account Balance Start.
[2025-04-09 03:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866695') end
[2025-04-09 03:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:11:03] Production.INFO: 1
[2025-04-09 03:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:11:03] Production.INFO: 117
[2025-04-09 03:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:11:03] Production.INFO: ==19478== Releasing lock...
[2025-04-09 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:11:03] Production.ERROR: done
[2025-04-09 03:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:11:03] Production.INFO: ==19469== Releasing lock...
[2025-04-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:11:04] Production.ERROR: done
[2025-04-09 03:11:04] Production.INFO: Total Charge 0
[2025-04-09 03:11:04] Production.INFO: CreateAllLog End
[2025-04-09 03:11:04] Production.INFO: Account Balance End.
[2025-04-09 03:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:11:04] Production.INFO: ==19473== Releasing lock...
[2025-04-09 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:11:05
[end_date_ymd] => 2025-04-09 03:11:05
[RateCDR] => 1
)
[2025-04-09 03:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:11:05' and `end` < '2025-04-09 03:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:11:12] Production.ERROR: CronJobId end10
[2025-04-09 03:11:12] Production.INFO: ==19471== Releasing lock...
[2025-04-09 03:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:11:15] Production.INFO: call_cost start
[2025-04-09 03:11:15] Production.INFO: call_cost end
[2025-04-09 03:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:11:16] Production.INFO: ==19467== Releasing lock...
[2025-04-09 03:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:11:17] Production.INFO: count ==204
[2025-04-09 03:11:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:11:05 - End Time 2025-04-09 03:11:05
[2025-04-09 03:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866699', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866699', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866699', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866699', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:11:17] Production.INFO: ProcessCDR(1,14866699,1,1,2)
[2025-04-09 03:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866699', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866699', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:11:21] Production.INFO: ==19476== Releasing lock...
[2025-04-09 03:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:11:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:12:01] Production.INFO: ==19534== Lock acquired, processing the job...
[2025-04-09 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:12:01] Production.INFO: neon service started
[2025-04-09 08:12:02] Production.INFO: neon service started
[2025-04-09 08:12:02] Production.INFO: ==19534== Releasing lock...
[2025-04-09 08:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:12:02] Production.INFO: ==19536== Lock acquired, processing the job...
[2025-04-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:12:02] Production.INFO: ==19536== Releasing lock...
[2025-04-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:12:02] Production.INFO: ==19538== Lock acquired, processing the job...
[2025-04-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:12:02] Production.INFO: ==19538== Releasing lock...
[2025-04-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:12:03] Production.INFO: ==19544== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:12:03] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:12:03] Production.INFO: ==19550== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:12:03] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:12:03] Production.INFO: count ==12
[2025-04-09 03:12:03] Production.INFO: ==19546== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:12:03] Production.INFO: count ==23
[2025-04-09 03:12:03] Production.INFO: ==19548== Lock acquired, processing the job...
[2025-04-09 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866701') start
[2025-04-09 03:12:03] Production.INFO: Account Balance Start.
[2025-04-09 03:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:12:03] Production.INFO: 117
[2025-04-09 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866701') end
[2025-04-09 03:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:12:03] Production.INFO: 1
[2025-04-09 03:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:12:04] Production.INFO: Total Charge 0
[2025-04-09 03:12:04] Production.INFO: CreateAllLog End
[2025-04-09 03:12:04] Production.INFO: ==19550== Releasing lock...
[2025-04-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:12:04] Production.INFO: ==19542== Releasing lock...
[2025-04-09 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:12:04] Production.INFO: Account Balance End.
[2025-04-09 03:12:04] Production.ERROR: done
[2025-04-09 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:12:04] Production.INFO: ==19546== Releasing lock...
[2025-04-09 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:12:04] Production.ERROR: done
[2025-04-09 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:12:05
[end_date_ymd] => 2025-04-09 03:12:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:12:05' and `end` < '2025-04-09 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-04-09 03:12:11] Production.ERROR: CronJobId end10
[2025-04-09 03:12:11] Production.INFO: ==19544== Releasing lock...
[2025-04-09 03:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:12:14] Production.INFO: call_cost start
[2025-04-09 03:12:14] Production.INFO: call_cost end
[2025-04-09 03:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:12:15] Production.INFO: ==19540== Releasing lock...
[2025-04-09 03:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:12:18] Production.INFO: count ==204
[2025-04-09 03:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:12:05 - End Time 2025-04-09 03:12:05
[2025-04-09 03:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866704', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866704', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866704', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866704', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:12:18] Production.INFO: ProcessCDR(1,14866704,1,1,2)
[2025-04-09 03:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866704', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866704', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:12:21] Production.INFO: ==19548== Releasing lock...
[2025-04-09 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:12:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:13:01] Production.INFO: ==19682== Lock acquired, processing the job...
[2025-04-09 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:13:01] Production.INFO: neon service started
[2025-04-09 08:13:01] Production.INFO: neon service started
[2025-04-09 08:13:01] Production.INFO: ==19682== Releasing lock...
[2025-04-09 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:13:01] Production.INFO: ==19684== Lock acquired, processing the job...
[2025-04-09 03:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:13:02] Production.INFO: ==19684== Releasing lock...
[2025-04-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:13:02] Production.INFO: ==19686== Lock acquired, processing the job...
[2025-04-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:13:02] Production.INFO: ==19686== Releasing lock...
[2025-04-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:13:03] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: ==19694== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:13:03] Production.INFO: ==19698== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:13:03] Production.INFO: ==19688== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:13:03] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:13:03] Production.INFO: Account Balance Start.
[2025-04-09 03:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:13:03] Production.INFO: 117
[2025-04-09 03:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:13:03] Production.INFO: count ==12
[2025-04-09 03:13:03] Production.INFO: ==19696== Lock acquired, processing the job...
[2025-04-09 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 03:13:03] Production.INFO: count ==23
[2025-04-09 03:13:03] Production.INFO: Total Charge 0
[2025-04-09 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866708') start
[2025-04-09 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:13:03] Production.INFO: CreateAllLog End
[2025-04-09 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866708') end
[2025-04-09 03:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:13:03] Production.INFO: 1
[2025-04-09 03:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:13:03] Production.INFO: ==19698== Releasing lock...
[2025-04-09 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:13:03] Production.INFO: ==19690== Releasing lock...
[2025-04-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:13:03] Production.ERROR: done
[2025-04-09 03:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:13:03] Production.INFO: Account Balance End.
[2025-04-09 03:13:03] Production.ERROR: done
[2025-04-09 03:13:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:13:03] Production.INFO: ==19694== Releasing lock...
[2025-04-09 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:13:05
[end_date_ymd] => 2025-04-09 03:13:05
[RateCDR] => 1
)
[2025-04-09 03:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:13:05' and `end` < '2025-04-09 03:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:13:11] Production.ERROR: CronJobId end10
[2025-04-09 03:13:11] Production.INFO: ==19692== Releasing lock...
[2025-04-09 03:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:13:13] Production.INFO: call_cost start
[2025-04-09 03:13:13] Production.INFO: call_cost end
[2025-04-09 03:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:13:14] Production.INFO: ==19688== Releasing lock...
[2025-04-09 03:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:13:17] Production.INFO: count ==204
[2025-04-09 03:13:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:13:05 - End Time 2025-04-09 03:13:05
[2025-04-09 03:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866709', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866709', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866709', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866709', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:13:17] Production.INFO: ProcessCDR(1,14866709,1,1,2)
[2025-04-09 03:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866709', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866709', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:13:21] Production.INFO: ==19696== Releasing lock...
[2025-04-09 03:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:13:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:14:01] Production.INFO: ==19754== Lock acquired, processing the job...
[2025-04-09 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:14:01] Production.INFO: neon service started
[2025-04-09 08:14:01] Production.INFO: neon service started
[2025-04-09 08:14:01] Production.INFO: ==19754== Releasing lock...
[2025-04-09 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:14:02] Production.INFO: ==19758== Lock acquired, processing the job...
[2025-04-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:14:02] Production.INFO: ==19758== Releasing lock...
[2025-04-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:14:02] Production.INFO: ==19756== Lock acquired, processing the job...
[2025-04-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:14:02] Production.INFO: ==19756== Releasing lock...
[2025-04-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:14:03] Production.INFO: ==19763== Lock acquired, processing the job...
[2025-04-09 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:14:03] Production.INFO: ==19769== Lock acquired, processing the job...
[2025-04-09 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:14:03] Production.INFO: ==19761== Lock acquired, processing the job...
[2025-04-09 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:14:04] Production.INFO: ==19765== Lock acquired, processing the job...
[2025-04-09 03:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:14:04] Production.INFO: ==19767== Lock acquired, processing the job...
[2025-04-09 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:14:04] Production.INFO: ==19771== Lock acquired, processing the job...
[2025-04-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:14:04] Production.INFO: ==19763== Releasing lock...
[2025-04-09 03:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:14:04] Production.INFO: Account Balance Start.
[2025-04-09 03:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:14:04] Production.INFO: 117
[2025-04-09 03:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:14:04] Production.ERROR: done
[2025-04-09 03:14:04] Production.INFO: Total Charge 0
[2025-04-09 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:14:04] Production.INFO: CreateAllLog End
[2025-04-09 03:14:04] Production.INFO: count ==12
[2025-04-09 03:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:14:04] Production.INFO: count ==23
[2025-04-09 03:14:04] Production.ERROR: done
[2025-04-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866713') start
[2025-04-09 03:14:04] Production.INFO: Account Balance End.
[2025-04-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866713') end
[2025-04-09 03:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:14:04] Production.INFO: 1
[2025-04-09 03:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:14:04] Production.INFO: ==19767== Releasing lock...
[2025-04-09 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:14:04] Production.INFO: ==19771== Releasing lock...
[2025-04-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:14:05
[end_date_ymd] => 2025-04-09 03:14:05
[RateCDR] => 1
)
[2025-04-09 03:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:14:05' and `end` < '2025-04-09 03:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:14:11] Production.ERROR: CronJobId end10
[2025-04-09 03:14:11] Production.INFO: ==19765== Releasing lock...
[2025-04-09 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:14:14] Production.INFO: call_cost start
[2025-04-09 03:14:14] Production.INFO: call_cost end
[2025-04-09 03:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:14:15] Production.INFO: ==19761== Releasing lock...
[2025-04-09 03:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:14:18] Production.INFO: count ==204
[2025-04-09 03:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:14:05 - End Time 2025-04-09 03:14:05
[2025-04-09 03:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866714', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866714', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866714', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866714', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:14:18] Production.INFO: ProcessCDR(1,14866714,1,1,2)
[2025-04-09 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866714', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866714', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:14:21] Production.INFO: ==19769== Releasing lock...
[2025-04-09 03:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:14:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:15:02] Production.INFO: ==19824== Lock acquired, processing the job...
[2025-04-09 08:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:15:02] Production.INFO: neon service started
[2025-04-09 08:15:02] Production.INFO: neon service started
[2025-04-09 08:15:02] Production.INFO: ==19824== Releasing lock...
[2025-04-09 08:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:15:02] Production.INFO: ==19826== Lock acquired, processing the job...
[2025-04-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:15:03] Production.INFO: ==19826== Releasing lock...
[2025-04-09 03:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:15:03] Production.INFO: ==19828== Lock acquired, processing the job...
[2025-04-09 07:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:15:03] Production.INFO: ==19828== Releasing lock...
[2025-04-09 07:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:15:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:15:04] Production.INFO: ==19836== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:15:04] Production.INFO: ==19840== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:15:04] Production.INFO: ==19834== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:15:04] Production.INFO: ==19830== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:15:04] Production.INFO: ==19832== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:15:04] Production.INFO: Account Balance Start.
[2025-04-09 03:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:15:04] Production.INFO: 117
[2025-04-09 03:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:15:04] Production.INFO: ==19838== Lock acquired, processing the job...
[2025-04-09 03:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:15:04] Production.INFO: count ==12
[2025-04-09 03:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:15:04] Production.INFO: count ==23
[2025-04-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866716') start
[2025-04-09 03:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:15:04] Production.INFO: Total Charge 0
[2025-04-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866716') end
[2025-04-09 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:15:04] Production.INFO: 1
[2025-04-09 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:15:04] Production.INFO: CreateAllLog End
[2025-04-09 03:15:04] Production.INFO: ==19840== Releasing lock...
[2025-04-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:15:04] Production.INFO: ==19832== Releasing lock...
[2025-04-09 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:15:04] Production.INFO: Account Balance End.
[2025-04-09 03:15:04] Production.ERROR: done
[2025-04-09 03:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:15:04] Production.INFO: ==19836== Releasing lock...
[2025-04-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:15:04] Production.ERROR: done
[2025-04-09 03:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:15:06
[end_date_ymd] => 2025-04-09 03:15:06
[RateCDR] => 1
)
[2025-04-09 03:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:15:06' and `end` < '2025-04-09 03:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:15:13] Production.ERROR: CronJobId end10
[2025-04-09 03:15:13] Production.INFO: ==19834== Releasing lock...
[2025-04-09 03:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:15:15] Production.INFO: call_cost start
[2025-04-09 03:15:15] Production.INFO: call_cost end
[2025-04-09 03:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:15:16] Production.INFO: ==19830== Releasing lock...
[2025-04-09 03:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:15:18] Production.INFO: count ==204
[2025-04-09 03:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:15:06 - End Time 2025-04-09 03:15:06
[2025-04-09 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866719', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866719', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866719', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866719', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:15:18] Production.INFO: ProcessCDR(1,14866719,1,1,2)
[2025-04-09 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866719', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866719', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:15:22] Production.INFO: ==19838== Releasing lock...
[2025-04-09 03:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:15:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:16:01] Production.INFO: ==19891== Lock acquired, processing the job...
[2025-04-09 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:16:01] Production.INFO: neon service started
[2025-04-09 08:16:01] Production.INFO: neon service started
[2025-04-09 08:16:01] Production.INFO: ==19891== Releasing lock...
[2025-04-09 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:16:02] Production.INFO: ==19896== Lock acquired, processing the job...
[2025-04-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:16:02] Production.INFO: ==19896== Releasing lock...
[2025-04-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:16:02] Production.INFO: ==19893== Lock acquired, processing the job...
[2025-04-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:16:02] Production.INFO: ==19893== Releasing lock...
[2025-04-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:16:03] Production.INFO: ==19898== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:16:03] Production.INFO: ==19906== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:16:03] Production.INFO: ==19908== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:16:03] Production.INFO: ==19900== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:16:03] Production.INFO: ==19904== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:16:03] Production.INFO: ==19902== Lock acquired, processing the job...
[2025-04-09 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:16:03] Production.INFO: Account Balance Start.
[2025-04-09 03:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:16:03] Production.INFO: 117
[2025-04-09 03:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:16:04] Production.INFO: count ==12
[2025-04-09 03:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:16:04] Production.INFO: count ==23
[2025-04-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866721') start
[2025-04-09 03:16:04] Production.INFO: Total Charge 0
[2025-04-09 03:16:04] Production.INFO: CreateAllLog End
[2025-04-09 03:16:04] Production.ERROR: done
[2025-04-09 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866721') end
[2025-04-09 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:16:04] Production.INFO: 1
[2025-04-09 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:16:04] Production.INFO: ==19900== Releasing lock...
[2025-04-09 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:16:04] Production.INFO: ==19908== Releasing lock...
[2025-04-09 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:16:04] Production.ERROR: done
[2025-04-09 03:16:04] Production.INFO: Account Balance End.
[2025-04-09 03:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:16:04] Production.INFO: ==19904== Releasing lock...
[2025-04-09 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:16:05
[end_date_ymd] => 2025-04-09 03:16:05
[RateCDR] => 1
)
[2025-04-09 03:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:16:05' and `end` < '2025-04-09 03:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:16:11] Production.ERROR: CronJobId end10
[2025-04-09 03:16:11] Production.INFO: ==19902== Releasing lock...
[2025-04-09 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:16:13] Production.INFO: call_cost start
[2025-04-09 03:16:13] Production.INFO: call_cost end
[2025-04-09 03:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:16:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:16:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:16:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:16:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:16:14] Production.INFO: ==19898== Releasing lock...
[2025-04-09 03:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:16:18] Production.INFO: count ==204
[2025-04-09 03:16:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:16:05 - End Time 2025-04-09 03:16:05
[2025-04-09 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866724', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866724', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866724', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866724', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:16:18] Production.INFO: ProcessCDR(1,14866724,1,1,2)
[2025-04-09 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866724', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866724', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:16:21] Production.INFO: ==19906== Releasing lock...
[2025-04-09 03:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:16:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:17:02] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-04-09 08:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:17:02] Production.INFO: neon service started
[2025-04-09 08:17:02] Production.INFO: neon service started
[2025-04-09 08:17:02] Production.INFO: ==20038== Releasing lock...
[2025-04-09 08:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:17:02] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-04-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:17:02] Production.INFO: ==20042== Releasing lock...
[2025-04-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:17:02] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-04-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:17:02] Production.INFO: ==20040== Releasing lock...
[2025-04-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:17:03] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-04-09 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:17:03] Production.INFO: ==20051== Lock acquired, processing the job...
[2025-04-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:17:03] Production.INFO: ==20055== Lock acquired, processing the job...
[2025-04-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:17:03] Production.INFO: Account Balance Start.
[2025-04-09 03:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:17:03] Production.INFO: 117
[2025-04-09 03:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:17:03] Production.INFO: ==20047== Lock acquired, processing the job...
[2025-04-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:17:03] Production.INFO: Total Charge 0
[2025-04-09 03:17:03] Production.INFO: CreateAllLog End
[2025-04-09 03:17:04] Production.INFO: count ==12
[2025-04-09 03:17:04] Production.INFO: ==20049== Lock acquired, processing the job...
[2025-04-09 03:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:17:04] Production.INFO: ==20053== Lock acquired, processing the job...
[2025-04-09 03:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:17:04] Production.INFO: count ==23
[2025-04-09 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866727') start
[2025-04-09 03:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:17:04] Production.INFO: Account Balance End.
[2025-04-09 03:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866727') end
[2025-04-09 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:17:04] Production.INFO: 1
[2025-04-09 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:17:04] Production.INFO: ==20051== Releasing lock...
[2025-04-09 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:17:04] Production.INFO: ==20055== Releasing lock...
[2025-04-09 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:17:04] Production.INFO: ==20047== Releasing lock...
[2025-04-09 03:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:17:04] Production.ERROR: done
[2025-04-09 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:17:05] Production.ERROR: done
[2025-04-09 03:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:17:06
[end_date_ymd] => 2025-04-09 03:17:06
[RateCDR] => 1
)
[2025-04-09 03:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:17:06' and `end` < '2025-04-09 03:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:17:11] Production.ERROR: CronJobId end10
[2025-04-09 03:17:11] Production.INFO: ==20049== Releasing lock...
[2025-04-09 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:17:14] Production.INFO: call_cost start
[2025-04-09 03:17:14] Production.INFO: call_cost end
[2025-04-09 03:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:17:15] Production.INFO: ==20045== Releasing lock...
[2025-04-09 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:17:18] Production.INFO: count ==202
[2025-04-09 03:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:17:06 - End Time 2025-04-09 03:17:06
[2025-04-09 03:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866729', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866729', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866729', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866729', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:17:18] Production.INFO: ProcessCDR(1,14866729,1,1,2)
[2025-04-09 03:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866729', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866729', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:17:22] Production.INFO: ==20053== Releasing lock...
[2025-04-09 03:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:17:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:18:01] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-04-09 08:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:18:01] Production.INFO: neon service started
[2025-04-09 08:18:01] Production.INFO: neon service started
[2025-04-09 08:18:01] Production.INFO: ==20111== Releasing lock...
[2025-04-09 08:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:18:02] Production.INFO: ==20115== Lock acquired, processing the job...
[2025-04-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:18:02] Production.INFO: ==20113== Lock acquired, processing the job...
[2025-04-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:18:02] Production.INFO: ==20115== Releasing lock...
[2025-04-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:18:02] Production.INFO: ==20113== Releasing lock...
[2025-04-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:18:03] Production.INFO: ==20120== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:18:03] Production.INFO: ==20122== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:18:03] Production.INFO: ==20124== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:18:03] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:18:03] Production.INFO: ==20126== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:18:03] Production.INFO: Account Balance Start.
[2025-04-09 03:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:18:03] Production.INFO: 117
[2025-04-09 03:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:18:03] Production.INFO: Total Charge 0
[2025-04-09 03:18:03] Production.INFO: CreateAllLog End
[2025-04-09 03:18:03] Production.INFO: ==20120== Releasing lock...
[2025-04-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:18:03] Production.INFO: ==20128== Lock acquired, processing the job...
[2025-04-09 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 03:18:04] Production.INFO: count ==12
[2025-04-09 03:18:04] Production.ERROR: done
[2025-04-09 03:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:18:04] Production.INFO: count ==23
[2025-04-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866733') start
[2025-04-09 03:18:04] Production.INFO: Account Balance End.
[2025-04-09 03:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:18:04] Production.INFO: ==20124== Releasing lock...
[2025-04-09 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:18:04] Production.ERROR: done
[2025-04-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866733') end
[2025-04-09 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:18:04] Production.INFO: 1
[2025-04-09 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:18:04] Production.INFO: ==20128== Releasing lock...
[2025-04-09 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:18:05
[end_date_ymd] => 2025-04-09 03:18:05
[RateCDR] => 1
)
[2025-04-09 03:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:18:05' and `end` < '2025-04-09 03:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:18:11] Production.ERROR: CronJobId end10
[2025-04-09 03:18:11] Production.INFO: ==20122== Releasing lock...
[2025-04-09 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:18:14] Production.INFO: call_cost start
[2025-04-09 03:18:14] Production.INFO: call_cost end
[2025-04-09 03:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:18:15] Production.INFO: ==20118== Releasing lock...
[2025-04-09 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:18:17] Production.INFO: count ==202
[2025-04-09 03:18:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:18:05 - End Time 2025-04-09 03:18:05
[2025-04-09 03:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866734', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866734', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866734', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866734', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:18:18] Production.INFO: ProcessCDR(1,14866734,1,1,2)
[2025-04-09 03:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866734', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866734', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:18:21] Production.INFO: ==20126== Releasing lock...
[2025-04-09 03:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:18:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:19:02] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-04-09 08:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:19:02] Production.INFO: neon service started
[2025-04-09 08:19:02] Production.INFO: neon service started
[2025-04-09 08:19:02] Production.INFO: ==20220== Releasing lock...
[2025-04-09 08:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:19:02] Production.INFO: ==20222== Lock acquired, processing the job...
[2025-04-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:19:02] Production.INFO: ==20224== Lock acquired, processing the job...
[2025-04-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:19:02] Production.INFO: ==20224== Releasing lock...
[2025-04-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:19:03] Production.INFO: ==20222== Releasing lock...
[2025-04-09 03:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:19:03] Production.INFO: ==20229== Lock acquired, processing the job...
[2025-04-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:19:03] Production.INFO: ==20237== Lock acquired, processing the job...
[2025-04-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:19:03] Production.INFO: ==20227== Lock acquired, processing the job...
[2025-04-09 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03: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-04-09 03:19:04] Production.INFO: ==20231== Lock acquired, processing the job...
[2025-04-09 03:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:19:04] Production.INFO: ==20235== Lock acquired, processing the job...
[2025-04-09 03:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:19:04] Production.INFO: ==20233== Lock acquired, processing the job...
[2025-04-09 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:19:04] Production.INFO: count ==12
[2025-04-09 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-04-09 03:19:04] Production.INFO: count ==23
[2025-04-09 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866736') start
[2025-04-09 03:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:19:04] Production.INFO: Account Balance Start.
[2025-04-09 03:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:19:04] Production.INFO: 117
[2025-04-09 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866736') end
[2025-04-09 03:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:19:04] Production.INFO: 1
[2025-04-09 03:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:19:04] Production.INFO: ==20237== Releasing lock...
[2025-04-09 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:19:04] Production.INFO: Total Charge 0
[2025-04-09 03:19:04] Production.INFO: CreateAllLog End
[2025-04-09 03:19:04] Production.INFO: ==20229== Releasing lock...
[2025-04-09 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:19:04] Production.ERROR: done
[2025-04-09 03:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:19:04] Production.INFO: Account Balance End.
[2025-04-09 03:19:04] Production.ERROR: done
[2025-04-09 03:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:19:04] Production.INFO: ==20233== Releasing lock...
[2025-04-09 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:19:05
[end_date_ymd] => 2025-04-09 03:19:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:19:05' and `end` < '2025-04-09 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-04-09 03:19:11] Production.ERROR: CronJobId end10
[2025-04-09 03:19:11] Production.INFO: ==20231== Releasing lock...
[2025-04-09 03:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:19:14] Production.INFO: call_cost start
[2025-04-09 03:19:14] Production.INFO: call_cost end
[2025-04-09 03:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:19:15] Production.INFO: ==20227== Releasing lock...
[2025-04-09 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:19:18] Production.INFO: count ==202
[2025-04-09 03:19:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:19:05 - End Time 2025-04-09 03:19:05
[2025-04-09 03:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866739', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866739', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866739', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866739', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:19:18] Production.INFO: ProcessCDR(1,14866739,1,1,2)
[2025-04-09 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866739', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866739', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:19:21] Production.INFO: ==20235== Releasing lock...
[2025-04-09 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:19:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 08:20:01] Production.INFO: ==20290== Lock acquired, processing the job...
[2025-04-09 08:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:20:01] Production.INFO: neon service started
[2025-04-09 08:20:01] Production.INFO: neon service started
[2025-04-09 08:20:01] Production.INFO: ==20290== Releasing lock...
[2025-04-09 08:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:20:01] Production.INFO: ==20294== Lock acquired, processing the job...
[2025-04-09 07:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:20:01] Production.INFO: ==20294== Releasing lock...
[2025-04-09 07:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:20:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:20:02] Production.INFO: ==20292== Lock acquired, processing the job...
[2025-04-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:20:02] Production.INFO: ==20292== Releasing lock...
[2025-04-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:20:03] Production.INFO: ==20305== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:20:03] Production.INFO: ==20307== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:20:03] Production.INFO: ==20309== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:20:03] Production.INFO: Account Balance Start.
[2025-04-09 03:20:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:20:03] Production.INFO: 117
[2025-04-09 03:20:03] Production.INFO: ==20296== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:20:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:20:03] Production.INFO: ==20298== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:20:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:20:03] Production.INFO: ==20303== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:20:03] Production.INFO: ==20301== Lock acquired, processing the job...
[2025-04-09 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:20:04] Production.INFO: ==20311== Lock acquired, processing the job...
[2025-04-09 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:20:04] Production.ERROR: CronJob PID - 20298
[2025-04-09 03:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 03:20:04] Production.ERROR: CronJob ID - 5
[2025-04-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:20:00
[2025-04-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:20:04] Production.ERROR: CronJob PID - 20303
[2025-04-09 03:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 03:20:04] Production.ERROR: CronJob ID - 10
[2025-04-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:20:00
[2025-04-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:20:04] Production.ERROR: CronJob PID - 20305
[2025-04-09 03:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 03:20:04] Production.ERROR: CronJob ID - 12
[2025-04-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:20:00
[2025-04-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:20:04] Production.ERROR: CronJob PID - 20307
[2025-04-09 03:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 03:20:04] Production.ERROR: CronJob ID - 16
[2025-04-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:20:00
[2025-04-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:20:04] Production.ERROR: CronJob PID - 20309
[2025-04-09 03:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 03:20:04] Production.ERROR: CronJob ID - 17
[2025-04-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:20:00
[2025-04-09 03:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:20:04] Production.ERROR: done
[2025-04-09 03:20:04] Production.INFO: Total Charge 0
[2025-04-09 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:20:04] Production.INFO: ==20296== Releasing lock...
[2025-04-09 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:20:04] Production.INFO: CreateAllLog End
[2025-04-09 03:20:04] Production.ERROR: done
[2025-04-09 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866742', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:20:04] Production.INFO: Account Balance End.
[2025-04-09 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:20:04] Production.INFO: count ==12
[2025-04-09 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:20:04] Production.INFO: ==20305== Releasing lock...
[2025-04-09 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:20:04] Production.INFO: count ==23
[2025-04-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866743') start
[2025-04-09 03:20:04] Production.ERROR: done
[2025-04-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866743') end
[2025-04-09 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:20:04] Production.INFO: 1
[2025-04-09 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:20:04] Production.INFO: ==20301== Releasing lock...
[2025-04-09 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:20:04] Production.INFO: ==20311== Releasing lock...
[2025-04-09 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:20:06
[end_date_ymd] => 2025-04-09 03:20:06
[RateCDR] => 1
)
[2025-04-09 03:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:20:06' and `end` < '2025-04-09 03:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866742', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:20:09] Production.INFO: ProcessCDR(1,14866742,1,1,2)
[2025-04-09 03:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:20:09] Production.INFO: ==20309== Releasing lock...
[2025-04-09 03:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:20:13] Production.ERROR: CronJobId end10
[2025-04-09 03:20:13] Production.INFO: ==20303== Releasing lock...
[2025-04-09 03:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:20:16] Production.INFO: call_cost start
[2025-04-09 03:20:16] Production.INFO: call_cost end
[2025-04-09 03:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:20:17] Production.INFO: ==20298== Releasing lock...
[2025-04-09 03:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:20:18] Production.INFO: count ==192
[2025-04-09 03:20:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:20:06 - End Time 2025-04-09 03:20:06
[2025-04-09 03:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866745', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866745', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866745', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866745', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:20:18] Production.INFO: ProcessCDR(1,14866745,1,1,2)
[2025-04-09 03:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866745', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866745', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:20:22] Production.INFO: ==20307== Releasing lock...
[2025-04-09 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:20:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:21:01] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-04-09 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:21:01] Production.INFO: neon service started
[2025-04-09 08:21:01] Production.INFO: neon service started
[2025-04-09 08:21:01] Production.INFO: ==20364== Releasing lock...
[2025-04-09 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:21:02] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-04-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:21:02] Production.INFO: ==20366== Releasing lock...
[2025-04-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:21:02] Production.INFO: ==20368== Lock acquired, processing the job...
[2025-04-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:21:02] Production.INFO: ==20368== Releasing lock...
[2025-04-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:21:03] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:21:03] Production.INFO: ==20372== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:21:03] Production.INFO: ==20374== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:21:03] Production.INFO: ==20377== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:21:03] Production.INFO: ==20381== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:21:03] Production.INFO: ==20379== Lock acquired, processing the job...
[2025-04-09 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:21:03] Production.INFO: Account Balance Start.
[2025-04-09 03:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:21:03] Production.INFO: 117
[2025-04-09 03:21:03] Production.INFO: ==20372== Releasing lock...
[2025-04-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:21:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:21:03] Production.INFO: Total Charge 0
[2025-04-09 03:21:03] Production.INFO: CreateAllLog End
[2025-04-09 03:21:03] Production.INFO: count ==12
[2025-04-09 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:21:04] Production.INFO: count ==23
[2025-04-09 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866748') start
[2025-04-09 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866748') end
[2025-04-09 03:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:21:04] Production.INFO: 1
[2025-04-09 03:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:21:04] Production.INFO: ==20381== Releasing lock...
[2025-04-09 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:21:04] Production.ERROR: done
[2025-04-09 03:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:21:04] Production.ERROR: done
[2025-04-09 03:21:04] Production.INFO: Account Balance End.
[2025-04-09 03:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:21:04] Production.INFO: ==20377== Releasing lock...
[2025-04-09 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:21:05
[end_date_ymd] => 2025-04-09 03:21:05
[RateCDR] => 1
)
[2025-04-09 03:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:21:05' and `end` < '2025-04-09 03:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:21:11] Production.ERROR: CronJobId end10
[2025-04-09 03:21:11] Production.INFO: ==20374== Releasing lock...
[2025-04-09 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:21:14] Production.INFO: call_cost start
[2025-04-09 03:21:14] Production.INFO: call_cost end
[2025-04-09 03:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:21:15] Production.INFO: ==20370== Releasing lock...
[2025-04-09 03:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:21:17] Production.INFO: count ==192
[2025-04-09 03:21:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:21:05 - End Time 2025-04-09 03:21:05
[2025-04-09 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866750', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866750', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866750', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866750', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:21:17] Production.INFO: ProcessCDR(1,14866750,1,1,2)
[2025-04-09 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866750', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866750', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:21:21] Production.INFO: ==20379== Releasing lock...
[2025-04-09 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:21:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:22:01] Production.INFO: ==20432== Lock acquired, processing the job...
[2025-04-09 08:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:22:01] Production.INFO: neon service started
[2025-04-09 08:22:01] Production.INFO: neon service started
[2025-04-09 08:22:01] Production.INFO: ==20432== Releasing lock...
[2025-04-09 08:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:22:02] Production.INFO: ==20434== Lock acquired, processing the job...
[2025-04-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:22:02] Production.INFO: ==20436== Lock acquired, processing the job...
[2025-04-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:22:02] Production.INFO: ==20436== Releasing lock...
[2025-04-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:22:02] Production.INFO: ==20434== Releasing lock...
[2025-04-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:22:03] Production.INFO: ==20441== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:22:03] Production.INFO: ==20439== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:22:03] Production.INFO: ==20443== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:22:03] Production.INFO: ==20445== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:22:03] Production.INFO: ==20447== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:22:03] Production.INFO: ==20441== Releasing lock...
[2025-04-09 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:22:03] Production.INFO: Account Balance Start.
[2025-04-09 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:22:03] Production.INFO: 117
[2025-04-09 03:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:22:03] Production.INFO: ==20449== Lock acquired, processing the job...
[2025-04-09 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:22:03] Production.INFO: Total Charge 0
[2025-04-09 03:22:03] Production.INFO: CreateAllLog End
[2025-04-09 03: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-04-09 03:22:03] Production.INFO: Account Balance End.
[2025-04-09 03:22:03] Production.INFO: count ==12
[2025-04-09 03:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:22:04] Production.INFO: ==20445== Releasing lock...
[2025-04-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:22:04] Production.INFO: count ==23
[2025-04-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866754') start
[2025-04-09 03:22:04] Production.ERROR: done
[2025-04-09 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866754') end
[2025-04-09 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:22:04] Production.INFO: 1
[2025-04-09 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:22:04] Production.INFO: ==20449== Releasing lock...
[2025-04-09 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:22:04] Production.ERROR: done
[2025-04-09 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:22:05
[end_date_ymd] => 2025-04-09 03:22:05
[RateCDR] => 1
)
[2025-04-09 03:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:22:05' and `end` < '2025-04-09 03:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:22:11] Production.ERROR: CronJobId end10
[2025-04-09 03:22:11] Production.INFO: ==20443== Releasing lock...
[2025-04-09 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:22:14] Production.INFO: call_cost start
[2025-04-09 03:22:14] Production.INFO: call_cost end
[2025-04-09 03:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:22:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:22:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:22:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:22:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:22:14] Production.INFO: ==20439== Releasing lock...
[2025-04-09 03:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:22:18] Production.INFO: count ==192
[2025-04-09 03:22:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:22:05 - End Time 2025-04-09 03:22:05
[2025-04-09 03:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866755', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866755', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866755', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866755', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:22:18] Production.INFO: ProcessCDR(1,14866755,1,1,2)
[2025-04-09 03:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866755', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866755', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:22:22] Production.INFO: ==20447== Releasing lock...
[2025-04-09 03:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:22:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:23:01] Production.INFO: ==20502== Lock acquired, processing the job...
[2025-04-09 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:23:01] Production.INFO: neon service started
[2025-04-09 08:23:01] Production.INFO: neon service started
[2025-04-09 08:23:01] Production.INFO: ==20502== Releasing lock...
[2025-04-09 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:23:02] Production.INFO: ==20504== Lock acquired, processing the job...
[2025-04-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:23:02] Production.INFO: ==20504== Releasing lock...
[2025-04-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:23:02] Production.INFO: ==20506== Lock acquired, processing the job...
[2025-04-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:23:02] Production.INFO: ==20506== Releasing lock...
[2025-04-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:23:03] Production.INFO: ==20519== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:23:03] Production.INFO: ==20515== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:23:03] Production.INFO: count ==12
[2025-04-09 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:23:03] Production.INFO: count ==23
[2025-04-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866756') start
[2025-04-09 03:23:03] Production.INFO: Account Balance Start.
[2025-04-09 03:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:23:03] Production.INFO: 117
[2025-04-09 03:23:03] Production.INFO: ==20509== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:23:03] Production.INFO: ==20511== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866756') end
[2025-04-09 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:23:03] Production.INFO: 1
[2025-04-09 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:23:03] Production.INFO: Total Charge 0
[2025-04-09 03:23:03] Production.INFO: ==20519== Releasing lock...
[2025-04-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:23:03] Production.INFO: ==20513== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:23:03] Production.INFO: CreateAllLog End
[2025-04-09 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:23:03] Production.INFO: ==20517== Lock acquired, processing the job...
[2025-04-09 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:23:03] Production.INFO: Account Balance End.
[2025-04-09 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:23:04] Production.INFO: ==20515== Releasing lock...
[2025-04-09 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:23:04] Production.INFO: ==20511== Releasing lock...
[2025-04-09 03:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:23:04] Production.ERROR: done
[2025-04-09 03:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:23:04] Production.ERROR: done
[2025-04-09 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:23:05
[end_date_ymd] => 2025-04-09 03:23:05
[RateCDR] => 1
)
[2025-04-09 03:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:23:05' and `end` < '2025-04-09 03:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:23:11] Production.ERROR: CronJobId end10
[2025-04-09 03:23:11] Production.INFO: ==20513== Releasing lock...
[2025-04-09 03:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:23:14] Production.INFO: call_cost start
[2025-04-09 03:23:14] Production.INFO: call_cost end
[2025-04-09 03:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:23:15] Production.INFO: ==20509== Releasing lock...
[2025-04-09 03:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:23:18] Production.INFO: count ==192
[2025-04-09 03:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:23:05 - End Time 2025-04-09 03:23:05
[2025-04-09 03:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866760', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866760', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866760', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866760', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:23:18] Production.INFO: ProcessCDR(1,14866760,1,1,2)
[2025-04-09 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866760', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866760', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:23:22] Production.INFO: ==20517== Releasing lock...
[2025-04-09 03:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:23:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:24:02] Production.INFO: ==20572== Lock acquired, processing the job...
[2025-04-09 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:24:02] Production.INFO: neon service started
[2025-04-09 08:24:02] Production.INFO: neon service started
[2025-04-09 08:24:02] Production.INFO: ==20572== Releasing lock...
[2025-04-09 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:24:02] Production.INFO: ==20574== Lock acquired, processing the job...
[2025-04-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:24:02] Production.INFO: ==20574== Releasing lock...
[2025-04-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:24:03] Production.INFO: ==20576== Lock acquired, processing the job...
[2025-04-09 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:24:03] Production.INFO: ==20576== Releasing lock...
[2025-04-09 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:24:03] Production.INFO: ==20578== Lock acquired, processing the job...
[2025-04-09 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:24:03] Production.INFO: ==20588== Lock acquired, processing the job...
[2025-04-09 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:24:04] Production.INFO: ==20580== Lock acquired, processing the job...
[2025-04-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:24:04] Production.INFO: ==20582== Lock acquired, processing the job...
[2025-04-09 03:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:24:04] Production.INFO: count ==12
[2025-04-09 03:24:04] Production.INFO: ==20584== Lock acquired, processing the job...
[2025-04-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:24:04] Production.INFO: count ==23
[2025-04-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866762') start
[2025-04-09 03:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:24:04] Production.INFO: ==20586== Lock acquired, processing the job...
[2025-04-09 03:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:24:04] Production.INFO: Account Balance Start.
[2025-04-09 03:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866762') end
[2025-04-09 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:24:04] Production.INFO: 1
[2025-04-09 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:24:04] Production.INFO: 117
[2025-04-09 03:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:24:04] Production.INFO: ==20588== Releasing lock...
[2025-04-09 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:24:04] Production.INFO: ==20580== Releasing lock...
[2025-04-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:24:04] Production.INFO: Total Charge 0
[2025-04-09 03:24:04] Production.INFO: CreateAllLog End
[2025-04-09 03:24:04] Production.ERROR: done
[2025-04-09 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:24:04] Production.ERROR: done
[2025-04-09 03:24:05] Production.INFO: Account Balance End.
[2025-04-09 03:24:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:24:05] Production.INFO: ==20584== Releasing lock...
[2025-04-09 03:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:24:05
[end_date_ymd] => 2025-04-09 03:24:05
[RateCDR] => 1
)
[2025-04-09 03:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:24:05' and `end` < '2025-04-09 03:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:24:11] Production.ERROR: CronJobId end10
[2025-04-09 03:24:11] Production.INFO: ==20582== Releasing lock...
[2025-04-09 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:24:14] Production.INFO: call_cost start
[2025-04-09 03:24:14] Production.INFO: call_cost end
[2025-04-09 03:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:24:14] Production.INFO: ==20578== Releasing lock...
[2025-04-09 03:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:24:18] Production.INFO: count ==192
[2025-04-09 03:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:24:05 - End Time 2025-04-09 03:24:05
[2025-04-09 03:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866765', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866765', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866765', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866765', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:24:18] Production.INFO: ProcessCDR(1,14866765,1,1,2)
[2025-04-09 03:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866765', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866765', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:24:21] Production.INFO: ==20586== Releasing lock...
[2025-04-09 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:24:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:25:01] Production.INFO: ==20642== Lock acquired, processing the job...
[2025-04-09 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:25:01] Production.INFO: neon service started
[2025-04-09 08:25:01] Production.INFO: neon service started
[2025-04-09 08:25:01] Production.INFO: ==20642== Releasing lock...
[2025-04-09 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:25:02] Production.INFO: ==20644== Lock acquired, processing the job...
[2025-04-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:25:02] Production.INFO: ==20646== Lock acquired, processing the job...
[2025-04-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:25:02] Production.INFO: ==20646== Releasing lock...
[2025-04-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:25:02] Production.INFO: ==20644== Releasing lock...
[2025-04-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:25:03] Production.INFO: ==20649== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:25:03] Production.INFO: ==20651== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:25:03] Production.INFO: ==20653== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:25:03] Production.INFO: ==20657== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:25:03] Production.INFO: ==20655== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:25:03] Production.INFO: Account Balance Start.
[2025-04-09 03:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:25:03] Production.INFO: 117
[2025-04-09 03:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:25:03] Production.INFO: ==20659== Lock acquired, processing the job...
[2025-04-09 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:25:03] Production.INFO: ==20651== Releasing lock...
[2025-04-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:25:04] Production.INFO: Total Charge 0
[2025-04-09 03:25:04] Production.INFO: count ==12
[2025-04-09 03:25:04] Production.INFO: CreateAllLog End
[2025-04-09 03:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:25:04] Production.INFO: count ==23
[2025-04-09 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866769') start
[2025-04-09 03:25:04] Production.ERROR: done
[2025-04-09 03:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:25:04] Production.ERROR: done
[2025-04-09 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866769') end
[2025-04-09 03:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:25:04] Production.INFO: 1
[2025-04-09 03:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:25:04] Production.INFO: ==20659== Releasing lock...
[2025-04-09 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:25:04] Production.INFO: Account Balance End.
[2025-04-09 03:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:25:04] Production.INFO: ==20655== Releasing lock...
[2025-04-09 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:25:05
[end_date_ymd] => 2025-04-09 03:25:05
[RateCDR] => 1
)
[2025-04-09 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:25:05' and `end` < '2025-04-09 03:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:25:11] Production.ERROR: CronJobId end10
[2025-04-09 03:25:11] Production.INFO: ==20653== Releasing lock...
[2025-04-09 03:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:25:14] Production.INFO: call_cost start
[2025-04-09 03:25:14] Production.INFO: call_cost end
[2025-04-09 03:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:25:15] Production.INFO: ==20649== Releasing lock...
[2025-04-09 03:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:25:18] Production.INFO: count ==192
[2025-04-09 03:25:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:25:05 - End Time 2025-04-09 03:25:05
[2025-04-09 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866770', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866770', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866770', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866770', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:25:18] Production.INFO: ProcessCDR(1,14866770,1,1,2)
[2025-04-09 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866770', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866770', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:25:21] Production.INFO: ==20657== Releasing lock...
[2025-04-09 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:25:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:26:02] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-04-09 08:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:26:02] Production.INFO: neon service started
[2025-04-09 08:26:02] Production.INFO: neon service started
[2025-04-09 08:26:02] Production.INFO: ==20720== Releasing lock...
[2025-04-09 08:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:26:02] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-04-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:26:02] Production.INFO: ==20722== Releasing lock...
[2025-04-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:26:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:26:03] Production.INFO: ==20724== Releasing lock...
[2025-04-09 07:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:26:03] Production.INFO: ==20726== Lock acquired, processing the job...
[2025-04-09 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:26:03] Production.INFO: ==20728== Lock acquired, processing the job...
[2025-04-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:26:03] Production.INFO: ==20730== Lock acquired, processing the job...
[2025-04-09 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:26:04] Production.INFO: ==20732== Lock acquired, processing the job...
[2025-04-09 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:26:04] Production.INFO: ==20734== Lock acquired, processing the job...
[2025-04-09 03:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:26:04] Production.INFO: ==20728== Releasing lock...
[2025-04-09 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:26:04] Production.INFO: ==20736== Lock acquired, processing the job...
[2025-04-09 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:26:04] Production.INFO: Account Balance Start.
[2025-04-09 03:26:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:26:04] Production.INFO: 117
[2025-04-09 03:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:26:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:26:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:26:04] Production.INFO: Total Charge 0
[2025-04-09 03:26:04] Production.INFO: count ==12
[2025-04-09 03:26:04] Production.INFO: CreateAllLog End
[2025-04-09 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:26:04] Production.INFO: count ==23
[2025-04-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866774') start
[2025-04-09 03:26:04] Production.ERROR: done
[2025-04-09 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866774') end
[2025-04-09 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:26:04] Production.INFO: 1
[2025-04-09 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:26:04] Production.INFO: ==20736== Releasing lock...
[2025-04-09 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:26:04] Production.ERROR: done
[2025-04-09 03:26:04] Production.INFO: Account Balance End.
[2025-04-09 03:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:26:04] Production.INFO: ==20732== Releasing lock...
[2025-04-09 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:26:05
[end_date_ymd] => 2025-04-09 03:26:05
[RateCDR] => 1
)
[2025-04-09 03:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:26:05' and `end` < '2025-04-09 03:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:26:12] Production.ERROR: CronJobId end10
[2025-04-09 03:26:12] Production.INFO: ==20730== Releasing lock...
[2025-04-09 03:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:26:15] Production.INFO: call_cost start
[2025-04-09 03:26:15] Production.INFO: call_cost end
[2025-04-09 03:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:26:16] Production.INFO: ==20726== Releasing lock...
[2025-04-09 03:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:26:18] Production.INFO: count ==192
[2025-04-09 03:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:26:05 - End Time 2025-04-09 03:26:05
[2025-04-09 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866775', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866775', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866775', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866775', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:26:18] Production.INFO: ProcessCDR(1,14866775,1,1,2)
[2025-04-09 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866775', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866775', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:26:22] Production.INFO: ==20734== Releasing lock...
[2025-04-09 03:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:26:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:27:01] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-04-09 08:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:27:01] Production.INFO: neon service started
[2025-04-09 08:27:01] Production.INFO: neon service started
[2025-04-09 08:27:01] Production.INFO: ==20790== Releasing lock...
[2025-04-09 08:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:27:02] Production.INFO: ==20805== Lock acquired, processing the job...
[2025-04-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:27:02] Production.INFO: ==20808== Lock acquired, processing the job...
[2025-04-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:27:02] Production.INFO: ==20808== Releasing lock...
[2025-04-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:27:02] Production.INFO: ==20805== Releasing lock...
[2025-04-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:27:03] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:27:03] Production.INFO: ==20816== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:27:03] Production.INFO: Account Balance Start.
[2025-04-09 03:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:27:03] Production.INFO: 117
[2025-04-09 03:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:27:03] Production.INFO: Total Charge 0
[2025-04-09 03:27:03] Production.INFO: ==20814== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:27:03] Production.INFO: CreateAllLog End
[2025-04-09 03:27:03] Production.INFO: Account Balance End.
[2025-04-09 03:27:03] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:27:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:27:03] Production.INFO: ==20820== Releasing lock...
[2025-04-09 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:27:03] Production.INFO: ==20816== Releasing lock...
[2025-04-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:27:03] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:27:03] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-04-09 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:27:04] Production.INFO: count ==12
[2025-04-09 03:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:27:04] Production.INFO: count ==23
[2025-04-09 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866779') start
[2025-04-09 03:27:04] Production.ERROR: done
[2025-04-09 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866779') end
[2025-04-09 03:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:27:04] Production.INFO: 1
[2025-04-09 03:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:27:04] Production.INFO: ==20824== Releasing lock...
[2025-04-09 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:27:04] Production.ERROR: done
[2025-04-09 03:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:27:05
[end_date_ymd] => 2025-04-09 03:27:05
[RateCDR] => 1
)
[2025-04-09 03:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:27:05' and `end` < '2025-04-09 03:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:27:13] Production.ERROR: CronJobId end10
[2025-04-09 03:27:13] Production.INFO: ==20818== Releasing lock...
[2025-04-09 03:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:27:15] Production.INFO: call_cost start
[2025-04-09 03:27:15] Production.INFO: call_cost end
[2025-04-09 03:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:27:16] Production.INFO: ==20814== Releasing lock...
[2025-04-09 03:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:27:17] Production.INFO: count ==192
[2025-04-09 03:27:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:27:05 - End Time 2025-04-09 03:27:05
[2025-04-09 03:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866780', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866780', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866780', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866780', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:27:18] Production.INFO: ProcessCDR(1,14866780,1,1,2)
[2025-04-09 03:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866780', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866780', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:27:21] Production.INFO: ==20822== Releasing lock...
[2025-04-09 03:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:27:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:28:02] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-04-09 08:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:28:02] Production.INFO: neon service started
[2025-04-09 08:28:02] Production.INFO: neon service started
[2025-04-09 08:28:02] Production.INFO: ==20898== Releasing lock...
[2025-04-09 08:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:28:02] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-04-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:28:02] Production.INFO: ==20902== Releasing lock...
[2025-04-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:28:02] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-04-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:28:02] Production.INFO: ==20900== Releasing lock...
[2025-04-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:28:03] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-04-09 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:28:03] Production.INFO: ==20910== Lock acquired, processing the job...
[2025-04-09 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:28:03] Production.INFO: ==20904== Lock acquired, processing the job...
[2025-04-09 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:28:03] Production.INFO: count ==12
[2025-04-09 03:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:28:03] Production.INFO: count ==23
[2025-04-09 03:28:03] Production.INFO: Account Balance Start.
[2025-04-09 03:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:28:03] Production.INFO: 117
[2025-04-09 03:28:03] Production.INFO: ==20906== Lock acquired, processing the job...
[2025-04-09 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:28:03] Production.INFO: ==20908== Lock acquired, processing the job...
[2025-04-09 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866781') start
[2025-04-09 03:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:28:04] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-04-09 03:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866781') end
[2025-04-09 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:28:04] Production.INFO: 1
[2025-04-09 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:28:04] Production.INFO: ==20914== Releasing lock...
[2025-04-09 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:28:04] Production.INFO: Total Charge 0
[2025-04-09 03:28:04] Production.INFO: CreateAllLog End
[2025-04-09 03:28:04] Production.INFO: ==20906== Releasing lock...
[2025-04-09 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:28:04] Production.ERROR: done
[2025-04-09 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:28:04] Production.INFO: Account Balance End.
[2025-04-09 03:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:28:04] Production.INFO: ==20910== Releasing lock...
[2025-04-09 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:28:04] Production.ERROR: done
[2025-04-09 03:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:28:05
[end_date_ymd] => 2025-04-09 03:28:05
[RateCDR] => 1
)
[2025-04-09 03:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:28:05' and `end` < '2025-04-09 03:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:28:11] Production.ERROR: CronJobId end10
[2025-04-09 03:28:11] Production.INFO: ==20908== Releasing lock...
[2025-04-09 03:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:28:14] Production.INFO: call_cost start
[2025-04-09 03:28:14] Production.INFO: call_cost end
[2025-04-09 03:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:28:15] Production.INFO: ==20904== Releasing lock...
[2025-04-09 03:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:28:18] Production.INFO: count ==192
[2025-04-09 03:28:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:28:05 - End Time 2025-04-09 03:28:05
[2025-04-09 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866785', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866785', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866785', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866785', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:28:18] Production.INFO: ProcessCDR(1,14866785,1,1,2)
[2025-04-09 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866785', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866785', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:28:21] Production.INFO: ==20912== Releasing lock...
[2025-04-09 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:28:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:29:01] Production.INFO: ==20966== Lock acquired, processing the job...
[2025-04-09 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:29:01] Production.INFO: neon service started
[2025-04-09 08:29:01] Production.INFO: neon service started
[2025-04-09 08:29:01] Production.INFO: ==20966== Releasing lock...
[2025-04-09 08:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:29:01] Production.INFO: ==20968== Lock acquired, processing the job...
[2025-04-09 03:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:29:02] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-04-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 03:29:02] Production.INFO: ==20968== Releasing lock...
[2025-04-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:29:02] Production.INFO: ==20970== Releasing lock...
[2025-04-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:29:03] Production.INFO: ==20978== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:29:03] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:29:03] Production.INFO: ==20982== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:29:03] Production.INFO: Account Balance Start.
[2025-04-09 03:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:29:03] Production.INFO: 117
[2025-04-09 03:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 03:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:29:03] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:29:03] Production.INFO: count ==12
[2025-04-09 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-04-09 03:29:03] Production.INFO: count ==23
[2025-04-09 03:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866788') start
[2025-04-09 03:29:03] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866788') end
[2025-04-09 03:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:29:03] Production.INFO: 1
[2025-04-09 03:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:29:03] Production.INFO: ==20980== Lock acquired, processing the job...
[2025-04-09 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:29:03] Production.INFO: Total Charge 0
[2025-04-09 03:29:03] Production.INFO: ==20982== Releasing lock...
[2025-04-09 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:29:03] Production.INFO: CreateAllLog End
[2025-04-09 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:29:03] Production.INFO: Account Balance End.
[2025-04-09 03:29:03] Production.INFO: ==20974== Releasing lock...
[2025-04-09 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:29:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:29:03] Production.INFO: ==20978== Releasing lock...
[2025-04-09 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:29:03] Production.ERROR: done
[2025-04-09 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:29:04] Production.ERROR: done
[2025-04-09 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:29:05
[end_date_ymd] => 2025-04-09 03:29:05
[RateCDR] => 1
)
[2025-04-09 03:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:29:05' and `end` < '2025-04-09 03:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:29:11] Production.ERROR: CronJobId end10
[2025-04-09 03:29:11] Production.INFO: ==20976== Releasing lock...
[2025-04-09 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:29:13] Production.INFO: call_cost start
[2025-04-09 03:29:13] Production.INFO: call_cost end
[2025-04-09 03:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:29:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:29:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:29:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:29:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:29:14] Production.INFO: ==20972== Releasing lock...
[2025-04-09 03:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:29:17] Production.INFO: count ==192
[2025-04-09 03:29:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:29:05 - End Time 2025-04-09 03:29:05
[2025-04-09 03:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866790', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866790', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866790', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866790', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:29:17] Production.INFO: ProcessCDR(1,14866790,1,1,2)
[2025-04-09 03:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866790', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866790', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:29:21] Production.INFO: ==20980== Releasing lock...
[2025-04-09 03:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:29:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:30:01] Production.INFO: ==21035== Lock acquired, processing the job...
[2025-04-09 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:30:01] Production.INFO: neon service started
[2025-04-09 08:30:01] Production.INFO: neon service started
[2025-04-09 08:30:01] Production.INFO: ==21035== Releasing lock...
[2025-04-09 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:30:02] Production.INFO: ==21039== Lock acquired, processing the job...
[2025-04-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:30:02] Production.INFO: ==21039== Releasing lock...
[2025-04-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:30:02] Production.INFO: ==21037== Lock acquired, processing the job...
[2025-04-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:30:02] Production.INFO: ==21037== Releasing lock...
[2025-04-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:30:03] Production.INFO: ==21044== Lock acquired, processing the job...
[2025-04-09 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:30:03] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-04-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:30:03] Production.ERROR: CronJob PID - 21044
[2025-04-09 03:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 03:30:03] Production.ERROR: CronJob ID - 5
[2025-04-09 03:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 03:30:00
[2025-04-09 03:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:30:03] Production.INFO: ==21046== Lock acquired, processing the job...
[2025-04-09 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:30:03] Production.INFO: ==21042== Releasing lock...
[2025-04-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:30:03] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-04-09 03:30:03] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-04-09 03:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:30:04] Production.INFO: Account Balance Start.
[2025-04-09 03:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:30:04] Production.INFO: 117
[2025-04-09 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:30:04] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-04-09 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:30:04] Production.INFO: ==21052== Lock acquired, processing the job...
[2025-04-09 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:30:04] Production.INFO: Total Charge 0
[2025-04-09 03:30:04] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-04-09 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:30:04] Production.INFO: CreateAllLog End
[2025-04-09 03:30:04] Production.INFO: ==21046== Releasing lock...
[2025-04-09 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:30:04] Production.INFO: count ==12
[2025-04-09 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:30:04] Production.INFO: count ==23
[2025-04-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866794') start
[2025-04-09 03:30:04] Production.INFO: Account Balance End.
[2025-04-09 03:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:30:04] Production.INFO: ==21050== Releasing lock...
[2025-04-09 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:30:04] Production.ERROR: done
[2025-04-09 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:30:04] Production.ERROR: done
[2025-04-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866794') end
[2025-04-09 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:30:04] Production.INFO: 1
[2025-04-09 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866795', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:30:05] Production.INFO: ==21056== Releasing lock...
[2025-04-09 03:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:30:05] Production.ERROR: done
[2025-04-09 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:30:06
[end_date_ymd] => 2025-04-09 03:30:06
[RateCDR] => 1
)
[2025-04-09 03:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:30:06' and `end` < '2025-04-09 03:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866795', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:30:08] Production.INFO: ProcessCDR(1,14866795,1,1,2)
[2025-04-09 03:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866795,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866795,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:30:08] Production.INFO: ==21054== Releasing lock...
[2025-04-09 03:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:30:13] Production.ERROR: CronJobId end10
[2025-04-09 03:30:13] Production.INFO: ==21048== Releasing lock...
[2025-04-09 03:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:30:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:30:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:30:14] Production.INFO: call_cost start
[2025-04-09 03:30:14] Production.INFO: call_cost end
[2025-04-09 03:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:30:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:30:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:30:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:30:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:30:15] Production.INFO: ==21044== Releasing lock...
[2025-04-09 03:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:30:19] Production.INFO: count ==192
[2025-04-09 03:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:30:06 - End Time 2025-04-09 03:30:06
[2025-04-09 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866796', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866796', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866796', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866796', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:30:19] Production.INFO: ProcessCDR(1,14866796,1,1,2)
[2025-04-09 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866796', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866796', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:30:22] Production.INFO: ==21052== Releasing lock...
[2025-04-09 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:30:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:31:02] Production.INFO: ==21109== Lock acquired, processing the job...
[2025-04-09 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:31:02] Production.INFO: neon service started
[2025-04-09 08:31:02] Production.INFO: neon service started
[2025-04-09 08:31:02] Production.INFO: ==21109== Releasing lock...
[2025-04-09 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:31:02] Production.INFO: ==21113== Lock acquired, processing the job...
[2025-04-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:31:02] Production.INFO: ==21113== Releasing lock...
[2025-04-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:31:02] Production.INFO: ==21111== Lock acquired, processing the job...
[2025-04-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:31:03] Production.INFO: ==21111== Releasing lock...
[2025-04-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:31:04] Production.INFO: ==21116== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:31:04] Production.INFO: ==21118== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:31:04] Production.INFO: ==21122== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:31:04] Production.INFO: Account Balance Start.
[2025-04-09 03:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:31:04] Production.INFO: 117
[2025-04-09 03:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:31:04] Production.INFO: Total Charge 0
[2025-04-09 03:31:04] Production.INFO: CreateAllLog End
[2025-04-09 03:31:04] Production.INFO: ==21120== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:31:04] Production.INFO: Account Balance End.
[2025-04-09 03:31:04] Production.INFO: ==21118== Releasing lock...
[2025-04-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:31:04] Production.INFO: ==21122== Releasing lock...
[2025-04-09 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:31:04] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:31:04] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-04-09 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:31:04] Production.INFO: count ==12
[2025-04-09 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:31:04] Production.INFO: count ==23
[2025-04-09 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866800') start
[2025-04-09 03:31:05] Production.ERROR: done
[2025-04-09 03:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866800') end
[2025-04-09 03:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:31:05] Production.INFO: 1
[2025-04-09 03:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:31:05] Production.INFO: ==21126== Releasing lock...
[2025-04-09 03:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:31:05] Production.ERROR: done
[2025-04-09 03:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:31:06
[end_date_ymd] => 2025-04-09 03:31:06
[RateCDR] => 1
)
[2025-04-09 03:31:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:31:06' and `end` < '2025-04-09 03:31:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:31:13] Production.ERROR: CronJobId end10
[2025-04-09 03:31:13] Production.INFO: ==21120== Releasing lock...
[2025-04-09 03:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:31:15] Production.INFO: call_cost start
[2025-04-09 03:31:15] Production.INFO: call_cost end
[2025-04-09 03:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:31:16] Production.INFO: ==21116== Releasing lock...
[2025-04-09 03:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:31:18] Production.INFO: count ==192
[2025-04-09 03:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:31:06 - End Time 2025-04-09 03:31:06
[2025-04-09 03:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866801', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866801', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866801', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866801', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:31:18] Production.INFO: ProcessCDR(1,14866801,1,1,2)
[2025-04-09 03:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866801', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866801', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:31:22] Production.INFO: ==21124== Releasing lock...
[2025-04-09 03:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:31:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:32:01] Production.INFO: ==21178== Lock acquired, processing the job...
[2025-04-09 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:32:01] Production.INFO: neon service started
[2025-04-09 08:32:01] Production.INFO: neon service started
[2025-04-09 08:32:01] Production.INFO: ==21178== Releasing lock...
[2025-04-09 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:32:02] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-04-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:32:02] Production.INFO: ==21180== Releasing lock...
[2025-04-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:32:02] Production.INFO: ==21182== Lock acquired, processing the job...
[2025-04-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:32:02] Production.INFO: ==21182== Releasing lock...
[2025-04-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:32:03] Production.INFO: ==21191== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:32:03] Production.INFO: Account Balance Start.
[2025-04-09 03:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:32:03] Production.INFO: 117
[2025-04-09 03:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:32:03] Production.INFO: Total Charge 0
[2025-04-09 03:32:03] Production.INFO: ==21195== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:32:03] Production.INFO: CreateAllLog End
[2025-04-09 03:32:03] Production.INFO: ==21186== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:32:03] Production.INFO: ==21184== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:32:03] Production.INFO: ==21189== Lock acquired, processing the job...
[2025-04-09 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:32:03] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 03:32:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:32:03] Production.INFO: ==21191== Releasing lock...
[2025-04-09 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:32:03] Production.INFO: count ==12
[2025-04-09 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:32:04] Production.INFO: ==21193== Lock acquired, processing the job...
[2025-04-09 03:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:32:04] Production.INFO: count ==23
[2025-04-09 03:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866803') start
[2025-04-09 03:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866803') end
[2025-04-09 03:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:32:04] Production.INFO: 1
[2025-04-09 03:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:32:04] Production.INFO: ==21195== Releasing lock...
[2025-04-09 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:32:04] Production.INFO: ==21186== Releasing lock...
[2025-04-09 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:32:04] Production.ERROR: done
[2025-04-09 03:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:32:04] Production.ERROR: done
[2025-04-09 03:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:32:05
[end_date_ymd] => 2025-04-09 03:32:05
[RateCDR] => 1
)
[2025-04-09 03:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:32:05' and `end` < '2025-04-09 03:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:32:12] Production.ERROR: CronJobId end10
[2025-04-09 03:32:12] Production.INFO: ==21189== Releasing lock...
[2025-04-09 03:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:32:14] Production.INFO: call_cost start
[2025-04-09 03:32:14] Production.INFO: call_cost end
[2025-04-09 03:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:32:15] Production.INFO: ==21184== Releasing lock...
[2025-04-09 03:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:32:18] Production.INFO: count ==192
[2025-04-09 03:32:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:32:05 - End Time 2025-04-09 03:32:05
[2025-04-09 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866806', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866806', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866806', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866806', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:32:18] Production.INFO: ProcessCDR(1,14866806,1,1,2)
[2025-04-09 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866806', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866806', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:32:22] Production.INFO: ==21193== Releasing lock...
[2025-04-09 03:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:32:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:33:01] Production.INFO: ==21254== Lock acquired, processing the job...
[2025-04-09 08:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:33:01] Production.INFO: neon service started
[2025-04-09 08:33:01] Production.INFO: neon service started
[2025-04-09 08:33:01] Production.INFO: ==21254== Releasing lock...
[2025-04-09 08:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:33:01] Production.INFO: ==21258== Lock acquired, processing the job...
[2025-04-09 07:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:33:01] Production.INFO: ==21258== Releasing lock...
[2025-04-09 07:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:33:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:33:02] Production.INFO: ==21256== Lock acquired, processing the job...
[2025-04-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:33:02] Production.INFO: ==21256== Releasing lock...
[2025-04-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:33:03] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:33:03] Production.INFO: ==21264== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:33:03] Production.INFO: ==21260== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:33:03] Production.ERROR: done
[2025-04-09 03:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:33:03] Production.INFO: ==21262== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:33:03] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:33:03] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-04-09 03:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:33:04] Production.ERROR: done
[2025-04-09 03:33:04] Production.INFO: Account Balance Start.
[2025-04-09 03:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:33:04] Production.INFO: 117
[2025-04-09 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 03:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:33:04] Production.INFO: Total Charge 0
[2025-04-09 03:33:04] Production.INFO: count ==12
[2025-04-09 03:33:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 03:33:04] Production.INFO: count ==23
[2025-04-09 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866808') start
[2025-04-09 03:33:04] Production.INFO: ==21262== Releasing lock...
[2025-04-09 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866808') end
[2025-04-09 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:33:04] Production.INFO: 1
[2025-04-09 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:33:04] Production.INFO: ==21271== Releasing lock...
[2025-04-09 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:33:04] Production.INFO: Account Balance End.
[2025-04-09 03:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:33:04] Production.INFO: ==21267== Releasing lock...
[2025-04-09 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:33:05
[end_date_ymd] => 2025-04-09 03:33:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:33:05' and `end` < '2025-04-09 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-04-09 03:33:11] Production.ERROR: CronJobId end10
[2025-04-09 03:33:11] Production.INFO: ==21264== Releasing lock...
[2025-04-09 03:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:33:14] Production.INFO: call_cost start
[2025-04-09 03:33:14] Production.INFO: call_cost end
[2025-04-09 03:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:33:15] Production.INFO: ==21260== Releasing lock...
[2025-04-09 03:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:33:18] Production.INFO: count ==192
[2025-04-09 03:33:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:33:05 - End Time 2025-04-09 03:33:05
[2025-04-09 03:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866811', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866811', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866811', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866811', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:33:18] Production.INFO: ProcessCDR(1,14866811,1,1,2)
[2025-04-09 03:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866811', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866811', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:33:21] Production.INFO: ==21269== Releasing lock...
[2025-04-09 03:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:33:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:34:01] Production.INFO: ==21364== Lock acquired, processing the job...
[2025-04-09 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:34:02] Production.INFO: neon service started
[2025-04-09 08:34:02] Production.INFO: neon service started
[2025-04-09 08:34:02] Production.INFO: ==21364== Releasing lock...
[2025-04-09 08:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:34:02] Production.INFO: ==21368== Lock acquired, processing the job...
[2025-04-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:34:02] Production.INFO: ==21368== Releasing lock...
[2025-04-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:34:02] Production.INFO: ==21366== Lock acquired, processing the job...
[2025-04-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:34:02] Production.INFO: ==21366== Releasing lock...
[2025-04-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:34:03] Production.INFO: ==21377== Lock acquired, processing the job...
[2025-04-09 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:34:03] Production.INFO: ==21381== Lock acquired, processing the job...
[2025-04-09 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:34:03] Production.INFO: Account Balance Start.
[2025-04-09 03:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:34:03] Production.INFO: 117
[2025-04-09 03:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:34:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 03:34:03] Production.INFO: CreateAllLog End
[2025-04-09 03:34:03] Production.INFO: ==21371== Lock acquired, processing the job...
[2025-04-09 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:34:03] Production.INFO: count ==12
[2025-04-09 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-04-09 03:34:03] Production.INFO: count ==23
[2025-04-09 03:34:04] Production.INFO: ==21373== Lock acquired, processing the job...
[2025-04-09 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:34:04] Production.INFO: Account Balance End.
[2025-04-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866813') start
[2025-04-09 03:34:04] Production.INFO: ==21375== Lock acquired, processing the job...
[2025-04-09 03:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:34:04] Production.INFO: ==21377== Releasing lock...
[2025-04-09 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:34:04] Production.INFO: ==21379== Lock acquired, processing the job...
[2025-04-09 03:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866813') end
[2025-04-09 03:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:34:04] Production.INFO: 1
[2025-04-09 03:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:34:04] Production.INFO: ==21381== Releasing lock...
[2025-04-09 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:34:04] Production.INFO: ==21373== Releasing lock...
[2025-04-09 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:34:04] Production.ERROR: done
[2025-04-09 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:34:04] Production.ERROR: done
[2025-04-09 03:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:34:05
[end_date_ymd] => 2025-04-09 03:34:05
[RateCDR] => 1
)
[2025-04-09 03: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-04-09 00:34:05' and `end` < '2025-04-09 03: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-04-09 03:34:11] Production.ERROR: CronJobId end10
[2025-04-09 03:34:11] Production.INFO: ==21375== Releasing lock...
[2025-04-09 03:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:34:14] Production.INFO: call_cost start
[2025-04-09 03:34:14] Production.INFO: call_cost end
[2025-04-09 03:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:34:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:34:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:34:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:34:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:34:14] Production.INFO: ==21371== Releasing lock...
[2025-04-09 03:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:34:18] Production.INFO: count ==191
[2025-04-09 03:34:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:34:05 - End Time 2025-04-09 03:34:05
[2025-04-09 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866816', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866816', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866816', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866816', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:34:18] Production.INFO: ProcessCDR(1,14866816,1,1,2)
[2025-04-09 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866816', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866816', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:34:21] Production.INFO: ==21379== Releasing lock...
[2025-04-09 03:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:35:01] Production.INFO: ==21434== Lock acquired, processing the job...
[2025-04-09 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:35:01] Production.INFO: neon service started
[2025-04-09 08:35:01] Production.INFO: neon service started
[2025-04-09 08:35:01] Production.INFO: ==21434== Releasing lock...
[2025-04-09 08:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:35:01] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-04-09 03:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:35:02] Production.INFO: ==21436== Releasing lock...
[2025-04-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:35:02] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-04-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:35:02] Production.INFO: ==21438== Releasing lock...
[2025-04-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:35:03] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:35:03] Production.INFO: ==21451== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:35:03] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:35:03] Production.INFO: ==21441== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:35:03] Production.INFO: ==21447== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:35:03] Production.INFO: ==21445== Lock acquired, processing the job...
[2025-04-09 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 03:35:03] Production.INFO: count ==12
[2025-04-09 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-04-09 03:35:03] Production.INFO: count ==23
[2025-04-09 03:35:03] Production.INFO: Account Balance Start.
[2025-04-09 03:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:35:03] Production.INFO: 117
[2025-04-09 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866817') start
[2025-04-09 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866817') end
[2025-04-09 03:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:35:03] Production.INFO: 1
[2025-04-09 03:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:35:03] Production.INFO: ==21451== Releasing lock...
[2025-04-09 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:35:03] Production.INFO: ==21443== Releasing lock...
[2025-04-09 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:35:03] Production.INFO: Total Charge 0
[2025-04-09 03:35:03] Production.INFO: CreateAllLog End
[2025-04-09 03:35:03] Production.ERROR: done
[2025-04-09 03:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:35:03] Production.INFO: Account Balance End.
[2025-04-09 03:35:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:35:03] Production.INFO: ==21447== Releasing lock...
[2025-04-09 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:35:03] Production.ERROR: done
[2025-04-09 03:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:35:04
[end_date_ymd] => 2025-04-09 03:35:04
[RateCDR] => 1
)
[2025-04-09 03: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-04-09 00:35:04' and `end` < '2025-04-09 03: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-04-09 03:35:11] Production.ERROR: CronJobId end10
[2025-04-09 03:35:11] Production.INFO: ==21445== Releasing lock...
[2025-04-09 03:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:35:14] Production.INFO: call_cost start
[2025-04-09 03:35:14] Production.INFO: call_cost end
[2025-04-09 03:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:35:14] Production.INFO: ==21441== Releasing lock...
[2025-04-09 03:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:35:17] Production.INFO: count ==190
[2025-04-09 03:35:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:35:04 - End Time 2025-04-09 03:35:04
[2025-04-09 03:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866821', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866821', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866821', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866821', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:35:17] Production.INFO: ProcessCDR(1,14866821,1,1,2)
[2025-04-09 03:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866821', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866821', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:35:21] Production.INFO: ==21449== Releasing lock...
[2025-04-09 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:36:01] Production.INFO: ==21503== Lock acquired, processing the job...
[2025-04-09 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:36:01] Production.INFO: neon service started
[2025-04-09 08:36:01] Production.INFO: neon service started
[2025-04-09 08:36:01] Production.INFO: ==21503== Releasing lock...
[2025-04-09 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:36:02] Production.INFO: ==21506== Lock acquired, processing the job...
[2025-04-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:36:02] Production.INFO: ==21508== Lock acquired, processing the job...
[2025-04-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:36:02] Production.INFO: ==21508== Releasing lock...
[2025-04-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:36:02] Production.INFO: ==21506== Releasing lock...
[2025-04-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:36:03] Production.INFO: ==21510== Lock acquired, processing the job...
[2025-04-09 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:36:03] Production.INFO: ==21516== Lock acquired, processing the job...
[2025-04-09 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:36:03] Production.INFO: ==21514== Lock acquired, processing the job...
[2025-04-09 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:36:03] Production.INFO: ==21512== Lock acquired, processing the job...
[2025-04-09 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:36:03] Production.INFO: Account Balance Start.
[2025-04-09 03:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:36:03] Production.INFO: 117
[2025-04-09 03:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:36:03] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-04-09 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:36:04] Production.INFO: Total Charge 0
[2025-04-09 03:36:04] Production.INFO: CreateAllLog End
[2025-04-09 03:36:04] Production.INFO: ==21518== Lock acquired, processing the job...
[2025-04-09 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:36:04] Production.INFO: count ==12
[2025-04-09 03:36:04] Production.INFO: ==21512== Releasing lock...
[2025-04-09 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03: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-04-09 03:36:04] Production.INFO: count ==23
[2025-04-09 03:36:04] Production.INFO: Account Balance End.
[2025-04-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866825') start
[2025-04-09 03:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:36:04] Production.INFO: ==21516== Releasing lock...
[2025-04-09 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866825') end
[2025-04-09 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:36:04] Production.INFO: 1
[2025-04-09 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:36:04] Production.INFO: ==21520== Releasing lock...
[2025-04-09 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:36:04] Production.ERROR: done
[2025-04-09 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:36:04] Production.ERROR: done
[2025-04-09 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:36:05
[end_date_ymd] => 2025-04-09 03:36:05
[RateCDR] => 1
)
[2025-04-09 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:36:05' and `end` < '2025-04-09 03:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:36:13] Production.ERROR: CronJobId end10
[2025-04-09 03:36:13] Production.INFO: ==21514== Releasing lock...
[2025-04-09 03:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:36:14] Production.INFO: call_cost start
[2025-04-09 03:36:14] Production.INFO: call_cost end
[2025-04-09 03:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:36:15] Production.INFO: ==21510== Releasing lock...
[2025-04-09 03:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:36:18] Production.INFO: count ==190
[2025-04-09 03:36:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:36:05 - End Time 2025-04-09 03:36:05
[2025-04-09 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866826', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866826', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866826', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866826', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:36:18] Production.INFO: ProcessCDR(1,14866826,1,1,2)
[2025-04-09 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866826', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866826', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:36:22] Production.INFO: ==21518== Releasing lock...
[2025-04-09 03:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:36:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:37:02] Production.INFO: ==21580== Lock acquired, processing the job...
[2025-04-09 08:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:37:02] Production.INFO: neon service started
[2025-04-09 08:37:02] Production.INFO: neon service started
[2025-04-09 08:37:02] Production.INFO: ==21580== Releasing lock...
[2025-04-09 08:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:37:02] Production.INFO: ==21582== Lock acquired, processing the job...
[2025-04-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:37:02] Production.INFO: ==21582== Releasing lock...
[2025-04-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:37:03] Production.INFO: ==21584== Lock acquired, processing the job...
[2025-04-09 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:37:03] Production.INFO: ==21584== Releasing lock...
[2025-04-09 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:37:03] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-04-09 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:37:03] Production.INFO: ==21595== Lock acquired, processing the job...
[2025-04-09 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:37:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-04-09 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:37:04] Production.INFO: ==21586== Lock acquired, processing the job...
[2025-04-09 03:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:37:04] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-04-09 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:37:04] Production.INFO: ==21597== Lock acquired, processing the job...
[2025-04-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:37:04] Production.INFO: ==21589== Releasing lock...
[2025-04-09 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:37:04] Production.INFO: Account Balance Start.
[2025-04-09 03:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:37:04] Production.INFO: 117
[2025-04-09 03:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 03:37:04] Production.INFO: count ==12
[2025-04-09 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-04-09 03:37:04] Production.ERROR: done
[2025-04-09 03:37:04] Production.INFO: count ==23
[2025-04-09 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866830') start
[2025-04-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:37:04] Production.INFO: Total Charge 0
[2025-04-09 03:37:04] Production.INFO: CreateAllLog End
[2025-04-09 03:37:04] Production.ERROR: done
[2025-04-09 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866830') end
[2025-04-09 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:37:04] Production.INFO: 1
[2025-04-09 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:37:04] Production.INFO: ==21597== Releasing lock...
[2025-04-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:37:04] Production.INFO: Account Balance End.
[2025-04-09 03:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:37:04] Production.INFO: ==21593== Releasing lock...
[2025-04-09 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:37:05
[end_date_ymd] => 2025-04-09 03:37:05
[RateCDR] => 1
)
[2025-04-09 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:37:05' and `end` < '2025-04-09 03:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:37:12] Production.ERROR: CronJobId end10
[2025-04-09 03:37:12] Production.INFO: ==21591== Releasing lock...
[2025-04-09 03:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:37:14] Production.INFO: call_cost start
[2025-04-09 03:37:14] Production.INFO: call_cost end
[2025-04-09 03:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:37:15] Production.INFO: ==21586== Releasing lock...
[2025-04-09 03:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:37:18] Production.INFO: count ==190
[2025-04-09 03:37:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:37:05 - End Time 2025-04-09 03:37:05
[2025-04-09 03:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866831', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866831', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866831', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866831', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:37:18] Production.INFO: ProcessCDR(1,14866831,1,1,2)
[2025-04-09 03:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866831', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866831', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:37:21] Production.INFO: ==21595== Releasing lock...
[2025-04-09 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:38:01] Production.INFO: ==21652== Lock acquired, processing the job...
[2025-04-09 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:38:01] Production.INFO: neon service started
[2025-04-09 08:38:01] Production.INFO: neon service started
[2025-04-09 08:38:01] Production.INFO: ==21652== Releasing lock...
[2025-04-09 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:38:02] Production.INFO: ==21656== Lock acquired, processing the job...
[2025-04-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:38:02] Production.INFO: ==21656== Releasing lock...
[2025-04-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:38:02] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-04-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:38:02] Production.INFO: ==21654== Releasing lock...
[2025-04-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:38:03] Production.INFO: ==21667== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:38:03] Production.INFO: ==21665== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:38:03] Production.INFO: ==21658== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:38:03] Production.INFO: Account Balance Start.
[2025-04-09 03:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:38:03] Production.INFO: 117
[2025-04-09 03:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:38:03] Production.INFO: ==21660== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:38:03] Production.INFO: ==21662== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:38:03] Production.INFO: ==21669== Lock acquired, processing the job...
[2025-04-09 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:38:03] Production.INFO: Total Charge 0
[2025-04-09 03:38:03] Production.INFO: count ==12
[2025-04-09 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-04-09 03:38:03] Production.INFO: CreateAllLog End
[2025-04-09 03:38:03] Production.INFO: count ==23
[2025-04-09 03:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866835') start
[2025-04-09 03:38:04] Production.ERROR: done
[2025-04-09 03:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866835') end
[2025-04-09 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:38:04] Production.INFO: 1
[2025-04-09 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:38:04] Production.INFO: ==21660== Releasing lock...
[2025-04-09 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:38:04] Production.INFO: ==21669== Releasing lock...
[2025-04-09 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:38:04] Production.ERROR: done
[2025-04-09 03:38:04] Production.INFO: Account Balance End.
[2025-04-09 03:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:38:04] Production.INFO: ==21665== Releasing lock...
[2025-04-09 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:38:05
[end_date_ymd] => 2025-04-09 03:38:05
[RateCDR] => 1
)
[2025-04-09 03:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:38:05' and `end` < '2025-04-09 03:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:38:12] Production.ERROR: CronJobId end10
[2025-04-09 03:38:12] Production.INFO: ==21662== Releasing lock...
[2025-04-09 03:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:38:14] Production.INFO: call_cost start
[2025-04-09 03:38:14] Production.INFO: call_cost end
[2025-04-09 03:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:38:15] Production.INFO: ==21658== Releasing lock...
[2025-04-09 03:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:38:18] Production.INFO: count ==190
[2025-04-09 03:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:38:05 - End Time 2025-04-09 03:38:05
[2025-04-09 03:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866836', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866836', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866836', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866836', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:38:18] Production.INFO: ProcessCDR(1,14866836,1,1,2)
[2025-04-09 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866836', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866836', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:38:21] Production.INFO: ==21667== Releasing lock...
[2025-04-09 03:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:38:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:39:02] Production.INFO: ==21723== Lock acquired, processing the job...
[2025-04-09 08:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:39:02] Production.INFO: neon service started
[2025-04-09 08:39:02] Production.INFO: neon service started
[2025-04-09 08:39:02] Production.INFO: ==21723== Releasing lock...
[2025-04-09 08:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:39:02] Production.INFO: ==21725== Lock acquired, processing the job...
[2025-04-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:39:02] Production.INFO: ==21725== Releasing lock...
[2025-04-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:39:02] Production.INFO: ==21727== Lock acquired, processing the job...
[2025-04-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:39:03] Production.INFO: ==21727== Releasing lock...
[2025-04-09 07:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:39:03] Production.INFO: ==21730== Lock acquired, processing the job...
[2025-04-09 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:39:03] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-04-09 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:39:03] Production.INFO: ==21738== Lock acquired, processing the job...
[2025-04-09 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:39:03] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-04-09 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:39:04] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-04-09 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:39:04] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-04-09 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:39:04] Production.INFO: Account Balance Start.
[2025-04-09 03:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:39:04] Production.INFO: 117
[2025-04-09 03:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:39:04] Production.INFO: Total Charge 0
[2025-04-09 03:39:04] Production.INFO: CreateAllLog End
[2025-04-09 03:39:04] Production.INFO: ==21732== Releasing lock...
[2025-04-09 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:39:04] Production.ERROR: done
[2025-04-09 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:39:04] Production.INFO: count ==12
[2025-04-09 03:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:39:04] Production.INFO: count ==23
[2025-04-09 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866840') start
[2025-04-09 03:39:04] Production.INFO: Account Balance End.
[2025-04-09 03:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:39:04] Production.INFO: ==21736== Releasing lock...
[2025-04-09 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:39:04] Production.ERROR: done
[2025-04-09 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866840') end
[2025-04-09 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:39:04] Production.INFO: 1
[2025-04-09 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:39:04] Production.INFO: ==21740== Releasing lock...
[2025-04-09 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:39:05
[end_date_ymd] => 2025-04-09 03:39:05
[RateCDR] => 1
)
[2025-04-09 03:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:39:05' and `end` < '2025-04-09 03:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:39:11] Production.ERROR: CronJobId end10
[2025-04-09 03:39:11] Production.INFO: ==21734== Releasing lock...
[2025-04-09 03:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:39:14] Production.INFO: call_cost start
[2025-04-09 03:39:14] Production.INFO: call_cost end
[2025-04-09 03:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:39:15] Production.INFO: ==21730== Releasing lock...
[2025-04-09 03:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:39:18] Production.INFO: count ==192
[2025-04-09 03:39:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:39:05 - End Time 2025-04-09 03:39:05
[2025-04-09 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866841', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866841', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866841', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866841', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:39:18] Production.INFO: ProcessCDR(1,14866841,1,1,2)
[2025-04-09 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866841', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866841', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:39:22] Production.INFO: ==21738== Releasing lock...
[2025-04-09 03:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:39:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:40:01] Production.INFO: ==21794== Lock acquired, processing the job...
[2025-04-09 08:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:40:01] Production.INFO: neon service started
[2025-04-09 08:40:01] Production.INFO: neon service started
[2025-04-09 08:40:01] Production.INFO: ==21794== Releasing lock...
[2025-04-09 08:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:40:02] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-04-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:40:02] Production.INFO: ==21798== Lock acquired, processing the job...
[2025-04-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:40:02] Production.INFO: ==21798== Releasing lock...
[2025-04-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:40:02] Production.INFO: ==21796== Releasing lock...
[2025-04-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:40:03] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-04-09 03:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:40:03] Production.INFO: ==21807== Lock acquired, processing the job...
[2025-04-09 03:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:40:03] Production.INFO: ==21815== Lock acquired, processing the job...
[2025-04-09 03:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:40:03] Production.INFO: ==21801== Lock acquired, processing the job...
[2025-04-09 03:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:40:04] Production.ERROR: CronJob PID - 21803
[2025-04-09 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 03:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:40:00
[2025-04-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:40:04] Production.ERROR: CronJob PID - 21807
[2025-04-09 03:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 03:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:40:00
[2025-04-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 03:40:04] Production.ERROR: CronJob PID - 21815
[2025-04-09 03:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 03:40:04] Production.ERROR: CronJob ID - 19
[2025-04-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 03:40:00
[2025-04-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:40:04] Production.INFO: ==21801== Releasing lock...
[2025-04-09 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:40:04] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-04-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:40:04] Production.INFO: count ==12
[2025-04-09 03:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:40:04] Production.INFO: count ==23
[2025-04-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866843') start
[2025-04-09 03:40:04] Production.INFO: ==21809== Lock acquired, processing the job...
[2025-04-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866843') end
[2025-04-09 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:40:04] Production.INFO: 1
[2025-04-09 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:40:04] Production.INFO: Account Balance Start.
[2025-04-09 03:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:40:04] Production.INFO: 117
[2025-04-09 03:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:40:04] Production.INFO: ==21813== Lock acquired, processing the job...
[2025-04-09 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:40:04] Production.INFO: ==21811== Lock acquired, processing the job...
[2025-04-09 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:40:04] Production.INFO: ==21815== Releasing lock...
[2025-04-09 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:40:04] Production.INFO: Total Charge 0
[2025-04-09 03:40:04] Production.INFO: CreateAllLog End
[2025-04-09 03:40:04] Production.INFO: ==21805== Releasing lock...
[2025-04-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:40:04] Production.INFO: Account Balance End.
[2025-04-09 03:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:40:04] Production.INFO: ==21809== Releasing lock...
[2025-04-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:40:04] Production.ERROR: done
[2025-04-09 03:40:04] Production.ERROR: done
[2025-04-09 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866846', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:40:05] Production.ERROR: done
[2025-04-09 03:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:40:06
[end_date_ymd] => 2025-04-09 03:40:06
[RateCDR] => 1
)
[2025-04-09 03: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-04-09 00:40:06' and `end` < '2025-04-09 03: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-04-09 03:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866846', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:40:09] Production.INFO: ProcessCDR(1,14866846,1,1,2)
[2025-04-09 03:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866846,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:40:09] Production.INFO: ==21813== Releasing lock...
[2025-04-09 03:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:40:14] Production.ERROR: CronJobId end10
[2025-04-09 03:40:14] Production.INFO: ==21807== Releasing lock...
[2025-04-09 03:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:40:16] Production.INFO: call_cost start
[2025-04-09 03:40:16] Production.INFO: call_cost end
[2025-04-09 03:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:40:17] Production.INFO: ==21803== Releasing lock...
[2025-04-09 03:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:40:18] Production.INFO: count ==192
[2025-04-09 03:40:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:40:06 - End Time 2025-04-09 03:40:06
[2025-04-09 03:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866847', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866847', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866847', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866847', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:40:18] Production.INFO: ProcessCDR(1,14866847,1,1,2)
[2025-04-09 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866847', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866847', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:40:22] Production.INFO: ==21811== Releasing lock...
[2025-04-09 03:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:40:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:41:02] Production.INFO: ==21873== Lock acquired, processing the job...
[2025-04-09 08:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:41:02] Production.INFO: neon service started
[2025-04-09 08:41:02] Production.INFO: neon service started
[2025-04-09 08:41:02] Production.INFO: ==21873== Releasing lock...
[2025-04-09 08:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:41:02] Production.INFO: ==21875== Lock acquired, processing the job...
[2025-04-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:41:02] Production.INFO: ==21877== Lock acquired, processing the job...
[2025-04-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:41:02] Production.INFO: ==21877== Releasing lock...
[2025-04-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:41:02] Production.INFO: ==21875== Releasing lock...
[2025-04-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:41:03] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-04-09 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:41:03] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-04-09 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:41:03] Production.INFO: ==21888== Lock acquired, processing the job...
[2025-04-09 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:41:03] Production.INFO: Account Balance Start.
[2025-04-09 03:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:41:03] Production.INFO: 117
[2025-04-09 03:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:41:03] Production.INFO: ==21880== Lock acquired, processing the job...
[2025-04-09 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:41:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:41:03] Production.INFO: Total Charge 0
[2025-04-09 03:41:03] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-04-09 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:41:03] Production.INFO: CreateAllLog End
[2025-04-09 03:41:04] Production.INFO: ==21890== Lock acquired, processing the job...
[2025-04-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:41:04] Production.INFO: ==21882== Releasing lock...
[2025-04-09 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:41:04] Production.INFO: Account Balance End.
[2025-04-09 03:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:41:04] Production.INFO: ==21886== Releasing lock...
[2025-04-09 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:41:04] Production.ERROR: done
[2025-04-09 03:41:04] Production.INFO: count ==12
[2025-04-09 03:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:41:04] Production.INFO: count ==23
[2025-04-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866851') start
[2025-04-09 03:41:04] Production.ERROR: done
[2025-04-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866851') end
[2025-04-09 03:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:41:04] Production.INFO: 1
[2025-04-09 03:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:41:04] Production.INFO: ==21890== Releasing lock...
[2025-04-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:41:05
[end_date_ymd] => 2025-04-09 03:41:05
[RateCDR] => 1
)
[2025-04-09 03:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:41:05' and `end` < '2025-04-09 03:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:41:13] Production.ERROR: CronJobId end10
[2025-04-09 03:41:13] Production.INFO: ==21884== Releasing lock...
[2025-04-09 03:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:41:15] Production.INFO: call_cost start
[2025-04-09 03:41:15] Production.INFO: call_cost end
[2025-04-09 03:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:41:16] Production.INFO: ==21880== Releasing lock...
[2025-04-09 03:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:41:18] Production.INFO: count ==192
[2025-04-09 03:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:41:05 - End Time 2025-04-09 03:41:05
[2025-04-09 03:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866852', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866852', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866852', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866852', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:41:18] Production.INFO: ProcessCDR(1,14866852,1,1,2)
[2025-04-09 03:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866852', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866852', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:41:21] Production.INFO: ==21888== Releasing lock...
[2025-04-09 03:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:41:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:42:01] Production.INFO: ==21946== Lock acquired, processing the job...
[2025-04-09 08:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:42:01] Production.INFO: neon service started
[2025-04-09 08:42:01] Production.INFO: neon service started
[2025-04-09 08:42:01] Production.INFO: ==21946== Releasing lock...
[2025-04-09 08:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:42:02] Production.INFO: ==21948== Lock acquired, processing the job...
[2025-04-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:42:02] Production.INFO: ==21950== Lock acquired, processing the job...
[2025-04-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:42:02] Production.INFO: ==21950== Releasing lock...
[2025-04-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:42:02] Production.INFO: ==21948== Releasing lock...
[2025-04-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:42:03] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:42:03] Production.INFO: ==21961== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:42:03] Production.INFO: Account Balance Start.
[2025-04-09 03:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:42:03] Production.INFO: 117
[2025-04-09 03:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:42:03] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:42:03] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:42:03] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:42:03] Production.INFO: Total Charge 0
[2025-04-09 03:42:03] Production.INFO: CreateAllLog End
[2025-04-09 03:42:03] Production.INFO: ==21963== Lock acquired, processing the job...
[2025-04-09 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:42:04] Production.ERROR: done
[2025-04-09 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:42:04] Production.INFO: count ==12
[2025-04-09 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:42:04] Production.INFO: count ==23
[2025-04-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866855') start
[2025-04-09 03:42:04] Production.ERROR: done
[2025-04-09 03:42:04] Production.INFO: Account Balance End.
[2025-04-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866855') end
[2025-04-09 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:42:04] Production.INFO: 1
[2025-04-09 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:42:04] Production.INFO: ==21959== Releasing lock...
[2025-04-09 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:42:04] Production.INFO: ==21963== Releasing lock...
[2025-04-09 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:42:04] Production.INFO: ==21955== Releasing lock...
[2025-04-09 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:42:05
[end_date_ymd] => 2025-04-09 03:42:05
[RateCDR] => 1
)
[2025-04-09 03:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:42:05' and `end` < '2025-04-09 03:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:42:12] Production.ERROR: CronJobId end10
[2025-04-09 03:42:12] Production.INFO: ==21957== Releasing lock...
[2025-04-09 03:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:42:14] Production.INFO: call_cost start
[2025-04-09 03:42:14] Production.INFO: call_cost end
[2025-04-09 03:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:42:15] Production.INFO: ==21953== Releasing lock...
[2025-04-09 03:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:42:18] Production.INFO: count ==192
[2025-04-09 03:42:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:42:05 - End Time 2025-04-09 03:42:05
[2025-04-09 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866857', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866857', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866857', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866857', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:42:18] Production.INFO: ProcessCDR(1,14866857,1,1,2)
[2025-04-09 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866857', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866857', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:42:21] Production.INFO: ==21961== Releasing lock...
[2025-04-09 03:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:42:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:43:02] Production.INFO: ==22016== Lock acquired, processing the job...
[2025-04-09 08:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:43:02] Production.INFO: neon service started
[2025-04-09 08:43:02] Production.INFO: neon service started
[2025-04-09 08:43:02] Production.INFO: ==22016== Releasing lock...
[2025-04-09 08:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:43:02] Production.INFO: ==22021== Lock acquired, processing the job...
[2025-04-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:43:02] Production.INFO: ==22021== Releasing lock...
[2025-04-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:43:02] Production.INFO: ==22019== Lock acquired, processing the job...
[2025-04-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:43:02] Production.INFO: ==22019== Releasing lock...
[2025-04-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:43:03] Production.INFO: ==22023== Lock acquired, processing the job...
[2025-04-09 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:43:03] Production.INFO: ==22025== Lock acquired, processing the job...
[2025-04-09 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:43:03] Production.INFO: ==22027== Lock acquired, processing the job...
[2025-04-09 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:43:04] Production.INFO: ==22029== Lock acquired, processing the job...
[2025-04-09 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:43:04] Production.INFO: ==22033== Lock acquired, processing the job...
[2025-04-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:43:04] Production.INFO: Account Balance Start.
[2025-04-09 03:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:43:04] Production.INFO: 117
[2025-04-09 03:43:04] Production.INFO: ==22025== Releasing lock...
[2025-04-09 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:43:04] Production.INFO: ==22031== Lock acquired, processing the job...
[2025-04-09 03:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:43:04] Production.INFO: Total Charge 0
[2025-04-09 03:43:04] Production.INFO: CreateAllLog End
[2025-04-09 03:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:43:04] Production.INFO: count ==12
[2025-04-09 03:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:43:04] Production.INFO: count ==23
[2025-04-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866861') start
[2025-04-09 03:43:04] Production.INFO: Account Balance End.
[2025-04-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866861') end
[2025-04-09 03:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:43:04] Production.INFO: 1
[2025-04-09 03:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:43:04] Production.INFO: ==22029== Releasing lock...
[2025-04-09 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:43:04] Production.INFO: ==22033== Releasing lock...
[2025-04-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:43:04] Production.ERROR: done
[2025-04-09 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:43:05] Production.ERROR: done
[2025-04-09 03:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:43:06
[end_date_ymd] => 2025-04-09 03:43:06
[RateCDR] => 1
)
[2025-04-09 03:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:43:06' and `end` < '2025-04-09 03:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:43:12] Production.ERROR: CronJobId end10
[2025-04-09 03:43:12] Production.INFO: ==22027== Releasing lock...
[2025-04-09 03:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:43:14] Production.INFO: call_cost start
[2025-04-09 03:43:14] Production.INFO: call_cost end
[2025-04-09 03:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:43:15] Production.INFO: ==22023== Releasing lock...
[2025-04-09 03:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:43:18] Production.INFO: count ==192
[2025-04-09 03:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:43:06 - End Time 2025-04-09 03:43:06
[2025-04-09 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866862', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866862', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866862', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866862', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:43:18] Production.INFO: ProcessCDR(1,14866862,1,1,2)
[2025-04-09 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866862', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866862', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:43:22] Production.INFO: ==22031== Releasing lock...
[2025-04-09 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:43:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:44:01] Production.INFO: ==22087== Lock acquired, processing the job...
[2025-04-09 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:44:01] Production.INFO: neon service started
[2025-04-09 08:44:01] Production.INFO: neon service started
[2025-04-09 08:44:01] Production.INFO: ==22087== Releasing lock...
[2025-04-09 08:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:44:01] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-04-09 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:44:02] Production.INFO: ==22090== Releasing lock...
[2025-04-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:44:02] Production.INFO: ==22092== Lock acquired, processing the job...
[2025-04-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:44:02] Production.INFO: ==22092== Releasing lock...
[2025-04-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:44:03] Production.INFO: ==22096== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:44:03] Production.INFO: ==22102== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:44:03] Production.INFO: ==22094== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:44:03] Production.INFO: ==22098== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:44:03] Production.INFO: ==22100== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:44:03] Production.INFO: ==22104== Lock acquired, processing the job...
[2025-04-09 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:44:03] Production.INFO: Account Balance Start.
[2025-04-09 03:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:44:03] Production.INFO: 117
[2025-04-09 03:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:44:03] Production.ERROR: done
[2025-04-09 03:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:44:03] Production.INFO: ==22096== Releasing lock...
[2025-04-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:44:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:44:03] Production.INFO: Total Charge 0
[2025-04-09 03:44:03] Production.INFO: CreateAllLog End
[2025-04-09 03:44:03] Production.INFO: count ==12
[2025-04-09 03:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:44:03] Production.INFO: count ==23
[2025-04-09 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866866') start
[2025-04-09 03:44:03] Production.ERROR: done
[2025-04-09 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866866') end
[2025-04-09 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:44:04] Production.INFO: 1
[2025-04-09 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:44:04] Production.INFO: Account Balance End.
[2025-04-09 03:44:04] Production.INFO: ==22104== Releasing lock...
[2025-04-09 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:44:04] Production.INFO: ==22100== Releasing lock...
[2025-04-09 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:44:05
[end_date_ymd] => 2025-04-09 03:44:05
[RateCDR] => 1
)
[2025-04-09 03:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:44:05' and `end` < '2025-04-09 03:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:44:11] Production.ERROR: CronJobId end10
[2025-04-09 03:44:11] Production.INFO: ==22098== Releasing lock...
[2025-04-09 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:44:14] Production.INFO: call_cost start
[2025-04-09 03:44:14] Production.INFO: call_cost end
[2025-04-09 03:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:44:15] Production.INFO: ==22094== Releasing lock...
[2025-04-09 03:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:44:17] Production.INFO: count ==194
[2025-04-09 03:44:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:44:05 - End Time 2025-04-09 03:44:05
[2025-04-09 03:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866867', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866867', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866867', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866867', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:44:17] Production.INFO: ProcessCDR(1,14866867,1,1,2)
[2025-04-09 03:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866867', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866867', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:44:21] Production.INFO: ==22102== Releasing lock...
[2025-04-09 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:44:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:45:02] Production.INFO: ==22164== Lock acquired, processing the job...
[2025-04-09 08:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:45:02] Production.INFO: neon service started
[2025-04-09 08:45:02] Production.INFO: neon service started
[2025-04-09 08:45:02] Production.INFO: ==22164== Releasing lock...
[2025-04-09 08:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:45:02] Production.INFO: ==22166== Lock acquired, processing the job...
[2025-04-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:45:02] Production.INFO: ==22166== Releasing lock...
[2025-04-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:45:02] Production.INFO: ==22168== Lock acquired, processing the job...
[2025-04-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:45:02] Production.INFO: ==22168== Releasing lock...
[2025-04-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:45:03] Production.INFO: ==22173== Lock acquired, processing the job...
[2025-04-09 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:45:03] Production.INFO: ==22177== Lock acquired, processing the job...
[2025-04-09 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:45:03] Production.INFO: ==22170== Lock acquired, processing the job...
[2025-04-09 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:45:03] Production.INFO: Account Balance Start.
[2025-04-09 03:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:45:03] Production.INFO: 117
[2025-04-09 03:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:45:03] Production.INFO: ==22175== Lock acquired, processing the job...
[2025-04-09 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:45:03] Production.INFO: ==22173== Releasing lock...
[2025-04-09 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:45:03] Production.INFO: Total Charge 0
[2025-04-09 03:45:03] Production.INFO: ==22179== Lock acquired, processing the job...
[2025-04-09 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:45:04] Production.INFO: CreateAllLog End
[2025-04-09 03:45:04] Production.INFO: ==22181== Lock acquired, processing the job...
[2025-04-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:45:04] Production.INFO: Account Balance End.
[2025-04-09 03:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:45:04] Production.INFO: count ==12
[2025-04-09 03:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:45:04] Production.INFO: count ==23
[2025-04-09 03:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:45:04] Production.INFO: ==22177== Releasing lock...
[2025-04-09 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866871') start
[2025-04-09 03:45:04] Production.ERROR: done
[2025-04-09 03:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866871') end
[2025-04-09 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:45:04] Production.INFO: 1
[2025-04-09 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:45:04] Production.INFO: ==22181== Releasing lock...
[2025-04-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:45:04] Production.ERROR: done
[2025-04-09 03:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:45:06
[end_date_ymd] => 2025-04-09 03:45:06
[RateCDR] => 1
)
[2025-04-09 03:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:45:06' and `end` < '2025-04-09 03:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:45:11] Production.ERROR: CronJobId end10
[2025-04-09 03:45:11] Production.INFO: ==22175== Releasing lock...
[2025-04-09 03:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:45:14] Production.INFO: call_cost start
[2025-04-09 03:45:14] Production.INFO: call_cost end
[2025-04-09 03:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:45:15] Production.INFO: ==22170== Releasing lock...
[2025-04-09 03:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:45:18] Production.INFO: count ==194
[2025-04-09 03:45:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:45:06 - End Time 2025-04-09 03:45:06
[2025-04-09 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866872', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866872', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866872', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866872', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:45:18] Production.INFO: ProcessCDR(1,14866872,1,1,2)
[2025-04-09 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866872', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866872', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:45:22] Production.INFO: ==22179== Releasing lock...
[2025-04-09 03:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:45:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:46:01] Production.INFO: ==22234== Lock acquired, processing the job...
[2025-04-09 08:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:46:01] Production.INFO: neon service started
[2025-04-09 08:46:01] Production.INFO: neon service started
[2025-04-09 08:46:01] Production.INFO: ==22234== Releasing lock...
[2025-04-09 08:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:46:01] Production.INFO: ==22236== Lock acquired, processing the job...
[2025-04-09 03:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:46:02] Production.INFO: ==22236== Releasing lock...
[2025-04-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:46:02] Production.INFO: ==22238== Lock acquired, processing the job...
[2025-04-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:46:02] Production.INFO: ==22238== Releasing lock...
[2025-04-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:46:03] Production.INFO: ==22244== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:46:03] Production.INFO: ==22248== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:46:03] Production.INFO: ==22240== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:46:03] Production.INFO: ==22242== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:46:03] Production.INFO: ==22246== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:46:03] Production.INFO: ==22250== Lock acquired, processing the job...
[2025-04-09 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:46:03] Production.ERROR: done
[2025-04-09 03:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:46:03] Production.INFO: Account Balance Start.
[2025-04-09 03:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:46:03] Production.INFO: 117
[2025-04-09 03:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:46:03] Production.ERROR: done
[2025-04-09 03:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:46:03] Production.INFO: ==22242== Releasing lock...
[2025-04-09 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:46:03] Production.INFO: Total Charge 0
[2025-04-09 03:46:03] Production.INFO: count ==12
[2025-04-09 03:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:46:03] Production.INFO: count ==23
[2025-04-09 03:46:03] Production.INFO: CreateAllLog End
[2025-04-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866876') start
[2025-04-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866876') end
[2025-04-09 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:46:04] Production.INFO: 1
[2025-04-09 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:46:04] Production.INFO: Account Balance End.
[2025-04-09 03:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:46:04] Production.INFO: ==22246== Releasing lock...
[2025-04-09 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:46:04] Production.INFO: ==22250== Releasing lock...
[2025-04-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:46:05
[end_date_ymd] => 2025-04-09 03:46:05
[RateCDR] => 1
)
[2025-04-09 03:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:46:05' and `end` < '2025-04-09 03:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:46:10] Production.ERROR: CronJobId end10
[2025-04-09 03:46:10] Production.INFO: ==22244== Releasing lock...
[2025-04-09 03:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:46:13] Production.INFO: call_cost start
[2025-04-09 03:46:13] Production.INFO: call_cost end
[2025-04-09 03:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:46:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:46:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:46:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:46:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:46:14] Production.INFO: ==22240== Releasing lock...
[2025-04-09 03:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:46:18] Production.INFO: count ==194
[2025-04-09 03:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:46:05 - End Time 2025-04-09 03:46:05
[2025-04-09 03:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866877', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866877', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866877', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866877', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:46:18] Production.INFO: ProcessCDR(1,14866877,1,1,2)
[2025-04-09 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866877', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866877', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:46:21] Production.INFO: ==22248== Releasing lock...
[2025-04-09 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:46:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:47:01] Production.INFO: ==22304== Lock acquired, processing the job...
[2025-04-09 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:47:02] Production.INFO: neon service started
[2025-04-09 08:47:02] Production.INFO: neon service started
[2025-04-09 08:47:02] Production.INFO: ==22304== Releasing lock...
[2025-04-09 08:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:47:02] Production.INFO: ==22306== Lock acquired, processing the job...
[2025-04-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:47:02] Production.INFO: ==22308== Lock acquired, processing the job...
[2025-04-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:47:02] Production.INFO: ==22308== Releasing lock...
[2025-04-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:47:02] Production.INFO: ==22306== Releasing lock...
[2025-04-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:47:03] Production.INFO: ==22313== Lock acquired, processing the job...
[2025-04-09 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:47:03] Production.INFO: ==22311== Lock acquired, processing the job...
[2025-04-09 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:47:03] Production.INFO: ==22317== Lock acquired, processing the job...
[2025-04-09 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:47:03] Production.INFO: ==22315== Lock acquired, processing the job...
[2025-04-09 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:47:04] Production.INFO: Account Balance Start.
[2025-04-09 03:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:47:04] Production.INFO: 117
[2025-04-09 03:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:47:04] Production.INFO: ==22321== Lock acquired, processing the job...
[2025-04-09 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:47:04] Production.INFO: ==22319== Lock acquired, processing the job...
[2025-04-09 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:47:04] Production.INFO: ==22313== Releasing lock...
[2025-04-09 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:47:04] Production.INFO: Total Charge 0
[2025-04-09 03:47:04] Production.INFO: CreateAllLog End
[2025-04-09 03:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:47:04] Production.INFO: count ==12
[2025-04-09 03:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:47:04] Production.INFO: count ==23
[2025-04-09 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866881') start
[2025-04-09 03:47:04] Production.INFO: Account Balance End.
[2025-04-09 03:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:47:04] Production.INFO: ==22317== Releasing lock...
[2025-04-09 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:47:04] Production.ERROR: done
[2025-04-09 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866881') end
[2025-04-09 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:47:04] Production.INFO: 1
[2025-04-09 03:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:47:04] Production.INFO: ==22321== Releasing lock...
[2025-04-09 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:47:04] Production.ERROR: done
[2025-04-09 03:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:47:06
[end_date_ymd] => 2025-04-09 03:47:06
[RateCDR] => 1
)
[2025-04-09 03:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:47:06' and `end` < '2025-04-09 03:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:47:11] Production.ERROR: CronJobId end10
[2025-04-09 03:47:11] Production.INFO: ==22315== Releasing lock...
[2025-04-09 03:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:47:14] Production.INFO: call_cost start
[2025-04-09 03:47:14] Production.INFO: call_cost end
[2025-04-09 03:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:47:15] Production.INFO: ==22311== Releasing lock...
[2025-04-09 03:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:47:18] Production.INFO: count ==194
[2025-04-09 03:47:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:47:06 - End Time 2025-04-09 03:47:06
[2025-04-09 03:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866882', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866882', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866882', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866882', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:47:18] Production.INFO: ProcessCDR(1,14866882,1,1,2)
[2025-04-09 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866882', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866882', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:47:22] Production.INFO: ==22319== Releasing lock...
[2025-04-09 03:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:47:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:48:01] Production.INFO: ==22375== Lock acquired, processing the job...
[2025-04-09 08:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:48:01] Production.INFO: neon service started
[2025-04-09 08:48:01] Production.INFO: neon service started
[2025-04-09 08:48:01] Production.INFO: ==22375== Releasing lock...
[2025-04-09 08:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:48:01] Production.INFO: ==22379== Lock acquired, processing the job...
[2025-04-09 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:48:02] Production.INFO: ==22379== Releasing lock...
[2025-04-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:48:02] Production.INFO: ==22377== Lock acquired, processing the job...
[2025-04-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:48:02] Production.INFO: ==22377== Releasing lock...
[2025-04-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:48:03] Production.INFO: ==22390== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:48:03] Production.INFO: ==22392== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:48:03] Production.INFO: ==22384== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:48:03] Production.INFO: ==22382== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:48:03] Production.INFO: count ==12
[2025-04-09 03:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:48:03] Production.INFO: count ==23
[2025-04-09 03:48:03] Production.INFO: ==22386== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:48:03] Production.INFO: ==22388== Lock acquired, processing the job...
[2025-04-09 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866883') start
[2025-04-09 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866883') end
[2025-04-09 03:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:48:03] Production.INFO: 1
[2025-04-09 03:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:48:03] Production.INFO: Account Balance Start.
[2025-04-09 03:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:48:03] Production.INFO: 117
[2025-04-09 03:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:48:03] Production.INFO: ==22392== Releasing lock...
[2025-04-09 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:48:04] Production.ERROR: done
[2025-04-09 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:48:04] Production.INFO: Total Charge 0
[2025-04-09 03:48:04] Production.INFO: CreateAllLog End
[2025-04-09 03:48:04] Production.ERROR: done
[2025-04-09 03:48:04] Production.INFO: Account Balance End.
[2025-04-09 03:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:48:04] Production.INFO: ==22388== Releasing lock...
[2025-04-09 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:48:04] Production.INFO: ==22384== Releasing lock...
[2025-04-09 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:48:05
[end_date_ymd] => 2025-04-09 03:48:05
[RateCDR] => 1
)
[2025-04-09 03:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:48:05' and `end` < '2025-04-09 03:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:48:12] Production.ERROR: CronJobId end10
[2025-04-09 03:48:12] Production.INFO: ==22386== Releasing lock...
[2025-04-09 03:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:48:14] Production.INFO: call_cost start
[2025-04-09 03:48:14] Production.INFO: call_cost end
[2025-04-09 03:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:48:15] Production.INFO: ==22382== Releasing lock...
[2025-04-09 03:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:48:18] Production.INFO: count ==194
[2025-04-09 03:48:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:48:05 - End Time 2025-04-09 03:48:05
[2025-04-09 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866887', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866887', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866887', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866887', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:48:18] Production.INFO: ProcessCDR(1,14866887,1,1,2)
[2025-04-09 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866887', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866887', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:48:21] Production.INFO: ==22390== Releasing lock...
[2025-04-09 03:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:48:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:49:02] Production.INFO: ==22446== Lock acquired, processing the job...
[2025-04-09 08:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:49:02] Production.INFO: neon service started
[2025-04-09 08:49:02] Production.INFO: neon service started
[2025-04-09 08:49:02] Production.INFO: ==22446== Releasing lock...
[2025-04-09 08:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:49:02] Production.INFO: ==22448== Lock acquired, processing the job...
[2025-04-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:49:02] Production.INFO: ==22450== Lock acquired, processing the job...
[2025-04-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:49:02] Production.INFO: ==22450== Releasing lock...
[2025-04-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:49:03] Production.INFO: ==22448== Releasing lock...
[2025-04-09 03:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:49:03] Production.INFO: ==22453== Lock acquired, processing the job...
[2025-04-09 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:49:03] Production.INFO: ==22455== Lock acquired, processing the job...
[2025-04-09 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:49:03] Production.INFO: ==22457== Lock acquired, processing the job...
[2025-04-09 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:49:04] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-04-09 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:49:04] Production.INFO: ==22461== Lock acquired, processing the job...
[2025-04-09 03:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:49:04] Production.INFO: ==22463== Lock acquired, processing the job...
[2025-04-09 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:49:04] Production.INFO: ==22455== Releasing lock...
[2025-04-09 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:49:04] Production.INFO: Account Balance Start.
[2025-04-09 03:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:49:04] Production.INFO: 117
[2025-04-09 03:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:49:04] Production.INFO: Total Charge 0
[2025-04-09 03:49:04] Production.INFO: CreateAllLog End
[2025-04-09 03:49:04] Production.INFO: count ==12
[2025-04-09 03:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:49:04] Production.INFO: count ==23
[2025-04-09 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866891') start
[2025-04-09 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866891') end
[2025-04-09 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:49:04] Production.INFO: 1
[2025-04-09 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:49:04] Production.INFO: Account Balance End.
[2025-04-09 03:49:04] Production.ERROR: done
[2025-04-09 03:49:04] Production.INFO: ==22463== Releasing lock...
[2025-04-09 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:49:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:49:05] Production.INFO: ==22459== Releasing lock...
[2025-04-09 03:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:49:05] Production.ERROR: done
[2025-04-09 03:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:49:06
[end_date_ymd] => 2025-04-09 03:49:06
[RateCDR] => 1
)
[2025-04-09 03:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:49:06' and `end` < '2025-04-09 03:49:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:49:11] Production.ERROR: CronJobId end10
[2025-04-09 03:49:11] Production.INFO: ==22457== Releasing lock...
[2025-04-09 03:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:49:14] Production.INFO: call_cost start
[2025-04-09 03:49:14] Production.INFO: call_cost end
[2025-04-09 03:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:49:15] Production.INFO: ==22453== Releasing lock...
[2025-04-09 03:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:49:19] Production.INFO: count ==194
[2025-04-09 03:49:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:49:06 - End Time 2025-04-09 03:49:06
[2025-04-09 03:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866892', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866892', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866892', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866892', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:49:19] Production.INFO: ProcessCDR(1,14866892,1,1,2)
[2025-04-09 03:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866892', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866892', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:49:22] Production.INFO: ==22461== Releasing lock...
[2025-04-09 03:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:49:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:50:01] Production.INFO: ==22555== Lock acquired, processing the job...
[2025-04-09 08:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:50:01] Production.INFO: neon service started
[2025-04-09 08:50:01] Production.INFO: neon service started
[2025-04-09 08:50:01] Production.INFO: ==22555== Releasing lock...
[2025-04-09 08:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:50:01] Production.INFO: ==22557== Lock acquired, processing the job...
[2025-04-09 03:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:50:02] Production.INFO: ==22557== Releasing lock...
[2025-04-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:50:02] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-04-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:50:02] Production.INFO: ==22559== Releasing lock...
[2025-04-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:50:03] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 03:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 03:50:03] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 03:50:03] Production.INFO: ==22561== Releasing lock...
[2025-04-09 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 03:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 03:50:03] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:50:03] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:50:03] Production.INFO: ==22574== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 03:50:03] Production.INFO: ==22572== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:50:03] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:50:03] Production.INFO: ==22576== Lock acquired, processing the job...
[2025-04-09 03:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:50:04] Production.INFO: Account Balance Start.
[2025-04-09 03:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:50:04] Production.INFO: 117
[2025-04-09 03:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 03:50:04] Production.ERROR: done
[2025-04-09 03:50:04] Production.INFO: count ==12
[2025-04-09 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-04-09 03:50:04] Production.INFO: count ==23
[2025-04-09 03:50:04] Production.INFO: ==22565== Releasing lock...
[2025-04-09 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866896') start
[2025-04-09 03:50:04] Production.ERROR: done
[2025-04-09 03:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866897', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 03:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:50:04] Production.ERROR: done
[2025-04-09 03:50:04] Production.INFO: Total Charge 0
[2025-04-09 03:50:04] Production.INFO: CreateAllLog End
[2025-04-09 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866896') end
[2025-04-09 03:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:50:04] Production.INFO: 1
[2025-04-09 03:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:50:04] Production.INFO: ==22576== Releasing lock...
[2025-04-09 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:50:04] Production.INFO: Account Balance End.
[2025-04-09 03:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:50:04] Production.INFO: ==22569== Releasing lock...
[2025-04-09 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:50:05
[end_date_ymd] => 2025-04-09 03:50:05
[RateCDR] => 1
)
[2025-04-09 03: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-04-09 00:50:05' and `end` < '2025-04-09 03: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-04-09 03:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866897', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 03:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 03:50:08] Production.INFO: ProcessCDR(1,14866897,1,1,2)
[2025-04-09 03:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866897,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:50:08] Production.INFO: ==22574== Releasing lock...
[2025-04-09 03:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 03:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 03:50:13] Production.ERROR: CronJobId end10
[2025-04-09 03:50:13] Production.INFO: ==22567== Releasing lock...
[2025-04-09 03:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:50:16] Production.INFO: call_cost start
[2025-04-09 03:50:16] Production.INFO: call_cost end
[2025-04-09 03:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:50:17] Production.INFO: ==22563== Releasing lock...
[2025-04-09 03:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:50:18] Production.INFO: count ==187
[2025-04-09 03:50:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:50:05 - End Time 2025-04-09 03:50:05
[2025-04-09 03:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866898', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866898', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866898', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866898', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:50:18] Production.INFO: ProcessCDR(1,14866898,1,1,2)
[2025-04-09 03:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866898', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866898', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:50:22] Production.INFO: ==22572== Releasing lock...
[2025-04-09 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:50:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:51:01] Production.INFO: ==22630== Lock acquired, processing the job...
[2025-04-09 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:51:01] Production.INFO: neon service started
[2025-04-09 08:51:01] Production.INFO: neon service started
[2025-04-09 08:51:01] Production.INFO: ==22630== Releasing lock...
[2025-04-09 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:51:02] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-04-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:51:02] Production.INFO: ==22634== Releasing lock...
[2025-04-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:51:02] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-04-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:51:02] Production.INFO: ==22632== Releasing lock...
[2025-04-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:51:03] Production.INFO: ==22636== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:51:03] Production.INFO: ==22638== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:51:03] Production.INFO: ==22644== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:51:03] Production.INFO: ==22640== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:51:03] Production.INFO: ==22642== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:51:03] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-04-09 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:51:03] Production.INFO: ==22638== Releasing lock...
[2025-04-09 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:51:03] Production.INFO: Account Balance Start.
[2025-04-09 03:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 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-04-09 03:51:03] Production.INFO: 117
[2025-04-09 03:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:51:04] Production.INFO: count ==12
[2025-04-09 03:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:51:04] Production.ERROR: done
[2025-04-09 03:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:51:04] Production.INFO: count ==23
[2025-04-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866902') start
[2025-04-09 03:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:51:04] Production.INFO: Total Charge 0
[2025-04-09 03:51:04] Production.INFO: CreateAllLog End
[2025-04-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866902') end
[2025-04-09 03:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:51:04] Production.INFO: 1
[2025-04-09 03:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:51:04] Production.ERROR: done
[2025-04-09 03:51:04] Production.INFO: ==22646== Releasing lock...
[2025-04-09 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:51:04] Production.INFO: Account Balance End.
[2025-04-09 03:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:51:04] Production.INFO: ==22642== Releasing lock...
[2025-04-09 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:51:05
[end_date_ymd] => 2025-04-09 03:51:05
[RateCDR] => 1
)
[2025-04-09 03: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-04-09 00:51:05' and `end` < '2025-04-09 03: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-04-09 03:51:12] Production.ERROR: CronJobId end10
[2025-04-09 03:51:12] Production.INFO: ==22640== Releasing lock...
[2025-04-09 03:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:51:14] Production.INFO: call_cost start
[2025-04-09 03:51:14] Production.INFO: call_cost end
[2025-04-09 03:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:51:15] Production.INFO: ==22636== Releasing lock...
[2025-04-09 03:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:51:17] Production.INFO: count ==177
[2025-04-09 03:51:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:51:05 - End Time 2025-04-09 03:51:05
[2025-04-09 03:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866903', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866903', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866903', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866903', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:51:17] Production.INFO: ProcessCDR(1,14866903,1,1,2)
[2025-04-09 03:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866903', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866903', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:51:21] Production.INFO: ==22644== Releasing lock...
[2025-04-09 03:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:51:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:52:01] Production.INFO: ==22703== Lock acquired, processing the job...
[2025-04-09 08:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:52:01] Production.INFO: neon service started
[2025-04-09 08:52:01] Production.INFO: neon service started
[2025-04-09 08:52:01] Production.INFO: ==22703== Releasing lock...
[2025-04-09 08:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:52:01] Production.INFO: ==22705== Lock acquired, processing the job...
[2025-04-09 03:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:52:02] Production.INFO: ==22707== Lock acquired, processing the job...
[2025-04-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:52:02] Production.INFO: ==22707== Releasing lock...
[2025-04-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:52:02] Production.INFO: ==22705== Releasing lock...
[2025-04-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:52:03] Production.INFO: ==22709== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:52:03] Production.INFO: ==22711== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:52:03] Production.INFO: ==22713== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:52:03] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:52:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:52:03] Production.INFO: Account Balance Start.
[2025-04-09 03:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:52:03] Production.INFO: 117
[2025-04-09 03:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:52:03] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-04-09 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:52:03] Production.INFO: Total Charge 0
[2025-04-09 03:52:03] Production.INFO: CreateAllLog End
[2025-04-09 03:52:03] Production.INFO: ==22711== Releasing lock...
[2025-04-09 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:52:03] Production.INFO: count ==12
[2025-04-09 03:52:03] Production.INFO: Account Balance End.
[2025-04-09 03:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:52:03] Production.INFO: count ==23
[2025-04-09 03:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866907') start
[2025-04-09 03:52:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:52:03] Production.INFO: ==22716== Releasing lock...
[2025-04-09 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:52:03] Production.ERROR: done
[2025-04-09 03:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866907') end
[2025-04-09 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:52:04] Production.INFO: 1
[2025-04-09 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:52:04] Production.ERROR: done
[2025-04-09 03:52:04] Production.INFO: ==22720== Releasing lock...
[2025-04-09 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:52:05
[end_date_ymd] => 2025-04-09 03:52:05
[RateCDR] => 1
)
[2025-04-09 03:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:52:05' and `end` < '2025-04-09 03:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:52:11] Production.ERROR: CronJobId end10
[2025-04-09 03:52:11] Production.INFO: ==22713== Releasing lock...
[2025-04-09 03:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:52:14] Production.INFO: call_cost start
[2025-04-09 03:52:14] Production.INFO: call_cost end
[2025-04-09 03:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:52:15] Production.INFO: ==22709== Releasing lock...
[2025-04-09 03:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:52:17] Production.INFO: count ==177
[2025-04-09 03:52:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:52:05 - End Time 2025-04-09 03:52:05
[2025-04-09 03:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866908', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866908', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866908', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866908', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:52:17] Production.INFO: ProcessCDR(1,14866908,1,1,2)
[2025-04-09 03:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866908', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866908', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:52:21] Production.INFO: ==22718== Releasing lock...
[2025-04-09 03:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:52:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:53:01] Production.INFO: ==22775== Lock acquired, processing the job...
[2025-04-09 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:53:01] Production.INFO: neon service started
[2025-04-09 08:53:01] Production.INFO: neon service started
[2025-04-09 08:53:01] Production.INFO: ==22775== Releasing lock...
[2025-04-09 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:53:02] Production.INFO: ==22779== Lock acquired, processing the job...
[2025-04-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:53:02] Production.INFO: ==22779== Releasing lock...
[2025-04-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:53:02] Production.INFO: ==22777== Lock acquired, processing the job...
[2025-04-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:53:02] Production.INFO: ==22777== Releasing lock...
[2025-04-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:53:03] Production.INFO: ==22788== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:53:03] Production.INFO: Account Balance Start.
[2025-04-09 03:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:53:03] Production.INFO: 117
[2025-04-09 03:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:53:03] Production.INFO: ==22790== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:53:03] Production.INFO: ==22782== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:53:03] Production.INFO: Total Charge 0
[2025-04-09 03:53:03] Production.INFO: ==22784== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:53:03] Production.INFO: CreateAllLog End
[2025-04-09 03:53:03] Production.INFO: ==22786== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:53:03] Production.INFO: ==22792== Lock acquired, processing the job...
[2025-04-09 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:53:03] Production.INFO: Account Balance End.
[2025-04-09 03:53:03] Production.ERROR: CronJobId end 12
[2025-04-09 03:53:03] Production.INFO: ==22788== Releasing lock...
[2025-04-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:53:03] Production.ERROR: done
[2025-04-09 03:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03: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-04-09 03:53:03] Production.INFO: count ==12
[2025-04-09 03:53:04] Production.ERROR: done
[2025-04-09 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:53:04] Production.INFO: count ==23
[2025-04-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866912') start
[2025-04-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866912') end
[2025-04-09 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:53:04] Production.INFO: 1
[2025-04-09 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:53:04] Production.INFO: ==22792== Releasing lock...
[2025-04-09 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:53:04] Production.INFO: ==22784== Releasing lock...
[2025-04-09 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:53:05
[end_date_ymd] => 2025-04-09 03:53:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:53:05' and `end` < '2025-04-09 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-04-09 03:53:11] Production.ERROR: CronJobId end10
[2025-04-09 03:53:11] Production.INFO: ==22786== Releasing lock...
[2025-04-09 03:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:53:14] Production.INFO: call_cost start
[2025-04-09 03:53:14] Production.INFO: call_cost end
[2025-04-09 03:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:53:15] Production.INFO: ==22782== Releasing lock...
[2025-04-09 03:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:53:17] Production.INFO: count ==177
[2025-04-09 03:53:17] Production.ERROR: pbx CDR StartTime 2025-04-09 00:53:05 - End Time 2025-04-09 03:53:05
[2025-04-09 03:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866913', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866913', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866913', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866913', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:53:17] Production.INFO: ProcessCDR(1,14866913,1,1,2)
[2025-04-09 03:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866913', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866913', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:53:21] Production.INFO: ==22790== Releasing lock...
[2025-04-09 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:53:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:54:02] Production.INFO: ==22848== Lock acquired, processing the job...
[2025-04-09 08:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:54:02] Production.INFO: neon service started
[2025-04-09 08:54:02] Production.INFO: neon service started
[2025-04-09 08:54:02] Production.INFO: ==22848== Releasing lock...
[2025-04-09 08:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:54:02] Production.INFO: ==22851== Lock acquired, processing the job...
[2025-04-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:54:03] Production.INFO: ==22853== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:54:03] Production.INFO: ==22853== Releasing lock...
[2025-04-09 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:54:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:54:03] Production.INFO: ==22851== Releasing lock...
[2025-04-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:54:04] Production.INFO: ==22863== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:54:04] Production.INFO: ==22861== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:54:04] Production.INFO: ==22865== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:54:04] Production.INFO: ==22855== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:54:04] Production.INFO: Account Balance Start.
[2025-04-09 03:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:54:04] Production.INFO: 117
[2025-04-09 03:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:54:04] Production.INFO: ==22857== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:54:04] Production.INFO: ==22859== Lock acquired, processing the job...
[2025-04-09 03:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:54:04] Production.INFO: Total Charge 0
[2025-04-09 03:54:04] Production.INFO: CreateAllLog End
[2025-04-09 03:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:54:04] Production.INFO: count ==12
[2025-04-09 03:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:54:04] Production.INFO: count ==23
[2025-04-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866915') start
[2025-04-09 03:54:04] Production.ERROR: done
[2025-04-09 03:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:54:04] Production.INFO: ==22857== Releasing lock...
[2025-04-09 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866915') end
[2025-04-09 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:54:04] Production.INFO: 1
[2025-04-09 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:54:04] Production.ERROR: done
[2025-04-09 03:54:04] Production.INFO: ==22865== Releasing lock...
[2025-04-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:54:04] Production.INFO: Account Balance End.
[2025-04-09 03:54:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:54:05] Production.INFO: ==22861== Releasing lock...
[2025-04-09 03:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:54:05
[end_date_ymd] => 2025-04-09 03:54:05
[RateCDR] => 1
)
[2025-04-09 03:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:54:05' and `end` < '2025-04-09 03:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:54:11] Production.ERROR: CronJobId end10
[2025-04-09 03:54:11] Production.INFO: ==22859== Releasing lock...
[2025-04-09 03:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:54:14] Production.INFO: call_cost start
[2025-04-09 03:54:14] Production.INFO: call_cost end
[2025-04-09 03:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:54:15] Production.INFO: ==22855== Releasing lock...
[2025-04-09 03:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:54:18] Production.INFO: count ==177
[2025-04-09 03:54:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:54:05 - End Time 2025-04-09 03:54:05
[2025-04-09 03:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866918', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866918', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866918', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866918', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:54:18] Production.INFO: ProcessCDR(1,14866918,1,1,2)
[2025-04-09 03:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866918', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866918', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:54:22] Production.INFO: ==22863== Releasing lock...
[2025-04-09 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:54:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:55:01] Production.INFO: ==22923== Lock acquired, processing the job...
[2025-04-09 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:55:01] Production.INFO: neon service started
[2025-04-09 08:55:01] Production.INFO: neon service started
[2025-04-09 08:55:01] Production.INFO: ==22923== Releasing lock...
[2025-04-09 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:55:02] Production.INFO: ==22925== Lock acquired, processing the job...
[2025-04-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:55:02] Production.INFO: ==22925== Releasing lock...
[2025-04-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:55:02] Production.INFO: ==22927== Lock acquired, processing the job...
[2025-04-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:55:02] Production.INFO: ==22927== Releasing lock...
[2025-04-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:55:03] Production.INFO: ==22933== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:55:03] Production.INFO: ==22939== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:55:03] Production.INFO: ==22931== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:55:03] Production.INFO: ==22929== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03: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-04-09 03:55:03] Production.INFO: count ==12
[2025-04-09 03: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-04-09 03:55:03] Production.INFO: count ==23
[2025-04-09 03:55:03] Production.INFO: ==22935== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866919') start
[2025-04-09 03:55:03] Production.INFO: ==22937== Lock acquired, processing the job...
[2025-04-09 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866919') end
[2025-04-09 03:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:55:03] Production.INFO: 1
[2025-04-09 03:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:55:03] Production.INFO: ==22939== Releasing lock...
[2025-04-09 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:55:03] Production.INFO: Account Balance Start.
[2025-04-09 03:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:55:03] Production.INFO: 117
[2025-04-09 03:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:55:03] Production.INFO: ==22931== Releasing lock...
[2025-04-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:55:04] Production.INFO: Total Charge 0
[2025-04-09 03:55:04] Production.INFO: CreateAllLog End
[2025-04-09 03:55:04] Production.ERROR: done
[2025-04-09 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:55:04] Production.INFO: Account Balance End.
[2025-04-09 03:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:55:04] Production.INFO: ==22935== Releasing lock...
[2025-04-09 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:55:04] Production.ERROR: done
[2025-04-09 03:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:55:05
[end_date_ymd] => 2025-04-09 03:55:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 00:55:05' and `end` < '2025-04-09 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-04-09 03:55:11] Production.ERROR: CronJobId end10
[2025-04-09 03:55:11] Production.INFO: ==22933== Releasing lock...
[2025-04-09 03:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:55:14] Production.INFO: call_cost start
[2025-04-09 03:55:14] Production.INFO: call_cost end
[2025-04-09 03:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:55:15] Production.INFO: ==22929== Releasing lock...
[2025-04-09 03:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:55:18] Production.INFO: count ==176
[2025-04-09 03:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:55:05 - End Time 2025-04-09 03:55:05
[2025-04-09 03:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866923', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866923', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866923', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866923', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:55:18] Production.INFO: ProcessCDR(1,14866923,1,1,2)
[2025-04-09 03:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866923', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866923', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:55:22] Production.INFO: ==22937== Releasing lock...
[2025-04-09 03:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:55:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 08:56:02] Production.INFO: ==22998== Lock acquired, processing the job...
[2025-04-09 08:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:56:02] Production.INFO: neon service started
[2025-04-09 08:56:02] Production.INFO: neon service started
[2025-04-09 08:56:02] Production.INFO: ==22998== Releasing lock...
[2025-04-09 08:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:56:02] Production.INFO: ==23001== Lock acquired, processing the job...
[2025-04-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 03:56:02] Production.INFO: ==23001== Releasing lock...
[2025-04-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:56:03] Production.INFO: ==23003== Lock acquired, processing the job...
[2025-04-09 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:56:03] Production.INFO: ==23003== Releasing lock...
[2025-04-09 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:56:04] Production.INFO: ==23009== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:56:04] Production.INFO: ==23013== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:56:04] Production.INFO: ==23005== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:56:04] Production.INFO: ==23007== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:56:04] Production.INFO: ==23011== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:56:04] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-04-09 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:56:04] Production.INFO: Account Balance Start.
[2025-04-09 03:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:56:04] Production.INFO: 117
[2025-04-09 03:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:56:04] Production.INFO: count ==12
[2025-04-09 03:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:56:04] Production.INFO: count ==23
[2025-04-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866927') start
[2025-04-09 03:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:56:04] Production.INFO: Total Charge 0
[2025-04-09 03:56:04] Production.INFO: CreateAllLog End
[2025-04-09 03:56:04] Production.ERROR: done
[2025-04-09 03:56:04] Production.INFO: ==23007== Releasing lock...
[2025-04-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866927') end
[2025-04-09 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:56:04] Production.INFO: 1
[2025-04-09 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:56:04] Production.INFO: ==23015== Releasing lock...
[2025-04-09 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:56:04] Production.ERROR: done
[2025-04-09 03:56:05] Production.INFO: Account Balance End.
[2025-04-09 03:56:05] Production.ERROR: CronJobId end 12
[2025-04-09 03:56:05] Production.INFO: ==23011== Releasing lock...
[2025-04-09 03:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:56:06
[end_date_ymd] => 2025-04-09 03:56:06
[RateCDR] => 1
)
[2025-04-09 03:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:56:06' and `end` < '2025-04-09 03:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:56:12] Production.ERROR: CronJobId end10
[2025-04-09 03:56:12] Production.INFO: ==23009== Releasing lock...
[2025-04-09 03:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:56:15] Production.INFO: call_cost start
[2025-04-09 03:56:15] Production.INFO: call_cost end
[2025-04-09 03:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:56:16] Production.INFO: ==23005== Releasing lock...
[2025-04-09 03:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:56:18] Production.INFO: count ==173
[2025-04-09 03:56:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:56:06 - End Time 2025-04-09 03:56:06
[2025-04-09 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866928', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866928', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866928', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866928', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:56:18] Production.INFO: ProcessCDR(1,14866928,1,1,2)
[2025-04-09 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866928', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866928', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:56:22] Production.INFO: ==23013== Releasing lock...
[2025-04-09 03:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:56:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:57:01] Production.INFO: ==23074== Lock acquired, processing the job...
[2025-04-09 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:57:01] Production.INFO: neon service started
[2025-04-09 08:57:01] Production.INFO: neon service started
[2025-04-09 08:57:01] Production.INFO: ==23074== Releasing lock...
[2025-04-09 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:57:02] Production.INFO: ==23076== Lock acquired, processing the job...
[2025-04-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:57:02] Production.INFO: ==23078== Lock acquired, processing the job...
[2025-04-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:57:02] Production.INFO: ==23078== Releasing lock...
[2025-04-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:57:02] Production.INFO: ==23076== Releasing lock...
[2025-04-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:57:03] Production.INFO: ==23083== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:57:03] Production.INFO: ==23085== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:57:03] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:57:03] Production.INFO: count ==12
[2025-04-09 03:57:03] Production.INFO: ==23083== Releasing lock...
[2025-04-09 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:57:03] Production.INFO: ==23081== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:57:03] Production.INFO: count ==23
[2025-04-09 03:57:03] Production.INFO: ==23087== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:57:03] Production.INFO: ==23089== Lock acquired, processing the job...
[2025-04-09 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866930') start
[2025-04-09 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:57:03] Production.INFO: Account Balance Start.
[2025-04-09 03:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:57:03] Production.INFO: 117
[2025-04-09 03:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866930') end
[2025-04-09 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:57:03] Production.INFO: 1
[2025-04-09 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:57:03] Production.INFO: Total Charge 0
[2025-04-09 03:57:04] Production.INFO: CreateAllLog End
[2025-04-09 03:57:04] Production.INFO: ==23091== Releasing lock...
[2025-04-09 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:57:04] Production.INFO: Account Balance End.
[2025-04-09 03:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:57:04] Production.INFO: ==23087== Releasing lock...
[2025-04-09 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:57:04] Production.ERROR: done
[2025-04-09 03:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:57:04] Production.ERROR: done
[2025-04-09 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:57:05
[end_date_ymd] => 2025-04-09 03:57:05
[RateCDR] => 1
)
[2025-04-09 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:57:05' and `end` < '2025-04-09 03:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:57:11] Production.ERROR: CronJobId end10
[2025-04-09 03:57:11] Production.INFO: ==23085== Releasing lock...
[2025-04-09 03:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:57:14] Production.INFO: call_cost start
[2025-04-09 03:57:14] Production.INFO: call_cost end
[2025-04-09 03:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:57:15] Production.INFO: ==23081== Releasing lock...
[2025-04-09 03:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:57:18] Production.INFO: count ==173
[2025-04-09 03:57:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:57:05 - End Time 2025-04-09 03:57:05
[2025-04-09 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866933', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866933', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866933', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866933', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:57:18] Production.INFO: ProcessCDR(1,14866933,1,1,2)
[2025-04-09 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866933', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866933', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:57:21] Production.INFO: ==23089== Releasing lock...
[2025-04-09 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:57:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:58:02] Production.INFO: ==23148== Lock acquired, processing the job...
[2025-04-09 08:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:58:02] Production.INFO: neon service started
[2025-04-09 08:58:02] Production.INFO: neon service started
[2025-04-09 08:58:02] Production.INFO: ==23148== Releasing lock...
[2025-04-09 08:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:58:02] Production.INFO: ==23150== Lock acquired, processing the job...
[2025-04-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:58:02] Production.INFO: ==23152== Lock acquired, processing the job...
[2025-04-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:58:02] Production.INFO: ==23152== Releasing lock...
[2025-04-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:58:03] Production.INFO: ==23150== Releasing lock...
[2025-04-09 03:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:58:03] Production.INFO: ==23155== Lock acquired, processing the job...
[2025-04-09 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:58:03] Production.INFO: ==23157== Lock acquired, processing the job...
[2025-04-09 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03:58:04] Production.INFO: ==23165== Lock acquired, processing the job...
[2025-04-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:58:04] Production.INFO: ==23161== Lock acquired, processing the job...
[2025-04-09 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:58:04] Production.INFO: Account Balance Start.
[2025-04-09 03:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 03:58:04] Production.INFO: 117
[2025-04-09 03:58:04] Production.INFO: count ==12
[2025-04-09 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 03:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 03:58:04] Production.INFO: count ==23
[2025-04-09 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866936') start
[2025-04-09 03:58:04] Production.INFO: ==23157== Releasing lock...
[2025-04-09 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:58:04] Production.INFO: ==23159== Lock acquired, processing the job...
[2025-04-09 03:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:58:04] Production.INFO: Total Charge 0
[2025-04-09 03:58:04] Production.INFO: ==23163== Lock acquired, processing the job...
[2025-04-09 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:58:04] Production.INFO: CreateAllLog End
[2025-04-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866936') end
[2025-04-09 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:58:04] Production.INFO: 1
[2025-04-09 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:58:04] Production.INFO: ==23165== Releasing lock...
[2025-04-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:58:04] Production.INFO: Account Balance End.
[2025-04-09 03:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:58:04] Production.INFO: ==23161== Releasing lock...
[2025-04-09 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:58:04] Production.ERROR: done
[2025-04-09 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:58:05] Production.ERROR: done
[2025-04-09 03:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:58:06
[end_date_ymd] => 2025-04-09 03:58:06
[RateCDR] => 1
)
[2025-04-09 03:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:58:06' and `end` < '2025-04-09 03:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:58:11] Production.ERROR: CronJobId end10
[2025-04-09 03:58:11] Production.INFO: ==23159== Releasing lock...
[2025-04-09 03:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:58:14] Production.INFO: call_cost start
[2025-04-09 03:58:14] Production.INFO: call_cost end
[2025-04-09 03:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:58:15] Production.INFO: ==23155== Releasing lock...
[2025-04-09 03:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:58:19] Production.INFO: count ==172
[2025-04-09 03:58:19] Production.ERROR: pbx CDR StartTime 2025-04-09 00:58:06 - End Time 2025-04-09 03:58:06
[2025-04-09 03:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866938', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866938', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866938', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866938', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:58:19] Production.INFO: ProcessCDR(1,14866938,1,1,2)
[2025-04-09 03:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866938', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866938', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:58:22] Production.INFO: ==23163== Releasing lock...
[2025-04-09 03:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:58:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 08:59:01] Production.INFO: ==23218== Lock acquired, processing the job...
[2025-04-09 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 08:59:01] Production.INFO: neon service started
[2025-04-09 08:59:01] Production.INFO: neon service started
[2025-04-09 08:59:01] Production.INFO: ==23218== Releasing lock...
[2025-04-09 08:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 08:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 03:59:02] Production.INFO: ==23220== Lock acquired, processing the job...
[2025-04-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:59:02] Production.INFO: ==23222== Lock acquired, processing the job...
[2025-04-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:59:02] Production.INFO: ==23222== Releasing lock...
[2025-04-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 03:59:02] Production.INFO: ==23220== Releasing lock...
[2025-04-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 03:59:03] Production.INFO: ==23231== Lock acquired, processing the job...
[2025-04-09 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 03:59:03] Production.INFO: ==23235== Lock acquired, processing the job...
[2025-04-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 03:59:03] Production.INFO: Account Balance Start.
[2025-04-09 03:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 03:59:03] Production.INFO: 117
[2025-04-09 03:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 03:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 03:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 03:59:04] Production.INFO: Total Charge 0
[2025-04-09 03:59:04] Production.INFO: CreateAllLog End
[2025-04-09 03:59:04] Production.INFO: ==23225== Lock acquired, processing the job...
[2025-04-09 03:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 03:59:04] Production.INFO: ==23227== Lock acquired, processing the job...
[2025-04-09 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 03: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-04-09 03:59:04] Production.INFO: count ==12
[2025-04-09 03: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-04-09 03:59:04] Production.INFO: ==23229== Lock acquired, processing the job...
[2025-04-09 03:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 03:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 03:59:04] Production.INFO: count ==23
[2025-04-09 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866940') start
[2025-04-09 03:59:04] Production.INFO: Account Balance End.
[2025-04-09 03:59:04] Production.INFO: ==23233== Lock acquired, processing the job...
[2025-04-09 03:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 03:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 03:59:04] Production.INFO: ==23231== Releasing lock...
[2025-04-09 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866940') end
[2025-04-09 03:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 03:59:04] Production.INFO: 1
[2025-04-09 03:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 03:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 03:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 03:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 03:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 03:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 03:59:04] Production.INFO: ==23235== Releasing lock...
[2025-04-09 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 03:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 03:59:04] Production.INFO: ==23227== Releasing lock...
[2025-04-09 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 03:59:04] Production.ERROR: done
[2025-04-09 03:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 03:59:04] Production.ERROR: done
[2025-04-09 03:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 00:59:06
[end_date_ymd] => 2025-04-09 03:59:06
[RateCDR] => 1
)
[2025-04-09 03:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 00:59:06' and `end` < '2025-04-09 03:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 03:59:12] Production.ERROR: CronJobId end10
[2025-04-09 03:59:12] Production.INFO: ==23229== Releasing lock...
[2025-04-09 03:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 03:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 03:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 03:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 03:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 03:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 03:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 03:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 03:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 03:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 03:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 03:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 03:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 03:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 03:59:15] Production.INFO: call_cost start
[2025-04-09 03:59:15] Production.INFO: call_cost end
[2025-04-09 03:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 03:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 03:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 03:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 03:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 03:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 03:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 03:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 03:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 03:59:16] Production.INFO: ==23225== Releasing lock...
[2025-04-09 03:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 03:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 03:59:18] Production.INFO: count ==170
[2025-04-09 03:59:18] Production.ERROR: pbx CDR StartTime 2025-04-09 00:59:06 - End Time 2025-04-09 03:59:06
[2025-04-09 03:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866943', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866943', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866943', 'tblTempVendorCDR_20' ) start
[2025-04-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866943', 'tblTempVendorCDR_20' ) end
[2025-04-09 03:59:18] Production.INFO: ProcessCDR(1,14866943,1,1,2)
[2025-04-09 03:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 03:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866943', 'tblTempUsageDetail_20' ) start
[2025-04-09 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866943', 'tblTempUsageDetail_20' ) end
[2025-04-09 03:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 03:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 03:59:22] Production.INFO: ==23233== Releasing lock...
[2025-04-09 03:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 03:59:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:00:02] Production.INFO: ==23291== Lock acquired, processing the job...
[2025-04-09 09:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:00:02] Production.INFO: neon service started
[2025-04-09 09:00:02] Production.INFO: neon service started
[2025-04-09 09:00:02] Production.INFO: ==23291== Releasing lock...
[2025-04-09 09:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:00:02] Production.INFO: ==23293== Lock acquired, processing the job...
[2025-04-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:00:02] Production.INFO: ==23295== Lock acquired, processing the job...
[2025-04-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:00:03] Production.INFO: ==23295== Releasing lock...
[2025-04-09 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:00:03] Production.INFO: ==23293== Releasing lock...
[2025-04-09 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:00:03] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-04-09 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:00:04] Production.INFO: ==23299== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:00:04] Production.INFO: ==23297== Releasing lock...
[2025-04-09 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:00:04] Production.INFO: ==23303== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:00:04] Production.INFO: ==23301== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:00:04] Production.INFO: ==23310== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:00:04] Production.INFO: ==23305== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:00:04] Production.INFO: ==23307== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:00:04] Production.INFO: ==23312== Lock acquired, processing the job...
[2025-04-09 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:00:04] Production.INFO: Account Balance Start.
[2025-04-09 04:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:00:04] Production.INFO: 117
[2025-04-09 04:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:00:04] Production.INFO: count ==12
[2025-04-09 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-04-09 04:00:04] Production.INFO: ==23301== Releasing lock...
[2025-04-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:00:04] Production.INFO: count ==23
[2025-04-09 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866947') start
[2025-04-09 04:00:04] Production.ERROR: done
[2025-04-09 04:00:04] Production.INFO: Total Charge 0
[2025-04-09 04:00:05] Production.INFO: CreateAllLog End
[2025-04-09 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866947') end
[2025-04-09 04:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:00:05] Production.INFO: 1
[2025-04-09 04:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866948', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:00:05] Production.INFO: ==23312== Releasing lock...
[2025-04-09 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:00:05] Production.ERROR: done
[2025-04-09 04:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:00:05] Production.INFO: Account Balance End.
[2025-04-09 04:00:05] Production.ERROR: done
[2025-04-09 04:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:00:05] Production.INFO: ==23305== Releasing lock...
[2025-04-09 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:00:06
[end_date_ymd] => 2025-04-09 04:00:06
[RateCDR] => 1
)
[2025-04-09 04:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:00:06' and `end` < '2025-04-09 04:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14866948', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:00:09] Production.INFO: ProcessCDR(1,14866948,1,1,2)
[2025-04-09 04:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14866948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14866948,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:00:09] Production.INFO: ==23310== Releasing lock...
[2025-04-09 04:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:00:13] Production.ERROR: CronJobId end10
[2025-04-09 04:00:13] Production.INFO: ==23303== Releasing lock...
[2025-04-09 04:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:00:17] Production.INFO: call_cost start
[2025-04-09 04:00:17] Production.INFO: call_cost end
[2025-04-09 04:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:00:18] Production.INFO: ==23299== Releasing lock...
[2025-04-09 04:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:00:19] Production.INFO: count ==160
[2025-04-09 04:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:00:06 - End Time 2025-04-09 04:00:06
[2025-04-09 04:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866949', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866949', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866949', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866949', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:00:19] Production.INFO: ProcessCDR(1,14866949,1,1,2)
[2025-04-09 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866949', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866949', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:00:22] Production.INFO: ==23307== Releasing lock...
[2025-04-09 04:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:00:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:01:01] Production.INFO: ==23369== Lock acquired, processing the job...
[2025-04-09 09:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:01:01] Production.INFO: neon service started
[2025-04-09 09:01:01] Production.INFO: neon service started
[2025-04-09 09:01:01] Production.INFO: ==23369== Releasing lock...
[2025-04-09 09:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:01:02] Production.INFO: ==23379== Lock acquired, processing the job...
[2025-04-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:01:02] Production.INFO: ==23379== Releasing lock...
[2025-04-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:01:02] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-04-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:01:02] Production.INFO: ==23381== Releasing lock...
[2025-04-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:01:03] Production.INFO: ==23394== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:01:03] Production.INFO: count ==12
[2025-04-09 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:01:03] Production.INFO: count ==23
[2025-04-09 04:01:03] Production.INFO: ==23384== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-04-09 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866950') start
[2025-04-09 04:01:03] Production.INFO: ==23386== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:01:03] Production.INFO: ==23388== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:01:03] Production.INFO: ==23390== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:01:03] Production.INFO: ==23392== Lock acquired, processing the job...
[2025-04-09 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866950') end
[2025-04-09 04:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:01:04] Production.INFO: 1
[2025-04-09 04:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:01:04] Production.ERROR: done
[2025-04-09 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:01:04] Production.INFO: DBcleanup Starts.
[2025-04-09 04:01:04] Production.INFO: Usage Download Log Start.
[2025-04-09 04:01:04] Production.INFO: Account Balance Start.
[2025-04-09 04:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:01:04] Production.INFO: Usage Download Log End.
[2025-04-09 04:01:04] Production.INFO: Cronjob History Delete Start.
[2025-04-09 04:01:04] Production.INFO: 117
[2025-04-09 04:01:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-04-09','Cronjob')
[2025-04-09 04:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:01:04] Production.INFO: ==23396== Releasing lock...
[2025-04-09 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:01:04] Production.INFO: Total Charge 0
[2025-04-09 04:01:04] Production.ERROR: done
[2025-04-09 04:01:04] Production.INFO: CreateAllLog End
[2025-04-09 04:01:04] Production.INFO: ==23388== Releasing lock...
[2025-04-09 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:01:04] Production.INFO: Account Balance End.
[2025-04-09 04:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:01:04] Production.INFO: ==23392== Releasing lock...
[2025-04-09 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:01:05
[end_date_ymd] => 2025-04-09 04:01:05
[RateCDR] => 1
)
[2025-04-09 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:01:05' and `end` < '2025-04-09 04:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:01:15] Production.INFO: Cronjob History Delete End.
[2025-04-09 04:01:15] Production.INFO: Job Log Delete Start.
[2025-04-09 04:01:15] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-04-09','Job')
[2025-04-09 04:01:15] Production.INFO: Job Log Delete End.
[2025-04-09 04:01:15] Production.INFO: Customer RateSheet History Delete Starts.
[2025-04-09 04:01:15] Production.INFO: Customer RateSheet History Delete End.
[2025-04-09 04:01:15] Production.INFO: Vendor RateSheet History Delete Start.
[2025-04-09 04:01:15] Production.INFO: Vendor RateSheet History Delete End.
[2025-04-09 04:01:15] Production.INFO: All Old Rate Delete Start
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-04-09 04:01:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-04-09 04:01:15] Production.INFO: All Old Rate Delete End
[2025-04-09 04:01:15] Production.INFO: Customer CDR Delete Start.
[2025-04-09 04:01:15] Production.INFO: Customer CDR Delete End.
[2025-04-09 04:01:15] Production.INFO: Customer Failed Call Start.
[2025-04-09 04:01:15] Production.INFO: Customer Failed Call Delete End.
[2025-04-09 04:01:15] Production.INFO: Vendor CDR Delete Start.
[2025-04-09 04:01:15] Production.INFO: Vendor CDR Delete End.
[2025-04-09 04:01:15] Production.INFO: Vendor CDR Delete Start.
[2025-04-09 04:01:15] Production.INFO: Vendor CDR Delete End.
[2025-04-09 04:01:15] Production.INFO: RateLog Delete Start.
[2025-04-09 04:01:15] Production.INFO: RateLog Delete End.
[2025-04-09 04:01:15] Production.INFO: Archive Old Rate Delete Start.
[2025-04-09 04:01:15] Production.INFO: Archive Old Rate Delete End.
[2025-04-09 04:01:15] Production.INFO: Tickets Delete Start.
[2025-04-09 04:01:15] Production.INFO: Tickets Delete End.
[2025-04-09 04:01:15] Production.INFO: DBcleanup Done.
[2025-04-09 04:01:15] Production.ERROR: CronJobId end 3
[2025-04-09 04:01:15] Production.INFO: ==23384== Releasing lock...
[2025-04-09 04:01:15] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-04-09 04:01:15] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:01:17] Production.ERROR: CronJobId end10
[2025-04-09 04:01:17] Production.INFO: ==23390== Releasing lock...
[2025-04-09 04:01:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:01:17] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:01:18] Production.INFO: count ==156
[2025-04-09 04:01:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:01:05 - End Time 2025-04-09 04:01:05
[2025-04-09 04:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866955', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866955', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866955', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866955', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:01:18] Production.INFO: ProcessCDR(1,14866955,1,1,2)
[2025-04-09 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:01:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:01:19] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:01:19] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:01:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:01:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:01:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:01:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:01:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:01:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:01:19] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:01:19] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:01:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:01:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:01:19] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:01:19] Production.INFO: call_cost start
[2025-04-09 04:01:19] Production.INFO: call_cost end
[2025-04-09 04:01:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:01:20] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:01:20] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:01:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:01:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:01:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:01:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:01:20] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:01:20] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:01:20] Production.INFO: ==23386== Releasing lock...
[2025-04-09 04:01:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:01:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866955', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866955', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:01:22] Production.INFO: ==23394== Releasing lock...
[2025-04-09 04:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:01:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:02:02] Production.INFO: ==23451== Lock acquired, processing the job...
[2025-04-09 09:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:02:02] Production.INFO: neon service started
[2025-04-09 09:02:02] Production.INFO: neon service started
[2025-04-09 09:02:02] Production.INFO: ==23451== Releasing lock...
[2025-04-09 09:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:02:02] Production.INFO: ==23453== Lock acquired, processing the job...
[2025-04-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:02:02] Production.INFO: ==23453== Releasing lock...
[2025-04-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:02:03] Production.INFO: ==23455== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:02:03] Production.INFO: ==23455== Releasing lock...
[2025-04-09 08:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:02:03] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-04-09 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:02:03] Production.INFO: ==23460== Lock acquired, processing the job...
[2025-04-09 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:02:03] Production.INFO: ==23468== Lock acquired, processing the job...
[2025-04-09 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:02:03] Production.INFO: ==23464== Lock acquired, processing the job...
[2025-04-09 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:02:03] Production.INFO: ==23462== Lock acquired, processing the job...
[2025-04-09 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:02:04] Production.INFO: ==23466== Lock acquired, processing the job...
[2025-04-09 04:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:02:04] Production.INFO: Account Balance Start.
[2025-04-09 04:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:02:04] Production.INFO: 117
[2025-04-09 04:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:02:04] Production.INFO: count ==12
[2025-04-09 04:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:02:04] Production.INFO: count ==23
[2025-04-09 04:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866958') start
[2025-04-09 04:02:04] Production.INFO: Total Charge 0
[2025-04-09 04:02:04] Production.INFO: CreateAllLog End
[2025-04-09 04:02:04] Production.INFO: ==23460== Releasing lock...
[2025-04-09 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866958') end
[2025-04-09 04:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:02:04] Production.INFO: 1
[2025-04-09 04:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:02:04] Production.INFO: ==23468== Releasing lock...
[2025-04-09 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:02:04] Production.ERROR: done
[2025-04-09 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:02:04] Production.ERROR: done
[2025-04-09 04:02:04] Production.INFO: Account Balance End.
[2025-04-09 04:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:02:04] Production.INFO: ==23464== Releasing lock...
[2025-04-09 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:02:05
[end_date_ymd] => 2025-04-09 04:02:05
[RateCDR] => 1
)
[2025-04-09 04:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:02:05' and `end` < '2025-04-09 04:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:02:11] Production.ERROR: CronJobId end10
[2025-04-09 04:02:11] Production.INFO: ==23462== Releasing lock...
[2025-04-09 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:02:15] Production.INFO: call_cost start
[2025-04-09 04:02:15] Production.INFO: call_cost end
[2025-04-09 04:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:02:16] Production.INFO: ==23458== Releasing lock...
[2025-04-09 04:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:02:18] Production.INFO: count ==156
[2025-04-09 04:02:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:02:05 - End Time 2025-04-09 04:02:05
[2025-04-09 04:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866960', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866960', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866960', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866960', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:02:18] Production.INFO: ProcessCDR(1,14866960,1,1,2)
[2025-04-09 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866960', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866960', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:02:21] Production.INFO: ==23466== Releasing lock...
[2025-04-09 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:02:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:03:01] Production.INFO: ==23523== Lock acquired, processing the job...
[2025-04-09 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:03:01] Production.INFO: neon service started
[2025-04-09 09:03:01] Production.INFO: neon service started
[2025-04-09 09:03:01] Production.INFO: ==23523== Releasing lock...
[2025-04-09 09:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:03:02] Production.INFO: ==23525== Lock acquired, processing the job...
[2025-04-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:03:02] Production.INFO: ==23527== Lock acquired, processing the job...
[2025-04-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:03:02] Production.INFO: ==23527== Releasing lock...
[2025-04-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:03:02] Production.INFO: ==23525== Releasing lock...
[2025-04-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:03:03] Production.INFO: ==23536== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:03:03] Production.INFO: ==23540== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:03:03] Production.INFO: Account Balance Start.
[2025-04-09 04:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:03:03] Production.INFO: 117
[2025-04-09 04:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:03:03] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:03:03] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:03:03] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:03:03] Production.INFO: count ==12
[2025-04-09 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:03:03] Production.INFO: count ==23
[2025-04-09 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866962') start
[2025-04-09 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:03:03] Production.INFO: ==23538== Lock acquired, processing the job...
[2025-04-09 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:03:03] Production.INFO: Total Charge 0
[2025-04-09 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:03:03] Production.INFO: CreateAllLog End
[2025-04-09 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866962') end
[2025-04-09 04:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:03:03] Production.INFO: 1
[2025-04-09 04:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:03:03] Production.INFO: ==23540== Releasing lock...
[2025-04-09 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:03:03] Production.INFO: ==23531== Releasing lock...
[2025-04-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:03:03] Production.ERROR: done
[2025-04-09 04:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:03:04] Production.INFO: Account Balance End.
[2025-04-09 04:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:03:04] Production.INFO: ==23536== Releasing lock...
[2025-04-09 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:03:04] Production.ERROR: done
[2025-04-09 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:03:05
[end_date_ymd] => 2025-04-09 04:03:05
[RateCDR] => 1
)
[2025-04-09 04:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:03:05' and `end` < '2025-04-09 04:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:03:10] Production.ERROR: CronJobId end10
[2025-04-09 04:03:10] Production.INFO: ==23533== Releasing lock...
[2025-04-09 04:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:03:14] Production.INFO: call_cost start
[2025-04-09 04:03:14] Production.INFO: call_cost end
[2025-04-09 04:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:03:15] Production.INFO: ==23529== Releasing lock...
[2025-04-09 04:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:03:18] Production.INFO: count ==156
[2025-04-09 04:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:03:05 - End Time 2025-04-09 04:03:05
[2025-04-09 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866965', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866965', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866965', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866965', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:03:18] Production.INFO: ProcessCDR(1,14866965,1,1,2)
[2025-04-09 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866965', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866965', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:03:21] Production.INFO: ==23538== Releasing lock...
[2025-04-09 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:03:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:04:02] Production.INFO: ==23597== Lock acquired, processing the job...
[2025-04-09 09:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:04:02] Production.INFO: neon service started
[2025-04-09 09:04:02] Production.INFO: neon service started
[2025-04-09 09:04:02] Production.INFO: ==23597== Releasing lock...
[2025-04-09 09:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:04:02] Production.INFO: ==23599== Lock acquired, processing the job...
[2025-04-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:04:02] Production.INFO: ==23599== Releasing lock...
[2025-04-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:04:03] Production.INFO: ==23601== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:04:03] Production.INFO: ==23601== Releasing lock...
[2025-04-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:04:03] Production.INFO: ==23603== Lock acquired, processing the job...
[2025-04-09 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:04:03] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-04-09 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:04:03] Production.INFO: ==23613== Lock acquired, processing the job...
[2025-04-09 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04: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-04-09 04:04:03] Production.INFO: count ==12
[2025-04-09 04: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-04-09 04:04:03] Production.INFO: count ==23
[2025-04-09 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866967') start
[2025-04-09 04:04:04] Production.INFO: ==23611== Lock acquired, processing the job...
[2025-04-09 04:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866967') end
[2025-04-09 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:04:04] Production.INFO: 1
[2025-04-09 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:04:04] Production.INFO: ==23605== Lock acquired, processing the job...
[2025-04-09 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:04:04] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-04-09 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:04:04] Production.INFO: ==23613== Releasing lock...
[2025-04-09 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:04:04] Production.INFO: Account Balance Start.
[2025-04-09 04:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:04:04] Production.INFO: 117
[2025-04-09 04:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:04:04] Production.ERROR: done
[2025-04-09 04:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:04:04] Production.INFO: ==23605== Releasing lock...
[2025-04-09 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:04:04] Production.INFO: Total Charge 0
[2025-04-09 04:04:04] Production.INFO: CreateAllLog End
[2025-04-09 04:04:04] Production.ERROR: done
[2025-04-09 04:04:05] Production.INFO: Account Balance End.
[2025-04-09 04:04:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:04:05] Production.INFO: ==23609== Releasing lock...
[2025-04-09 04:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:04:05
[end_date_ymd] => 2025-04-09 04:04:05
[RateCDR] => 1
)
[2025-04-09 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:04:05' and `end` < '2025-04-09 04:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:04:11] Production.ERROR: CronJobId end10
[2025-04-09 04:04:11] Production.INFO: ==23607== Releasing lock...
[2025-04-09 04:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:04:14] Production.INFO: call_cost start
[2025-04-09 04:04:14] Production.INFO: call_cost end
[2025-04-09 04:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:04:15] Production.INFO: ==23603== Releasing lock...
[2025-04-09 04:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:04:18] Production.INFO: count ==154
[2025-04-09 04:04:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:04:05 - End Time 2025-04-09 04:04:05
[2025-04-09 04:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866970', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866970', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866970', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866970', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:04:18] Production.INFO: ProcessCDR(1,14866970,1,1,2)
[2025-04-09 04:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866970', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866970', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:04:22] Production.INFO: ==23611== Releasing lock...
[2025-04-09 04:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:04:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:05:01] Production.INFO: ==23707== Lock acquired, processing the job...
[2025-04-09 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:05:01] Production.INFO: neon service started
[2025-04-09 09:05:01] Production.INFO: neon service started
[2025-04-09 09:05:01] Production.INFO: ==23707== Releasing lock...
[2025-04-09 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:05:02] Production.INFO: ==23711== Lock acquired, processing the job...
[2025-04-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:05:02] Production.INFO: ==23711== Releasing lock...
[2025-04-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:05:02] Production.INFO: ==23709== Lock acquired, processing the job...
[2025-04-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:05:02] Production.INFO: ==23709== Releasing lock...
[2025-04-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:05:03] Production.INFO: ==23714== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:05:03] Production.INFO: ==23716== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:05:03] Production.INFO: ==23720== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:05:03] Production.INFO: Account Balance Start.
[2025-04-09 04:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:05:03] Production.INFO: 117
[2025-04-09 04:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:05:03] Production.INFO: ==23718== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:05:03] Production.INFO: ==23724== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:05:03] Production.INFO: Total Charge 0
[2025-04-09 04:05:03] Production.INFO: CreateAllLog End
[2025-04-09 04:05:03] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-04-09 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 04:05:03] Production.INFO: count ==12
[2025-04-09 04:05:03] Production.INFO: Account Balance End.
[2025-04-09 04:05:03] Production.INFO: ==23716== Releasing lock...
[2025-04-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 04:05:03] Production.INFO: count ==23
[2025-04-09 04:05:03] Production.ERROR: CronJobId end 12
[2025-04-09 04:05:03] Production.INFO: ==23720== Releasing lock...
[2025-04-09 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866974') start
[2025-04-09 04:05:04] Production.ERROR: done
[2025-04-09 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866974') end
[2025-04-09 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:05:04] Production.INFO: 1
[2025-04-09 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:05:04] Production.INFO: ==23724== Releasing lock...
[2025-04-09 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:05:04] Production.ERROR: done
[2025-04-09 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:05:05
[end_date_ymd] => 2025-04-09 04:05:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:05:05' and `end` < '2025-04-09 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-04-09 04:05:11] Production.ERROR: CronJobId end10
[2025-04-09 04:05:11] Production.INFO: ==23718== Releasing lock...
[2025-04-09 04:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:05:14] Production.INFO: call_cost start
[2025-04-09 04:05:14] Production.INFO: call_cost end
[2025-04-09 04:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:05:15] Production.INFO: ==23714== Releasing lock...
[2025-04-09 04:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:05:18] Production.INFO: count ==154
[2025-04-09 04:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:05:05 - End Time 2025-04-09 04:05:05
[2025-04-09 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866975', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866975', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866975', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866975', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:05:18] Production.INFO: ProcessCDR(1,14866975,1,1,2)
[2025-04-09 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866975', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866975', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:05:21] Production.INFO: ==23722== Releasing lock...
[2025-04-09 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:05:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:06:02] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-04-09 09:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:06:02] Production.INFO: neon service started
[2025-04-09 09:06:02] Production.INFO: neon service started
[2025-04-09 09:06:02] Production.INFO: ==23777== Releasing lock...
[2025-04-09 09:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:06:02] Production.INFO: ==23781== Lock acquired, processing the job...
[2025-04-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:06:02] Production.INFO: ==23781== Releasing lock...
[2025-04-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:06:02] Production.INFO: ==23779== Lock acquired, processing the job...
[2025-04-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:06:03] Production.INFO: ==23779== Releasing lock...
[2025-04-09 04:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:06:03] Production.INFO: ==23784== Lock acquired, processing the job...
[2025-04-09 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:06:03] Production.INFO: ==23788== Lock acquired, processing the job...
[2025-04-09 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:06:03] Production.INFO: ==23790== Lock acquired, processing the job...
[2025-04-09 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:06:04] Production.INFO: ==23786== Lock acquired, processing the job...
[2025-04-09 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:06:04] Production.INFO: Account Balance Start.
[2025-04-09 04:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:06:04] Production.INFO: 117
[2025-04-09 04:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:06:04] Production.INFO: Total Charge 0
[2025-04-09 04:06:04] Production.INFO: CreateAllLog End
[2025-04-09 04:06:04] Production.INFO: ==23792== Lock acquired, processing the job...
[2025-04-09 04:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:06:04] Production.INFO: ==23794== Lock acquired, processing the job...
[2025-04-09 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:06:04] Production.INFO: Account Balance End.
[2025-04-09 04:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:06:04] Production.INFO: ==23790== Releasing lock...
[2025-04-09 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:06:04] Production.INFO: count ==12
[2025-04-09 04:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:06:04] Production.INFO: ==23786== Releasing lock...
[2025-04-09 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:06:04] Production.INFO: count ==23
[2025-04-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866979') start
[2025-04-09 04:06:04] Production.ERROR: done
[2025-04-09 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866979') end
[2025-04-09 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:06:04] Production.INFO: 1
[2025-04-09 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:06:05] Production.ERROR: done
[2025-04-09 04:06:05] Production.INFO: ==23794== Releasing lock...
[2025-04-09 04:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:06:06
[end_date_ymd] => 2025-04-09 04:06:06
[RateCDR] => 1
)
[2025-04-09 04:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:06:06' and `end` < '2025-04-09 04:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:06:12] Production.ERROR: CronJobId end10
[2025-04-09 04:06:12] Production.INFO: ==23788== Releasing lock...
[2025-04-09 04:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:06:15] Production.INFO: call_cost start
[2025-04-09 04:06:15] Production.INFO: call_cost end
[2025-04-09 04:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:06:16] Production.INFO: ==23784== Releasing lock...
[2025-04-09 04:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:06:18] Production.INFO: count ==154
[2025-04-09 04:06:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:06:06 - End Time 2025-04-09 04:06:06
[2025-04-09 04:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866980', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866980', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866980', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866980', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:06:18] Production.INFO: ProcessCDR(1,14866980,1,1,2)
[2025-04-09 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866980', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866980', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:06:22] Production.INFO: ==23792== Releasing lock...
[2025-04-09 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:06:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:07:01] Production.INFO: ==23848== Lock acquired, processing the job...
[2025-04-09 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:07:01] Production.INFO: neon service started
[2025-04-09 09:07:01] Production.INFO: neon service started
[2025-04-09 09:07:01] Production.INFO: ==23848== Releasing lock...
[2025-04-09 09:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:07:02] Production.INFO: ==23852== Lock acquired, processing the job...
[2025-04-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:07:02] Production.INFO: ==23852== Releasing lock...
[2025-04-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:07:02] Production.INFO: ==23850== Lock acquired, processing the job...
[2025-04-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:07:02] Production.INFO: ==23850== Releasing lock...
[2025-04-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:07:03] Production.INFO: ==23863== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:07:03] Production.INFO: ==23855== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:07:03] Production.INFO: ==23857== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:07:03] Production.INFO: ==23865== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:07:03] Production.INFO: ==23859== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:07:03] Production.INFO: ==23861== Lock acquired, processing the job...
[2025-04-09 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:07:03] Production.INFO: count ==12
[2025-04-09 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-04-09 04:07:03] Production.INFO: count ==23
[2025-04-09 04:07:03] Production.INFO: Account Balance Start.
[2025-04-09 04:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:07:03] Production.INFO: 117
[2025-04-09 04:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866982') start
[2025-04-09 04:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:07:04] Production.INFO: Total Charge 0
[2025-04-09 04:07:04] Production.INFO: CreateAllLog End
[2025-04-09 04:07:04] Production.ERROR: done
[2025-04-09 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866982') end
[2025-04-09 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:07:04] Production.INFO: 1
[2025-04-09 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:07:04] Production.INFO: ==23857== Releasing lock...
[2025-04-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:07:04] Production.INFO: ==23865== Releasing lock...
[2025-04-09 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:07:04] Production.ERROR: done
[2025-04-09 04:07:04] Production.INFO: Account Balance End.
[2025-04-09 04:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:07:04] Production.INFO: ==23861== Releasing lock...
[2025-04-09 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:07:05
[end_date_ymd] => 2025-04-09 04:07:05
[RateCDR] => 1
)
[2025-04-09 04:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:07:05' and `end` < '2025-04-09 04:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:07:11] Production.ERROR: CronJobId end10
[2025-04-09 04:07:11] Production.INFO: ==23859== Releasing lock...
[2025-04-09 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:07:14] Production.INFO: call_cost start
[2025-04-09 04:07:14] Production.INFO: call_cost end
[2025-04-09 04:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:07:15] Production.INFO: ==23855== Releasing lock...
[2025-04-09 04:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:07:17] Production.INFO: count ==156
[2025-04-09 04:07:17] Production.ERROR: pbx CDR StartTime 2025-04-09 01:07:05 - End Time 2025-04-09 04:07:05
[2025-04-09 04:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866985', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866985', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866985', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866985', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:07:18] Production.INFO: ProcessCDR(1,14866985,1,1,2)
[2025-04-09 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866985', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866985', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:07:23] Production.INFO: ==23863== Releasing lock...
[2025-04-09 04:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:07:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:08:02] Production.INFO: ==23921== Lock acquired, processing the job...
[2025-04-09 09:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:08:02] Production.INFO: neon service started
[2025-04-09 09:08:02] Production.INFO: neon service started
[2025-04-09 09:08:02] Production.INFO: ==23921== Releasing lock...
[2025-04-09 09:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:08:02] Production.INFO: ==23923== Lock acquired, processing the job...
[2025-04-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:08:02] Production.INFO: ==23925== Lock acquired, processing the job...
[2025-04-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:08:02] Production.INFO: ==23925== Releasing lock...
[2025-04-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:08:03] Production.INFO: ==23923== Releasing lock...
[2025-04-09 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:08:03] Production.INFO: ==23928== Lock acquired, processing the job...
[2025-04-09 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:08:04] Production.INFO: ==23938== Lock acquired, processing the job...
[2025-04-09 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:08:04] Production.INFO: ==23930== Lock acquired, processing the job...
[2025-04-09 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:08:04] Production.INFO: ==23932== Lock acquired, processing the job...
[2025-04-09 04:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 04:08:04] Production.INFO: ==23934== Lock acquired, processing the job...
[2025-04-09 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:08:04] Production.INFO: count ==12
[2025-04-09 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-04-09 04:08:04] Production.INFO: count ==23
[2025-04-09 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866987') start
[2025-04-09 04:08:04] Production.INFO: ==23936== Lock acquired, processing the job...
[2025-04-09 04:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:08:04] Production.INFO: Account Balance Start.
[2025-04-09 04:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866987') end
[2025-04-09 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:08:04] Production.INFO: 1
[2025-04-09 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:08:04] Production.INFO: 117
[2025-04-09 04:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:08:04] Production.INFO: Total Charge 0
[2025-04-09 04:08:04] Production.INFO: ==23938== Releasing lock...
[2025-04-09 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:08:04] Production.INFO: ==23930== Releasing lock...
[2025-04-09 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:08:04] Production.INFO: CreateAllLog End
[2025-04-09 04:08:04] Production.ERROR: done
[2025-04-09 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:08:05] Production.ERROR: done
[2025-04-09 04:08:05] Production.INFO: Account Balance End.
[2025-04-09 04:08:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:08:05] Production.INFO: ==23934== Releasing lock...
[2025-04-09 04:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:08:06
[end_date_ymd] => 2025-04-09 04:08:06
[RateCDR] => 1
)
[2025-04-09 04:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:08:06' and `end` < '2025-04-09 04:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:08:13] Production.ERROR: CronJobId end10
[2025-04-09 04:08:13] Production.INFO: ==23932== Releasing lock...
[2025-04-09 04:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:08:15] Production.INFO: call_cost start
[2025-04-09 04:08:15] Production.INFO: call_cost end
[2025-04-09 04:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:08:16] Production.INFO: ==23928== Releasing lock...
[2025-04-09 04:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:08:19] Production.INFO: count ==157
[2025-04-09 04:08:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:08:06 - End Time 2025-04-09 04:08:06
[2025-04-09 04:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866990', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866990', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866990', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866990', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:08:19] Production.INFO: ProcessCDR(1,14866990,1,1,2)
[2025-04-09 04:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866990', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866990', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:08:24] Production.INFO: ==23936== Releasing lock...
[2025-04-09 04:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:08:24] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:09:01] Production.INFO: ==23991== Lock acquired, processing the job...
[2025-04-09 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:09:01] Production.INFO: neon service started
[2025-04-09 09:09:01] Production.INFO: neon service started
[2025-04-09 09:09:01] Production.INFO: ==23991== Releasing lock...
[2025-04-09 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:09:01] Production.INFO: ==23994== Lock acquired, processing the job...
[2025-04-09 04:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:09:02] Production.INFO: ==23994== Releasing lock...
[2025-04-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:09:02] Production.INFO: ==23996== Lock acquired, processing the job...
[2025-04-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:09:02] Production.INFO: ==23996== Releasing lock...
[2025-04-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:09:02] Production.INFO: ==23998== Lock acquired, processing the job...
[2025-04-09 04:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:09:03] Production.INFO: ==24006== Lock acquired, processing the job...
[2025-04-09 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:09:03] Production.INFO: ==24000== Lock acquired, processing the job...
[2025-04-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:09:03] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-04-09 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:09:03] Production.INFO: ==24004== Lock acquired, processing the job...
[2025-04-09 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:09:03] Production.INFO: ==24008== Lock acquired, processing the job...
[2025-04-09 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:09:03] Production.INFO: Account Balance Start.
[2025-04-09 04:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:09:03] Production.INFO: 117
[2025-04-09 04:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:09:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 04:09:03] Production.INFO: CreateAllLog End
[2025-04-09 04:09:03] Production.INFO: count ==12
[2025-04-09 04:09:03] Production.INFO: ==24000== Releasing lock...
[2025-04-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 04:09:03] Production.INFO: count ==23
[2025-04-09 04:09:03] Production.ERROR: done
[2025-04-09 04:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866994') start
[2025-04-09 04:09:03] Production.ERROR: done
[2025-04-09 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14866994') end
[2025-04-09 04:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:09:03] Production.INFO: 1
[2025-04-09 04:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:09:04] Production.INFO: ==24008== Releasing lock...
[2025-04-09 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:09:04] Production.INFO: Account Balance End.
[2025-04-09 04:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:09:04] Production.INFO: ==24004== Releasing lock...
[2025-04-09 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:09:04
[end_date_ymd] => 2025-04-09 04:09:04
[RateCDR] => 1
)
[2025-04-09 04: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-04-09 01:09:04' and `end` < '2025-04-09 04: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-04-09 04:09:10] Production.ERROR: CronJobId end10
[2025-04-09 04:09:10] Production.INFO: ==24002== Releasing lock...
[2025-04-09 04:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:09:14] Production.INFO: call_cost start
[2025-04-09 04:09:14] Production.INFO: call_cost end
[2025-04-09 04:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:09:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:09:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:09:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:09:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:09:14] Production.INFO: ==23998== Releasing lock...
[2025-04-09 04:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:09:17] Production.INFO: count ==159
[2025-04-09 04:09:17] Production.ERROR: pbx CDR StartTime 2025-04-09 01:09:04 - End Time 2025-04-09 04:09:04
[2025-04-09 04:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866995', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14866995', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866995', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14866995', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:09:17] Production.INFO: ProcessCDR(1,14866995,1,1,2)
[2025-04-09 04:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14866995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14866995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14866995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14866995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866995', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14866995', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:09:22] Production.INFO: ==24006== Releasing lock...
[2025-04-09 04:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:09:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:10:02] Production.INFO: ==24068== Lock acquired, processing the job...
[2025-04-09 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:10:02] Production.INFO: neon service started
[2025-04-09 09:10:02] Production.INFO: neon service started
[2025-04-09 09:10:02] Production.INFO: ==24068== Releasing lock...
[2025-04-09 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:10:02] Production.INFO: ==24072== Lock acquired, processing the job...
[2025-04-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:10:02] Production.INFO: ==24072== Releasing lock...
[2025-04-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:10:02] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-04-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:10:02] Production.INFO: ==24070== Releasing lock...
[2025-04-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:10:03] Production.INFO: ==24074== Lock acquired, processing the job...
[2025-04-09 04:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:10:04] Production.INFO: ==24074== Releasing lock...
[2025-04-09 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:10:04] Production.INFO: ==24083== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:10:04] Production.INFO: ==24076== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:10:04] Production.INFO: ==24087== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:10:04] Production.INFO: Account Balance Start.
[2025-04-09 04:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:10:04] Production.INFO: 117
[2025-04-09 04:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:10:04] Production.INFO: ==24079== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:10:04] Production.INFO: ==24081== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:10:04] Production.INFO: ==24085== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:10:04] Production.INFO: Total Charge 0
[2025-04-09 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:10:04] Production.INFO: ==24089== Lock acquired, processing the job...
[2025-04-09 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:10:04] Production.INFO: CreateAllLog End
[2025-04-09 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:10:04] Production.ERROR: done
[2025-04-09 04:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:10:04] Production.INFO: count ==12
[2025-04-09 04:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867000', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:10:04] Production.INFO: Account Balance End.
[2025-04-09 04:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:10:04] Production.INFO: count ==23
[2025-04-09 04:10:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:10:04] Production.INFO: ==24083== Releasing lock...
[2025-04-09 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14866999') start
[2025-04-09 04:10:05] Production.ERROR: done
[2025-04-09 04:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14866999') end
[2025-04-09 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:10:05] Production.INFO: 1
[2025-04-09 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:10:05] Production.INFO: ==24079== Releasing lock...
[2025-04-09 04:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:10:05] Production.ERROR: done
[2025-04-09 04:10:05] Production.INFO: ==24089== Releasing lock...
[2025-04-09 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:10:06
[end_date_ymd] => 2025-04-09 04:10:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:10:06' and `end` < '2025-04-09 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-04-09 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867000', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:10:09] Production.INFO: ProcessCDR(1,14867000,1,1,2)
[2025-04-09 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867000,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867000,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:10:09] Production.INFO: ==24087== Releasing lock...
[2025-04-09 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:10:13] Production.ERROR: CronJobId end10
[2025-04-09 04:10:13] Production.INFO: ==24081== Releasing lock...
[2025-04-09 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:10:17] Production.INFO: call_cost start
[2025-04-09 04:10:17] Production.INFO: call_cost end
[2025-04-09 04:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:10:18] Production.INFO: ==24076== Releasing lock...
[2025-04-09 04:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:10:19] Production.INFO: count ==174
[2025-04-09 04:10:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:10:06 - End Time 2025-04-09 04:10:06
[2025-04-09 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867001', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867001', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867001', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867001', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:10:19] Production.INFO: ProcessCDR(1,14867001,1,1,2)
[2025-04-09 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867001', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867001', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:10:22] Production.INFO: ==24085== Releasing lock...
[2025-04-09 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:10:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:11:01] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-04-09 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:11:01] Production.INFO: neon service started
[2025-04-09 09:11:01] Production.INFO: neon service started
[2025-04-09 09:11:01] Production.INFO: ==24147== Releasing lock...
[2025-04-09 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:11:01] Production.INFO: ==24149== Lock acquired, processing the job...
[2025-04-09 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:11:02] Production.INFO: ==24149== Releasing lock...
[2025-04-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:11:02] Production.INFO: ==24151== Lock acquired, processing the job...
[2025-04-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:11:02] Production.INFO: ==24151== Releasing lock...
[2025-04-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:11:03] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:11:03] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:11:03] Production.INFO: ==24155== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:11:03] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:11:03] Production.INFO: ==24157== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:11:03] Production.INFO: ==24160== Lock acquired, processing the job...
[2025-04-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:11:03] Production.INFO: count ==12
[2025-04-09 04:11:03] Production.INFO: Account Balance Start.
[2025-04-09 04:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:11:03] Production.INFO: 117
[2025-04-09 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-04-09 04:11:03] Production.INFO: count ==23
[2025-04-09 04:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867004') start
[2025-04-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:11:03] Production.ERROR: done
[2025-04-09 04:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:11:03] Production.INFO: Total Charge 0
[2025-04-09 04:11:03] Production.INFO: CreateAllLog End
[2025-04-09 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867004') end
[2025-04-09 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:11:03] Production.INFO: 1
[2025-04-09 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:11:03] Production.INFO: ==24164== Releasing lock...
[2025-04-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:11:03] Production.INFO: ==24155== Releasing lock...
[2025-04-09 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:11:03] Production.ERROR: done
[2025-04-09 04:11:03] Production.INFO: Account Balance End.
[2025-04-09 04:11:03] Production.ERROR: CronJobId end 12
[2025-04-09 04:11:03] Production.INFO: ==24160== Releasing lock...
[2025-04-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:11:04
[end_date_ymd] => 2025-04-09 04:11:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:11:04' and `end` < '2025-04-09 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-04-09 04:11:11] Production.ERROR: CronJobId end10
[2025-04-09 04:11:11] Production.INFO: ==24157== Releasing lock...
[2025-04-09 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:11:14] Production.INFO: call_cost start
[2025-04-09 04:11:14] Production.INFO: call_cost end
[2025-04-09 04:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:11:15] Production.INFO: ==24153== Releasing lock...
[2025-04-09 04:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:11:17] Production.INFO: count ==174
[2025-04-09 04:11:17] Production.ERROR: pbx CDR StartTime 2025-04-09 01:11:04 - End Time 2025-04-09 04:11:04
[2025-04-09 04:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867006', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867006', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867006', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867006', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:11:17] Production.INFO: ProcessCDR(1,14867006,1,1,2)
[2025-04-09 04:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867006', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867006', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:11:20] Production.INFO: ==24162== Releasing lock...
[2025-04-09 04:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:11:20] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:12:01] Production.INFO: ==24216== Lock acquired, processing the job...
[2025-04-09 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:12:01] Production.INFO: neon service started
[2025-04-09 09:12:02] Production.INFO: neon service started
[2025-04-09 09:12:02] Production.INFO: ==24216== Releasing lock...
[2025-04-09 09:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:12:02] Production.INFO: ==24218== Lock acquired, processing the job...
[2025-04-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:12:02] Production.INFO: ==24220== Lock acquired, processing the job...
[2025-04-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:12:02] Production.INFO: ==24218== Releasing lock...
[2025-04-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:12:02] Production.INFO: ==24220== Releasing lock...
[2025-04-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:12:03] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:12:03] Production.INFO: ==24223== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:12:03] Production.INFO: Account Balance Start.
[2025-04-09 04:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:12:03] Production.INFO: 117
[2025-04-09 04:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:12:03] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:12:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:12:03] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:12:03] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:12:03] Production.INFO: Total Charge 0
[2025-04-09 04:12:03] Production.INFO: CreateAllLog End
[2025-04-09 04: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-04-09 04:12:03] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-04-09 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:12:03] Production.INFO: count ==12
[2025-04-09 04: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-04-09 04:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:12:03] Production.INFO: count ==23
[2025-04-09 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867009') start
[2025-04-09 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:12:04] Production.INFO: Account Balance End.
[2025-04-09 04:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:12:04] Production.INFO: ==24229== Releasing lock...
[2025-04-09 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867009') end
[2025-04-09 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:12:04] Production.INFO: 1
[2025-04-09 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:12:04] Production.INFO: ==24233== Releasing lock...
[2025-04-09 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:12:04] Production.INFO: ==24225== Releasing lock...
[2025-04-09 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:12:04] Production.ERROR: done
[2025-04-09 04:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:12:04] Production.ERROR: done
[2025-04-09 04:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:12:05
[end_date_ymd] => 2025-04-09 04:12:05
[RateCDR] => 1
)
[2025-04-09 04:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:12:05' and `end` < '2025-04-09 04:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:12:12] Production.ERROR: CronJobId end10
[2025-04-09 04:12:12] Production.INFO: ==24227== Releasing lock...
[2025-04-09 04:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:12:15] Production.INFO: call_cost start
[2025-04-09 04:12:15] Production.INFO: call_cost end
[2025-04-09 04:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:12:16] Production.INFO: ==24223== Releasing lock...
[2025-04-09 04:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:12:18] Production.INFO: count ==176
[2025-04-09 04:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:12:05 - End Time 2025-04-09 04:12:05
[2025-04-09 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867011', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867011', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867011', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867011', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:12:18] Production.INFO: ProcessCDR(1,14867011,1,1,2)
[2025-04-09 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867011', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867011', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:12:21] Production.INFO: ==24231== Releasing lock...
[2025-04-09 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:12:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:13:01] Production.INFO: ==24287== Lock acquired, processing the job...
[2025-04-09 09:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:13:01] Production.INFO: neon service started
[2025-04-09 09:13:01] Production.INFO: neon service started
[2025-04-09 09:13:01] Production.INFO: ==24287== Releasing lock...
[2025-04-09 09:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:13:02] Production.INFO: ==24289== Lock acquired, processing the job...
[2025-04-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:13:02] Production.INFO: ==24291== Lock acquired, processing the job...
[2025-04-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:13:02] Production.INFO: ==24291== Releasing lock...
[2025-04-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:13:02] Production.INFO: ==24289== Releasing lock...
[2025-04-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:13:03] Production.INFO: ==24296== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:13:03] Production.INFO: ==24298== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:13:03] Production.INFO: ==24300== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:13:03] Production.INFO: Account Balance Start.
[2025-04-09 04:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:13:03] Production.INFO: 117
[2025-04-09 04:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:13:03] Production.INFO: ==24294== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:13:03] Production.INFO: Total Charge 0
[2025-04-09 04:13:03] Production.INFO: CreateAllLog End
[2025-04-09 04:13:03] Production.INFO: ==24304== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:13:03] Production.INFO: ==24296== Releasing lock...
[2025-04-09 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:13:03] Production.INFO: ==24302== Lock acquired, processing the job...
[2025-04-09 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:13:03] Production.INFO: Account Balance End.
[2025-04-09 04:13:03] Production.INFO: count ==12
[2025-04-09 04:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:13:03] Production.ERROR: CronJobId end 12
[2025-04-09 04:13:03] Production.INFO: ==24300== Releasing lock...
[2025-04-09 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:13:03] Production.INFO: count ==23
[2025-04-09 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867015') start
[2025-04-09 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867015') end
[2025-04-09 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:13:04] Production.INFO: 1
[2025-04-09 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:13:04] Production.ERROR: done
[2025-04-09 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:13:04] Production.INFO: ==24304== Releasing lock...
[2025-04-09 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:13:04] Production.ERROR: done
[2025-04-09 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:13:05
[end_date_ymd] => 2025-04-09 04:13:05
[RateCDR] => 1
)
[2025-04-09 04:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:13:05' and `end` < '2025-04-09 04:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:13:11] Production.ERROR: CronJobId end10
[2025-04-09 04:13:11] Production.INFO: ==24298== Releasing lock...
[2025-04-09 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:13:14] Production.INFO: call_cost start
[2025-04-09 04:13:14] Production.INFO: call_cost end
[2025-04-09 04:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:13:15] Production.INFO: ==24294== Releasing lock...
[2025-04-09 04:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:13:18] Production.INFO: count ==173
[2025-04-09 04:13:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:13:05 - End Time 2025-04-09 04:13:05
[2025-04-09 04:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867016', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867016', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867016', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867016', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:13:18] Production.INFO: ProcessCDR(1,14867016,1,1,2)
[2025-04-09 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867016', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867016', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:13:21] Production.INFO: ==24302== Releasing lock...
[2025-04-09 04:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:13:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:14:01] Production.INFO: ==24357== Lock acquired, processing the job...
[2025-04-09 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:14:01] Production.INFO: neon service started
[2025-04-09 09:14:01] Production.INFO: neon service started
[2025-04-09 09:14:01] Production.INFO: ==24357== Releasing lock...
[2025-04-09 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:14:02] Production.INFO: ==24359== Lock acquired, processing the job...
[2025-04-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:14:02] Production.INFO: ==24359== Releasing lock...
[2025-04-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:14:02] Production.INFO: ==24361== Lock acquired, processing the job...
[2025-04-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:14:02] Production.INFO: ==24361== Releasing lock...
[2025-04-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:14:03] Production.INFO: ==24372== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:14:03] Production.INFO: ==24374== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:14:03] Production.INFO: ==24363== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:14:03] Production.INFO: ==24365== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:14:03] Production.INFO: count ==12
[2025-04-09 04:14:03] Production.INFO: ==24367== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:14:03] Production.INFO: count ==23
[2025-04-09 04:14:03] Production.INFO: ==24369== Lock acquired, processing the job...
[2025-04-09 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867017') start
[2025-04-09 04:14:03] Production.ERROR: done
[2025-04-09 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:14:03] Production.INFO: Account Balance Start.
[2025-04-09 04:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:14:03] Production.INFO: 117
[2025-04-09 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867017') end
[2025-04-09 04:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:14:03] Production.INFO: 1
[2025-04-09 04:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:14:04] Production.INFO: Total Charge 0
[2025-04-09 04:14:04] Production.INFO: CreateAllLog End
[2025-04-09 04:14:04] Production.INFO: ==24374== Releasing lock...
[2025-04-09 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:14:04] Production.ERROR: done
[2025-04-09 04:14:04] Production.INFO: ==24365== Releasing lock...
[2025-04-09 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:14:04] Production.INFO: Account Balance End.
[2025-04-09 04:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:14:04] Production.INFO: ==24369== Releasing lock...
[2025-04-09 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:14:05
[end_date_ymd] => 2025-04-09 04:14:05
[RateCDR] => 1
)
[2025-04-09 04:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:14:05' and `end` < '2025-04-09 04:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:14:11] Production.ERROR: CronJobId end10
[2025-04-09 04:14:11] Production.INFO: ==24367== Releasing lock...
[2025-04-09 04:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:14:13] Production.INFO: call_cost start
[2025-04-09 04:14:13] Production.INFO: call_cost end
[2025-04-09 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:14:14] Production.INFO: ==24363== Releasing lock...
[2025-04-09 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:14:18] Production.INFO: count ==172
[2025-04-09 04:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:14:05 - End Time 2025-04-09 04:14:05
[2025-04-09 04:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867021', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867021', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867021', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867021', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:14:18] Production.INFO: ProcessCDR(1,14867021,1,1,2)
[2025-04-09 04:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867021', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867021', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:14:21] Production.INFO: ==24372== Releasing lock...
[2025-04-09 04:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:14:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:15:02] Production.INFO: ==24430== Lock acquired, processing the job...
[2025-04-09 09:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:15:02] Production.INFO: neon service started
[2025-04-09 09:15:02] Production.INFO: neon service started
[2025-04-09 09:15:02] Production.INFO: ==24430== Releasing lock...
[2025-04-09 09:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:15:02] Production.INFO: ==24435== Lock acquired, processing the job...
[2025-04-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:15:02] Production.INFO: ==24435== Releasing lock...
[2025-04-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:15:02] Production.INFO: ==24433== Lock acquired, processing the job...
[2025-04-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:15:03] Production.INFO: ==24433== Releasing lock...
[2025-04-09 04:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:15:03] Production.INFO: ==24437== Lock acquired, processing the job...
[2025-04-09 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:15:04] Production.INFO: ==24439== Lock acquired, processing the job...
[2025-04-09 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:15:04] Production.INFO: ==24441== Lock acquired, processing the job...
[2025-04-09 04:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:15:04] Production.INFO: ==24443== Lock acquired, processing the job...
[2025-04-09 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:15:04] Production.INFO: ==24445== Lock acquired, processing the job...
[2025-04-09 04:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:15:04] Production.INFO: ==24447== Lock acquired, processing the job...
[2025-04-09 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:15:04] Production.INFO: Account Balance Start.
[2025-04-09 04:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:15:04] Production.INFO: 117
[2025-04-09 04:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:15:04] Production.INFO: Total Charge 0
[2025-04-09 04:15:04] Production.INFO: CreateAllLog End
[2025-04-09 04:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:15:04] Production.INFO: count ==12
[2025-04-09 04:15:04] Production.INFO: ==24439== Releasing lock...
[2025-04-09 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:15:04] Production.INFO: count ==23
[2025-04-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867025') start
[2025-04-09 04:15:04] Production.INFO: Account Balance End.
[2025-04-09 04:15:05] Production.ERROR: done
[2025-04-09 04:15:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:15:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:15:05] Production.INFO: ==24443== Releasing lock...
[2025-04-09 04:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867025') end
[2025-04-09 04:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:15:05] Production.INFO: 1
[2025-04-09 04:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:15:05] Production.INFO: ==24447== Releasing lock...
[2025-04-09 04:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:15:05] Production.ERROR: done
[2025-04-09 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:15:05
[end_date_ymd] => 2025-04-09 04:15:05
[RateCDR] => 1
)
[2025-04-09 04:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:15:05' and `end` < '2025-04-09 04:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:15:12] Production.ERROR: CronJobId end10
[2025-04-09 04:15:12] Production.INFO: ==24441== Releasing lock...
[2025-04-09 04:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:15:15] Production.INFO: call_cost start
[2025-04-09 04:15:15] Production.INFO: call_cost end
[2025-04-09 04:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:15:16] Production.INFO: ==24437== Releasing lock...
[2025-04-09 04:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:15:18] Production.INFO: count ==172
[2025-04-09 04:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:15:05 - End Time 2025-04-09 04:15:05
[2025-04-09 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867026', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867026', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867026', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867026', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:15:18] Production.INFO: ProcessCDR(1,14867026,1,1,2)
[2025-04-09 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867026', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867026', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:15:22] Production.INFO: ==24445== Releasing lock...
[2025-04-09 04:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:15:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:16:01] Production.INFO: ==24505== Lock acquired, processing the job...
[2025-04-09 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:16:01] Production.INFO: neon service started
[2025-04-09 09:16:01] Production.INFO: neon service started
[2025-04-09 09:16:01] Production.INFO: ==24505== Releasing lock...
[2025-04-09 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:16:02] Production.INFO: ==24507== Lock acquired, processing the job...
[2025-04-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:16:02] Production.INFO: ==24509== Lock acquired, processing the job...
[2025-04-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:16:02] Production.INFO: ==24509== Releasing lock...
[2025-04-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:16:02] Production.INFO: ==24507== Releasing lock...
[2025-04-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:16:03] Production.INFO: ==24512== Lock acquired, processing the job...
[2025-04-09 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:16:03] Production.INFO: ==24516== Lock acquired, processing the job...
[2025-04-09 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:16:03] Production.INFO: ==24520== Lock acquired, processing the job...
[2025-04-09 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:16:03] Production.INFO: ==24514== Lock acquired, processing the job...
[2025-04-09 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:16:04] Production.INFO: ==24518== Lock acquired, processing the job...
[2025-04-09 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:16:04] Production.INFO: ==24522== Lock acquired, processing the job...
[2025-04-09 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:16:04] Production.ERROR: done
[2025-04-09 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:16:04] Production.ERROR: done
[2025-04-09 04:16:04] Production.INFO: Account Balance Start.
[2025-04-09 04:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:16:04] Production.INFO: 117
[2025-04-09 04:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:16:04] Production.INFO: count ==12
[2025-04-09 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-04-09 04:16:04] Production.INFO: count ==23
[2025-04-09 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867030') start
[2025-04-09 04:16:04] Production.INFO: Total Charge 0
[2025-04-09 04:16:04] Production.INFO: CreateAllLog End
[2025-04-09 04:16:04] Production.INFO: ==24514== Releasing lock...
[2025-04-09 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867030') end
[2025-04-09 04:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:16:04] Production.INFO: 1
[2025-04-09 04:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:16:04] Production.INFO: ==24522== Releasing lock...
[2025-04-09 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:16:04] Production.INFO: Account Balance End.
[2025-04-09 04:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:16:04] Production.INFO: ==24518== Releasing lock...
[2025-04-09 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:16:05
[end_date_ymd] => 2025-04-09 04:16:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:16:05' and `end` < '2025-04-09 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-04-09 04:16:11] Production.ERROR: CronJobId end10
[2025-04-09 04:16:11] Production.INFO: ==24516== Releasing lock...
[2025-04-09 04:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:16:15] Production.INFO: call_cost start
[2025-04-09 04:16:15] Production.INFO: call_cost end
[2025-04-09 04:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:16:16] Production.INFO: ==24512== Releasing lock...
[2025-04-09 04:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:16:18] Production.INFO: count ==172
[2025-04-09 04:16:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:16:05 - End Time 2025-04-09 04:16:05
[2025-04-09 04:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867031', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867031', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867031', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867031', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:16:18] Production.INFO: ProcessCDR(1,14867031,1,1,2)
[2025-04-09 04:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867031', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867031', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:16:21] Production.INFO: ==24520== Releasing lock...
[2025-04-09 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:16:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:17:02] Production.INFO: ==24577== Lock acquired, processing the job...
[2025-04-09 09:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:17:02] Production.INFO: neon service started
[2025-04-09 09:17:02] Production.INFO: neon service started
[2025-04-09 09:17:02] Production.INFO: ==24577== Releasing lock...
[2025-04-09 09:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:17:02] Production.INFO: ==24579== Lock acquired, processing the job...
[2025-04-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:17:02] Production.INFO: ==24579== Releasing lock...
[2025-04-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:17:03] Production.INFO: ==24581== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:17:03] Production.INFO: ==24581== Releasing lock...
[2025-04-09 08:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:17:03] Production.INFO: ==24588== Lock acquired, processing the job...
[2025-04-09 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:17:03] Production.INFO: ==24594== Lock acquired, processing the job...
[2025-04-09 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:17:03] Production.INFO: count ==12
[2025-04-09 04:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:17:03] Production.INFO: count ==23
[2025-04-09 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867032') start
[2025-04-09 04:17:04] Production.INFO: ==24586== Lock acquired, processing the job...
[2025-04-09 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:17:04] Production.INFO: ==24584== Lock acquired, processing the job...
[2025-04-09 04:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:17:04] Production.INFO: ==24590== Lock acquired, processing the job...
[2025-04-09 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:17:04] Production.INFO: ==24592== Lock acquired, processing the job...
[2025-04-09 04:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867032') end
[2025-04-09 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:17:04] Production.INFO: 1
[2025-04-09 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:17:04] Production.INFO: ==24594== Releasing lock...
[2025-04-09 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:17:04] Production.INFO: Account Balance Start.
[2025-04-09 04:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:17:04] Production.INFO: 117
[2025-04-09 04:17:04] Production.INFO: ==24586== Releasing lock...
[2025-04-09 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:17:04] Production.INFO: Total Charge 0
[2025-04-09 04:17:04] Production.INFO: CreateAllLog End
[2025-04-09 04:17:04] Production.ERROR: done
[2025-04-09 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:17:04] Production.ERROR: done
[2025-04-09 04:17:04] Production.INFO: Account Balance End.
[2025-04-09 04:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:17:04] Production.INFO: ==24590== Releasing lock...
[2025-04-09 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:17:05
[end_date_ymd] => 2025-04-09 04:17:05
[RateCDR] => 1
)
[2025-04-09 04:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:17:05' and `end` < '2025-04-09 04:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:17:12] Production.ERROR: CronJobId end10
[2025-04-09 04:17:12] Production.INFO: ==24588== Releasing lock...
[2025-04-09 04:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:17:15] Production.INFO: call_cost start
[2025-04-09 04:17:15] Production.INFO: call_cost end
[2025-04-09 04:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:17:16] Production.INFO: ==24584== Releasing lock...
[2025-04-09 04:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:17:18] Production.INFO: count ==172
[2025-04-09 04:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:17:05 - End Time 2025-04-09 04:17:05
[2025-04-09 04:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867036', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867036', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867036', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867036', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:17:18] Production.INFO: ProcessCDR(1,14867036,1,1,2)
[2025-04-09 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867036', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867036', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:17:22] Production.INFO: ==24592== Releasing lock...
[2025-04-09 04:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:17:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:18:01] Production.INFO: ==24647== Lock acquired, processing the job...
[2025-04-09 09:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:18:01] Production.INFO: neon service started
[2025-04-09 09:18:01] Production.INFO: neon service started
[2025-04-09 09:18:01] Production.INFO: ==24647== Releasing lock...
[2025-04-09 09:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:18:02] Production.INFO: ==24649== Lock acquired, processing the job...
[2025-04-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:18:02] Production.INFO: ==24651== Lock acquired, processing the job...
[2025-04-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:18:02] Production.INFO: ==24651== Releasing lock...
[2025-04-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:18:02] Production.INFO: ==24649== Releasing lock...
[2025-04-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:18:03] Production.INFO: ==24662== Lock acquired, processing the job...
[2025-04-09 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:18:03] Production.INFO: ==24664== Lock acquired, processing the job...
[2025-04-09 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:18:03] Production.INFO: ==24654== Lock acquired, processing the job...
[2025-04-09 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 04:18:03] Production.INFO: ==24656== Lock acquired, processing the job...
[2025-04-09 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:18:04] Production.INFO: count ==12
[2025-04-09 04:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:18:04] Production.INFO: ==24658== Lock acquired, processing the job...
[2025-04-09 04:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:18:04] Production.INFO: ==24660== Lock acquired, processing the job...
[2025-04-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:18:04] Production.INFO: count ==23
[2025-04-09 04:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867037') start
[2025-04-09 04:18:04] Production.INFO: Account Balance Start.
[2025-04-09 04:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867037') end
[2025-04-09 04:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:18:04] Production.INFO: 1
[2025-04-09 04:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:18:04] Production.INFO: 117
[2025-04-09 04:18:04] Production.ERROR: done
[2025-04-09 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:18:04] Production.INFO: ==24664== Releasing lock...
[2025-04-09 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:18:04] Production.INFO: Total Charge 0
[2025-04-09 04:18:04] Production.INFO: CreateAllLog End
[2025-04-09 04:18:04] Production.INFO: ==24656== Releasing lock...
[2025-04-09 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:18:04] Production.ERROR: done
[2025-04-09 04:18:04] Production.INFO: Account Balance End.
[2025-04-09 04:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:18:04] Production.INFO: ==24660== Releasing lock...
[2025-04-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:18:05
[end_date_ymd] => 2025-04-09 04:18:05
[RateCDR] => 1
)
[2025-04-09 04:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:18:05' and `end` < '2025-04-09 04:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:18:11] Production.ERROR: CronJobId end10
[2025-04-09 04:18:11] Production.INFO: ==24658== Releasing lock...
[2025-04-09 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:18:14] Production.INFO: call_cost start
[2025-04-09 04:18:14] Production.INFO: call_cost end
[2025-04-09 04:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:18:15] Production.INFO: ==24654== Releasing lock...
[2025-04-09 04:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:18:18] Production.INFO: count ==172
[2025-04-09 04:18:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:18:05 - End Time 2025-04-09 04:18:05
[2025-04-09 04:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867041', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867041', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867041', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867041', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:18:18] Production.INFO: ProcessCDR(1,14867041,1,1,2)
[2025-04-09 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867041', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867041', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:18:21] Production.INFO: ==24662== Releasing lock...
[2025-04-09 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:18:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:19:02] Production.INFO: ==24721== Lock acquired, processing the job...
[2025-04-09 09:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:19:02] Production.INFO: neon service started
[2025-04-09 09:19:02] Production.INFO: neon service started
[2025-04-09 09:19:02] Production.INFO: ==24721== Releasing lock...
[2025-04-09 09:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:19:02] Production.INFO: ==24725== Lock acquired, processing the job...
[2025-04-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:19:02] Production.INFO: ==24725== Releasing lock...
[2025-04-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:19:02] Production.INFO: ==24723== Lock acquired, processing the job...
[2025-04-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:19:03] Production.INFO: ==24723== Releasing lock...
[2025-04-09 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:19:03] Production.INFO: ==24728== Lock acquired, processing the job...
[2025-04-09 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:19:03] Production.INFO: ==24736== Lock acquired, processing the job...
[2025-04-09 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:19:04] Production.INFO: ==24732== Lock acquired, processing the job...
[2025-04-09 04:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:19:04] Production.INFO: ==24734== Lock acquired, processing the job...
[2025-04-09 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:19:04] Production.INFO: ==24730== Lock acquired, processing the job...
[2025-04-09 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:19:04] Production.INFO: ==24738== Lock acquired, processing the job...
[2025-04-09 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:19:04] Production.INFO: Account Balance Start.
[2025-04-09 04:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:19:04] Production.INFO: 117
[2025-04-09 04:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 04: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-04-09 04:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:19:04] Production.INFO: count ==12
[2025-04-09 04: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-04-09 04:19:04] Production.INFO: count ==23
[2025-04-09 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867044') start
[2025-04-09 04:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:19:04] Production.INFO: Total Charge 0
[2025-04-09 04:19:04] Production.INFO: CreateAllLog End
[2025-04-09 04:19:04] Production.ERROR: done
[2025-04-09 04:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867044') end
[2025-04-09 04:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:19:04] Production.INFO: 1
[2025-04-09 04:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:19:04] Production.ERROR: done
[2025-04-09 04:19:04] Production.INFO: ==24730== Releasing lock...
[2025-04-09 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:19:04] Production.INFO: ==24738== Releasing lock...
[2025-04-09 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:19:04] Production.INFO: Account Balance End.
[2025-04-09 04:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:19:04] Production.INFO: ==24734== Releasing lock...
[2025-04-09 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:19:05
[end_date_ymd] => 2025-04-09 04:19:05
[RateCDR] => 1
)
[2025-04-09 04:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:19:05' and `end` < '2025-04-09 04:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:19:11] Production.ERROR: CronJobId end10
[2025-04-09 04:19:11] Production.INFO: ==24732== Releasing lock...
[2025-04-09 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:19:14] Production.INFO: call_cost start
[2025-04-09 04:19:14] Production.INFO: call_cost end
[2025-04-09 04:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:19:15] Production.INFO: ==24728== Releasing lock...
[2025-04-09 04:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:19:18] Production.INFO: count ==170
[2025-04-09 04:19:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:19:05 - End Time 2025-04-09 04:19:05
[2025-04-09 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867046', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867046', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867046', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867046', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:19:18] Production.INFO: ProcessCDR(1,14867046,1,1,2)
[2025-04-09 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867046', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867046', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:19:22] Production.INFO: ==24736== Releasing lock...
[2025-04-09 04:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:19:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:20:01] Production.INFO: ==24792== Lock acquired, processing the job...
[2025-04-09 09:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:20:01] Production.INFO: neon service started
[2025-04-09 09:20:01] Production.INFO: neon service started
[2025-04-09 09:20:01] Production.INFO: ==24792== Releasing lock...
[2025-04-09 09:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:20:02] Production.INFO: ==24796== Lock acquired, processing the job...
[2025-04-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:20:02] Production.INFO: ==24796== Releasing lock...
[2025-04-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:20:02] Production.INFO: ==24794== Lock acquired, processing the job...
[2025-04-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:20:02] Production.INFO: ==24794== Releasing lock...
[2025-04-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:20:03] Production.INFO: ==24799== Lock acquired, processing the job...
[2025-04-09 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:20:03] Production.INFO: ==24799== Releasing lock...
[2025-04-09 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:20:03] Production.INFO: ==24803== Lock acquired, processing the job...
[2025-04-09 04:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:20:03] Production.INFO: ==24805== Lock acquired, processing the job...
[2025-04-09 04:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:20:03] Production.INFO: ==24809== Lock acquired, processing the job...
[2025-04-09 04:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:20:03] Production.INFO: ==24801== Lock acquired, processing the job...
[2025-04-09 04:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:20:04] Production.INFO: ==24807== Lock acquired, processing the job...
[2025-04-09 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:20:04] Production.INFO: ==24813== Lock acquired, processing the job...
[2025-04-09 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:20:04] Production.INFO: ==24803== Releasing lock...
[2025-04-09 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:20:04] Production.ERROR: done
[2025-04-09 04:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:20:04] Production.INFO: Account Balance Start.
[2025-04-09 04:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:20:04] Production.INFO: 117
[2025-04-09 04:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:20:04] Production.INFO: ==24811== Lock acquired, processing the job...
[2025-04-09 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:20:04] Production.INFO: count ==12
[2025-04-09 04:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:20:04] Production.INFO: count ==23
[2025-04-09 04:20:04] Production.INFO: Total Charge 0
[2025-04-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867050') start
[2025-04-09 04:20:04] Production.INFO: CreateAllLog End
[2025-04-09 04:20:04] Production.ERROR: done
[2025-04-09 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867050') end
[2025-04-09 04:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:20:04] Production.INFO: 1
[2025-04-09 04:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:20:04] Production.INFO: ==24813== Releasing lock...
[2025-04-09 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:20:04] Production.INFO: Account Balance End.
[2025-04-09 04:20:04] Production.ERROR: done
[2025-04-09 04:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:20:04] Production.INFO: ==24807== Releasing lock...
[2025-04-09 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867052', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:20:05
[end_date_ymd] => 2025-04-09 04:20:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:20:05' and `end` < '2025-04-09 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-04-09 04:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867052', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:20:08] Production.INFO: ProcessCDR(1,14867052,1,1,2)
[2025-04-09 04:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867052,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867052,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:20:08] Production.INFO: ==24811== Releasing lock...
[2025-04-09 04:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:20:13] Production.ERROR: CronJobId end10
[2025-04-09 04:20:13] Production.INFO: ==24805== Releasing lock...
[2025-04-09 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:20:15] Production.INFO: call_cost start
[2025-04-09 04:20:15] Production.INFO: call_cost end
[2025-04-09 04:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:20:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:20:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:20:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:20:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:20:16] Production.INFO: ==24801== Releasing lock...
[2025-04-09 04:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:20:18] Production.INFO: count ==162
[2025-04-09 04:20:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:20:05 - End Time 2025-04-09 04:20:05
[2025-04-09 04:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867051', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867051', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867051', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867051', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:20:18] Production.INFO: ProcessCDR(1,14867051,1,1,2)
[2025-04-09 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867051', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867051', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:20:21] Production.INFO: ==24809== Releasing lock...
[2025-04-09 04:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:20:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:21:02] Production.INFO: ==24905== Lock acquired, processing the job...
[2025-04-09 09:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:21:02] Production.INFO: neon service started
[2025-04-09 09:21:02] Production.INFO: neon service started
[2025-04-09 09:21:02] Production.INFO: ==24905== Releasing lock...
[2025-04-09 09:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:21:02] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-04-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:21:03] Production.INFO: ==24910== Lock acquired, processing the job...
[2025-04-09 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:21:03] Production.INFO: ==24908== Releasing lock...
[2025-04-09 04:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:21:03] Production.INFO: ==24910== Releasing lock...
[2025-04-09 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:21:03] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-04-09 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:21:03] Production.INFO: ==24912== Lock acquired, processing the job...
[2025-04-09 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:21:03] Production.INFO: Account Balance Start.
[2025-04-09 04:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:21:03] Production.INFO: 117
[2025-04-09 04:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:21:03] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-04-09 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:21:04] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-04-09 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:21:04] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-04-09 04:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:21:04] Production.INFO: Total Charge 0
[2025-04-09 04:21:04] Production.INFO: CreateAllLog End
[2025-04-09 04:21:04] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-04-09 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 04:21:04] Production.INFO: Account Balance End.
[2025-04-09 04:21:04] Production.INFO: ==24914== Releasing lock...
[2025-04-09 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:21:04] Production.INFO: ==24918== Releasing lock...
[2025-04-09 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:21:04] Production.INFO: count ==12
[2025-04-09 04:21:04] Production.ERROR: done
[2025-04-09 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-04-09 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:21:04] Production.INFO: count ==23
[2025-04-09 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867056') start
[2025-04-09 04:21:04] Production.ERROR: done
[2025-04-09 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867056') end
[2025-04-09 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:21:04] Production.INFO: 1
[2025-04-09 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:21:04] Production.INFO: ==24922== Releasing lock...
[2025-04-09 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:21:05
[end_date_ymd] => 2025-04-09 04:21:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:21:05' and `end` < '2025-04-09 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-04-09 04:21:12] Production.ERROR: CronJobId end10
[2025-04-09 04:21:12] Production.INFO: ==24916== Releasing lock...
[2025-04-09 04:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:21:14] Production.INFO: call_cost start
[2025-04-09 04:21:14] Production.INFO: call_cost end
[2025-04-09 04:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:21:15] Production.INFO: ==24912== Releasing lock...
[2025-04-09 04:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:21:18] Production.INFO: count ==160
[2025-04-09 04:21:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:21:05 - End Time 2025-04-09 04:21:05
[2025-04-09 04:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867057', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867057', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867057', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867057', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:21:18] Production.INFO: ProcessCDR(1,14867057,1,1,2)
[2025-04-09 04:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867057', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867057', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:21:21] Production.INFO: ==24920== Releasing lock...
[2025-04-09 04:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:21:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:22:01] Production.INFO: ==24975== Lock acquired, processing the job...
[2025-04-09 09:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:22:01] Production.INFO: neon service started
[2025-04-09 09:22:01] Production.INFO: neon service started
[2025-04-09 09:22:01] Production.INFO: ==24975== Releasing lock...
[2025-04-09 09:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:22:02] Production.INFO: ==24980== Lock acquired, processing the job...
[2025-04-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:22:02] Production.INFO: ==24980== Releasing lock...
[2025-04-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:22:02] Production.INFO: ==24978== Lock acquired, processing the job...
[2025-04-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:22:02] Production.INFO: ==24978== Releasing lock...
[2025-04-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:22:03] Production.INFO: ==24982== Lock acquired, processing the job...
[2025-04-09 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:22:03] Production.INFO: ==24984== Lock acquired, processing the job...
[2025-04-09 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:22:03] Production.INFO: ==24988== Lock acquired, processing the job...
[2025-04-09 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:22:03] Production.INFO: Account Balance Start.
[2025-04-09 04:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:22:03] Production.INFO: 117
[2025-04-09 04:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:22:03] Production.INFO: ==24986== Lock acquired, processing the job...
[2025-04-09 04:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:22:04] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-04-09 04:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:22:04] Production.INFO: Total Charge 0
[2025-04-09 04:22:04] Production.INFO: CreateAllLog End
[2025-04-09 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:22:04] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-04-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:22:04] Production.INFO: ==24984== Releasing lock...
[2025-04-09 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:22:04] Production.INFO: count ==12
[2025-04-09 04:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:22:04] Production.INFO: count ==23
[2025-04-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867061') start
[2025-04-09 04:22:04] Production.INFO: Account Balance End.
[2025-04-09 04:22:04] Production.ERROR: done
[2025-04-09 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867061') end
[2025-04-09 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:22:04] Production.INFO: 1
[2025-04-09 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:22:04] Production.INFO: ==24988== Releasing lock...
[2025-04-09 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:22:04] Production.INFO: ==24992== Releasing lock...
[2025-04-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:22:04] Production.ERROR: done
[2025-04-09 04:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:22:06
[end_date_ymd] => 2025-04-09 04:22:06
[RateCDR] => 1
)
[2025-04-09 04:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:22:06' and `end` < '2025-04-09 04:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:22:12] Production.ERROR: CronJobId end10
[2025-04-09 04:22:12] Production.INFO: ==24986== Releasing lock...
[2025-04-09 04:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:22:14] Production.INFO: call_cost start
[2025-04-09 04:22:14] Production.INFO: call_cost end
[2025-04-09 04:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:22:15] Production.INFO: ==24982== Releasing lock...
[2025-04-09 04:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:22:18] Production.INFO: count ==160
[2025-04-09 04:22:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:22:06 - End Time 2025-04-09 04:22:06
[2025-04-09 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867062', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867062', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867062', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867062', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:22:18] Production.INFO: ProcessCDR(1,14867062,1,1,2)
[2025-04-09 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867062', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867062', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:22:22] Production.INFO: ==24990== Releasing lock...
[2025-04-09 04:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:22:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:23:01] Production.INFO: ==25048== Lock acquired, processing the job...
[2025-04-09 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:23:01] Production.INFO: neon service started
[2025-04-09 09:23:01] Production.INFO: neon service started
[2025-04-09 09:23:01] Production.INFO: ==25048== Releasing lock...
[2025-04-09 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:23:02] Production.INFO: ==25050== Lock acquired, processing the job...
[2025-04-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:23:02] Production.INFO: ==25052== Lock acquired, processing the job...
[2025-04-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:23:02] Production.INFO: ==25052== Releasing lock...
[2025-04-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:23:02] Production.INFO: ==25050== Releasing lock...
[2025-04-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:23:03] Production.INFO: ==25055== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:23:03] Production.INFO: ==25057== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:23:03] Production.INFO: ==25059== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:23:03] Production.INFO: ==25061== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:23:03] Production.INFO: ==25057== Releasing lock...
[2025-04-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:23:03] Production.INFO: ==25065== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:23:03] Production.INFO: ==25063== Lock acquired, processing the job...
[2025-04-09 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:23:03] Production.INFO: Account Balance Start.
[2025-04-09 04:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:23:03] Production.INFO: 117
[2025-04-09 04:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:23:03] Production.INFO: count ==12
[2025-04-09 04:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:23:03] Production.INFO: count ==23
[2025-04-09 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867066') start
[2025-04-09 04:23:03] Production.INFO: Total Charge 0
[2025-04-09 04:23:03] Production.INFO: CreateAllLog End
[2025-04-09 04:23:04] Production.ERROR: done
[2025-04-09 04:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867066') end
[2025-04-09 04:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:23:04] Production.INFO: 1
[2025-04-09 04:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:23:04] Production.ERROR: done
[2025-04-09 04:23:04] Production.INFO: ==25065== Releasing lock...
[2025-04-09 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:23:04] Production.INFO: Account Balance End.
[2025-04-09 04:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:23:04] Production.INFO: ==25061== Releasing lock...
[2025-04-09 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:23:05
[end_date_ymd] => 2025-04-09 04:23:05
[RateCDR] => 1
)
[2025-04-09 04:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:23:05' and `end` < '2025-04-09 04:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:23:11] Production.ERROR: CronJobId end10
[2025-04-09 04:23:11] Production.INFO: ==25059== Releasing lock...
[2025-04-09 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:23:12] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:23:12] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:23:13] Production.INFO: call_cost start
[2025-04-09 04:23:13] Production.INFO: call_cost end
[2025-04-09 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:23:14] Production.INFO: ==25055== Releasing lock...
[2025-04-09 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:23:17] Production.INFO: count ==160
[2025-04-09 04:23:17] Production.ERROR: pbx CDR StartTime 2025-04-09 01:23:05 - End Time 2025-04-09 04:23:05
[2025-04-09 04:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867067', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867067', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867067', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867067', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:23:17] Production.INFO: ProcessCDR(1,14867067,1,1,2)
[2025-04-09 04:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867067', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867067', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:23:21] Production.INFO: ==25063== Releasing lock...
[2025-04-09 04:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:23:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:24:01] Production.INFO: ==25120== Lock acquired, processing the job...
[2025-04-09 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:24:01] Production.INFO: neon service started
[2025-04-09 09:24:01] Production.INFO: neon service started
[2025-04-09 09:24:01] Production.INFO: ==25120== Releasing lock...
[2025-04-09 09:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:24:02] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-04-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:24:02] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-04-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:24:02] Production.INFO: ==25124== Releasing lock...
[2025-04-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:24:02] Production.INFO: ==25122== Releasing lock...
[2025-04-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:24:03] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-04-09 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:24:03] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-04-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:24:03] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-04-09 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:24:03] Production.INFO: Account Balance Start.
[2025-04-09 04:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:24:03] Production.INFO: 117
[2025-04-09 04:24:03] Production.INFO: ==25129== Releasing lock...
[2025-04-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:24:04] Production.INFO: Total Charge 0
[2025-04-09 04:24:04] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-04-09 04:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:24:04] Production.INFO: CreateAllLog End
[2025-04-09 04:24:04] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-04-09 04:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:24:04] Production.INFO: Account Balance End.
[2025-04-09 04:24:04] Production.INFO: ==25137== Lock acquired, processing the job...
[2025-04-09 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:24:04] Production.INFO: ==25133== Releasing lock...
[2025-04-09 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:24:04] Production.INFO: count ==12
[2025-04-09 04:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:24:04] Production.INFO: count ==23
[2025-04-09 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867071') start
[2025-04-09 04:24:04] Production.ERROR: done
[2025-04-09 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867071') end
[2025-04-09 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:24:04] Production.INFO: 1
[2025-04-09 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:24:04] Production.INFO: ==25137== Releasing lock...
[2025-04-09 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:24:04] Production.ERROR: done
[2025-04-09 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:24:05
[end_date_ymd] => 2025-04-09 04:24:05
[RateCDR] => 1
)
[2025-04-09 04:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:24:05' and `end` < '2025-04-09 04:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:24:12] Production.ERROR: CronJobId end10
[2025-04-09 04:24:12] Production.INFO: ==25131== Releasing lock...
[2025-04-09 04:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:24:13] Production.INFO: call_cost start
[2025-04-09 04:24:13] Production.INFO: call_cost end
[2025-04-09 04:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:24:14] Production.INFO: ==25127== Releasing lock...
[2025-04-09 04:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:24:18] Production.INFO: count ==160
[2025-04-09 04:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:24:05 - End Time 2025-04-09 04:24:05
[2025-04-09 04:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867072', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867072', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867072', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867072', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:24:18] Production.INFO: ProcessCDR(1,14867072,1,1,2)
[2025-04-09 04:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867072', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867072', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:24:22] Production.INFO: ==25135== Releasing lock...
[2025-04-09 04:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:24:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:25:02] Production.INFO: ==25196== Lock acquired, processing the job...
[2025-04-09 09:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:25:02] Production.INFO: neon service started
[2025-04-09 09:25:02] Production.INFO: neon service started
[2025-04-09 09:25:02] Production.INFO: ==25196== Releasing lock...
[2025-04-09 09:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:25:02] Production.INFO: ==25198== Lock acquired, processing the job...
[2025-04-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:25:02] Production.INFO: ==25198== Releasing lock...
[2025-04-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:25:03] Production.INFO: ==25200== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:25:03] Production.INFO: ==25200== Releasing lock...
[2025-04-09 08:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:25:03] Production.INFO: ==25204== Lock acquired, processing the job...
[2025-04-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:25:03] Production.INFO: ==25212== Lock acquired, processing the job...
[2025-04-09 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:25:03] Production.INFO: count ==12
[2025-04-09 04:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:25:04] Production.INFO: count ==23
[2025-04-09 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867074') start
[2025-04-09 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867074') end
[2025-04-09 04:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:25:04] Production.INFO: 1
[2025-04-09 04:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:25:04] Production.INFO: ==25204== Releasing lock...
[2025-04-09 04:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:25:04] Production.INFO: ==25212== Releasing lock...
[2025-04-09 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:25:04] Production.INFO: ==25202== Lock acquired, processing the job...
[2025-04-09 04:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:25:04] Production.INFO: ==25208== Lock acquired, processing the job...
[2025-04-09 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:25:04] Production.INFO: ==25206== Lock acquired, processing the job...
[2025-04-09 04:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:25:04] Production.INFO: ==25210== Lock acquired, processing the job...
[2025-04-09 04:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:25:04] Production.INFO: Account Balance Start.
[2025-04-09 04:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:25:04] Production.INFO: 117
[2025-04-09 04:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:25:04] Production.INFO: Total Charge 0
[2025-04-09 04:25:04] Production.INFO: CreateAllLog End
[2025-04-09 04:25:04] Production.ERROR: done
[2025-04-09 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:25:04] Production.ERROR: done
[2025-04-09 04:25:04] Production.INFO: Account Balance End.
[2025-04-09 04:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:25:04] Production.INFO: ==25208== Releasing lock...
[2025-04-09 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:25:05
[end_date_ymd] => 2025-04-09 04:25:05
[RateCDR] => 1
)
[2025-04-09 04:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:25:05' and `end` < '2025-04-09 04:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:25:12] Production.ERROR: CronJobId end10
[2025-04-09 04:25:12] Production.INFO: ==25206== Releasing lock...
[2025-04-09 04:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:25:14] Production.INFO: call_cost start
[2025-04-09 04:25:14] Production.INFO: call_cost end
[2025-04-09 04:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:25:15] Production.INFO: ==25202== Releasing lock...
[2025-04-09 04:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:25:18] Production.INFO: count ==160
[2025-04-09 04:25:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:25:05 - End Time 2025-04-09 04:25:05
[2025-04-09 04:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867077', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867077', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867077', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867077', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:25:18] Production.INFO: ProcessCDR(1,14867077,1,1,2)
[2025-04-09 04:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867077', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867077', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:25:21] Production.INFO: ==25210== Releasing lock...
[2025-04-09 04:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:25:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:26:01] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-04-09 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:26:01] Production.INFO: neon service started
[2025-04-09 09:26:01] Production.INFO: neon service started
[2025-04-09 09:26:01] Production.INFO: ==25266== Releasing lock...
[2025-04-09 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:26:02] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-04-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:26:02] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-04-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:26:02] Production.INFO: ==25270== Releasing lock...
[2025-04-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:26:02] Production.INFO: ==25268== Releasing lock...
[2025-04-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:26:03] Production.INFO: ==25279== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:26:03] Production.INFO: ==25273== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:26:03] Production.INFO: ==25275== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:26:03] Production.INFO: ==25277== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:26:03] Production.INFO: ==25281== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:26:03] Production.INFO: Account Balance Start.
[2025-04-09 04:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:26:03] Production.INFO: 117
[2025-04-09 04:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:26:03] Production.INFO: ==25283== Lock acquired, processing the job...
[2025-04-09 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:26:03] Production.INFO: Total Charge 0
[2025-04-09 04:26:04] Production.INFO: CreateAllLog End
[2025-04-09 04:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:26:04] Production.INFO: ==25275== Releasing lock...
[2025-04-09 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:26:04] Production.ERROR: done
[2025-04-09 04:26:04] Production.INFO: count ==12
[2025-04-09 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:26:04] Production.INFO: count ==23
[2025-04-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867081') start
[2025-04-09 04:26:04] Production.ERROR: done
[2025-04-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867081') end
[2025-04-09 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:26:04] Production.INFO: 1
[2025-04-09 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:26:04] Production.INFO: ==25283== Releasing lock...
[2025-04-09 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:26:04] Production.INFO: Account Balance End.
[2025-04-09 04:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:26:04] Production.INFO: ==25279== Releasing lock...
[2025-04-09 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:26:05
[end_date_ymd] => 2025-04-09 04:26:05
[RateCDR] => 1
)
[2025-04-09 04:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:26:05' and `end` < '2025-04-09 04:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:26:11] Production.ERROR: CronJobId end10
[2025-04-09 04:26:11] Production.INFO: ==25277== Releasing lock...
[2025-04-09 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:26:14] Production.INFO: call_cost start
[2025-04-09 04:26:14] Production.INFO: call_cost end
[2025-04-09 04:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:26:15] Production.INFO: ==25273== Releasing lock...
[2025-04-09 04:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:26:18] Production.INFO: count ==160
[2025-04-09 04:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:26:05 - End Time 2025-04-09 04:26:05
[2025-04-09 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867082', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867082', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867082', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867082', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:26:18] Production.INFO: ProcessCDR(1,14867082,1,1,2)
[2025-04-09 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867082', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867082', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:26:21] Production.INFO: ==25281== Releasing lock...
[2025-04-09 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:26:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:27:02] Production.INFO: ==25338== Lock acquired, processing the job...
[2025-04-09 09:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:27:02] Production.INFO: neon service started
[2025-04-09 09:27:02] Production.INFO: neon service started
[2025-04-09 09:27:02] Production.INFO: ==25338== Releasing lock...
[2025-04-09 09:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:27:02] Production.INFO: ==25342== Lock acquired, processing the job...
[2025-04-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:27:02] Production.INFO: ==25342== Releasing lock...
[2025-04-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:27:02] Production.INFO: ==25340== Lock acquired, processing the job...
[2025-04-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:27:03] Production.INFO: ==25340== Releasing lock...
[2025-04-09 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:27:03] Production.INFO: ==25345== Lock acquired, processing the job...
[2025-04-09 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:27:03] Production.INFO: ==25347== Lock acquired, processing the job...
[2025-04-09 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:27:04] Production.INFO: ==25355== Lock acquired, processing the job...
[2025-04-09 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:27:04] Production.INFO: ==25349== Lock acquired, processing the job...
[2025-04-09 04:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:27:04] Production.INFO: ==25347== Releasing lock...
[2025-04-09 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:27:04] Production.INFO: ==25351== Lock acquired, processing the job...
[2025-04-09 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:27:04] Production.INFO: ==25353== Lock acquired, processing the job...
[2025-04-09 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:27:04] Production.INFO: count ==12
[2025-04-09 04:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:27:04] Production.INFO: count ==23
[2025-04-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867085') start
[2025-04-09 04:27:04] Production.INFO: Account Balance Start.
[2025-04-09 04:27:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:27:04] Production.INFO: 117
[2025-04-09 04:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867085') end
[2025-04-09 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:27:04] Production.INFO: 1
[2025-04-09 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:27:04] Production.ERROR: done
[2025-04-09 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:27:04] Production.INFO: Total Charge 0
[2025-04-09 04:27:04] Production.INFO: ==25355== Releasing lock...
[2025-04-09 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:27:04] Production.INFO: CreateAllLog End
[2025-04-09 04:27:05] Production.ERROR: done
[2025-04-09 04:27:05] Production.INFO: Account Balance End.
[2025-04-09 04:27:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:27:05] Production.INFO: ==25351== Releasing lock...
[2025-04-09 04:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:27:06
[end_date_ymd] => 2025-04-09 04:27:06
[RateCDR] => 1
)
[2025-04-09 04:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:27:06' and `end` < '2025-04-09 04:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:27:12] Production.ERROR: CronJobId end10
[2025-04-09 04:27:12] Production.INFO: ==25349== Releasing lock...
[2025-04-09 04:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:27:15] Production.INFO: call_cost start
[2025-04-09 04:27:15] Production.INFO: call_cost end
[2025-04-09 04:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:27:16] Production.INFO: ==25345== Releasing lock...
[2025-04-09 04:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:27:18] Production.INFO: count ==160
[2025-04-09 04:27:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:27:06 - End Time 2025-04-09 04:27:06
[2025-04-09 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867087', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867087', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867087', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867087', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:27:18] Production.INFO: ProcessCDR(1,14867087,1,1,2)
[2025-04-09 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867087', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867087', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:27:22] Production.INFO: ==25353== Releasing lock...
[2025-04-09 04:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:27:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:28:01] Production.INFO: ==25408== Lock acquired, processing the job...
[2025-04-09 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:28:01] Production.INFO: neon service started
[2025-04-09 09:28:01] Production.INFO: neon service started
[2025-04-09 09:28:01] Production.INFO: ==25408== Releasing lock...
[2025-04-09 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:28:02] Production.INFO: ==25412== Lock acquired, processing the job...
[2025-04-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:28:02] Production.INFO: ==25412== Releasing lock...
[2025-04-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:28:02] Production.INFO: ==25410== Lock acquired, processing the job...
[2025-04-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:28:02] Production.INFO: ==25410== Releasing lock...
[2025-04-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:28:03] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:28:03] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:28:03] Production.INFO: ==25425== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:28:03] Production.INFO: Account Balance Start.
[2025-04-09 04:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:28:03] Production.INFO: 117
[2025-04-09 04:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:28:03] Production.INFO: ==25417== Releasing lock...
[2025-04-09 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:28:03] Production.INFO: Total Charge 0
[2025-04-09 04:28:03] Production.INFO: CreateAllLog End
[2025-04-09 04:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:28:03] Production.INFO: count ==12
[2025-04-09 04:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:28:03] Production.INFO: count ==23
[2025-04-09 04:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867090') start
[2025-04-09 04:28:03] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:28:03] Production.INFO: ==25419== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:28:03] Production.INFO: Account Balance End.
[2025-04-09 04:28:03] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-04-09 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:28:03] Production.ERROR: CronJobId end 12
[2025-04-09 04:28:03] Production.INFO: ==25421== Releasing lock...
[2025-04-09 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867090') end
[2025-04-09 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:28:04] Production.INFO: 1
[2025-04-09 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:28:04] Production.INFO: ==25425== Releasing lock...
[2025-04-09 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:28:04] Production.ERROR: done
[2025-04-09 04:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:28:04] Production.ERROR: done
[2025-04-09 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:28:05
[end_date_ymd] => 2025-04-09 04:28:05
[RateCDR] => 1
)
[2025-04-09 04:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:28:05' and `end` < '2025-04-09 04:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:28:12] Production.ERROR: CronJobId end10
[2025-04-09 04:28:12] Production.INFO: ==25419== Releasing lock...
[2025-04-09 04:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:28:14] Production.INFO: call_cost start
[2025-04-09 04:28:14] Production.INFO: call_cost end
[2025-04-09 04:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:28:15] Production.INFO: ==25415== Releasing lock...
[2025-04-09 04:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:28:18] Production.INFO: count ==160
[2025-04-09 04:28:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:28:05 - End Time 2025-04-09 04:28:05
[2025-04-09 04:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867092', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867092', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867092', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867092', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:28:18] Production.INFO: ProcessCDR(1,14867092,1,1,2)
[2025-04-09 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867092', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867092', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:28:21] Production.INFO: ==25423== Releasing lock...
[2025-04-09 04:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:28:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:29:02] Production.INFO: ==25479== Lock acquired, processing the job...
[2025-04-09 09:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:29:02] Production.INFO: neon service started
[2025-04-09 09:29:02] Production.INFO: neon service started
[2025-04-09 09:29:02] Production.INFO: ==25479== Releasing lock...
[2025-04-09 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:29:02] Production.INFO: ==25481== Lock acquired, processing the job...
[2025-04-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:29:03] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:29:03] Production.INFO: ==25483== Releasing lock...
[2025-04-09 08:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:29:03] Production.INFO: ==25481== Releasing lock...
[2025-04-09 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:29:04] Production.INFO: ==25486== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:29:04] Production.INFO: ==25494== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:29:04] Production.INFO: ==25488== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:29:04] Production.INFO: ==25490== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:29:04] Production.INFO: ==25492== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:29:04] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-04-09 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:29:04] Production.INFO: Account Balance Start.
[2025-04-09 04:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:29:04] Production.INFO: 117
[2025-04-09 04:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:29:04] Production.INFO: count ==12
[2025-04-09 04:29:04] Production.INFO: Total Charge 0
[2025-04-09 04:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:29:04] Production.INFO: ==25488== Releasing lock...
[2025-04-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:29:04] Production.INFO: count ==23
[2025-04-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867096') start
[2025-04-09 04:29:04] Production.ERROR: done
[2025-04-09 04:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:29:04] Production.INFO: CreateAllLog End
[2025-04-09 04:29:05] Production.ERROR: done
[2025-04-09 04:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867096') end
[2025-04-09 04:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:29:05] Production.INFO: 1
[2025-04-09 04:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:29:05] Production.INFO: Account Balance End.
[2025-04-09 04:29:05] Production.INFO: ==25496== Releasing lock...
[2025-04-09 04:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:29:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:29:05] Production.INFO: ==25492== Releasing lock...
[2025-04-09 04:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:29:06
[end_date_ymd] => 2025-04-09 04:29:06
[RateCDR] => 1
)
[2025-04-09 04:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:29:06' and `end` < '2025-04-09 04:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:29:12] Production.ERROR: CronJobId end10
[2025-04-09 04:29:12] Production.INFO: ==25490== Releasing lock...
[2025-04-09 04:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:29:15] Production.INFO: call_cost start
[2025-04-09 04:29:15] Production.INFO: call_cost end
[2025-04-09 04:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:29:16] Production.INFO: ==25486== Releasing lock...
[2025-04-09 04:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:29:18] Production.INFO: count ==160
[2025-04-09 04:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:29:06 - End Time 2025-04-09 04:29:06
[2025-04-09 04:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867097', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867097', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867097', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867097', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:29:18] Production.INFO: ProcessCDR(1,14867097,1,1,2)
[2025-04-09 04:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867097', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867097', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:29:22] Production.INFO: ==25494== Releasing lock...
[2025-04-09 04:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:29:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:30:01] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-04-09 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:30:01] Production.INFO: neon service started
[2025-04-09 09:30:01] Production.INFO: neon service started
[2025-04-09 09:30:01] Production.INFO: ==25550== Releasing lock...
[2025-04-09 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:30:02] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-04-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:30:02] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-04-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:30:02] Production.INFO: ==25555== Releasing lock...
[2025-04-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:30:03] Production.INFO: ==25552== Releasing lock...
[2025-04-09 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:30:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-04-09 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:30:04] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:30:04] Production.INFO: ==25557== Releasing lock...
[2025-04-09 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:30:04] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-04-09 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:30:04] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:30:04] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-04-09,'','0')
[2025-04-09 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 65
[NextInvoiceDate] => 2025-04-09
[AccountName] => AOPG Inc.
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 247
[NextInvoiceDate] => 2025-04-09
[AccountName] => Cancom Security
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-04-09 04:30:04] Production.INFO: AccountID =65 FirstInvoiceSend 0
[2025-04-09 04:30:04] Production.INFO: LastInvoiceDate 2025-03-09 NextInvoiceDate 2025-04-09
[2025-04-09 04:30:04] Production.INFO: LastChargeDate 2025-03-09 NextChargeDate 2025-04-08
[2025-04-09 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-09 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-09 04:30:04] Production.INFO: Invoice::sendInvoice(1,65,2025-03-09,2025-04-09,billing@onswitchit.ca)
[2025-04-09 04:30:04] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:30:04] Production.INFO: start Date =2025-03-09 EndDate =2025-04-08 23:59:59
[2025-04-09 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-09 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-04-09 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-09 04:30:04] Production.INFO: AlreadyBilled
[2025-04-09 04:30:04] Production.INFO: ==25569== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:04] Production.INFO: original start date ==>2025-03-09 changed start date ==>2025-03-09 00:00:00 original end date ==>2025-04-08 23:59:59 changed end date ==>2025-04-08 23:59:59
[2025-04-09 04:30:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.02000000
[2025-04-09 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,65,2025-03-09,2025-04-08 23:59:59)
[2025-04-09 04:30:04] Production.INFO: TotalCharges - 0.02
[2025-04-09 04:30:04] Production.INFO: TotalUsageCharges - 0.02
[2025-04-09 04:30:04] Production.INFO: Account Balance Start.
[2025-04-09 04:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:30:04] Production.INFO: 117
[2025-04-09 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:30:04] Production.INFO: Usage Over
[2025-04-09 04:30:04] Production.INFO: Call prc_getAccountSubscription(65,0)
[2025-04-09 04:30:04] Production.INFO: SUBSCRIPTION 5
[2025-04-09 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:04] Production.INFO: SubscriptionID - 1
[2025-04-09 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-04-09 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:30:04] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:04] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: ==25574== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:30:04] Production.INFO: ==25571== Lock acquired, processing the job...
[2025-04-09 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:04] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:04] Production.INFO: SubscriptionDate
[2025-04-09 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-03-09
[2025-04-09 04:30:04] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2026-04-09
[2025-04-09 04:30:04] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:04] Production.INFO: First Time False 2018-02-16 2025-04-09
[2025-04-09 04:30:04] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:04] Production.INFO: SubscriptionCharge - 7
[2025-04-09 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:04] Production.INFO: Total Charge 0
[2025-04-09 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2025-04-09,2025-05-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229)
[2025-04-09 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:04] Production.INFO: DiscountType
[2025-04-09 04:30:04] Production.INFO: SubscriptionCharge 21
[2025-04-09 04:30:04] Production.INFO: New SubscriptionCharge 21
[2025-04-09 04:30:04] Production.INFO: TotalSubscriptionCharge - 21.00
[2025-04-09 04:30:04] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:04] Production.INFO: SubscriptionID - 12
[2025-04-09 04:30:04] Production.INFO: isAdvanceSubscription - 12
[2025-04-09 04:30:04] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:04] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: CreateAllLog End
[2025-04-09 04:30:04] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:04] Production.INFO: SubscriptionDate
[2025-04-09 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:04] Production.INFO: ==25563== Releasing lock...
[2025-04-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:30:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-03-09
[2025-04-09 04:30:04] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:04] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2026-04-09
[2025-04-09 04:30:04] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:04] Production.INFO: First Time False 2018-02-16 2025-04-09
[2025-04-09 04:30:04] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:30:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:04] Production.INFO: SubscriptionCharge - 0
[2025-04-09 04:30:04] Production.INFO: count ==12
[2025-04-09 04:30:04] Production.ERROR: done
[2025-04-09 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:30:04] Production.INFO: count ==23
[2025-04-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-04-09,2025-05-08 00:00:00,Included DID (16473177297),0,0,1,230)
[2025-04-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:05] Production.INFO: DiscountType
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-04-09 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867102') start
[2025-04-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 12
[2025-04-09 04:30:05] Production.INFO: isAdvanceSubscription - 12
[2025-04-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:05] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionDate
[2025-04-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-03-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2026-04-09
[2025-04-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-04-09
[2025-04-09 04:30:05] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:05] Production.INFO: Account Balance End.
[2025-04-09 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge - 0
[2025-04-09 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867102') end
[2025-04-09 04:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:30:05] Production.INFO: 1
[2025-04-09 04:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-04-09,2025-05-08 00:00:00,Included DID (17134010840),0,0,1,231)
[2025-04-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:05] Production.INFO: DiscountType
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-04-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 12
[2025-04-09 04:30:05] Production.INFO: isAdvanceSubscription - 12
[2025-04-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:05] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionDate
[2025-04-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-03-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2026-04-09
[2025-04-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-04-09
[2025-04-09 04:30:05] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:05] Production.INFO: ==25574== Releasing lock...
[2025-04-09 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge - 0
[2025-04-09 04:30:05] Production.ERROR: done
[2025-04-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-04-09,2025-05-08 00:00:00,Included DID (18887829336),0,0,1,232)
[2025-04-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:05] Production.INFO: DiscountType
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-04-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-04-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 4
[2025-04-09 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-04-09 04:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:30:05] Production.INFO: ==25567== Releasing lock...
[2025-04-09 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:05] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.ERROR: done
[2025-04-09 04:30:05] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionDate
[2025-04-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-03-09
[2025-04-09 04:30:05] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:05] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2026-04-09
[2025-04-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-04-09
[2025-04-09 04:30:05] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-04-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2025-04-09,2025-05-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233)
[2025-04-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:05] Production.INFO: DiscountType
[2025-04-09 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-04-09 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-04-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-04-09 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2025-03-09,2025-04-09 23:59:59)
[2025-04-09 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-04-09 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-04-09 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-09 04:30:05] Production.INFO: New UsageDates 2025-03-09 - 2025-04-08 23:59:59
[2025-04-09 04:30:05] Production.INFO: SubTotal 23.52
[2025-04-09 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-09 04:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867103', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-09 04:30:05] Production.INFO: TotalTax 3.0576
[2025-04-09 04:30:05] Production.INFO: InvoiceGrandTotal 26.5776
[2025-04-09 04:30:05] Production.INFO: InvoiceTaxAmount 3.06
[2025-04-09 04:30:05] Production.INFO: GrandTotal 26.58
[2025-04-09 04:30:05] Production.INFO: SubTotal 23.52
[2025-04-09 04:30:05] Production.INFO: TotalDue -0.13
[2025-04-09 04:30:05] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:05] Production.INFO: original start date ==>2025-03-09 changed start date ==>2025-03-09 00:00:00 original end date ==>2025-04-08 23:59:59 changed end date ==>2025-04-08 23:59:59
[2025-04-09 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2025-03-09 00:00:00','2025-04-08 23:59:59',0)
[2025-04-09 04:30:05] Production.INFO: PDF Generation start
[2025-04-09 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2025/04/09/Invoice-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.pdf
[2025-04-09 04:30:05] Production.INFO: On Linux
[2025-04-09 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:30:06
[end_date_ymd] => 2025-04-09 04:30:06
[RateCDR] => 1
)
[2025-04-09 04:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:30:06' and `end` < '2025-04-09 04:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 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/65/Invoices/2025/04/09/footer-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.html" "/var/www/tmp/1/65/Invoices/2025/04/09/Invoice-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.html" "/var/www/tmp/1/65/Invoices/2025/04/09/Invoice-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.pdf"
[2025-04-09 04:30:07] Production.INFO:
[2025-04-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/04/09/Invoice-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.html
[2025-04-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/04/09/header-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.html
[2025-04-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/04/09/footer-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.html
[2025-04-09 04:30:07] Production.INFO: Invoice generation PDF path
[2025-04-09 04:30:07] Production.INFO: PDF fullPath 1/65/Invoices/2025/04/09/Invoice-aopg-inc-inv11840-from-03-09-2025-to-04-08-2025-10785.pdf
[2025-04-09 04:30:07] Production.INFO: Generate Usage File Start
[2025-04-09 04:30:07] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2025/04/09/aopg-inc-09-03-2025-00-00-00-TO-08-04-2025-23-59-59_5528__d81cc790-151c-11f0-a37a-bd45ad3a8109.csv
[2025-04-09 04:30:09] Production.INFO: Sending Email to Staff over
[2025-04-09 04:30:09] Production.INFO: Email Status 1
[2025-04-09 04:30:09] Production.INFO: Sending Email to Customer
[2025-04-09 04:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867103', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:30:10] Production.INFO: ProcessCDR(1,14867103,1,1,2)
[2025-04-09 04:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867103,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867103,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:30:10] Production.INFO: ==25571== Releasing lock...
[2025-04-09 04:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:30:10] Production.INFO: Email Try 10785 1
[2025-04-09 04:30:10] Production.INFO: =========== Email Sending over ===========
[2025-04-09 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 65
[2025-04-09 04:30:10] Production.INFO: Invoice::sendInvoice done
[2025-04-09 04:30:10] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-09 04:30:10] Production.INFO: Invoice Committed AccountID = 65
[2025-04-09 04:30:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-09 04:30:10] Production.INFO: NextInvoice 2025-04-09 2025-05-08
[2025-04-09 04:30:10] Production.INFO: new dates
[2025-04-09 04:30:10] Production.INFO: LastInvoiceDate 2025-04-09 NextInvoiceDate 2025-05-09
[2025-04-09 04:30:10] Production.INFO: LastChargeDate 2025-04-09 NextChargeDate 2025-05-08
[2025-04-09 04:30:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-09 04:30:11] Production.INFO: ========================== Invoice Send End =============================
[2025-04-09 04:30:11] Production.INFO: AccountID =247 FirstInvoiceSend 0
[2025-04-09 04:30:11] Production.INFO: LastInvoiceDate 2025-03-09 NextInvoiceDate 2025-04-09
[2025-04-09 04:30:11] Production.INFO: LastChargeDate 2025-03-09 NextChargeDate 2025-04-08
[2025-04-09 04:30:11] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-09 04:30:11] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-09 04:30:11] Production.INFO: Invoice::sendInvoice(1,247,2025-03-09,2025-04-09,billing@onswitchit.ca)
[2025-04-09 04:30:11] Production.INFO: start Date =2025-03-09 EndDate =2025-04-08 23:59:59
[2025-04-09 04:30:11] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-09 04:30:11] 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-04-09 04:30:11] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-09 04:30:11] Production.INFO: AlreadyBilled
[2025-04-09 04:30:11] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:11] Production.INFO: original start date ==>2025-03-09 changed start date ==>2025-03-09 00:00:00 original end date ==>2025-04-08 23:59:59 changed end date ==>2025-04-08 23:59:59
[2025-04-09 04:30:11] Production.INFO: Invoice::getAccountUsageTotal(1,247,2025-03-09,2025-04-08 23:59:59)
[2025-04-09 04:30:11] Production.INFO: TotalCharges - 0
[2025-04-09 04:30:11] Production.INFO: TotalUsageCharges - 0.00
[2025-04-09 04:30:11] Production.INFO: Usage Over
[2025-04-09 04:30:11] Production.INFO: Call prc_getAccountSubscription(247,0)
[2025-04-09 04:30:11] Production.INFO: SUBSCRIPTION 4
[2025-04-09 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 64
[2025-04-09 04:30:11] Production.INFO: isAdvanceSubscription - 64
[2025-04-09 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:11] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionDate
[2025-04-09 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:11] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-03-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: AccountSubscriptionID - 1276 === 2025-02-05=====2026-04-09
[2025-04-09 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:11] Production.INFO: First Time False 2025-02-05 2025-04-09
[2025-04-09 04:30:11] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(1276,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge - 12.99
[2025-04-09 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,64,2025-04-09,2025-05-08 00:00:00,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling,337.74,12.99,26,1276)
[2025-04-09 04:30:11] Production.INFO: DiscountAmount 5.000000
[2025-04-09 04:30:11] Production.INFO: DiscountType Percentage
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge 337.74
[2025-04-09 04:30:11] Production.INFO: New SubscriptionCharge 320.853
[2025-04-09 04:30:11] Production.INFO: TotalSubscriptionCharge - 320.85
[2025-04-09 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 48
[2025-04-09 04:30:11] Production.INFO: isAdvanceSubscription - 48
[2025-04-09 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:11] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionDate
[2025-04-09 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:11] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-03-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: AccountSubscriptionID - 1277 === 2025-02-05=====2026-04-09
[2025-04-09 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:11] Production.INFO: First Time False 2025-02-05 2025-04-09
[2025-04-09 04:30:11] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(1277,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge - 4.86
[2025-04-09 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,48,2025-04-09,2025-05-08 00:00:00,Standby Capacity - Additional calling capacity during emergencies/high demand bursts.,82.62,4.86,17,1277)
[2025-04-09 04:30:11] Production.INFO: DiscountAmount 5.000000
[2025-04-09 04:30:11] Production.INFO: DiscountType Percentage
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge 82.62
[2025-04-09 04:30:11] Production.INFO: New SubscriptionCharge 78.489
[2025-04-09 04:30:11] Production.INFO: TotalSubscriptionCharge - 78.49
[2025-04-09 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 4
[2025-04-09 04:30:11] Production.INFO: isAdvanceSubscription - 4
[2025-04-09 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:11] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionDate
[2025-04-09 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:11] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-03-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: AccountSubscriptionID - 1278 === 2025-02-05=====2026-04-09
[2025-04-09 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:11] Production.INFO: First Time False 2025-02-05 2025-04-09
[2025-04-09 04:30:11] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(1278,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge - 2.5
[2025-04-09 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,4,2025-04-09,2025-05-08 00:00:00,e911 address registration for one physical location (1183 Finch Ave W, UNIT #205, North York, ON M3J 2G2),2.5,2.5,1,1278)
[2025-04-09 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-04-09 04:30:11] Production.INFO: DiscountType Flat
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge 2.5
[2025-04-09 04:30:11] Production.INFO: New SubscriptionCharge 2.5
[2025-04-09 04:30:11] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-09 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 2
[2025-04-09 04:30:11] Production.INFO: isAdvanceSubscription - 2
[2025-04-09 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-09 - SubscriptionEndDate = 2025-05-08
[2025-04-09 04:30:11] Production.INFO: NewNextChargeDate =2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: EndDate =2025-04-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: NewEndDate1 =2025-04-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionDate
[2025-04-09 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-09
[EndDate] => 2025-05-08 00:00:00
[AlreadyCharged] => 0
)
[2025-04-09 04:30:11] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-03-09
[2025-04-09 04:30:11] Production.INFO: SubscriptionID - 2025-04-09=====2025-05-08 00:00:00
[2025-04-09 04:30:11] Production.INFO: AccountSubscriptionID - 1279 === 2025-02-05=====2026-04-09
[2025-04-09 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-09 04:30:11] Production.INFO: First Time False 2025-02-05 2025-04-09
[2025-04-09 04:30:11] Production.INFO: StartDate 2025-04-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-05-08 00:00:00 AccountSubscription->EndDate 2026-04-09
[2025-04-09 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-09 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(1279,2025-04-09,2025-05-08 00:00:00,,0)
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge - 12.99
[2025-04-09 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-09 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,2,2025-04-09,2025-05-08 00:00:00,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling - NFR Partner Base System,64.95,12.99,5,1279)
[2025-04-09 04:30:11] Production.INFO: DiscountAmount 15.000000
[2025-04-09 04:30:11] Production.INFO: DiscountType Percentage
[2025-04-09 04:30:11] Production.INFO: SubscriptionCharge 64.95
[2025-04-09 04:30:11] Production.INFO: New SubscriptionCharge 55.2075
[2025-04-09 04:30:11] Production.INFO: TotalSubscriptionCharge - 55.21
[2025-04-09 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-09 04:30:11] Production.INFO: SUBSCRIPTION Over
[2025-04-09 04:30:11] Production.INFO: Call prc_getAccountOneOffCharge(247,0,2025-03-09,2025-04-09 23:59:59)
[2025-04-09 04:30:11] Production.INFO: AccountOneOffCharge 0
[2025-04-09 04:30:11] Production.INFO: AccountOneOffCharge Over
[2025-04-09 04:30:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-09 04:30:11] Production.INFO: New UsageDates 2025-03-09 - 2025-04-08 23:59:59
[2025-04-09 04:30:11] Production.INFO: SubTotal 457.0495
[2025-04-09 04:30:11] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-09 04:30:11] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-09 04:30:11] Production.INFO: TotalTax 59.416435
[2025-04-09 04:30:11] Production.INFO: InvoiceGrandTotal 516.465935
[2025-04-09 04:30:11] Production.INFO: InvoiceTaxAmount 59.42
[2025-04-09 04:30:11] Production.INFO: GrandTotal 516.47
[2025-04-09 04:30:11] Production.INFO: SubTotal 457.05
[2025-04-09 04:30:11] Production.INFO: TotalDue 2759.41
[2025-04-09 04:30:11] Production.INFO: Reseller ==> 0
[2025-04-09 04:30:11] Production.INFO: original start date ==>2025-03-09 changed start date ==>2025-03-09 00:00:00 original end date ==>2025-04-08 23:59:59 changed end date ==>2025-04-08 23:59:59
[2025-04-09 04:30:11] Production.INFO: CALL prc_getInvoiceUsage(1,'247','0','1','2025-03-09 00:00:00','2025-04-08 23:59:59',0)
[2025-04-09 04:30:11] Production.INFO: PDF Generation start
[2025-04-09 04:30:12] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/247/Invoices/2025/04/09/Invoice-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.pdf
[2025-04-09 04:30:12] Production.INFO: On Linux
[2025-04-09 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/247/Invoices/2025/04/09/footer-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.html" "/var/www/tmp/1/247/Invoices/2025/04/09/Invoice-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.html" "/var/www/tmp/1/247/Invoices/2025/04/09/Invoice-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.pdf"
[2025-04-09 04:30:13] Production.INFO:
[2025-04-09 04:30:13] Production.INFO: /var/www/tmp/1/247/Invoices/2025/04/09/Invoice-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.html
[2025-04-09 04:30:13] Production.INFO: /var/www/tmp/1/247/Invoices/2025/04/09/header-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.html
[2025-04-09 04:30:13] Production.INFO: /var/www/tmp/1/247/Invoices/2025/04/09/footer-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.html
[2025-04-09 04:30:13] Production.INFO: Invoice generation PDF path
[2025-04-09 04:30:13] Production.INFO: PDF fullPath 1/247/Invoices/2025/04/09/Invoice-cancom-security-inv11841-from-03-09-2025-to-04-08-2025-10786.pdf
[2025-04-09 04:30:13] Production.INFO: Generate Usage File Start
[2025-04-09 04:30:13] Production.INFO: Usage File fullPath 1/247/InvoiceUsageFile/2025/04/09/cancom-security-09-03-2025-00-00-00-TO-08-04-2025-23-59-59_9152__db7e10c0-151c-11f0-9e72-6d2a0814217a.csv
[2025-04-09 04:30:14] Production.INFO: Sending Email to Staff over
[2025-04-09 04:30:14] Production.INFO: Email Status 1
[2025-04-09 04:30:14] Production.INFO: Sending Email to Customer
[2025-04-09 04:30:14] Production.INFO: =========== Email Sending over ===========
[2025-04-09 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 247
[2025-04-09 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-04-09 04:30:14] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-09 04:30:14] Production.INFO: Invoice Committed AccountID = 247
[2025-04-09 04:30:14] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-09 04:30:14] Production.INFO: NextInvoice 2025-04-09 2025-05-08
[2025-04-09 04:30:14] Production.INFO: new dates
[2025-04-09 04:30:14] Production.INFO: LastInvoiceDate 2025-04-09 NextInvoiceDate 2025-05-09
[2025-04-09 04:30:14] Production.INFO: LastChargeDate 2025-04-09 NextChargeDate 2025-05-08
[2025-04-09 04:30:14] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-09 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-04-09 04:30:14] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-04-09 04:30:14] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-04-09 04:30:14] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-04-09 04:30:14] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-09 04:30:14] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-09 04:30:14] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-04-09 04:30:14] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-04-09 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-09 04:30:14] 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-04-09 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-09 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-04-09 04:30:14] Production.INFO: Invoice rollback AccountID = 258
[2025-04-09 04:30:14] Production.INFO: ========================== Error =============================
[2025-04-09 04:30:14] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-04-09 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-04-09 04:30:14] Production.INFO: ========================== Recurring invoice Start =============================
[2025-04-09 04:30:14] Production.INFO: recurring invoices ID
[2025-04-09 04:30:14] Production.INFO:
[2025-04-09 04:30:14] Production.INFO: recurring errorsArray
(
)
[2025-04-09 04:30:14] Production.INFO: ========================== Recurring invoice End =============================
[2025-04-09 04:30:14] Production.INFO: ========================== Job Updated =============================
[2025-04-09 04:30:15] Production.INFO: ========================== Job Email Sent =============================
[2025-04-09 04:30:16] Production.ERROR: CronJobId end10
[2025-04-09 04:30:16] Production.INFO: ==25565== Releasing lock...
[2025-04-09 04:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:30:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:30:17] Production.ERROR: **Email Sent Status 1
[2025-04-09 04:30:17] Production.ERROR: **Email Sent message Email has been sent
[2025-04-09 04:30:17] Production.ERROR: CronJobId end6
[2025-04-09 04:30:17] Production.INFO: ==25561== Releasing lock...
[2025-04-09 04:30:17] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-04-09 04:30:17] Production.INFO: 38.5 MB #Memory Used#
[2025-04-09 04:30:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:30:18] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:30:18] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:30:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:30:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:30:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:30:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:30:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:30:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:30:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:30:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:30:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:30:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:30:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:30:18] Production.INFO: call_cost start
[2025-04-09 04:30:18] Production.INFO: call_cost end
[2025-04-09 04:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:30:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:30:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:30:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:30:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:30:19] Production.INFO: ==25559== Releasing lock...
[2025-04-09 04:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:30:19] Production.INFO: count ==154
[2025-04-09 04:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:30:06 - End Time 2025-04-09 04:30:06
[2025-04-09 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867104', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867104', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867104', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867104', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:30:19] Production.INFO: ProcessCDR(1,14867104,1,1,2)
[2025-04-09 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867104', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867104', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:30:23] Production.INFO: ==25569== Releasing lock...
[2025-04-09 04:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:30:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:31:02] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-04-09 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:31:02] Production.INFO: neon service started
[2025-04-09 09:31:02] Production.INFO: neon service started
[2025-04-09 09:31:02] Production.INFO: ==25660== Releasing lock...
[2025-04-09 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:31:02] Production.INFO: ==25664== Lock acquired, processing the job...
[2025-04-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:31:02] Production.INFO: ==25664== Releasing lock...
[2025-04-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:31:02] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-04-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:31:02] Production.INFO: ==25662== Releasing lock...
[2025-04-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:31:03] Production.INFO: ==25670== Lock acquired, processing the job...
[2025-04-09 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:31:03] Production.INFO: ==25666== Lock acquired, processing the job...
[2025-04-09 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:31:03] Production.INFO: ==25674== Lock acquired, processing the job...
[2025-04-09 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:31:04] Production.INFO: ==25668== Lock acquired, processing the job...
[2025-04-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:31:04] Production.INFO: ==25676== Lock acquired, processing the job...
[2025-04-09 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:31:04] Production.INFO: ==25672== Lock acquired, processing the job...
[2025-04-09 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:31:04] Production.INFO: Account Balance Start.
[2025-04-09 04:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:31:04] Production.INFO: count ==12
[2025-04-09 04:31:04] Production.INFO: 117
[2025-04-09 04:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:31:04] Production.INFO: count ==23
[2025-04-09 04:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867106') start
[2025-04-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:31:04] Production.ERROR: done
[2025-04-09 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:31:04] Production.INFO: Total Charge 0
[2025-04-09 04:31:04] Production.INFO: CreateAllLog End
[2025-04-09 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867106') end
[2025-04-09 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:31:04] Production.INFO: 1
[2025-04-09 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:31:04] Production.INFO: ==25676== Releasing lock...
[2025-04-09 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:31:04] Production.INFO: ==25668== Releasing lock...
[2025-04-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:31:04] Production.ERROR: done
[2025-04-09 04:31:04] Production.INFO: Account Balance End.
[2025-04-09 04:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:31:04] Production.INFO: ==25672== Releasing lock...
[2025-04-09 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:31:05
[end_date_ymd] => 2025-04-09 04:31:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:31:05' and `end` < '2025-04-09 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-04-09 04:31:12] Production.ERROR: CronJobId end10
[2025-04-09 04:31:12] Production.INFO: ==25670== Releasing lock...
[2025-04-09 04:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:31:14] Production.INFO: call_cost start
[2025-04-09 04:31:14] Production.INFO: call_cost end
[2025-04-09 04:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:31:15] Production.INFO: ==25666== Releasing lock...
[2025-04-09 04:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:31:18] Production.INFO: count ==156
[2025-04-09 04:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:31:05 - End Time 2025-04-09 04:31:05
[2025-04-09 04:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867109', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867109', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867109', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867109', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:31:18] Production.INFO: ProcessCDR(1,14867109,1,1,2)
[2025-04-09 04:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867109', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867109', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:31:21] Production.INFO: ==25674== Releasing lock...
[2025-04-09 04:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:31:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:32:01] Production.INFO: ==25754== Lock acquired, processing the job...
[2025-04-09 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:32:01] Production.INFO: neon service started
[2025-04-09 09:32:01] Production.INFO: neon service started
[2025-04-09 09:32:01] Production.INFO: ==25754== Releasing lock...
[2025-04-09 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:32:02] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-04-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:32:02] Production.INFO: ==25758== Releasing lock...
[2025-04-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:32:02] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-04-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:32:02] Production.INFO: ==25756== Releasing lock...
[2025-04-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:32:03] Production.INFO: ==25764== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:32:03] Production.INFO: ==25766== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:32:03] Production.INFO: ==25770== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:32:03] Production.INFO: ==25762== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:32:03] Production.INFO: ==25768== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:32:03] Production.INFO: ==25764== Releasing lock...
[2025-04-09 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:32:03] Production.INFO: ==25772== Lock acquired, processing the job...
[2025-04-09 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:32:03] Production.ERROR: done
[2025-04-09 04:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:32:03] Production.INFO: Account Balance Start.
[2025-04-09 04:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:32:03] Production.INFO: 117
[2025-04-09 04:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:32:03] Production.INFO: Total Charge 0
[2025-04-09 04:32:04] Production.INFO: CreateAllLog End
[2025-04-09 04:32:04] Production.INFO: count ==12
[2025-04-09 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-04-09 04:32:04] Production.INFO: count ==23
[2025-04-09 04:32:04] Production.ERROR: done
[2025-04-09 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867112') start
[2025-04-09 04:32:04] Production.INFO: Account Balance End.
[2025-04-09 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867112') end
[2025-04-09 04:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:32:04] Production.INFO: 1
[2025-04-09 04:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:32:04] Production.INFO: ==25768== Releasing lock...
[2025-04-09 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:32:04] Production.INFO: ==25772== Releasing lock...
[2025-04-09 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:32:05
[end_date_ymd] => 2025-04-09 04:32:05
[RateCDR] => 1
)
[2025-04-09 04:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:32:05' and `end` < '2025-04-09 04:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:32:11] Production.ERROR: CronJobId end10
[2025-04-09 04:32:11] Production.INFO: ==25766== Releasing lock...
[2025-04-09 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:32:14] Production.INFO: call_cost start
[2025-04-09 04:32:14] Production.INFO: call_cost end
[2025-04-09 04:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:32:15] Production.INFO: ==25762== Releasing lock...
[2025-04-09 04:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:32:17] Production.INFO: count ==156
[2025-04-09 04:32:17] Production.ERROR: pbx CDR StartTime 2025-04-09 01:32:05 - End Time 2025-04-09 04:32:05
[2025-04-09 04:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867114', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867114', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867114', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867114', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:32:17] Production.INFO: ProcessCDR(1,14867114,1,1,2)
[2025-04-09 04:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867114', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867114', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:32:21] Production.INFO: ==25770== Releasing lock...
[2025-04-09 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:32:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:33:02] Production.INFO: ==25861== Lock acquired, processing the job...
[2025-04-09 09:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:33:02] Production.INFO: neon service started
[2025-04-09 09:33:02] Production.INFO: neon service started
[2025-04-09 09:33:02] Production.INFO: ==25861== Releasing lock...
[2025-04-09 09:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:33:02] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-04-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:33:02] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-04-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:33:02] Production.INFO: ==25867== Releasing lock...
[2025-04-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:33:03] Production.INFO: ==25865== Releasing lock...
[2025-04-09 04:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:33:03] Production.INFO: ==25871== Lock acquired, processing the job...
[2025-04-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:33:03] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-04-09 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:33:04] Production.INFO: ==25880== Lock acquired, processing the job...
[2025-04-09 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:33:04] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-04-09 04:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:33:04] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-04-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:33:04] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-04-09 04:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:33:04] Production.INFO: ==25871== Releasing lock...
[2025-04-09 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:33:04] Production.INFO: Account Balance Start.
[2025-04-09 04:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:33:04] Production.INFO: 117
[2025-04-09 04:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:33:04] Production.INFO: count ==12
[2025-04-09 04:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:33:04] Production.INFO: count ==23
[2025-04-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867117') start
[2025-04-09 04:33:04] Production.INFO: Total Charge 0
[2025-04-09 04:33:04] Production.INFO: CreateAllLog End
[2025-04-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867117') end
[2025-04-09 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:33:04] Production.INFO: 1
[2025-04-09 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:33:04] Production.ERROR: done
[2025-04-09 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:33:04] Production.INFO: ==25880== Releasing lock...
[2025-04-09 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:33:04] Production.INFO: Account Balance End.
[2025-04-09 04:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:33:04] Production.INFO: ==25875== Releasing lock...
[2025-04-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:33:04] Production.ERROR: done
[2025-04-09 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:33:05
[end_date_ymd] => 2025-04-09 04:33:05
[RateCDR] => 1
)
[2025-04-09 04:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:33:05' and `end` < '2025-04-09 04:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:33:11] Production.ERROR: CronJobId end10
[2025-04-09 04:33:11] Production.INFO: ==25873== Releasing lock...
[2025-04-09 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:33:14] Production.INFO: call_cost start
[2025-04-09 04:33:14] Production.INFO: call_cost end
[2025-04-09 04:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:33:15] Production.INFO: ==25869== Releasing lock...
[2025-04-09 04:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:33:18] Production.INFO: count ==156
[2025-04-09 04:33:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:33:05 - End Time 2025-04-09 04:33:05
[2025-04-09 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867119', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867119', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867119', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867119', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:33:18] Production.INFO: ProcessCDR(1,14867119,1,1,2)
[2025-04-09 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867119', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867119', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:33:21] Production.INFO: ==25877== Releasing lock...
[2025-04-09 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:33:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:34:01] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-04-09 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:34:01] Production.INFO: neon service started
[2025-04-09 09:34:01] Production.INFO: neon service started
[2025-04-09 09:34:01] Production.INFO: ==25972== Releasing lock...
[2025-04-09 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:34:01] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-04-09 08:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:34:01] Production.INFO: ==25976== Releasing lock...
[2025-04-09 08:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:34:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:34:02] Production.INFO: ==25974== Lock acquired, processing the job...
[2025-04-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:34:02] Production.INFO: ==25974== Releasing lock...
[2025-04-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:34:03] Production.INFO: ==25983== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:34:03] Production.INFO: ==25989== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:34:03] Production.INFO: ==25979== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:34:03] Production.INFO: count ==12
[2025-04-09 04:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:34:03] Production.INFO: count ==23
[2025-04-09 04:34:03] Production.INFO: ==25981== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867120') start
[2025-04-09 04:34:03] Production.INFO: ==25985== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:34:03] Production.INFO: ==25987== Lock acquired, processing the job...
[2025-04-09 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867120') end
[2025-04-09 04:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:34:03] Production.INFO: 1
[2025-04-09 04:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:34:03] Production.INFO: Account Balance Start.
[2025-04-09 04:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:34:03] Production.INFO: ==25989== Releasing lock...
[2025-04-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:34:03] Production.INFO: 117
[2025-04-09 04:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:34:03] Production.INFO: Total Charge 0
[2025-04-09 04:34:03] Production.INFO: CreateAllLog End
[2025-04-09 04:34:04] Production.INFO: ==25981== Releasing lock...
[2025-04-09 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:34:04] Production.ERROR: done
[2025-04-09 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:34:04] Production.INFO: Account Balance End.
[2025-04-09 04:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:34:04] Production.INFO: ==25985== Releasing lock...
[2025-04-09 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:34:04] Production.ERROR: done
[2025-04-09 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:34:05
[end_date_ymd] => 2025-04-09 04:34:05
[RateCDR] => 1
)
[2025-04-09 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:34:05' and `end` < '2025-04-09 04:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:34:12] Production.ERROR: CronJobId end10
[2025-04-09 04:34:12] Production.INFO: ==25983== Releasing lock...
[2025-04-09 04:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:34:15] Production.INFO: call_cost start
[2025-04-09 04:34:15] Production.INFO: call_cost end
[2025-04-09 04:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:34:16] Production.INFO: ==25979== Releasing lock...
[2025-04-09 04:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:34:18] Production.INFO: count ==156
[2025-04-09 04:34:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:34:05 - End Time 2025-04-09 04:34:05
[2025-04-09 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867124', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867124', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867124', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867124', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:34:18] Production.INFO: ProcessCDR(1,14867124,1,1,2)
[2025-04-09 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867124', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867124', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:34:21] Production.INFO: ==25987== Releasing lock...
[2025-04-09 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:34:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:35:01] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-04-09 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:35:01] Production.INFO: neon service started
[2025-04-09 09:35:02] Production.INFO: neon service started
[2025-04-09 09:35:02] Production.INFO: ==26084== Releasing lock...
[2025-04-09 09:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:35:02] Production.INFO: ==26087== Lock acquired, processing the job...
[2025-04-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:35:02] Production.INFO: ==26089== Lock acquired, processing the job...
[2025-04-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:35:02] Production.INFO: ==26087== Releasing lock...
[2025-04-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:35:02] Production.INFO: ==26089== Releasing lock...
[2025-04-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:35:03] Production.INFO: ==26099== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:35:03] Production.INFO: ==26103== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:35:03] Production.INFO: ==26093== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:35:03] Production.INFO: Account Balance Start.
[2025-04-09 04:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:35:03] Production.INFO: 117
[2025-04-09 04:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:35:03] Production.INFO: ==26095== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:35:03] Production.INFO: Total Charge 0
[2025-04-09 04:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:35:03] Production.INFO: CreateAllLog End
[2025-04-09 04:35:03] Production.INFO: count ==12
[2025-04-09 04:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:35:03] Production.INFO: ==26097== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:35:03] Production.INFO: count ==23
[2025-04-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867127') start
[2025-04-09 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:35:03] Production.INFO: ==26101== Lock acquired, processing the job...
[2025-04-09 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867127') end
[2025-04-09 04:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:35:04] Production.INFO: 1
[2025-04-09 04:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:35:04] Production.INFO: Account Balance End.
[2025-04-09 04:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:35:04] Production.INFO: ==26099== Releasing lock...
[2025-04-09 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:35:04] Production.INFO: ==26103== Releasing lock...
[2025-04-09 04:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:35:04] Production.INFO: ==26095== Releasing lock...
[2025-04-09 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:35:04] Production.ERROR: done
[2025-04-09 04:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:35:04] Production.ERROR: done
[2025-04-09 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:35:05
[end_date_ymd] => 2025-04-09 04:35:05
[RateCDR] => 1
)
[2025-04-09 04:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:35:05' and `end` < '2025-04-09 04:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:35:12] Production.ERROR: CronJobId end10
[2025-04-09 04:35:12] Production.INFO: ==26097== Releasing lock...
[2025-04-09 04:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:35:15] Production.INFO: call_cost start
[2025-04-09 04:35:15] Production.INFO: call_cost end
[2025-04-09 04:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:35:16] Production.INFO: ==26093== Releasing lock...
[2025-04-09 04:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:35:18] Production.INFO: count ==156
[2025-04-09 04:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:35:05 - End Time 2025-04-09 04:35:05
[2025-04-09 04:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867129', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867129', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867129', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867129', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:35:18] Production.INFO: ProcessCDR(1,14867129,1,1,2)
[2025-04-09 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867129', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867129', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:35:21] Production.INFO: ==26101== Releasing lock...
[2025-04-09 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:35:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:36:01] Production.INFO: ==26234== Lock acquired, processing the job...
[2025-04-09 09:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:36:01] Production.INFO: neon service started
[2025-04-09 09:36:01] Production.INFO: neon service started
[2025-04-09 09:36:01] Production.INFO: ==26234== Releasing lock...
[2025-04-09 09:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:36:01] Production.INFO: ==26236== Lock acquired, processing the job...
[2025-04-09 04:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:36:02] Production.INFO: ==26236== Releasing lock...
[2025-04-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:36:02] Production.INFO: ==26238== Lock acquired, processing the job...
[2025-04-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:36:02] Production.INFO: ==26238== Releasing lock...
[2025-04-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:36:03] Production.INFO: ==26243== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:36:03] Production.INFO: ==26247== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:36:03] Production.INFO: ==26245== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:36:03] Production.INFO: ==26253== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:36:03] Production.INFO: ==26249== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:36:03] Production.INFO: ==26251== Lock acquired, processing the job...
[2025-04-09 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:36:03] Production.INFO: Account Balance Start.
[2025-04-09 04:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:36:03] Production.INFO: 117
[2025-04-09 04:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 04:36:03] Production.INFO: Total Charge 0
[2025-04-09 04:36:03] Production.INFO: count ==12
[2025-04-09 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-04-09 04:36:03] Production.INFO: CreateAllLog End
[2025-04-09 04:36:03] Production.INFO: count ==23
[2025-04-09 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867133') start
[2025-04-09 04:36:03] Production.INFO: ==26245== Releasing lock...
[2025-04-09 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:36:03] Production.INFO: Account Balance End.
[2025-04-09 04:36:04] Production.ERROR: done
[2025-04-09 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867133') end
[2025-04-09 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:36:04] Production.INFO: 1
[2025-04-09 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:36:04] Production.INFO: ==26253== Releasing lock...
[2025-04-09 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:36:04] Production.INFO: ==26249== Releasing lock...
[2025-04-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:36:04] Production.ERROR: done
[2025-04-09 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:36:05
[end_date_ymd] => 2025-04-09 04:36:05
[RateCDR] => 1
)
[2025-04-09 04:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:36:05' and `end` < '2025-04-09 04:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:36:12] Production.ERROR: CronJobId end10
[2025-04-09 04:36:12] Production.INFO: ==26247== Releasing lock...
[2025-04-09 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:36:14] Production.INFO: call_cost start
[2025-04-09 04:36:14] Production.INFO: call_cost end
[2025-04-09 04:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:36:15] Production.INFO: ==26243== Releasing lock...
[2025-04-09 04:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:36:18] Production.INFO: count ==156
[2025-04-09 04:36:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:36:05 - End Time 2025-04-09 04:36:05
[2025-04-09 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867134', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867134', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867134', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867134', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:36:18] Production.INFO: ProcessCDR(1,14867134,1,1,2)
[2025-04-09 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867134', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867134', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:36:21] Production.INFO: ==26251== Releasing lock...
[2025-04-09 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:36:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:37:01] Production.INFO: ==26344== Lock acquired, processing the job...
[2025-04-09 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:37:01] Production.INFO: neon service started
[2025-04-09 09:37:01] Production.INFO: neon service started
[2025-04-09 09:37:01] Production.INFO: ==26344== Releasing lock...
[2025-04-09 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:37:02] Production.INFO: ==26348== Lock acquired, processing the job...
[2025-04-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:37:02] Production.INFO: ==26348== Releasing lock...
[2025-04-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:37:02] Production.INFO: ==26346== Lock acquired, processing the job...
[2025-04-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:37:02] Production.INFO: ==26346== Releasing lock...
[2025-04-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:37:03] Production.INFO: ==26358== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:37:03] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:37:03] Production.INFO: ==26350== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:37:03] Production.INFO: ==26352== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:37:03] Production.INFO: ==26354== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:37:03] Production.INFO: ==26356== Lock acquired, processing the job...
[2025-04-09 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:37:03] Production.INFO: Account Balance Start.
[2025-04-09 04:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:37:03] Production.INFO: 117
[2025-04-09 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:37:03] Production.INFO: count ==12
[2025-04-09 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:37:03] Production.INFO: count ==23
[2025-04-09 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867135') start
[2025-04-09 04:37:04] Production.ERROR: done
[2025-04-09 04:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867135') end
[2025-04-09 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:37:04] Production.INFO: 1
[2025-04-09 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:37:04] Production.INFO: Total Charge 0
[2025-04-09 04:37:04] Production.INFO: CreateAllLog End
[2025-04-09 04:37:04] Production.INFO: ==26360== Releasing lock...
[2025-04-09 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:37:04] Production.INFO: ==26352== Releasing lock...
[2025-04-09 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:37:04] Production.ERROR: done
[2025-04-09 04:37:04] Production.INFO: Account Balance End.
[2025-04-09 04:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:37:04] Production.INFO: ==26356== Releasing lock...
[2025-04-09 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:37:05
[end_date_ymd] => 2025-04-09 04:37:05
[RateCDR] => 1
)
[2025-04-09 04:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:37:05' and `end` < '2025-04-09 04:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:37:11] Production.ERROR: CronJobId end10
[2025-04-09 04:37:11] Production.INFO: ==26354== Releasing lock...
[2025-04-09 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:37:14] Production.INFO: call_cost start
[2025-04-09 04:37:14] Production.INFO: call_cost end
[2025-04-09 04:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:37:15] Production.INFO: ==26350== Releasing lock...
[2025-04-09 04:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:37:18] Production.INFO: count ==156
[2025-04-09 04:37:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:37:05 - End Time 2025-04-09 04:37:05
[2025-04-09 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867139', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867139', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867139', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867139', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:37:18] Production.INFO: ProcessCDR(1,14867139,1,1,2)
[2025-04-09 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867139', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867139', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:37:21] Production.INFO: ==26358== Releasing lock...
[2025-04-09 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:37:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:38:02] Production.INFO: ==26454== Lock acquired, processing the job...
[2025-04-09 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:38:02] Production.INFO: neon service started
[2025-04-09 09:38:02] Production.INFO: neon service started
[2025-04-09 09:38:02] Production.INFO: ==26454== Releasing lock...
[2025-04-09 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:38:02] Production.INFO: ==26456== Lock acquired, processing the job...
[2025-04-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:38:03] Production.INFO: ==26456== Releasing lock...
[2025-04-09 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:38:03] Production.INFO: ==26458== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:38:03] Production.INFO: ==26458== Releasing lock...
[2025-04-09 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:38:04] Production.INFO: ==26469== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:38:04] Production.INFO: ==26471== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:38:04] Production.INFO: ==26461== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:38:04] Production.INFO: ==26463== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:38:04] Production.INFO: ==26465== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:38:04] Production.INFO: ==26467== Lock acquired, processing the job...
[2025-04-09 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:38:04] Production.INFO: count ==12
[2025-04-09 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:38:04] Production.INFO: count ==23
[2025-04-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867140') start
[2025-04-09 04:38:04] Production.INFO: Account Balance Start.
[2025-04-09 04:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:38:04] Production.INFO: 117
[2025-04-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867140') end
[2025-04-09 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:38:04] Production.INFO: 1
[2025-04-09 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:38:04] Production.INFO: ==26471== Releasing lock...
[2025-04-09 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:38:04] Production.ERROR: done
[2025-04-09 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:38:04] Production.INFO: ==26463== Releasing lock...
[2025-04-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:38:04] Production.INFO: Total Charge 0
[2025-04-09 04:38:04] Production.INFO: CreateAllLog End
[2025-04-09 04:38:04] Production.ERROR: done
[2025-04-09 04:38:04] Production.INFO: Account Balance End.
[2025-04-09 04:38:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:38:05] Production.INFO: ==26467== Releasing lock...
[2025-04-09 04:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:38:06
[end_date_ymd] => 2025-04-09 04:38:06
[RateCDR] => 1
)
[2025-04-09 04:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:38:06' and `end` < '2025-04-09 04:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:38:13] Production.ERROR: CronJobId end10
[2025-04-09 04:38:13] Production.INFO: ==26465== Releasing lock...
[2025-04-09 04:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:38:15] Production.INFO: call_cost start
[2025-04-09 04:38:15] Production.INFO: call_cost end
[2025-04-09 04:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:38:16] Production.INFO: ==26461== Releasing lock...
[2025-04-09 04:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:38:18] Production.INFO: count ==156
[2025-04-09 04:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:38:06 - End Time 2025-04-09 04:38:06
[2025-04-09 04:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867144', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867144', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867144', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867144', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:38:18] Production.INFO: ProcessCDR(1,14867144,1,1,2)
[2025-04-09 04:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867144', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867144', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:38:22] Production.INFO: ==26469== Releasing lock...
[2025-04-09 04:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:38:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:39:01] Production.INFO: ==26558== Lock acquired, processing the job...
[2025-04-09 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:39:01] Production.INFO: neon service started
[2025-04-09 09:39:01] Production.INFO: neon service started
[2025-04-09 09:39:01] Production.INFO: ==26558== Releasing lock...
[2025-04-09 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:39:02] Production.INFO: ==26562== Lock acquired, processing the job...
[2025-04-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:39:02] Production.INFO: ==26562== Releasing lock...
[2025-04-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:39:02] Production.INFO: ==26560== Lock acquired, processing the job...
[2025-04-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:39:02] Production.INFO: ==26560== Releasing lock...
[2025-04-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:39:03] Production.INFO: ==26567== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:39:03] Production.INFO: ==26565== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:39:03] Production.INFO: ==26575== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:39:03] Production.INFO: ==26569== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 04:39:03] Production.INFO: ==26571== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:39:03] Production.INFO: count ==12
[2025-04-09 04:39:03] Production.INFO: ==26573== Lock acquired, processing the job...
[2025-04-09 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 04:39:03] Production.INFO: Account Balance Start.
[2025-04-09 04:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:39:03] Production.INFO: 117
[2025-04-09 04:39:03] Production.INFO: count ==23
[2025-04-09 04:39:03] Production.INFO: ==26567== Releasing lock...
[2025-04-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867146') start
[2025-04-09 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867146') end
[2025-04-09 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:39:04] Production.INFO: 1
[2025-04-09 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:39:04] Production.INFO: Total Charge 0
[2025-04-09 04:39:04] Production.INFO: CreateAllLog End
[2025-04-09 04:39:04] Production.INFO: ==26575== Releasing lock...
[2025-04-09 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:39:04] Production.ERROR: done
[2025-04-09 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:39:04] Production.INFO: Account Balance End.
[2025-04-09 04:39:04] Production.ERROR: done
[2025-04-09 04:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:39:04] Production.INFO: ==26571== Releasing lock...
[2025-04-09 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:39:05
[end_date_ymd] => 2025-04-09 04:39:05
[RateCDR] => 1
)
[2025-04-09 04:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:39:05' and `end` < '2025-04-09 04:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:39:11] Production.ERROR: CronJobId end10
[2025-04-09 04:39:11] Production.INFO: ==26569== Releasing lock...
[2025-04-09 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:39:15] Production.INFO: call_cost start
[2025-04-09 04:39:15] Production.INFO: call_cost end
[2025-04-09 04:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:39:16] Production.INFO: ==26565== Releasing lock...
[2025-04-09 04:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:39:18] Production.INFO: count ==156
[2025-04-09 04:39:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:39:05 - End Time 2025-04-09 04:39:05
[2025-04-09 04:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867149', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867149', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867149', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867149', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:39:18] Production.INFO: ProcessCDR(1,14867149,1,1,2)
[2025-04-09 04:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867149', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867149', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:39:21] Production.INFO: ==26573== Releasing lock...
[2025-04-09 04:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:39:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:40:02] Production.INFO: ==26669== Lock acquired, processing the job...
[2025-04-09 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:40:02] Production.INFO: neon service started
[2025-04-09 09:40:02] Production.INFO: neon service started
[2025-04-09 09:40:02] Production.INFO: ==26669== Releasing lock...
[2025-04-09 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:40:03] Production.INFO: ==26671== Lock acquired, processing the job...
[2025-04-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:40:03] Production.INFO: ==26673== Lock acquired, processing the job...
[2025-04-09 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:40:03] Production.INFO: ==26673== Releasing lock...
[2025-04-09 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:40:03] Production.INFO: ==26671== Releasing lock...
[2025-04-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:40:04] Production.INFO: ==26680== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:40:04] Production.INFO: ==26688== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:40:04] Production.INFO: ==26676== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:40:04] Production.INFO: ==26684== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 04:40:04] Production.ERROR: CronJob PID - 26680
[2025-04-09 04:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 04:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 04:40:00
[2025-04-09 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 04:40:04] Production.ERROR: CronJob PID - 26688
[2025-04-09 04:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 04:40:04] Production.ERROR: CronJob ID - 17
[2025-04-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 04:40:00
[2025-04-09 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 04:40:04] Production.INFO: ==26678== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:40:04] Production.INFO: ==26676== Releasing lock...
[2025-04-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:40:04] Production.INFO: ==26680== Releasing lock...
[2025-04-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:40:04] Production.INFO: Account Balance Start.
[2025-04-09 04:40:04] Production.INFO: ==26682== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:40:04] Production.INFO: 117
[2025-04-09 04:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:40:04] Production.INFO: ==26686== Lock acquired, processing the job...
[2025-04-09 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:40:05] Production.ERROR: done
[2025-04-09 04:40:05] Production.INFO: Date 2025-04-09
[2025-04-09 04:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 04:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:40:05] Production.INFO: ==26690== Lock acquired, processing the job...
[2025-04-09 04:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:40:05] Production.INFO: Total Charge 0
[2025-04-09 04:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867153', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:40:05] Production.INFO: CreateAllLog End
[2025-04-09 04:40:05] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:40:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:40:05] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:40:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:40:05] Production.INFO: Account Balance End.
[2025-04-09 04:40:05] Production.INFO: count ==12
[2025-04-09 04:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:40:05] Production.INFO: count ==23
[2025-04-09 04:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:40:05] Production.INFO: ==26684== Releasing lock...
[2025-04-09 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867154') start
[2025-04-09 04:40:05] Production.ERROR: done
[2025-04-09 04:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867154') end
[2025-04-09 04:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:40:05] Production.INFO: 1
[2025-04-09 04:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:40:05] Production.ERROR: done
[2025-04-09 04:40:05] Production.INFO: ==26690== Releasing lock...
[2025-04-09 04:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:40:06
[end_date_ymd] => 2025-04-09 04:40:06
[RateCDR] => 1
)
[2025-04-09 04:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:40:06' and `end` < '2025-04-09 04:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867153', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:40:09] Production.INFO: ProcessCDR(1,14867153,1,1,2)
[2025-04-09 04:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867153,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867153,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:40:09] Production.INFO: ==26688== Releasing lock...
[2025-04-09 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:40:15] Production.ERROR: CronJobId end10
[2025-04-09 04:40:15] Production.INFO: ==26682== Releasing lock...
[2025-04-09 04:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:40:17] Production.INFO: call_cost start
[2025-04-09 04:40:17] Production.INFO: call_cost end
[2025-04-09 04:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:40:18] Production.INFO: ==26678== Releasing lock...
[2025-04-09 04:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:40:19] Production.INFO: count ==148
[2025-04-09 04:40:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:40:06 - End Time 2025-04-09 04:40:06
[2025-04-09 04:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867155', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867155', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867155', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867155', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:40:19] Production.INFO: ProcessCDR(1,14867155,1,1,2)
[2025-04-09 04:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867155', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867155', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:40:23] Production.INFO: ==26686== Releasing lock...
[2025-04-09 04:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:40:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:41:01] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-04-09 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:41:01] Production.INFO: neon service started
[2025-04-09 09:41:01] Production.INFO: neon service started
[2025-04-09 09:41:01] Production.INFO: ==26784== Releasing lock...
[2025-04-09 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:41:02] Production.INFO: ==26787== Lock acquired, processing the job...
[2025-04-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:41:02] Production.INFO: ==26789== Lock acquired, processing the job...
[2025-04-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:41:02] Production.INFO: ==26789== Releasing lock...
[2025-04-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:41:02] Production.INFO: ==26787== Releasing lock...
[2025-04-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:41:03] Production.INFO: ==26795== Lock acquired, processing the job...
[2025-04-09 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:41:04] Production.INFO: ==26799== Lock acquired, processing the job...
[2025-04-09 04:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:41:04] Production.INFO: ==26791== Lock acquired, processing the job...
[2025-04-09 04:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:41:04] Production.INFO: ==26793== Lock acquired, processing the job...
[2025-04-09 04:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:41:04] Production.INFO: ==26797== Lock acquired, processing the job...
[2025-04-09 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:41:04] Production.INFO: ==26801== Lock acquired, processing the job...
[2025-04-09 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:41:04] Production.INFO: Account Balance Start.
[2025-04-09 04:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:41:04] Production.INFO: 117
[2025-04-09 04:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:41:04] Production.ERROR: done
[2025-04-09 04:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 04: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-04-09 04:41:04] Production.INFO: Total Charge 0
[2025-04-09 04:41:04] Production.INFO: count ==12
[2025-04-09 04: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-04-09 04:41:04] Production.INFO: CreateAllLog End
[2025-04-09 04:41:04] Production.INFO: count ==23
[2025-04-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867159') start
[2025-04-09 04:41:04] Production.ERROR: done
[2025-04-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867159') end
[2025-04-09 04:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:41:04] Production.INFO: 1
[2025-04-09 04:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:41:04] Production.INFO: ==26801== Releasing lock...
[2025-04-09 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:41:04] Production.INFO: Account Balance End.
[2025-04-09 04:41:04] Production.INFO: ==26793== Releasing lock...
[2025-04-09 04:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:41:04] Production.INFO: ==26797== Releasing lock...
[2025-04-09 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:41:05
[end_date_ymd] => 2025-04-09 04:41:05
[RateCDR] => 1
)
[2025-04-09 04:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:41:05' and `end` < '2025-04-09 04:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:41:13] Production.ERROR: CronJobId end10
[2025-04-09 04:41:13] Production.INFO: ==26795== Releasing lock...
[2025-04-09 04:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:41:15] Production.INFO: call_cost start
[2025-04-09 04:41:15] Production.INFO: call_cost end
[2025-04-09 04:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:41:16] Production.INFO: ==26791== Releasing lock...
[2025-04-09 04:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:41:18] Production.INFO: count ==148
[2025-04-09 04:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:41:05 - End Time 2025-04-09 04:41:05
[2025-04-09 04:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867160', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867160', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867160', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867160', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:41:18] Production.INFO: ProcessCDR(1,14867160,1,1,2)
[2025-04-09 04:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867160', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867160', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:41:21] Production.INFO: ==26799== Releasing lock...
[2025-04-09 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:41:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:42:02] Production.INFO: ==26895== Lock acquired, processing the job...
[2025-04-09 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:42:02] Production.INFO: neon service started
[2025-04-09 09:42:02] Production.INFO: neon service started
[2025-04-09 09:42:02] Production.INFO: ==26895== Releasing lock...
[2025-04-09 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:42:02] Production.INFO: ==26897== Lock acquired, processing the job...
[2025-04-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:42:02] Production.INFO: ==26899== Lock acquired, processing the job...
[2025-04-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:42:02] Production.INFO: ==26899== Releasing lock...
[2025-04-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:42:03] Production.INFO: ==26897== Releasing lock...
[2025-04-09 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:42:04] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:42:04] Production.INFO: ==26902== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:42:04] Production.INFO: ==26910== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:42:04] Production.INFO: ==26904== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:42:04] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:42:04] Production.INFO: ==26912== Lock acquired, processing the job...
[2025-04-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:42:04] Production.INFO: Account Balance Start.
[2025-04-09 04:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:42:04] Production.INFO: 117
[2025-04-09 04:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:42:04] Production.INFO: count ==12
[2025-04-09 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:42:04] Production.INFO: count ==23
[2025-04-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867164') start
[2025-04-09 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:42:04] Production.ERROR: done
[2025-04-09 04:42:04] Production.INFO: ==26904== Releasing lock...
[2025-04-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:42:04] Production.INFO: Total Charge 0
[2025-04-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867164') end
[2025-04-09 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:42:04] Production.INFO: 1
[2025-04-09 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:42:04] Production.INFO: CreateAllLog End
[2025-04-09 04:42:04] Production.INFO: ==26912== Releasing lock...
[2025-04-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:42:04] Production.ERROR: done
[2025-04-09 04:42:05] Production.INFO: Account Balance End.
[2025-04-09 04:42:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:42:05] Production.INFO: ==26908== Releasing lock...
[2025-04-09 04:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:42:05
[end_date_ymd] => 2025-04-09 04:42:05
[RateCDR] => 1
)
[2025-04-09 04:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:42:05' and `end` < '2025-04-09 04:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:42:13] Production.ERROR: CronJobId end10
[2025-04-09 04:42:13] Production.INFO: ==26906== Releasing lock...
[2025-04-09 04:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:42:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:42:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:42:16] Production.INFO: call_cost start
[2025-04-09 04:42:16] Production.INFO: call_cost end
[2025-04-09 04:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:42:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:42:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:42:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:42:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:42:17] Production.INFO: ==26902== Releasing lock...
[2025-04-09 04:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:42:18] Production.INFO: count ==148
[2025-04-09 04:42:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:42:05 - End Time 2025-04-09 04:42:05
[2025-04-09 04:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867165', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867165', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867165', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867165', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:42:18] Production.INFO: ProcessCDR(1,14867165,1,1,2)
[2025-04-09 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867165', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867165', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:42:22] Production.INFO: ==26910== Releasing lock...
[2025-04-09 04:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:42:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:43:01] Production.INFO: ==27000== Lock acquired, processing the job...
[2025-04-09 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:43:01] Production.INFO: neon service started
[2025-04-09 09:43:01] Production.INFO: neon service started
[2025-04-09 09:43:01] Production.INFO: ==27000== Releasing lock...
[2025-04-09 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:43:02] Production.INFO: ==27002== Lock acquired, processing the job...
[2025-04-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:43:02] Production.INFO: ==27002== Releasing lock...
[2025-04-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:43:02] Production.INFO: ==27004== Lock acquired, processing the job...
[2025-04-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:43:02] Production.INFO: ==27004== Releasing lock...
[2025-04-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:43:03] Production.INFO: ==27013== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:43:03] Production.INFO: ==27015== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:43:03] Production.INFO: ==27007== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:43:03] Production.INFO: ==27009== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:43:03] Production.INFO: Account Balance Start.
[2025-04-09 04:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:43:03] Production.INFO: ==27011== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:43:03] Production.INFO: 117
[2025-04-09 04:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:43:03] Production.INFO: ==27018== Lock acquired, processing the job...
[2025-04-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 04: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-04-09 04:43:04] Production.INFO: count ==12
[2025-04-09 04: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-04-09 04:43:04] Production.INFO: count ==23
[2025-04-09 04:43:04] Production.INFO: Total Charge 0
[2025-04-09 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867169') start
[2025-04-09 04:43:04] Production.ERROR: done
[2025-04-09 04:43:04] Production.INFO: CreateAllLog End
[2025-04-09 04:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867169') end
[2025-04-09 04:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:43:04] Production.INFO: 1
[2025-04-09 04:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:43:04] Production.INFO: ==27018== Releasing lock...
[2025-04-09 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:43:04] Production.ERROR: done
[2025-04-09 04:43:04] Production.INFO: ==27009== Releasing lock...
[2025-04-09 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:43:04] Production.INFO: Account Balance End.
[2025-04-09 04:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:43:04] Production.INFO: ==27013== Releasing lock...
[2025-04-09 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:43:05
[end_date_ymd] => 2025-04-09 04:43:05
[RateCDR] => 1
)
[2025-04-09 04:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:43:05' and `end` < '2025-04-09 04:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:43:13] Production.ERROR: CronJobId end10
[2025-04-09 04:43:13] Production.INFO: ==27011== Releasing lock...
[2025-04-09 04:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:43:15] Production.INFO: call_cost start
[2025-04-09 04:43:15] Production.INFO: call_cost end
[2025-04-09 04:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:43:16] Production.INFO: ==27007== Releasing lock...
[2025-04-09 04:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:43:18] Production.INFO: count ==148
[2025-04-09 04:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:43:05 - End Time 2025-04-09 04:43:05
[2025-04-09 04:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867170', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867170', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867170', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867170', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:43:18] Production.INFO: ProcessCDR(1,14867170,1,1,2)
[2025-04-09 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867170', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867170', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:43:21] Production.INFO: ==27015== Releasing lock...
[2025-04-09 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:43:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:44:02] Production.INFO: ==27110== Lock acquired, processing the job...
[2025-04-09 09:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:44:02] Production.INFO: neon service started
[2025-04-09 09:44:02] Production.INFO: neon service started
[2025-04-09 09:44:02] Production.INFO: ==27110== Releasing lock...
[2025-04-09 09:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:44:02] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-04-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:44:03] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 04:44:03] Production.INFO: ==27113== Releasing lock...
[2025-04-09 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:44:03] Production.INFO: ==27115== Releasing lock...
[2025-04-09 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:44:04] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:44:04] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:44:04] Production.INFO: ==27127== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:44:04] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:44:04] Production.INFO: count ==12
[2025-04-09 04:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:44:04] Production.INFO: count ==23
[2025-04-09 04:44:04] Production.INFO: ==27123== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:44:04] Production.INFO: ==27125== Lock acquired, processing the job...
[2025-04-09 04:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867172') start
[2025-04-09 04:44:04] Production.INFO: Account Balance Start.
[2025-04-09 04:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:44:04] Production.INFO: 117
[2025-04-09 04:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:44:04] Production.INFO: Total Charge 0
[2025-04-09 04:44:04] Production.INFO: CreateAllLog End
[2025-04-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867172') end
[2025-04-09 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:44:04] Production.INFO: 1
[2025-04-09 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:44:04] Production.INFO: Account Balance End.
[2025-04-09 04:44:04] Production.INFO: ==27119== Releasing lock...
[2025-04-09 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:44:04] Production.INFO: ==27127== Releasing lock...
[2025-04-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:44:04] Production.INFO: ==27123== Releasing lock...
[2025-04-09 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:44:04] Production.ERROR: done
[2025-04-09 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:44:05] Production.ERROR: done
[2025-04-09 04:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:44:06
[end_date_ymd] => 2025-04-09 04:44:06
[RateCDR] => 1
)
[2025-04-09 04:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:44:06' and `end` < '2025-04-09 04:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:44:11] Production.ERROR: CronJobId end10
[2025-04-09 04:44:11] Production.INFO: ==27121== Releasing lock...
[2025-04-09 04:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:44:15] Production.INFO: call_cost start
[2025-04-09 04:44:15] Production.INFO: call_cost end
[2025-04-09 04:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:44:16] Production.INFO: ==27117== Releasing lock...
[2025-04-09 04:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:44:18] Production.INFO: count ==146
[2025-04-09 04:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:44:06 - End Time 2025-04-09 04:44:06
[2025-04-09 04:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867175', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867175', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867175', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867175', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:44:18] Production.INFO: ProcessCDR(1,14867175,1,1,2)
[2025-04-09 04:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867175', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867175', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:44:22] Production.INFO: ==27125== Releasing lock...
[2025-04-09 04:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:44:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:45:01] Production.INFO: ==27217== Lock acquired, processing the job...
[2025-04-09 09:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:45:01] Production.INFO: neon service started
[2025-04-09 09:45:01] Production.INFO: neon service started
[2025-04-09 09:45:01] Production.INFO: ==27217== Releasing lock...
[2025-04-09 09:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:45:02] Production.INFO: ==27219== Lock acquired, processing the job...
[2025-04-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:45:02] Production.INFO: ==27221== Lock acquired, processing the job...
[2025-04-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:45:02] Production.INFO: ==27221== Releasing lock...
[2025-04-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:45:02] Production.INFO: ==27219== Releasing lock...
[2025-04-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:45:03] Production.INFO: ==27228== Lock acquired, processing the job...
[2025-04-09 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:45:03] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-04-09 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:45:03] Production.INFO: ==27226== Lock acquired, processing the job...
[2025-04-09 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:45:04] Production.INFO: ==27230== Lock acquired, processing the job...
[2025-04-09 04:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:45:04] Production.INFO: ==27232== Lock acquired, processing the job...
[2025-04-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:45:04] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-04-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:45:04] Production.INFO: Account Balance Start.
[2025-04-09 04:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:45:04] Production.INFO: 117
[2025-04-09 04:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:45:04] Production.INFO: count ==12
[2025-04-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:45:04] Production.INFO: count ==23
[2025-04-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867179') start
[2025-04-09 04:45:04] Production.INFO: ==27228== Releasing lock...
[2025-04-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:45:04] Production.INFO: Total Charge 0
[2025-04-09 04:45:04] Production.INFO: CreateAllLog End
[2025-04-09 04:45:04] Production.ERROR: done
[2025-04-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867179') end
[2025-04-09 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:45:04] Production.INFO: 1
[2025-04-09 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:45:04] Production.INFO: ==27236== Releasing lock...
[2025-04-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:45:04] Production.ERROR: done
[2025-04-09 04:45:04] Production.INFO: Account Balance End.
[2025-04-09 04:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:45:04] Production.INFO: ==27232== Releasing lock...
[2025-04-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:45:05
[end_date_ymd] => 2025-04-09 04:45:05
[RateCDR] => 1
)
[2025-04-09 04:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:45:05' and `end` < '2025-04-09 04:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:45:12] Production.ERROR: CronJobId end10
[2025-04-09 04:45:12] Production.INFO: ==27230== Releasing lock...
[2025-04-09 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:45:15] Production.INFO: call_cost start
[2025-04-09 04:45:15] Production.INFO: call_cost end
[2025-04-09 04:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:45:16] Production.INFO: ==27226== Releasing lock...
[2025-04-09 04:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:45:18] Production.INFO: count ==146
[2025-04-09 04:45:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:45:05 - End Time 2025-04-09 04:45:05
[2025-04-09 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867180', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867180', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867180', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867180', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:45:18] Production.INFO: ProcessCDR(1,14867180,1,1,2)
[2025-04-09 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867180', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867180', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:45:21] Production.INFO: ==27234== Releasing lock...
[2025-04-09 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:46:02] Production.INFO: ==27322== Lock acquired, processing the job...
[2025-04-09 09:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:46:02] Production.INFO: neon service started
[2025-04-09 09:46:02] Production.INFO: neon service started
[2025-04-09 09:46:02] Production.INFO: ==27322== Releasing lock...
[2025-04-09 09:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:46:02] Production.INFO: ==27324== Lock acquired, processing the job...
[2025-04-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:46:02] Production.INFO: ==27324== Releasing lock...
[2025-04-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:46:03] Production.INFO: ==27326== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:46:03] Production.INFO: ==27326== Releasing lock...
[2025-04-09 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:46:03] Production.INFO: ==27328== Lock acquired, processing the job...
[2025-04-09 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:46:03] Production.INFO: ==27334== Lock acquired, processing the job...
[2025-04-09 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:46:03] Production.INFO: ==27338== Lock acquired, processing the job...
[2025-04-09 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:46:03] Production.INFO: Account Balance Start.
[2025-04-09 04:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:46:03] Production.INFO: 117
[2025-04-09 04:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 04: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-04-09 04:46:03] Production.INFO: count ==12
[2025-04-09 04:46:03] Production.INFO: Total Charge 0
[2025-04-09 04:46:04] Production.INFO: CreateAllLog End
[2025-04-09 04:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:46:04] Production.INFO: count ==23
[2025-04-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867183') start
[2025-04-09 04:46:04] Production.INFO: ==27336== Lock acquired, processing the job...
[2025-04-09 04:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:46:04] Production.INFO: ==27330== Lock acquired, processing the job...
[2025-04-09 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867183') end
[2025-04-09 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:46:04] Production.INFO: 1
[2025-04-09 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:46:04] Production.INFO: ==27332== Lock acquired, processing the job...
[2025-04-09 04:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:46:04] Production.INFO: ==27338== Releasing lock...
[2025-04-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:46:04] Production.INFO: Account Balance End.
[2025-04-09 04:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:46:04] Production.INFO: ==27334== Releasing lock...
[2025-04-09 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:46:04] Production.ERROR: done
[2025-04-09 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:46:04] Production.INFO: ==27330== Releasing lock...
[2025-04-09 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:46:04] Production.ERROR: done
[2025-04-09 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:46:05
[end_date_ymd] => 2025-04-09 04:46:05
[RateCDR] => 1
)
[2025-04-09 04:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:46:05' and `end` < '2025-04-09 04:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:46:13] Production.ERROR: CronJobId end10
[2025-04-09 04:46:13] Production.INFO: ==27332== Releasing lock...
[2025-04-09 04:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:46:15] Production.INFO: call_cost start
[2025-04-09 04:46:15] Production.INFO: call_cost end
[2025-04-09 04:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:46:16] Production.INFO: ==27328== Releasing lock...
[2025-04-09 04:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:46:18] Production.INFO: count ==148
[2025-04-09 04:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:46:05 - End Time 2025-04-09 04:46:05
[2025-04-09 04:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867185', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867185', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867185', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867185', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:46:18] Production.INFO: ProcessCDR(1,14867185,1,1,2)
[2025-04-09 04:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867185', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867185', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:46:22] Production.INFO: ==27336== Releasing lock...
[2025-04-09 04:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:46:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:47:01] Production.INFO: ==27431== Lock acquired, processing the job...
[2025-04-09 09:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:47:01] Production.INFO: neon service started
[2025-04-09 09:47:01] Production.INFO: neon service started
[2025-04-09 09:47:01] Production.INFO: ==27431== Releasing lock...
[2025-04-09 09:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:47:02] Production.INFO: ==27433== Lock acquired, processing the job...
[2025-04-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:47:02] Production.INFO: ==27435== Lock acquired, processing the job...
[2025-04-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:47:02] Production.INFO: ==27435== Releasing lock...
[2025-04-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:47:02] Production.INFO: ==27433== Releasing lock...
[2025-04-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:47:03] Production.INFO: ==27439== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:47:03] Production.INFO: ==27442== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:47:03] Production.INFO: ==27448== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:47:03] Production.INFO: ==27444== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:47:03] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:47:03] Production.INFO: ==27450== Lock acquired, processing the job...
[2025-04-09 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:47:03] Production.INFO: ==27442== Releasing lock...
[2025-04-09 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:47:03] Production.INFO: Account Balance Start.
[2025-04-09 04:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:47:03] Production.INFO: 117
[2025-04-09 04:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 04:47:04] Production.ERROR: done
[2025-04-09 04:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:47:04] Production.INFO: count ==12
[2025-04-09 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:47:04] Production.INFO: count ==23
[2025-04-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867189') start
[2025-04-09 04:47:04] Production.INFO: Total Charge 0
[2025-04-09 04:47:04] Production.INFO: CreateAllLog End
[2025-04-09 04:47:04] Production.ERROR: done
[2025-04-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867189') end
[2025-04-09 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:47:04] Production.INFO: 1
[2025-04-09 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:47:04] Production.INFO: ==27450== Releasing lock...
[2025-04-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:47:04] Production.INFO: Account Balance End.
[2025-04-09 04:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:47:04] Production.INFO: ==27446== Releasing lock...
[2025-04-09 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:47:05
[end_date_ymd] => 2025-04-09 04:47:05
[RateCDR] => 1
)
[2025-04-09 04:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:47:05' and `end` < '2025-04-09 04:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:47:11] Production.ERROR: CronJobId end10
[2025-04-09 04:47:11] Production.INFO: ==27444== Releasing lock...
[2025-04-09 04:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:47:14] Production.INFO: call_cost start
[2025-04-09 04:47:14] Production.INFO: call_cost end
[2025-04-09 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:47:15] Production.INFO: ==27439== Releasing lock...
[2025-04-09 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:47:18] Production.INFO: count ==148
[2025-04-09 04:47:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:47:05 - End Time 2025-04-09 04:47:05
[2025-04-09 04:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867190', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867190', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867190', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867190', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:47:18] Production.INFO: ProcessCDR(1,14867190,1,1,2)
[2025-04-09 04:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867190', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867190', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:47:21] Production.INFO: ==27448== Releasing lock...
[2025-04-09 04:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:47:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:48:02] Production.INFO: ==27538== Lock acquired, processing the job...
[2025-04-09 09:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:48:02] Production.INFO: neon service started
[2025-04-09 09:48:02] Production.INFO: neon service started
[2025-04-09 09:48:02] Production.INFO: ==27538== Releasing lock...
[2025-04-09 09:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:48:02] Production.INFO: ==27540== Lock acquired, processing the job...
[2025-04-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:48:02] Production.INFO: ==27540== Releasing lock...
[2025-04-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:48:03] Production.INFO: ==27542== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:48:03] Production.INFO: ==27542== Releasing lock...
[2025-04-09 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:48:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:48:03] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-04-09 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:48:03] Production.INFO: Account Balance Start.
[2025-04-09 04:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:48:03] Production.INFO: 117
[2025-04-09 04:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:48:04] Production.INFO: Total Charge 0
[2025-04-09 04:48:04] Production.INFO: CreateAllLog End
[2025-04-09 04:48:04] Production.INFO: ==27556== Lock acquired, processing the job...
[2025-04-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:48:04] Production.INFO: ==27546== Lock acquired, processing the job...
[2025-04-09 04:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:48:04] Production.INFO: ==27548== Lock acquired, processing the job...
[2025-04-09 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:48:04] Production.INFO: Account Balance End.
[2025-04-09 04:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:48:04] Production.INFO: ==27552== Releasing lock...
[2025-04-09 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:48:04] Production.INFO: ==27550== Lock acquired, processing the job...
[2025-04-09 04:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:48:04] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-04-09 04:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:48:04] Production.INFO: count ==12
[2025-04-09 04:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:48:04] Production.INFO: count ==23
[2025-04-09 04:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867192') start
[2025-04-09 04:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867192') end
[2025-04-09 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:48:04] Production.INFO: 1
[2025-04-09 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:48:04] Production.INFO: ==27556== Releasing lock...
[2025-04-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:48:04] Production.INFO: ==27548== Releasing lock...
[2025-04-09 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:48:04] Production.ERROR: done
[2025-04-09 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:48:04] Production.ERROR: done
[2025-04-09 04:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:48:06
[end_date_ymd] => 2025-04-09 04:48:06
[RateCDR] => 1
)
[2025-04-09 04: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-04-09 01:48:06' and `end` < '2025-04-09 04: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-04-09 04:48:13] Production.ERROR: CronJobId end10
[2025-04-09 04:48:13] Production.INFO: ==27550== Releasing lock...
[2025-04-09 04:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:48:14] Production.INFO: call_cost start
[2025-04-09 04:48:14] Production.INFO: call_cost end
[2025-04-09 04:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:48:15] Production.INFO: ==27546== Releasing lock...
[2025-04-09 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:48:19] Production.INFO: count ==147
[2025-04-09 04:48:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:48:06 - End Time 2025-04-09 04:48:06
[2025-04-09 04:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867195', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867195', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867195', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867195', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:48:19] Production.INFO: ProcessCDR(1,14867195,1,1,2)
[2025-04-09 04:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867195', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867195', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:48:22] Production.INFO: ==27554== Releasing lock...
[2025-04-09 04:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:48:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:49:01] Production.INFO: ==27650== Lock acquired, processing the job...
[2025-04-09 09:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:49:01] Production.INFO: neon service started
[2025-04-09 09:49:01] Production.INFO: neon service started
[2025-04-09 09:49:01] Production.INFO: ==27650== Releasing lock...
[2025-04-09 09:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:49:02] Production.INFO: ==27652== Lock acquired, processing the job...
[2025-04-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:49:02] Production.INFO: ==27652== Releasing lock...
[2025-04-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:49:02] Production.INFO: ==27654== Lock acquired, processing the job...
[2025-04-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:49:02] Production.INFO: ==27654== Releasing lock...
[2025-04-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:49:03] Production.INFO: ==27657== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:49:03] Production.INFO: ==27659== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:49:03] Production.INFO: ==27663== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:49:03] Production.INFO: ==27661== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:49:03] Production.INFO: Account Balance Start.
[2025-04-09 04:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:49:03] Production.INFO: 117
[2025-04-09 04:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:49:03] Production.INFO: ==27659== Releasing lock...
[2025-04-09 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:49:03] Production.INFO: ==27665== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:49:03] Production.INFO: ==27667== Lock acquired, processing the job...
[2025-04-09 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:49:03] Production.INFO: Total Charge 0
[2025-04-09 04:49:03] Production.INFO: CreateAllLog End
[2025-04-09 04:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:49:03] Production.INFO: count ==12
[2025-04-09 04:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:49:03] Production.INFO: count ==23
[2025-04-09 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867199') start
[2025-04-09 04:49:04] Production.ERROR: done
[2025-04-09 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867199') end
[2025-04-09 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:49:04] Production.INFO: 1
[2025-04-09 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:49:04] Production.INFO: Account Balance End.
[2025-04-09 04:49:04] Production.INFO: ==27667== Releasing lock...
[2025-04-09 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:49:04] Production.INFO: ==27663== Releasing lock...
[2025-04-09 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:49:04] Production.ERROR: done
[2025-04-09 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:49:05
[end_date_ymd] => 2025-04-09 04:49:05
[RateCDR] => 1
)
[2025-04-09 04:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:49:05' and `end` < '2025-04-09 04:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:49:12] Production.ERROR: CronJobId end10
[2025-04-09 04:49:12] Production.INFO: ==27661== Releasing lock...
[2025-04-09 04:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:49:14] Production.INFO: call_cost start
[2025-04-09 04:49:14] Production.INFO: call_cost end
[2025-04-09 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:49:15] Production.INFO: ==27657== Releasing lock...
[2025-04-09 04:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:49:18] Production.INFO: count ==147
[2025-04-09 04:49:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:49:05 - End Time 2025-04-09 04:49:05
[2025-04-09 04:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867200', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867200', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867200', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867200', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:49:18] Production.INFO: ProcessCDR(1,14867200,1,1,2)
[2025-04-09 04:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867200', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867200', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:49:21] Production.INFO: ==27665== Releasing lock...
[2025-04-09 04:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:49:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:50:02] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-04-09 09:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:50:02] Production.INFO: neon service started
[2025-04-09 09:50:02] Production.INFO: neon service started
[2025-04-09 09:50:02] Production.INFO: ==27759== Releasing lock...
[2025-04-09 09:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:50:02] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-04-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:50:02] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-04-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:50:02] Production.INFO: ==27763== Releasing lock...
[2025-04-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:50:03] Production.INFO: ==27761== Releasing lock...
[2025-04-09 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:50:03] Production.INFO: ==27768== Lock acquired, processing the job...
[2025-04-09 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:50:04] Production.INFO: ==27770== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:50:04] Production.INFO: ==27766== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 04:50:04] Production.INFO: ==27776== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:50:04] Production.INFO: ==27778== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 04:50:04] Production.ERROR: CronJob PID - 27768
[2025-04-09 04:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 04:50:04] Production.ERROR: CronJob ID - 5
[2025-04-09 04:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 04:50:00
[2025-04-09 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 04:50:04] Production.ERROR: CronJob PID - 27770
[2025-04-09 04:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 04:50:04] Production.ERROR: CronJob ID - 7
[2025-04-09 04:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 04:50:00
[2025-04-09 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 04:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 04:50:04] Production.INFO: ==27766== Releasing lock...
[2025-04-09 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 04:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:50:04] Production.INFO: ==27774== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:50:04] Production.INFO: ==27770== Releasing lock...
[2025-04-09 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:50:04] Production.INFO: ==27772== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:50:04] Production.INFO: ==27780== Lock acquired, processing the job...
[2025-04-09 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:50:04] Production.INFO: Account Balance Start.
[2025-04-09 04:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:50:04] Production.INFO: 117
[2025-04-09 04:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:50:04] Production.INFO: count ==12
[2025-04-09 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-04-09 04:50:04] Production.INFO: count ==23
[2025-04-09 04:50:04] Production.ERROR: done
[2025-04-09 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867204') start
[2025-04-09 04:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:50:05] Production.INFO: Date 2025-04-09
[2025-04-09 04:50:05] Production.INFO: Reseller ==> 0
[2025-04-09 04:50:05] Production.ERROR: done
[2025-04-09 04:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867204') end
[2025-04-09 04:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:50:05] Production.INFO: 1
[2025-04-09 04:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:50:05] Production.INFO: Total Charge 0
[2025-04-09 04:50:05] Production.INFO: CreateAllLog End
[2025-04-09 04:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 04:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867205', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 04:50:05] Production.INFO: ==27780== Releasing lock...
[2025-04-09 04:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:50:05] Production.ERROR: done
[2025-04-09 04:50:05] Production.INFO: Account Balance End.
[2025-04-09 04:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 04:50:05] Production.INFO: ==27774== Releasing lock...
[2025-04-09 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:50:06
[end_date_ymd] => 2025-04-09 04:50:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:50:06' and `end` < '2025-04-09 04:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867205', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 04:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 04:50:09] Production.INFO: ProcessCDR(1,14867205,1,1,2)
[2025-04-09 04:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:50:09] Production.INFO: ==27778== Releasing lock...
[2025-04-09 04:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 04:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 04:50:13] Production.ERROR: CronJobId end10
[2025-04-09 04:50:13] Production.INFO: ==27772== Releasing lock...
[2025-04-09 04:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:50:16] Production.INFO: call_cost start
[2025-04-09 04:50:16] Production.INFO: call_cost end
[2025-04-09 04:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:50:17] Production.INFO: ==27768== Releasing lock...
[2025-04-09 04:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:50:19] Production.INFO: count ==147
[2025-04-09 04:50:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:50:06 - End Time 2025-04-09 04:50:06
[2025-04-09 04:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867206', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867206', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867206', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867206', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:50:19] Production.INFO: ProcessCDR(1,14867206,1,1,2)
[2025-04-09 04:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867206', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867206', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:50:22] Production.INFO: ==27776== Releasing lock...
[2025-04-09 04:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:50:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:51:01] Production.INFO: ==27864== Lock acquired, processing the job...
[2025-04-09 09:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:51:01] Production.INFO: neon service started
[2025-04-09 09:51:01] Production.INFO: neon service started
[2025-04-09 09:51:01] Production.INFO: ==27864== Releasing lock...
[2025-04-09 09:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:51:02] Production.INFO: ==27866== Lock acquired, processing the job...
[2025-04-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:51:02] Production.INFO: ==27868== Lock acquired, processing the job...
[2025-04-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:51:02] Production.INFO: ==27868== Releasing lock...
[2025-04-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:51:02] Production.INFO: ==27866== Releasing lock...
[2025-04-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:51:03] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:51:03] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:51:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:51:03] Production.INFO: Account Balance Start.
[2025-04-09 04:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:51:03] Production.INFO: 117
[2025-04-09 04:51:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:51:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:51:03] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-04-09 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:51:03] Production.INFO: Total Charge 0
[2025-04-09 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:51:03] Production.INFO: CreateAllLog End
[2025-04-09 04:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:51:03] Production.INFO: count ==12
[2025-04-09 04:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:51:03] Production.INFO: count ==23
[2025-04-09 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867210') start
[2025-04-09 04:51:04] Production.INFO: ==27912== Releasing lock...
[2025-04-09 04:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867210') end
[2025-04-09 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:51:04] Production.INFO: 1
[2025-04-09 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:51:04] Production.INFO: Account Balance End.
[2025-04-09 04:51:04] Production.INFO: ==27920== Releasing lock...
[2025-04-09 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:51:04] Production.ERROR: done
[2025-04-09 04:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:51:04] Production.INFO: ==27916== Releasing lock...
[2025-04-09 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:51:04] Production.ERROR: done
[2025-04-09 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:51:05
[end_date_ymd] => 2025-04-09 04:51:05
[RateCDR] => 1
)
[2025-04-09 04:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:51:05' and `end` < '2025-04-09 04:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:51:11] Production.ERROR: CronJobId end10
[2025-04-09 04:51:11] Production.INFO: ==27914== Releasing lock...
[2025-04-09 04:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:51:14] Production.INFO: call_cost start
[2025-04-09 04:51:14] Production.INFO: call_cost end
[2025-04-09 04:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:51:15] Production.INFO: ==27910== Releasing lock...
[2025-04-09 04:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:51:19] Production.INFO: count ==147
[2025-04-09 04:51:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:51:05 - End Time 2025-04-09 04:51:05
[2025-04-09 04:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867211', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867211', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867211', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867211', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:51:19] Production.INFO: ProcessCDR(1,14867211,1,1,2)
[2025-04-09 04:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867211', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867211', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:51:22] Production.INFO: ==27918== Releasing lock...
[2025-04-09 04:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:51:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:52:01] Production.INFO: ==28009== Lock acquired, processing the job...
[2025-04-09 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:52:01] Production.INFO: neon service started
[2025-04-09 09:52:02] Production.INFO: neon service started
[2025-04-09 09:52:02] Production.INFO: ==28009== Releasing lock...
[2025-04-09 09:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:52:02] Production.INFO: ==28011== Lock acquired, processing the job...
[2025-04-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:52:02] Production.INFO: ==28011== Releasing lock...
[2025-04-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:52:02] Production.INFO: ==28013== Lock acquired, processing the job...
[2025-04-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:52:02] Production.INFO: ==28013== Releasing lock...
[2025-04-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:52:03] Production.INFO: ==28017== Lock acquired, processing the job...
[2025-04-09 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:52:03] Production.INFO: ==28015== Lock acquired, processing the job...
[2025-04-09 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:52:03] Production.INFO: ==28022== Lock acquired, processing the job...
[2025-04-09 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:52:03] Production.INFO: Account Balance Start.
[2025-04-09 04:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:52:03] Production.INFO: 117
[2025-04-09 04:52:03] Production.INFO: ==28017== Releasing lock...
[2025-04-09 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:52:03] Production.INFO: ==28020== Lock acquired, processing the job...
[2025-04-09 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:52:03] Production.INFO: Total Charge 0
[2025-04-09 04:52:03] Production.INFO: CreateAllLog End
[2025-04-09 04:52:03] Production.INFO: ==28024== Lock acquired, processing the job...
[2025-04-09 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:52:04] Production.INFO: ==28028== Lock acquired, processing the job...
[2025-04-09 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:52:04] Production.INFO: Account Balance End.
[2025-04-09 04:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:52:04] Production.INFO: ==28022== Releasing lock...
[2025-04-09 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:52:04] Production.ERROR: done
[2025-04-09 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:52:04] Production.INFO: count ==12
[2025-04-09 04:52:04] Production.ERROR: done
[2025-04-09 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:52:04] Production.INFO: count ==23
[2025-04-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867215') start
[2025-04-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867215') end
[2025-04-09 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:52:04] Production.INFO: 1
[2025-04-09 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:52:04] Production.INFO: ==28028== Releasing lock...
[2025-04-09 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:52:05
[end_date_ymd] => 2025-04-09 04:52:05
[RateCDR] => 1
)
[2025-04-09 04:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:52:05' and `end` < '2025-04-09 04:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:52:13] Production.ERROR: CronJobId end10
[2025-04-09 04:52:13] Production.INFO: ==28020== Releasing lock...
[2025-04-09 04:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:52:15] Production.INFO: call_cost start
[2025-04-09 04:52:15] Production.INFO: call_cost end
[2025-04-09 04:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:52:16] Production.INFO: ==28015== Releasing lock...
[2025-04-09 04:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:52:18] Production.INFO: count ==147
[2025-04-09 04:52:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:52:05 - End Time 2025-04-09 04:52:05
[2025-04-09 04:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867216', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867216', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867216', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867216', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:52:18] Production.INFO: ProcessCDR(1,14867216,1,1,2)
[2025-04-09 04:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867216', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867216', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:52:21] Production.INFO: ==28024== Releasing lock...
[2025-04-09 04:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:52:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:53:01] Production.INFO: ==28119== Lock acquired, processing the job...
[2025-04-09 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:53:01] Production.INFO: neon service started
[2025-04-09 09:53:01] Production.INFO: neon service started
[2025-04-09 09:53:01] Production.INFO: ==28119== Releasing lock...
[2025-04-09 09:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:53:02] Production.INFO: ==28121== Lock acquired, processing the job...
[2025-04-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:53:02] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-04-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:53:02] Production.INFO: ==28123== Releasing lock...
[2025-04-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:53:02] Production.INFO: ==28121== Releasing lock...
[2025-04-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:53:03] Production.INFO: ==28126== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:53:03] Production.INFO: ==28130== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:53:03] Production.INFO: ==28134== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:53:03] Production.INFO: ==28132== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:53:03] Production.INFO: ==28128== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:53:03] Production.INFO: ==28136== Lock acquired, processing the job...
[2025-04-09 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:53:03] Production.INFO: Account Balance Start.
[2025-04-09 04:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:53:03] Production.INFO: 117
[2025-04-09 04:53:03] Production.ERROR: done
[2025-04-09 04:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:53:04] Production.INFO: count ==12
[2025-04-09 04:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:53:04] Production.INFO: count ==23
[2025-04-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867220') start
[2025-04-09 04:53:04] Production.INFO: Total Charge 0
[2025-04-09 04:53:04] Production.INFO: CreateAllLog End
[2025-04-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867220') end
[2025-04-09 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:53:04] Production.INFO: 1
[2025-04-09 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:53:04] Production.ERROR: done
[2025-04-09 04:53:04] Production.INFO: ==28136== Releasing lock...
[2025-04-09 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:53:04] Production.INFO: ==28128== Releasing lock...
[2025-04-09 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:53:04] Production.INFO: Account Balance End.
[2025-04-09 04:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:53:04] Production.INFO: ==28132== Releasing lock...
[2025-04-09 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:53:05
[end_date_ymd] => 2025-04-09 04:53:05
[RateCDR] => 1
)
[2025-04-09 04:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:53:05' and `end` < '2025-04-09 04:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:53:11] Production.ERROR: CronJobId end10
[2025-04-09 04:53:11] Production.INFO: ==28130== Releasing lock...
[2025-04-09 04:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:53:14] Production.INFO: call_cost start
[2025-04-09 04:53:14] Production.INFO: call_cost end
[2025-04-09 04:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:53:15] Production.INFO: ==28126== Releasing lock...
[2025-04-09 04:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:53:18] Production.INFO: count ==146
[2025-04-09 04:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:53:05 - End Time 2025-04-09 04:53:05
[2025-04-09 04:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867221', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867221', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867221', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867221', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:53:18] Production.INFO: ProcessCDR(1,14867221,1,1,2)
[2025-04-09 04:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867221', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867221', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:53:21] Production.INFO: ==28134== Releasing lock...
[2025-04-09 04:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:53:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:54:02] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-04-09 09:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:54:02] Production.INFO: neon service started
[2025-04-09 09:54:02] Production.INFO: neon service started
[2025-04-09 09:54:02] Production.INFO: ==28228== Releasing lock...
[2025-04-09 09:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:54:02] Production.INFO: ==28230== Lock acquired, processing the job...
[2025-04-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:54:02] Production.INFO: ==28230== Releasing lock...
[2025-04-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:54:02] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-04-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:54:02] Production.INFO: ==28233== Releasing lock...
[2025-04-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:54:03] Production.INFO: ==28236== Lock acquired, processing the job...
[2025-04-09 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:54:03] Production.INFO: ==28238== Lock acquired, processing the job...
[2025-04-09 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:54:03] Production.INFO: ==28242== Lock acquired, processing the job...
[2025-04-09 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:54:03] Production.INFO: Account Balance Start.
[2025-04-09 04:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:54:03] Production.INFO: 117
[2025-04-09 04:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:54:03] Production.INFO: ==28240== Lock acquired, processing the job...
[2025-04-09 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:54:03] Production.INFO: Total Charge 0
[2025-04-09 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:54:03] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-04-09 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:54:04] Production.INFO: CreateAllLog End
[2025-04-09 04:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:54:04] Production.INFO: ==28238== Releasing lock...
[2025-04-09 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:54:04] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-04-09 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:54:04] Production.INFO: Account Balance End.
[2025-04-09 04:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:54:04] Production.INFO: ==28242== Releasing lock...
[2025-04-09 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 04:54:04] Production.INFO: count ==12
[2025-04-09 04:54:04] Production.ERROR: done
[2025-04-09 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-04-09 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:54:04] Production.INFO: count ==23
[2025-04-09 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867225') start
[2025-04-09 04:54:04] Production.ERROR: done
[2025-04-09 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867225') end
[2025-04-09 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:54:04] Production.INFO: 1
[2025-04-09 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:54:04] Production.INFO: ==28246== Releasing lock...
[2025-04-09 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:54:05
[end_date_ymd] => 2025-04-09 04:54:05
[RateCDR] => 1
)
[2025-04-09 04:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:54:05' and `end` < '2025-04-09 04:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:54:12] Production.ERROR: CronJobId end10
[2025-04-09 04:54:12] Production.INFO: ==28240== Releasing lock...
[2025-04-09 04:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:54:15] Production.INFO: call_cost start
[2025-04-09 04:54:15] Production.INFO: call_cost end
[2025-04-09 04:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:54:16] Production.INFO: ==28236== Releasing lock...
[2025-04-09 04:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:54:19] Production.INFO: count ==146
[2025-04-09 04:54:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:54:05 - End Time 2025-04-09 04:54:05
[2025-04-09 04:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867226', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867226', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867226', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867226', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:54:19] Production.INFO: ProcessCDR(1,14867226,1,1,2)
[2025-04-09 04:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867226', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867226', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:54:23] Production.INFO: ==28244== Releasing lock...
[2025-04-09 04:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:54:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:55:01] Production.INFO: ==28325== Lock acquired, processing the job...
[2025-04-09 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:55:01] Production.INFO: neon service started
[2025-04-09 09:55:01] Production.INFO: neon service started
[2025-04-09 09:55:01] Production.INFO: ==28325== Releasing lock...
[2025-04-09 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:55:01] Production.INFO: ==28327== Lock acquired, processing the job...
[2025-04-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:55:02] Production.INFO: ==28327== Releasing lock...
[2025-04-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:55:02] Production.INFO: ==28329== Lock acquired, processing the job...
[2025-04-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:55:02] Production.INFO: ==28329== Releasing lock...
[2025-04-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:55:03] Production.INFO: ==28337== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:55:03] Production.INFO: Account Balance Start.
[2025-04-09 04:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:55:03] Production.INFO: ==28339== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:55:03] Production.INFO: 117
[2025-04-09 04:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:55:03] Production.INFO: ==28333== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:55:03] Production.INFO: Total Charge 0
[2025-04-09 04:55:03] Production.INFO: ==28331== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:55:03] Production.INFO: ==28335== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:55:03] Production.INFO: CreateAllLog End
[2025-04-09 04:55:03] Production.INFO: ==28341== Lock acquired, processing the job...
[2025-04-09 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:55:03] Production.INFO: Account Balance End.
[2025-04-09 04:55:03] Production.ERROR: CronJobId end 12
[2025-04-09 04:55:03] Production.INFO: ==28337== Releasing lock...
[2025-04-09 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:55:03] Production.ERROR: done
[2025-04-09 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:55:03] Production.ERROR: done
[2025-04-09 04:55:03] Production.INFO: ==28333== Releasing lock...
[2025-04-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:55:04] Production.INFO: count ==12
[2025-04-09 04:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:55:04] Production.INFO: count ==23
[2025-04-09 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867228') start
[2025-04-09 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867228') end
[2025-04-09 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:55:04] Production.INFO: 1
[2025-04-09 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:55:04] Production.INFO: ==28341== Releasing lock...
[2025-04-09 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:55:04
[end_date_ymd] => 2025-04-09 04:55:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 01:55:04' and `end` < '2025-04-09 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-04-09 04:55:11] Production.ERROR: CronJobId end10
[2025-04-09 04:55:11] Production.INFO: ==28335== Releasing lock...
[2025-04-09 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:55:14] Production.INFO: call_cost start
[2025-04-09 04:55:14] Production.INFO: call_cost end
[2025-04-09 04:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:55:15] Production.INFO: ==28331== Releasing lock...
[2025-04-09 04:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:55:18] Production.INFO: count ==146
[2025-04-09 04:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:55:04 - End Time 2025-04-09 04:55:04
[2025-04-09 04:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867231', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867231', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867231', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867231', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:55:18] Production.INFO: ProcessCDR(1,14867231,1,1,2)
[2025-04-09 04:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867231', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867231', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:55:21] Production.INFO: ==28339== Releasing lock...
[2025-04-09 04:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:55:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:56:01] Production.INFO: ==28395== Lock acquired, processing the job...
[2025-04-09 09:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:56:01] Production.INFO: neon service started
[2025-04-09 09:56:01] Production.INFO: neon service started
[2025-04-09 09:56:01] Production.INFO: ==28395== Releasing lock...
[2025-04-09 09:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:56:02] Production.INFO: ==28397== Lock acquired, processing the job...
[2025-04-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:56:02] Production.INFO: ==28399== Lock acquired, processing the job...
[2025-04-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:56:02] Production.INFO: ==28399== Releasing lock...
[2025-04-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:56:03] Production.INFO: ==28397== Releasing lock...
[2025-04-09 04:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:56:03] Production.INFO: ==28408== Lock acquired, processing the job...
[2025-04-09 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:56:04] Production.INFO: ==28412== Lock acquired, processing the job...
[2025-04-09 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:56:04] Production.INFO: Account Balance Start.
[2025-04-09 04:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:56:04] Production.INFO: 117
[2025-04-09 04:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:56:04] Production.INFO: Total Charge 0
[2025-04-09 04:56:04] Production.INFO: CreateAllLog End
[2025-04-09 04:56:04] Production.INFO: ==28402== Lock acquired, processing the job...
[2025-04-09 04:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:56:04] Production.INFO: Account Balance End.
[2025-04-09 04:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:56:04] Production.INFO: ==28408== Releasing lock...
[2025-04-09 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:56:04] Production.INFO: ==28406== Lock acquired, processing the job...
[2025-04-09 04:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:56:04] Production.INFO: ==28404== Lock acquired, processing the job...
[2025-04-09 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:56:04] Production.INFO: ==28410== Lock acquired, processing the job...
[2025-04-09 04:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:56:04] Production.INFO: count ==12
[2025-04-09 04:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:56:04] Production.INFO: count ==23
[2025-04-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867233') start
[2025-04-09 04:56:04] Production.INFO: ==28404== Releasing lock...
[2025-04-09 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867233') end
[2025-04-09 04:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:56:04] Production.INFO: 1
[2025-04-09 04:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:56:04] Production.INFO: ==28412== Releasing lock...
[2025-04-09 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:56:04] Production.ERROR: done
[2025-04-09 04:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:56:05] Production.ERROR: done
[2025-04-09 04:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:56:06
[end_date_ymd] => 2025-04-09 04:56:06
[RateCDR] => 1
)
[2025-04-09 04: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-04-09 01:56:06' and `end` < '2025-04-09 04: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-04-09 04:56:12] Production.ERROR: CronJobId end10
[2025-04-09 04:56:12] Production.INFO: ==28406== Releasing lock...
[2025-04-09 04:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:56:15] Production.INFO: call_cost start
[2025-04-09 04:56:15] Production.INFO: call_cost end
[2025-04-09 04:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:56:16] Production.INFO: ==28402== Releasing lock...
[2025-04-09 04:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:56:20] Production.INFO: count ==146
[2025-04-09 04:56:20] Production.ERROR: pbx CDR StartTime 2025-04-09 01:56:06 - End Time 2025-04-09 04:56:06
[2025-04-09 04:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867236', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867236', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867236', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867236', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:56:20] Production.INFO: ProcessCDR(1,14867236,1,1,2)
[2025-04-09 04:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867236', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867236', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:56:23] Production.INFO: ==28410== Releasing lock...
[2025-04-09 04:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:56:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:57:01] Production.INFO: ==28468== Lock acquired, processing the job...
[2025-04-09 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:57:01] Production.INFO: neon service started
[2025-04-09 09:57:01] Production.INFO: neon service started
[2025-04-09 09:57:01] Production.INFO: ==28468== Releasing lock...
[2025-04-09 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:57:02] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-04-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:57:02] Production.INFO: ==28472== Lock acquired, processing the job...
[2025-04-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:57:02] Production.INFO: ==28472== Releasing lock...
[2025-04-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:57:02] Production.INFO: ==28470== Releasing lock...
[2025-04-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:57:03] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:57:03] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:57:03] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:57:03] Production.INFO: ==28479== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:57:03] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:57:03] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-04-09 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:57:03] Production.ERROR: done
[2025-04-09 04:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:57:03] Production.INFO: ==28477== Releasing lock...
[2025-04-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:57:03] Production.INFO: Account Balance Start.
[2025-04-09 04:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:57:03] Production.INFO: count ==12
[2025-04-09 04:57:03] Production.ERROR: done
[2025-04-09 04: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-04-09 04:57:03] Production.INFO: 117
[2025-04-09 04:57:03] Production.INFO: count ==23
[2025-04-09 04:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867239') start
[2025-04-09 04:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867239') end
[2025-04-09 04:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:57:03] Production.INFO: 1
[2025-04-09 04:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:57:04] Production.INFO: ==28485== Releasing lock...
[2025-04-09 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:57:04] Production.INFO: Total Charge 0
[2025-04-09 04:57:04] Production.INFO: CreateAllLog End
[2025-04-09 04:57:04] Production.INFO: Account Balance End.
[2025-04-09 04:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:57:04] Production.INFO: ==28481== Releasing lock...
[2025-04-09 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:57:05
[end_date_ymd] => 2025-04-09 04:57:05
[RateCDR] => 1
)
[2025-04-09 04:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:57:05' and `end` < '2025-04-09 04:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:57:11] Production.ERROR: CronJobId end10
[2025-04-09 04:57:11] Production.INFO: ==28479== Releasing lock...
[2025-04-09 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:57:14] Production.INFO: call_cost start
[2025-04-09 04:57:14] Production.INFO: call_cost end
[2025-04-09 04:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:57:15] Production.INFO: ==28475== Releasing lock...
[2025-04-09 04:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:57:18] Production.INFO: count ==148
[2025-04-09 04:57:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:57:05 - End Time 2025-04-09 04:57:05
[2025-04-09 04:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867241', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867241', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867241', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867241', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:57:18] Production.INFO: ProcessCDR(1,14867241,1,1,2)
[2025-04-09 04:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867241', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867241', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:57:21] Production.INFO: ==28483== Releasing lock...
[2025-04-09 04:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:57:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 09:58:01] Production.INFO: ==28540== Lock acquired, processing the job...
[2025-04-09 09:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:58:01] Production.INFO: neon service started
[2025-04-09 09:58:01] Production.INFO: neon service started
[2025-04-09 09:58:01] Production.INFO: ==28540== Releasing lock...
[2025-04-09 09:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:58:02] Production.INFO: ==28542== Lock acquired, processing the job...
[2025-04-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 04:58:02] Production.INFO: ==28542== Releasing lock...
[2025-04-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:58:02] Production.INFO: ==28544== Lock acquired, processing the job...
[2025-04-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:58:02] Production.INFO: ==28544== Releasing lock...
[2025-04-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:58:03] Production.INFO: ==28546== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:58:03] Production.INFO: ==28548== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:58:03] Production.INFO: ==28552== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:58:03] Production.INFO: Account Balance Start.
[2025-04-09 04:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 04:58:03] Production.INFO: 117
[2025-04-09 04:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 04:58:03] Production.INFO: ==28550== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:58:03] Production.INFO: ==28554== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 04:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 04:58:03] Production.INFO: Total Charge 0
[2025-04-09 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:58:03] Production.INFO: CreateAllLog End
[2025-04-09 04:58:03] Production.INFO: ==28556== Lock acquired, processing the job...
[2025-04-09 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:58:03] Production.INFO: ==28548== Releasing lock...
[2025-04-09 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04: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-04-09 04:58:04] Production.INFO: Account Balance End.
[2025-04-09 04:58:04] Production.ERROR: done
[2025-04-09 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:58:04] Production.INFO: ==28552== Releasing lock...
[2025-04-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:58:04] Production.INFO: count ==12
[2025-04-09 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:58:04] Production.INFO: count ==23
[2025-04-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867245') start
[2025-04-09 04:58:04] Production.ERROR: done
[2025-04-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867245') end
[2025-04-09 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:58:04] Production.INFO: 1
[2025-04-09 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:58:04] Production.INFO: ==28556== Releasing lock...
[2025-04-09 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:58:05
[end_date_ymd] => 2025-04-09 04:58:05
[RateCDR] => 1
)
[2025-04-09 04:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:58:05' and `end` < '2025-04-09 04:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:58:12] Production.ERROR: CronJobId end10
[2025-04-09 04:58:12] Production.INFO: ==28550== Releasing lock...
[2025-04-09 04:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:58:15] Production.INFO: call_cost start
[2025-04-09 04:58:15] Production.INFO: call_cost end
[2025-04-09 04:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:58:15] Production.INFO: ==28546== Releasing lock...
[2025-04-09 04:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:58:19] Production.INFO: count ==146
[2025-04-09 04:58:19] Production.ERROR: pbx CDR StartTime 2025-04-09 01:58:05 - End Time 2025-04-09 04:58:05
[2025-04-09 04:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867246', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867246', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867246', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867246', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:58:19] Production.INFO: ProcessCDR(1,14867246,1,1,2)
[2025-04-09 04:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867246', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867246', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:58:23] Production.INFO: ==28554== Releasing lock...
[2025-04-09 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:58:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 09:59:02] Production.INFO: ==28611== Lock acquired, processing the job...
[2025-04-09 09:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 09:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 09:59:02] Production.INFO: neon service started
[2025-04-09 09:59:02] Production.INFO: neon service started
[2025-04-09 09:59:02] Production.INFO: ==28611== Releasing lock...
[2025-04-09 09:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 09:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 04:59:02] Production.INFO: ==28613== Lock acquired, processing the job...
[2025-04-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:59:02] Production.INFO: ==28615== Lock acquired, processing the job...
[2025-04-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:59:03] Production.INFO: ==28615== Releasing lock...
[2025-04-09 08:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 08:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 04:59:03] Production.INFO: ==28613== Releasing lock...
[2025-04-09 04:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 04:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 04:59:04] Production.INFO: ==28618== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 04:59:04] Production.INFO: ==28620== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 04:59:04] Production.INFO: ==28624== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 04:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 04:59:04] Production.INFO: Account Balance Start.
[2025-04-09 04:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 04:59:04] Production.INFO: 117
[2025-04-09 04:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 04:59:04] Production.INFO: ==28622== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 04:59:04] Production.INFO: ==28626== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 04:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 04:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 04:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 04:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 04:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 04:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 04:59:04] Production.INFO: Total Charge 0
[2025-04-09 04:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 04:59:04] Production.INFO: ==28628== Lock acquired, processing the job...
[2025-04-09 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 04:59:04] Production.INFO: CreateAllLog End
[2025-04-09 04:59:04] Production.INFO: ==28620== Releasing lock...
[2025-04-09 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:59:04] Production.INFO: count ==12
[2025-04-09 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 04:59:04] Production.INFO: count ==23
[2025-04-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867250') start
[2025-04-09 04:59:04] Production.INFO: Account Balance End.
[2025-04-09 04:59:04] Production.ERROR: done
[2025-04-09 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 04:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 04:59:04] Production.INFO: ==28624== Releasing lock...
[2025-04-09 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867250') end
[2025-04-09 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 04:59:04] Production.INFO: 1
[2025-04-09 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 04:59:04] Production.INFO: ==28628== Releasing lock...
[2025-04-09 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 04:59:05] Production.ERROR: done
[2025-04-09 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 01:59:05
[end_date_ymd] => 2025-04-09 04:59:05
[RateCDR] => 1
)
[2025-04-09 04:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 01:59:05' and `end` < '2025-04-09 04:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 04:59:12] Production.ERROR: CronJobId end10
[2025-04-09 04:59:12] Production.INFO: ==28622== Releasing lock...
[2025-04-09 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 04:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 04:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 04:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 04:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 04:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 04:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 04:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 04:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 04:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 04:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 04:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 04:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 04:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 04:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 04:59:15] Production.INFO: call_cost start
[2025-04-09 04:59:15] Production.INFO: call_cost end
[2025-04-09 04:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 04:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 04:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 04:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 04:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 04:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 04:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 04:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 04:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 04:59:16] Production.INFO: ==28618== Releasing lock...
[2025-04-09 04:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 04:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 04:59:18] Production.INFO: count ==146
[2025-04-09 04:59:18] Production.ERROR: pbx CDR StartTime 2025-04-09 01:59:05 - End Time 2025-04-09 04:59:05
[2025-04-09 04:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867251', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867251', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867251', 'tblTempVendorCDR_20' ) start
[2025-04-09 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867251', 'tblTempVendorCDR_20' ) end
[2025-04-09 04:59:18] Production.INFO: ProcessCDR(1,14867251,1,1,2)
[2025-04-09 04:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 04:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 04:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867251', 'tblTempUsageDetail_20' ) start
[2025-04-09 04:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867251', 'tblTempUsageDetail_20' ) end
[2025-04-09 04:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 04:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 04:59:22] Production.INFO: ==28626== Releasing lock...
[2025-04-09 04:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 04:59:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:00:01] Production.INFO: ==28682== Lock acquired, processing the job...
[2025-04-09 10:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:00:01] Production.INFO: neon service started
[2025-04-09 10:00:01] Production.INFO: neon service started
[2025-04-09 10:00:01] Production.INFO: ==28682== Releasing lock...
[2025-04-09 10:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:00:02] Production.INFO: ==28687== Lock acquired, processing the job...
[2025-04-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:00:02] Production.INFO: ==28687== Releasing lock...
[2025-04-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:00:02] Production.INFO: ==28685== Lock acquired, processing the job...
[2025-04-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:00:02] Production.INFO: ==28685== Releasing lock...
[2025-04-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:00:03] Production.INFO: ==28693== Lock acquired, processing the job...
[2025-04-09 05:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:00:03] Production.INFO: ==28695== Lock acquired, processing the job...
[2025-04-09 05:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:00:03] Production.INFO: ==28703== Lock acquired, processing the job...
[2025-04-09 05:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:00:04] Production.INFO: ==28689== Lock acquired, processing the job...
[2025-04-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:00:04] Production.INFO: ==28691== Lock acquired, processing the job...
[2025-04-09 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:00:04] Production.INFO: ==28693== Releasing lock...
[2025-04-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:00:04] Production.ERROR: CronJob PID - 28691
[2025-04-09 05:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 05:00:04] Production.ERROR: CronJob ID - 5
[2025-04-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 05:00:00
[2025-04-09 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:00:04] Production.ERROR: CronJob PID - 28695
[2025-04-09 05:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 05:00:04] Production.ERROR: CronJob ID - 10
[2025-04-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 05:00:00
[2025-04-09 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:00:04] Production.ERROR: CronJob PID - 28703
[2025-04-09 05:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 05:00:04] Production.ERROR: CronJob ID - 19
[2025-04-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 05:00:00
[2025-04-09 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:00:04] Production.INFO: ==28689== Releasing lock...
[2025-04-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:00:04] Production.INFO: ==28697== Lock acquired, processing the job...
[2025-04-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:00:04] Production.INFO: ==28701== Lock acquired, processing the job...
[2025-04-09 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:00:04] Production.INFO: Account Balance Start.
[2025-04-09 05:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:00:04] Production.INFO: 117
[2025-04-09 05:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:00:04] Production.INFO: ==28699== Lock acquired, processing the job...
[2025-04-09 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:00:04] Production.INFO: Total Charge 0
[2025-04-09 05:00:04] Production.INFO: CreateAllLog End
[2025-04-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:00:04] Production.ERROR: done
[2025-04-09 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867256', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:00:04] Production.INFO: Account Balance End.
[2025-04-09 05:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:00:04] Production.INFO: ==28697== Releasing lock...
[2025-04-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:00:05] Production.ERROR: done
[2025-04-09 05:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:00:05] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:00:05] Production.INFO: count ==23
[2025-04-09 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867253') start
[2025-04-09 05:00:05] Production.ERROR: done
[2025-04-09 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867253') end
[2025-04-09 05:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:00:05] Production.INFO: 1
[2025-04-09 05:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:00:05] Production.INFO: ==28703== Releasing lock...
[2025-04-09 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:00:06
[end_date_ymd] => 2025-04-09 05:00:06
[RateCDR] => 1
)
[2025-04-09 05:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:00:06' and `end` < '2025-04-09 05:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867256', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:00:09] Production.INFO: ProcessCDR(1,14867256,1,1,2)
[2025-04-09 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867256,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867256,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:00:09] Production.INFO: ==28701== Releasing lock...
[2025-04-09 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:00:13] Production.ERROR: CronJobId end10
[2025-04-09 05:00:13] Production.INFO: ==28695== Releasing lock...
[2025-04-09 05:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:00:16] Production.INFO: call_cost start
[2025-04-09 05:00:16] Production.INFO: call_cost end
[2025-04-09 05:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:00:17] Production.INFO: ==28691== Releasing lock...
[2025-04-09 05:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:00:19] Production.INFO: count ==143
[2025-04-09 05:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:00:06 - End Time 2025-04-09 05:00:06
[2025-04-09 05:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867257', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867257', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867257', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867257', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:00:19] Production.INFO: ProcessCDR(1,14867257,1,1,2)
[2025-04-09 05:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867257', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867257', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:00:24] Production.INFO: ==28699== Releasing lock...
[2025-04-09 05:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:00:24] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:01:02] Production.INFO: ==28760== Lock acquired, processing the job...
[2025-04-09 10:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:01:02] Production.INFO: neon service started
[2025-04-09 10:01:02] Production.INFO: neon service started
[2025-04-09 10:01:02] Production.INFO: ==28760== Releasing lock...
[2025-04-09 10:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:01:02] Production.INFO: ==28774== Lock acquired, processing the job...
[2025-04-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:01:02] Production.INFO: ==28774== Releasing lock...
[2025-04-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:01:02] Production.INFO: ==28772== Lock acquired, processing the job...
[2025-04-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:01:03] Production.INFO: ==28772== Releasing lock...
[2025-04-09 05:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:01:03] Production.INFO: ==28779== Lock acquired, processing the job...
[2025-04-09 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:01:03] Production.INFO: ==28783== Lock acquired, processing the job...
[2025-04-09 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:01:04] Production.INFO: ==28777== Lock acquired, processing the job...
[2025-04-09 05:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:01:04] Production.INFO: Account Balance Start.
[2025-04-09 05:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:01:04] Production.INFO: 117
[2025-04-09 05:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:01:04] Production.INFO: ==28781== Lock acquired, processing the job...
[2025-04-09 05:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:01:04] Production.INFO: ==28785== Lock acquired, processing the job...
[2025-04-09 05:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:01:04] Production.INFO: Total Charge 0
[2025-04-09 05:01:04] Production.INFO: CreateAllLog End
[2025-04-09 05:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:01:04] Production.INFO: ==28787== Lock acquired, processing the job...
[2025-04-09 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:01:04] Production.INFO: ==28779== Releasing lock...
[2025-04-09 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:01:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 05:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:01:04] Production.INFO: ==28783== Releasing lock...
[2025-04-09 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:01:04] Production.INFO: count ==12
[2025-04-09 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-04-09 05:01:04] Production.INFO: count ==23
[2025-04-09 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867261') start
[2025-04-09 05:01:04] Production.ERROR: done
[2025-04-09 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867261') end
[2025-04-09 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:01:04] Production.INFO: 1
[2025-04-09 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:01:04] Production.INFO: ==28787== Releasing lock...
[2025-04-09 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:01:05] Production.ERROR: done
[2025-04-09 05:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:01:06
[end_date_ymd] => 2025-04-09 05:01:06
[RateCDR] => 1
)
[2025-04-09 05:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:01:06' and `end` < '2025-04-09 05:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:01:12] Production.ERROR: CronJobId end10
[2025-04-09 05:01:12] Production.INFO: ==28781== Releasing lock...
[2025-04-09 05:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:01:15] Production.INFO: call_cost start
[2025-04-09 05:01:15] Production.INFO: call_cost end
[2025-04-09 05:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:01:16] Production.INFO: ==28777== Releasing lock...
[2025-04-09 05:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:01:20] Production.INFO: count ==143
[2025-04-09 05:01:20] Production.ERROR: pbx CDR StartTime 2025-04-09 02:01:06 - End Time 2025-04-09 05:01:06
[2025-04-09 05:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867262', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867262', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867262', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867262', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:01:20] Production.INFO: ProcessCDR(1,14867262,1,1,2)
[2025-04-09 05:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867262', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867262', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:01:23] Production.INFO: ==28785== Releasing lock...
[2025-04-09 05:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:01:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:02:01] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-04-09 10:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:02:01] Production.INFO: neon service started
[2025-04-09 10:02:01] Production.INFO: neon service started
[2025-04-09 10:02:01] Production.INFO: ==28839== Releasing lock...
[2025-04-09 10:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:02:02] Production.INFO: ==28841== Lock acquired, processing the job...
[2025-04-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:02:02] Production.INFO: ==28841== Releasing lock...
[2025-04-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:02:02] Production.INFO: ==28843== Lock acquired, processing the job...
[2025-04-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:02:02] Production.INFO: ==28843== Releasing lock...
[2025-04-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:02:03] Production.INFO: ==28854== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:02:03] Production.INFO: ==28852== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:02:03] Production.INFO: Account Balance Start.
[2025-04-09 05:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:02:03] Production.INFO: 117
[2025-04-09 05:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:02:03] Production.INFO: Total Charge 0
[2025-04-09 05:02:03] Production.INFO: CreateAllLog End
[2025-04-09 05:02:03] Production.INFO: ==28846== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:02:03] Production.INFO: ==28850== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:02:03] Production.INFO: ==28848== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:02:03] Production.INFO: ==28856== Lock acquired, processing the job...
[2025-04-09 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:02:03] Production.ERROR: done
[2025-04-09 05:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:02:03] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 05:02:03] Production.ERROR: CronJobId end 12
[2025-04-09 05:02:03] Production.INFO: ==28852== Releasing lock...
[2025-04-09 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:02:03] Production.INFO: count ==12
[2025-04-09 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-04-09 05:02:03] Production.INFO: count ==23
[2025-04-09 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867264') start
[2025-04-09 05:02:04] Production.ERROR: done
[2025-04-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867264') end
[2025-04-09 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:02:04] Production.INFO: 1
[2025-04-09 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:02:04] Production.INFO: ==28856== Releasing lock...
[2025-04-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:02:04] Production.INFO: ==28848== Releasing lock...
[2025-04-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:02:05
[end_date_ymd] => 2025-04-09 05:02:05
[RateCDR] => 1
)
[2025-04-09 05:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:02:05' and `end` < '2025-04-09 05:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:02:11] Production.ERROR: CronJobId end10
[2025-04-09 05:02:11] Production.INFO: ==28850== Releasing lock...
[2025-04-09 05:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:02:14] Production.INFO: call_cost start
[2025-04-09 05:02:14] Production.INFO: call_cost end
[2025-04-09 05:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:02:15] Production.INFO: ==28846== Releasing lock...
[2025-04-09 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:02:18] Production.INFO: count ==143
[2025-04-09 05:02:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:02:05 - End Time 2025-04-09 05:02:05
[2025-04-09 05:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867267', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867267', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867267', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867267', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:02:18] Production.INFO: ProcessCDR(1,14867267,1,1,2)
[2025-04-09 05:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867267', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867267', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:02:21] Production.INFO: ==28854== Releasing lock...
[2025-04-09 05:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:02:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:03:02] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-04-09 10:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:03:02] Production.INFO: neon service started
[2025-04-09 10:03:02] Production.INFO: neon service started
[2025-04-09 10:03:02] Production.INFO: ==28912== Releasing lock...
[2025-04-09 10:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:03:02] Production.INFO: ==28916== Lock acquired, processing the job...
[2025-04-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:03:02] Production.INFO: ==28916== Releasing lock...
[2025-04-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:03:02] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-04-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:03:02] Production.INFO: ==28914== Releasing lock...
[2025-04-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:03:03] Production.INFO: ==28923== Lock acquired, processing the job...
[2025-04-09 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:03:03] Production.INFO: ==28919== Lock acquired, processing the job...
[2025-04-09 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:03:03] Production.INFO: ==28929== Lock acquired, processing the job...
[2025-04-09 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:03:04] Production.INFO: ==28921== Lock acquired, processing the job...
[2025-04-09 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:03:04] Production.INFO: ==28925== Lock acquired, processing the job...
[2025-04-09 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:03:04] Production.INFO: ==28927== Lock acquired, processing the job...
[2025-04-09 05:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05: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-04-09 05:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:03:04] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:03:04] Production.INFO: Account Balance Start.
[2025-04-09 05:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:03:04] Production.INFO: count ==23
[2025-04-09 05:03:04] Production.INFO: 117
[2025-04-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867270') start
[2025-04-09 05:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:03:04] Production.INFO: ==28921== Releasing lock...
[2025-04-09 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:03:04] Production.INFO: Total Charge 0
[2025-04-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867270') end
[2025-04-09 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:03:04] Production.INFO: 1
[2025-04-09 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:03:04] Production.INFO: CreateAllLog End
[2025-04-09 05:03:04] Production.INFO: ==28929== Releasing lock...
[2025-04-09 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:03:04] Production.ERROR: done
[2025-04-09 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:03:04] Production.INFO: Account Balance End.
[2025-04-09 05:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:03:04] Production.INFO: ==28925== Releasing lock...
[2025-04-09 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:03:04] Production.ERROR: done
[2025-04-09 05:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:03:06
[end_date_ymd] => 2025-04-09 05:03:06
[RateCDR] => 1
)
[2025-04-09 05:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:03:06' and `end` < '2025-04-09 05:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:03:11] Production.ERROR: CronJobId end10
[2025-04-09 05:03:11] Production.INFO: ==28923== Releasing lock...
[2025-04-09 05:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:03:15] Production.INFO: call_cost start
[2025-04-09 05:03:15] Production.INFO: call_cost end
[2025-04-09 05:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:03:15] Production.INFO: ==28919== Releasing lock...
[2025-04-09 05:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:03:19] Production.INFO: count ==143
[2025-04-09 05:03:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:03:06 - End Time 2025-04-09 05:03:06
[2025-04-09 05:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867272', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867272', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867272', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867272', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:03:19] Production.INFO: ProcessCDR(1,14867272,1,1,2)
[2025-04-09 05:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867272', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867272', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:03:23] Production.INFO: ==28927== Releasing lock...
[2025-04-09 05:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:03:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:04:01] Production.INFO: ==28984== Lock acquired, processing the job...
[2025-04-09 10:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:04:01] Production.INFO: neon service started
[2025-04-09 10:04:01] Production.INFO: neon service started
[2025-04-09 10:04:01] Production.INFO: ==28984== Releasing lock...
[2025-04-09 10:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:04:01] Production.INFO: ==28986== Lock acquired, processing the job...
[2025-04-09 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:04:02] Production.INFO: ==28986== Releasing lock...
[2025-04-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:04:02] Production.INFO: ==28988== Lock acquired, processing the job...
[2025-04-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:04:02] Production.INFO: ==28988== Releasing lock...
[2025-04-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:04:03] Production.INFO: ==28991== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:04:03] Production.INFO: ==28995== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:04:03] Production.INFO: ==28999== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:04:03] Production.INFO: ==28993== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:04:03] Production.INFO: ==28997== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:04:03] Production.ERROR: done
[2025-04-09 05:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:04:03] Production.INFO: ==29001== Lock acquired, processing the job...
[2025-04-09 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:04:03] Production.INFO: Account Balance Start.
[2025-04-09 05:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:04:03] Production.INFO: 117
[2025-04-09 05:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:04:03] Production.ERROR: done
[2025-04-09 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-04-09 05:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:04:03] Production.INFO: Total Charge 0
[2025-04-09 05:04:03] Production.INFO: count ==12
[2025-04-09 05:04:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 05:04:03] Production.INFO: count ==23
[2025-04-09 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867276') start
[2025-04-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867276') end
[2025-04-09 05:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:04:04] Production.INFO: 1
[2025-04-09 05:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:04:04] Production.INFO: Account Balance End.
[2025-04-09 05:04:04] Production.INFO: ==29001== Releasing lock...
[2025-04-09 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:04:04] Production.INFO: ==28993== Releasing lock...
[2025-04-09 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:04:04] Production.INFO: ==28997== Releasing lock...
[2025-04-09 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:04:04
[end_date_ymd] => 2025-04-09 05:04:04
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:04:04' and `end` < '2025-04-09 05: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-04-09 05:04:11] Production.ERROR: CronJobId end10
[2025-04-09 05:04:11] Production.INFO: ==28995== Releasing lock...
[2025-04-09 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:04:14] Production.INFO: call_cost start
[2025-04-09 05:04:14] Production.INFO: call_cost end
[2025-04-09 05:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:04:15] Production.INFO: ==28991== Releasing lock...
[2025-04-09 05:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:04:17] Production.INFO: count ==143
[2025-04-09 05:04:17] Production.ERROR: pbx CDR StartTime 2025-04-09 02:04:04 - End Time 2025-04-09 05:04:04
[2025-04-09 05:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867277', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867277', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867277', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867277', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:04:17] Production.INFO: ProcessCDR(1,14867277,1,1,2)
[2025-04-09 05:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867277', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867277', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:04:21] Production.INFO: ==28999== Releasing lock...
[2025-04-09 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:04:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:05:02] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-04-09 10:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:05:02] Production.INFO: neon service started
[2025-04-09 10:05:02] Production.INFO: neon service started
[2025-04-09 10:05:02] Production.INFO: ==29055== Releasing lock...
[2025-04-09 10:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:05:02] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-04-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:05:02] Production.INFO: ==29059== Releasing lock...
[2025-04-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:05:02] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-04-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:05:02] Production.INFO: ==29057== Releasing lock...
[2025-04-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:05:03] Production.INFO: ==29068== Lock acquired, processing the job...
[2025-04-09 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:05:03] Production.INFO: ==29070== Lock acquired, processing the job...
[2025-04-09 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:05:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-04-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:05:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-04-09 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:05:03] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-04-09 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:05:04] Production.INFO: Account Balance Start.
[2025-04-09 05:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:05:04] Production.INFO: 117
[2025-04-09 05:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:05:04] Production.INFO: ==29072== Lock acquired, processing the job...
[2025-04-09 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:05:04] Production.INFO: Total Charge 0
[2025-04-09 05:05:04] Production.INFO: CreateAllLog End
[2025-04-09 05:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:05:04] Production.INFO: ==29064== Releasing lock...
[2025-04-09 05:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:05:04] Production.ERROR: done
[2025-04-09 05:05:04] Production.INFO: Account Balance End.
[2025-04-09 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:05:04] Production.INFO: ==29068== Releasing lock...
[2025-04-09 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:05:04] Production.INFO: count ==12
[2025-04-09 05:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:05:04] Production.ERROR: done
[2025-04-09 05:05:04] Production.INFO: count ==23
[2025-04-09 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867281') start
[2025-04-09 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867281') end
[2025-04-09 05:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:05:04] Production.INFO: 1
[2025-04-09 05:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:05:04] Production.INFO: ==29072== Releasing lock...
[2025-04-09 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:05:05
[end_date_ymd] => 2025-04-09 05:05:05
[RateCDR] => 1
)
[2025-04-09 05:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:05:05' and `end` < '2025-04-09 05:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:05:12] Production.ERROR: CronJobId end10
[2025-04-09 05:05:12] Production.INFO: ==29066== Releasing lock...
[2025-04-09 05:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:05:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:05:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:05:14] Production.INFO: call_cost start
[2025-04-09 05:05:14] Production.INFO: call_cost end
[2025-04-09 05:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:05:15] Production.INFO: ==29062== Releasing lock...
[2025-04-09 05:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:05:18] Production.INFO: count ==143
[2025-04-09 05:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:05:05 - End Time 2025-04-09 05:05:05
[2025-04-09 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867282', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867282', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867282', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867282', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:05:18] Production.INFO: ProcessCDR(1,14867282,1,1,2)
[2025-04-09 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867282', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867282', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:05:22] Production.INFO: ==29070== Releasing lock...
[2025-04-09 05:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:05:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:06:01] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-04-09 10:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:06:01] Production.INFO: neon service started
[2025-04-09 10:06:01] Production.INFO: neon service started
[2025-04-09 10:06:01] Production.INFO: ==29125== Releasing lock...
[2025-04-09 10:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:06:02] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-04-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:06:02] Production.INFO: ==29127== Releasing lock...
[2025-04-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:06:02] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-04-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:06:02] Production.INFO: ==29129== Releasing lock...
[2025-04-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:06:03] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:06:03] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:06:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:06:03] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:06:03] Production.INFO: Account Balance Start.
[2025-04-09 05:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:06:03] Production.INFO: 117
[2025-04-09 05:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:06:03] Production.INFO: Total Charge 0
[2025-04-09 05:06:03] Production.INFO: CreateAllLog End
[2025-04-09 05:06:03] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:06:03] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-04-09 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:06:03] Production.INFO: Account Balance End.
[2025-04-09 05:06:03] Production.INFO: ==29134== Releasing lock...
[2025-04-09 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:06:04] Production.INFO: ==29138== Releasing lock...
[2025-04-09 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:06:04] Production.INFO: count ==12
[2025-04-09 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:06:04] Production.INFO: count ==23
[2025-04-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867286') start
[2025-04-09 05:06:04] Production.ERROR: done
[2025-04-09 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867286') end
[2025-04-09 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:06:04] Production.INFO: 1
[2025-04-09 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:06:04] Production.INFO: ==29142== Releasing lock...
[2025-04-09 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:06:04] Production.ERROR: done
[2025-04-09 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:06:05
[end_date_ymd] => 2025-04-09 05:06:05
[RateCDR] => 1
)
[2025-04-09 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:06:05' and `end` < '2025-04-09 05:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:06:11] Production.ERROR: CronJobId end10
[2025-04-09 05:06:11] Production.INFO: ==29136== Releasing lock...
[2025-04-09 05:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:06:14] Production.INFO: call_cost start
[2025-04-09 05:06:14] Production.INFO: call_cost end
[2025-04-09 05:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:06:15] Production.INFO: ==29132== Releasing lock...
[2025-04-09 05:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:06:18] Production.INFO: count ==143
[2025-04-09 05:06:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:06:05 - End Time 2025-04-09 05:06:05
[2025-04-09 05:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867287', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867287', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867287', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867287', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:06:18] Production.INFO: ProcessCDR(1,14867287,1,1,2)
[2025-04-09 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867287', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867287', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:06:21] Production.INFO: ==29140== Releasing lock...
[2025-04-09 05:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:06:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:07:02] Production.INFO: ==29235== Lock acquired, processing the job...
[2025-04-09 10:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:07:02] Production.INFO: neon service started
[2025-04-09 10:07:02] Production.INFO: neon service started
[2025-04-09 10:07:02] Production.INFO: ==29235== Releasing lock...
[2025-04-09 10:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:07:02] Production.INFO: ==29239== Lock acquired, processing the job...
[2025-04-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:07:02] Production.INFO: ==29239== Releasing lock...
[2025-04-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:07:02] Production.INFO: ==29237== Lock acquired, processing the job...
[2025-04-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:07:02] Production.INFO: ==29237== Releasing lock...
[2025-04-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:07:03] Production.INFO: ==29246== Lock acquired, processing the job...
[2025-04-09 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:07:03] Production.INFO: ==29252== Lock acquired, processing the job...
[2025-04-09 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:07:03] Production.INFO: ==29242== Lock acquired, processing the job...
[2025-04-09 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05: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-04-09 05:07:04] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:07:04] Production.INFO: ==29244== Lock acquired, processing the job...
[2025-04-09 05:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:07:04] Production.INFO: count ==23
[2025-04-09 05:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867288') start
[2025-04-09 05:07:04] Production.INFO: ==29248== Lock acquired, processing the job...
[2025-04-09 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:07:04] Production.INFO: ==29250== Lock acquired, processing the job...
[2025-04-09 05:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867288') end
[2025-04-09 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:07:04] Production.INFO: 1
[2025-04-09 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:07:04] Production.INFO: ==29252== Releasing lock...
[2025-04-09 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:07:04] Production.INFO: Account Balance Start.
[2025-04-09 05:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:07:04] Production.INFO: 117
[2025-04-09 05:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:07:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:07:04] Production.INFO: ==29244== Releasing lock...
[2025-04-09 05:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:07:04] Production.INFO: Total Charge 0
[2025-04-09 05:07:04] Production.INFO: CreateAllLog End
[2025-04-09 05:07:04] Production.ERROR: done
[2025-04-09 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:07:04] Production.INFO: Account Balance End.
[2025-04-09 05:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:07:04] Production.INFO: ==29248== Releasing lock...
[2025-04-09 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:07:04] Production.ERROR: done
[2025-04-09 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:07:05
[end_date_ymd] => 2025-04-09 05:07:05
[RateCDR] => 1
)
[2025-04-09 05:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:07:05' and `end` < '2025-04-09 05:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:07:11] Production.ERROR: CronJobId end10
[2025-04-09 05:07:11] Production.INFO: ==29246== Releasing lock...
[2025-04-09 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:07:14] Production.INFO: call_cost start
[2025-04-09 05:07:14] Production.INFO: call_cost end
[2025-04-09 05:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:07:15] Production.INFO: ==29242== Releasing lock...
[2025-04-09 05:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:07:18] Production.INFO: count ==143
[2025-04-09 05:07:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:07:05 - End Time 2025-04-09 05:07:05
[2025-04-09 05:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867292', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867292', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867292', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867292', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:07:19] Production.INFO: ProcessCDR(1,14867292,1,1,2)
[2025-04-09 05:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867292', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867292', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:07:22] Production.INFO: ==29250== Releasing lock...
[2025-04-09 05:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:07:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:08:01] Production.INFO: ==29306== Lock acquired, processing the job...
[2025-04-09 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:08:01] Production.INFO: neon service started
[2025-04-09 10:08:01] Production.INFO: neon service started
[2025-04-09 10:08:01] Production.INFO: ==29306== Releasing lock...
[2025-04-09 10:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:08:01] Production.INFO: ==29308== Lock acquired, processing the job...
[2025-04-09 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:08:02] Production.INFO: ==29308== Releasing lock...
[2025-04-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:08:02] Production.INFO: ==29310== Lock acquired, processing the job...
[2025-04-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:08:02] Production.INFO: ==29310== Releasing lock...
[2025-04-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:08:03] Production.INFO: ==29320== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:08:03] Production.INFO: ==29322== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 05:08:03] Production.INFO: count ==12
[2025-04-09 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-04-09 05:08:03] Production.INFO: count ==23
[2025-04-09 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867293') start
[2025-04-09 05:08:03] Production.INFO: ==29318== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:08:03] Production.INFO: ==29312== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: ==29314== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:08:03] Production.INFO: ==29316== Lock acquired, processing the job...
[2025-04-09 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:08:03] Production.ERROR: done
[2025-04-09 05:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867293') end
[2025-04-09 05:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:08:03] Production.INFO: 1
[2025-04-09 05:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:08:03] Production.INFO: Account Balance Start.
[2025-04-09 05:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:08:03] Production.INFO: 117
[2025-04-09 05:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:08:03] Production.INFO: ==29322== Releasing lock...
[2025-04-09 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:08:03] Production.ERROR: done
[2025-04-09 05:08:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:08:03] Production.INFO: Total Charge 0
[2025-04-09 05:08:03] Production.INFO: CreateAllLog End
[2025-04-09 05:08:04] Production.INFO: ==29314== Releasing lock...
[2025-04-09 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:08:04] Production.INFO: Account Balance End.
[2025-04-09 05:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:08:04] Production.INFO: ==29318== Releasing lock...
[2025-04-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:08:04
[end_date_ymd] => 2025-04-09 05:08:04
[RateCDR] => 1
)
[2025-04-09 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:08:04' and `end` < '2025-04-09 05: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-04-09 05:08:12] Production.ERROR: CronJobId end10
[2025-04-09 05:08:12] Production.INFO: ==29316== Releasing lock...
[2025-04-09 05:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:08:14] Production.INFO: call_cost start
[2025-04-09 05:08:14] Production.INFO: call_cost end
[2025-04-09 05:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:08:15] Production.INFO: ==29312== Releasing lock...
[2025-04-09 05:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:08:17] Production.INFO: count ==143
[2025-04-09 05:08:17] Production.ERROR: pbx CDR StartTime 2025-04-09 02:08:04 - End Time 2025-04-09 05:08:04
[2025-04-09 05:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867297', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867297', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867297', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867297', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:08:17] Production.INFO: ProcessCDR(1,14867297,1,1,2)
[2025-04-09 05:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867297', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867297', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:08:21] Production.INFO: ==29320== Releasing lock...
[2025-04-09 05:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:08:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:09:01] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-04-09 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:09:01] Production.INFO: neon service started
[2025-04-09 10:09:01] Production.INFO: neon service started
[2025-04-09 10:09:01] Production.INFO: ==29377== Releasing lock...
[2025-04-09 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:09:02] Production.INFO: ==29381== Lock acquired, processing the job...
[2025-04-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:09:02] Production.INFO: ==29381== Releasing lock...
[2025-04-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:09:02] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-04-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:09:02] Production.INFO: ==29379== Releasing lock...
[2025-04-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:09:03] Production.INFO: ==29384== Lock acquired, processing the job...
[2025-04-09 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:09:03] Production.INFO: ==29386== Lock acquired, processing the job...
[2025-04-09 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:09:03] Production.INFO: ==29388== Lock acquired, processing the job...
[2025-04-09 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:09:03] Production.INFO: ==29386== Releasing lock...
[2025-04-09 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:09:03] Production.INFO: ==29390== Lock acquired, processing the job...
[2025-04-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:09:04] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-04-09 05:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:09:04] Production.INFO: ==29394== Lock acquired, processing the job...
[2025-04-09 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:09:04] Production.INFO: Account Balance Start.
[2025-04-09 05:09:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:09:04] Production.INFO: 117
[2025-04-09 05:09:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:09:04] Production.INFO: Total Charge 0
[2025-04-09 05:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:09:04] Production.INFO: CreateAllLog End
[2025-04-09 05:09:04] Production.INFO: count ==12
[2025-04-09 05:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:09:04] Production.INFO: count ==23
[2025-04-09 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867301') start
[2025-04-09 05:09:04] Production.ERROR: done
[2025-04-09 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867301') end
[2025-04-09 05:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:09:04] Production.INFO: 1
[2025-04-09 05:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:09:04] Production.INFO: ==29394== Releasing lock...
[2025-04-09 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:09:04] Production.INFO: Account Balance End.
[2025-04-09 05:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:09:04] Production.INFO: ==29390== Releasing lock...
[2025-04-09 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:09:04] Production.ERROR: done
[2025-04-09 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:09:05
[end_date_ymd] => 2025-04-09 05:09:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:09:05' and `end` < '2025-04-09 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-04-09 05:09:11] Production.ERROR: CronJobId end10
[2025-04-09 05:09:11] Production.INFO: ==29388== Releasing lock...
[2025-04-09 05:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:09:15] Production.INFO: call_cost start
[2025-04-09 05:09:15] Production.INFO: call_cost end
[2025-04-09 05:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:09:15] Production.INFO: ==29384== Releasing lock...
[2025-04-09 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:09:18] Production.INFO: count ==143
[2025-04-09 05:09:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:09:05 - End Time 2025-04-09 05:09:05
[2025-04-09 05:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867302', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867302', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867302', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867302', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:09:18] Production.INFO: ProcessCDR(1,14867302,1,1,2)
[2025-04-09 05:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867302', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867302', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:09:21] Production.INFO: ==29392== Releasing lock...
[2025-04-09 05:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:09:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:10:01] Production.INFO: ==29454== Lock acquired, processing the job...
[2025-04-09 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:10:01] Production.INFO: neon service started
[2025-04-09 10:10:01] Production.INFO: neon service started
[2025-04-09 10:10:01] Production.INFO: ==29454== Releasing lock...
[2025-04-09 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:10:01] Production.INFO: ==29456== Lock acquired, processing the job...
[2025-04-09 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:10:02] Production.INFO: ==29456== Releasing lock...
[2025-04-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:10:02] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-04-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:10:02] Production.INFO: ==29458== Releasing lock...
[2025-04-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:10:03] Production.INFO: ==29461== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:10:03] Production.INFO: ==29463== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:10:03] Production.INFO: ==29465== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:10:03] Production.ERROR: CronJob PID - 29463
[2025-04-09 05:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 05:10:03] Production.ERROR: CronJob ID - 5
[2025-04-09 05:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 05:10:00
[2025-04-09 05:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:10:03] Production.INFO: ==29461== Releasing lock...
[2025-04-09 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:10:03] Production.INFO: ==29473== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:10:03] Production.INFO: ==29467== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:10:03] Production.INFO: ==29471== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:10:03] Production.INFO: ==29469== Lock acquired, processing the job...
[2025-04-09 05:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:10:03] Production.INFO: Account Balance Start.
[2025-04-09 05:10:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:10:03] Production.INFO: 117
[2025-04-09 05:10:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:10:04] Production.INFO: ==29475== Lock acquired, processing the job...
[2025-04-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:10:04] Production.ERROR: done
[2025-04-09 05:10:04] Production.INFO: ==29465== Releasing lock...
[2025-04-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:10:04] Production.INFO: Total Charge 0
[2025-04-09 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867307', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:10:04] Production.INFO: CreateAllLog End
[2025-04-09 05:10:04] Production.INFO: count ==12
[2025-04-09 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:10:04] Production.INFO: count ==23
[2025-04-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867306') start
[2025-04-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867306') end
[2025-04-09 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:10:04] Production.INFO: 1
[2025-04-09 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:10:04] Production.ERROR: done
[2025-04-09 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:10:04] Production.INFO: Account Balance End.
[2025-04-09 05:10:04] Production.INFO: ==29475== Releasing lock...
[2025-04-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:10:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:10:04] Production.INFO: ==29469== Releasing lock...
[2025-04-09 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:10:04] Production.ERROR: done
[2025-04-09 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:10:06
[end_date_ymd] => 2025-04-09 05:10:06
[RateCDR] => 1
)
[2025-04-09 05:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:10:06' and `end` < '2025-04-09 05:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867307', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:10:08] Production.INFO: ProcessCDR(1,14867307,1,1,2)
[2025-04-09 05:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867307,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867307,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:10:08] Production.INFO: ==29473== Releasing lock...
[2025-04-09 05:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:10:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:10:13] Production.ERROR: CronJobId end10
[2025-04-09 05:10:13] Production.INFO: ==29467== Releasing lock...
[2025-04-09 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:10:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:10:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:10:16] Production.INFO: call_cost start
[2025-04-09 05:10:16] Production.INFO: call_cost end
[2025-04-09 05:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:10:17] Production.INFO: ==29463== Releasing lock...
[2025-04-09 05:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:10:18] Production.INFO: count ==141
[2025-04-09 05:10:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:10:06 - End Time 2025-04-09 05:10:06
[2025-04-09 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867308', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867308', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867308', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867308', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:10:18] Production.INFO: ProcessCDR(1,14867308,1,1,2)
[2025-04-09 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867308', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867308', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:10:22] Production.INFO: ==29471== Releasing lock...
[2025-04-09 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:10:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:11:01] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-04-09 10:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:11:01] Production.INFO: neon service started
[2025-04-09 10:11:01] Production.INFO: neon service started
[2025-04-09 10:11:01] Production.INFO: ==29531== Releasing lock...
[2025-04-09 10:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:11:02] Production.INFO: ==29534== Lock acquired, processing the job...
[2025-04-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:11:02] Production.INFO: ==29534== Releasing lock...
[2025-04-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:11:02] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-04-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:11:02] Production.INFO: ==29536== Releasing lock...
[2025-04-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:11:03] Production.INFO: ==29540== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:11:03] Production.INFO: ==29546== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:11:03] Production.INFO: ==29548== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:11:03] Production.INFO: ==29538== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:11:03] Production.INFO: ==29542== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:11:03] Production.INFO: ==29544== Lock acquired, processing the job...
[2025-04-09 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:11:03] Production.INFO: Account Balance Start.
[2025-04-09 05:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:11:03] Production.INFO: 117
[2025-04-09 05:11:03] Production.INFO: count ==12
[2025-04-09 05:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:11:03] Production.INFO: count ==23
[2025-04-09 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867310') start
[2025-04-09 05:11:03] Production.INFO: ==29540== Releasing lock...
[2025-04-09 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:11:03] Production.ERROR: done
[2025-04-09 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867310') end
[2025-04-09 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:11:04] Production.INFO: 1
[2025-04-09 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:11:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:11:04] Production.INFO: Total Charge 0
[2025-04-09 05:11:04] Production.INFO: CreateAllLog End
[2025-04-09 05:11:04] Production.INFO: ==29548== Releasing lock...
[2025-04-09 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:11:04] Production.ERROR: done
[2025-04-09 05:11:04] Production.INFO: Account Balance End.
[2025-04-09 05:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:11:04] Production.INFO: ==29544== Releasing lock...
[2025-04-09 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:11:05
[end_date_ymd] => 2025-04-09 05:11:05
[RateCDR] => 1
)
[2025-04-09 05:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:11:05' and `end` < '2025-04-09 05:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:11:11] Production.ERROR: CronJobId end10
[2025-04-09 05:11:11] Production.INFO: ==29542== Releasing lock...
[2025-04-09 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:11:14] Production.INFO: call_cost start
[2025-04-09 05:11:14] Production.INFO: call_cost end
[2025-04-09 05:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:11:15] Production.INFO: ==29538== Releasing lock...
[2025-04-09 05:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:11:17] Production.INFO: count ==141
[2025-04-09 05:11:17] Production.ERROR: pbx CDR StartTime 2025-04-09 02:11:05 - End Time 2025-04-09 05:11:05
[2025-04-09 05:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867313', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867313', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867313', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867313', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:11:17] Production.INFO: ProcessCDR(1,14867313,1,1,2)
[2025-04-09 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867313', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867313', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:11:21] Production.INFO: ==29546== Releasing lock...
[2025-04-09 05:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:11:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:12:02] Production.INFO: ==29601== Lock acquired, processing the job...
[2025-04-09 10:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:12:02] Production.INFO: neon service started
[2025-04-09 10:12:02] Production.INFO: neon service started
[2025-04-09 10:12:02] Production.INFO: ==29601== Releasing lock...
[2025-04-09 10:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:12:02] Production.INFO: ==29605== Lock acquired, processing the job...
[2025-04-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:12:02] Production.INFO: ==29605== Releasing lock...
[2025-04-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:12:02] Production.INFO: ==29603== Lock acquired, processing the job...
[2025-04-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:12:03] Production.INFO: ==29603== Releasing lock...
[2025-04-09 05:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:12:03] Production.INFO: ==29614== Lock acquired, processing the job...
[2025-04-09 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:12:04] Production.INFO: ==29618== Lock acquired, processing the job...
[2025-04-09 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:12:04] Production.INFO: Account Balance Start.
[2025-04-09 05:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:12:04] Production.INFO: 117
[2025-04-09 05:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:12:04] Production.INFO: ==29608== Lock acquired, processing the job...
[2025-04-09 05:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05: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-04-09 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:12:04] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:12:04] Production.INFO: count ==23
[2025-04-09 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867315') start
[2025-04-09 05:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:12:04] Production.INFO: ==29610== Lock acquired, processing the job...
[2025-04-09 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:12:04] Production.INFO: Total Charge 0
[2025-04-09 05:12:04] Production.INFO: ==29612== Lock acquired, processing the job...
[2025-04-09 05:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:12:04] Production.INFO: CreateAllLog End
[2025-04-09 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867315') end
[2025-04-09 05:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:12:04] Production.INFO: 1
[2025-04-09 05:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:12:04] Production.INFO: ==29618== Releasing lock...
[2025-04-09 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:12:04] Production.INFO: ==29616== Lock acquired, processing the job...
[2025-04-09 05:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:12:04] Production.INFO: Account Balance End.
[2025-04-09 05:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:12:04] Production.INFO: ==29614== Releasing lock...
[2025-04-09 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:12:04] Production.INFO: ==29610== Releasing lock...
[2025-04-09 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:12:04] Production.ERROR: done
[2025-04-09 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:12:05] Production.ERROR: done
[2025-04-09 05:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:12:06
[end_date_ymd] => 2025-04-09 05:12:06
[RateCDR] => 1
)
[2025-04-09 05:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:12:06' and `end` < '2025-04-09 05:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:12:12] Production.ERROR: CronJobId end10
[2025-04-09 05:12:12] Production.INFO: ==29612== Releasing lock...
[2025-04-09 05:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:12:14] Production.INFO: call_cost start
[2025-04-09 05:12:14] Production.INFO: call_cost end
[2025-04-09 05:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:12:15] Production.INFO: ==29608== Releasing lock...
[2025-04-09 05:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:12:18] Production.INFO: count ==141
[2025-04-09 05:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:12:06 - End Time 2025-04-09 05:12:06
[2025-04-09 05:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867318', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867318', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867318', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867318', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:12:18] Production.INFO: ProcessCDR(1,14867318,1,1,2)
[2025-04-09 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867318', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867318', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:12:22] Production.INFO: ==29616== Releasing lock...
[2025-04-09 05:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:12:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:13:01] Production.INFO: ==29673== Lock acquired, processing the job...
[2025-04-09 10:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:13:01] Production.INFO: neon service started
[2025-04-09 10:13:01] Production.INFO: neon service started
[2025-04-09 10:13:01] Production.INFO: ==29673== Releasing lock...
[2025-04-09 10:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:13:02] Production.INFO: ==29676== Lock acquired, processing the job...
[2025-04-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:13:02] Production.INFO: ==29678== Lock acquired, processing the job...
[2025-04-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:13:02] Production.INFO: ==29678== Releasing lock...
[2025-04-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:13:02] Production.INFO: ==29676== Releasing lock...
[2025-04-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:13:03] Production.INFO: ==29682== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:13:03] Production.INFO: ==29686== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:13:03] Production.INFO: ==29688== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:13:03] Production.INFO: Account Balance Start.
[2025-04-09 05:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:13:03] Production.INFO: 117
[2025-04-09 05:13:03] Production.INFO: ==29680== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:13:03] Production.INFO: ==29684== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:13:03] Production.INFO: ==29690== Lock acquired, processing the job...
[2025-04-09 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:13:03] Production.INFO: Total Charge 0
[2025-04-09 05:13:03] Production.INFO: CreateAllLog End
[2025-04-09 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:13:03] Production.INFO: ==29682== Releasing lock...
[2025-04-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 05:13:03] Production.ERROR: done
[2025-04-09 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:13:03] Production.INFO: count ==12
[2025-04-09 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-04-09 05:13:03] Production.INFO: count ==23
[2025-04-09 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867321') start
[2025-04-09 05:13:03] Production.ERROR: done
[2025-04-09 05:13:04] Production.INFO: Account Balance End.
[2025-04-09 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867321') end
[2025-04-09 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:13:04] Production.INFO: 1
[2025-04-09 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:13:04] Production.INFO: ==29690== Releasing lock...
[2025-04-09 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:13:04] Production.INFO: ==29686== Releasing lock...
[2025-04-09 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:13:04
[end_date_ymd] => 2025-04-09 05:13:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:13:04' and `end` < '2025-04-09 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-04-09 05:13:12] Production.ERROR: CronJobId end10
[2025-04-09 05:13:12] Production.INFO: ==29684== Releasing lock...
[2025-04-09 05:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:13:15] Production.INFO: call_cost start
[2025-04-09 05:13:15] Production.INFO: call_cost end
[2025-04-09 05:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:13:15] Production.INFO: ==29680== Releasing lock...
[2025-04-09 05:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:13:17] Production.INFO: count ==141
[2025-04-09 05:13:17] Production.ERROR: pbx CDR StartTime 2025-04-09 02:13:04 - End Time 2025-04-09 05:13:04
[2025-04-09 05:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867323', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867323', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867323', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867323', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:13:17] Production.INFO: ProcessCDR(1,14867323,1,1,2)
[2025-04-09 05:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867323', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867323', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:13:21] Production.INFO: ==29688== Releasing lock...
[2025-04-09 05:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:13:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:14:02] Production.INFO: ==29748== Lock acquired, processing the job...
[2025-04-09 10:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:14:02] Production.INFO: neon service started
[2025-04-09 10:14:02] Production.INFO: neon service started
[2025-04-09 10:14:02] Production.INFO: ==29748== Releasing lock...
[2025-04-09 10:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:14:02] Production.INFO: ==29753== Lock acquired, processing the job...
[2025-04-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:14:02] Production.INFO: ==29753== Releasing lock...
[2025-04-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:14:02] Production.INFO: ==29751== Lock acquired, processing the job...
[2025-04-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:14:03] Production.INFO: ==29751== Releasing lock...
[2025-04-09 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:14:03] Production.INFO: ==29757== Lock acquired, processing the job...
[2025-04-09 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:14:03] Production.INFO: ==29761== Lock acquired, processing the job...
[2025-04-09 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:14:03] Production.INFO: ==29763== Lock acquired, processing the job...
[2025-04-09 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:14:04] Production.INFO: Account Balance Start.
[2025-04-09 05:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:14:04] Production.INFO: 117
[2025-04-09 05:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:14:04] Production.INFO: ==29755== Lock acquired, processing the job...
[2025-04-09 05:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:14:04] Production.INFO: Total Charge 0
[2025-04-09 05:14:04] Production.INFO: CreateAllLog End
[2025-04-09 05:14:04] Production.INFO: ==29759== Lock acquired, processing the job...
[2025-04-09 05:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:14:04] Production.INFO: ==29757== Releasing lock...
[2025-04-09 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:14:04] Production.INFO: ==29765== Lock acquired, processing the job...
[2025-04-09 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05: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-04-09 05:14:04] Production.INFO: count ==12
[2025-04-09 05:14:04] Production.ERROR: done
[2025-04-09 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:14:04] Production.INFO: Account Balance End.
[2025-04-09 05: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-04-09 05:14:04] Production.INFO: count ==23
[2025-04-09 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867327') start
[2025-04-09 05:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:14:04] Production.INFO: ==29761== Releasing lock...
[2025-04-09 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:14:04] Production.ERROR: done
[2025-04-09 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867327') end
[2025-04-09 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:14:04] Production.INFO: 1
[2025-04-09 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:14:04] Production.INFO: ==29765== Releasing lock...
[2025-04-09 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:14:05
[end_date_ymd] => 2025-04-09 05:14:05
[RateCDR] => 1
)
[2025-04-09 05:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:14:05' and `end` < '2025-04-09 05:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:14:12] Production.ERROR: CronJobId end10
[2025-04-09 05:14:12] Production.INFO: ==29759== Releasing lock...
[2025-04-09 05:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:14:15] Production.INFO: call_cost start
[2025-04-09 05:14:15] Production.INFO: call_cost end
[2025-04-09 05:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:14:16] Production.INFO: ==29755== Releasing lock...
[2025-04-09 05:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:14:18] Production.INFO: count ==141
[2025-04-09 05:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:14:05 - End Time 2025-04-09 05:14:05
[2025-04-09 05:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867328', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867328', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867328', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867328', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:14:18] Production.INFO: ProcessCDR(1,14867328,1,1,2)
[2025-04-09 05:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867328', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867328', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:14:21] Production.INFO: ==29763== Releasing lock...
[2025-04-09 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:14:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:15:01] Production.INFO: ==29820== Lock acquired, processing the job...
[2025-04-09 10:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:15:01] Production.INFO: neon service started
[2025-04-09 10:15:01] Production.INFO: neon service started
[2025-04-09 10:15:01] Production.INFO: ==29820== Releasing lock...
[2025-04-09 10:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:15:02] Production.INFO: ==29822== Lock acquired, processing the job...
[2025-04-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:15:02] Production.INFO: ==29824== Lock acquired, processing the job...
[2025-04-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:15:02] Production.INFO: ==29824== Releasing lock...
[2025-04-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:15:02] Production.INFO: ==29822== Releasing lock...
[2025-04-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:15:03] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:15:03] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:15:03] Production.INFO: ==29837== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 05:15:03] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:15:03] Production.INFO: ==29835== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:15:03] Production.INFO: count ==12
[2025-04-09 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-04-09 05:15:03] Production.INFO: count ==23
[2025-04-09 05:15:03] Production.INFO: ==29833== Lock acquired, processing the job...
[2025-04-09 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867331') start
[2025-04-09 05:15:03] Production.INFO: ==29829== Releasing lock...
[2025-04-09 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867331') end
[2025-04-09 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:15:04] Production.INFO: 1
[2025-04-09 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:15:04] Production.INFO: Account Balance Start.
[2025-04-09 05:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:15:04] Production.INFO: 117
[2025-04-09 05:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:15:04] Production.INFO: ==29837== Releasing lock...
[2025-04-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:15:04] Production.ERROR: done
[2025-04-09 05:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:15:04] Production.INFO: Total Charge 0
[2025-04-09 05:15:04] Production.INFO: CreateAllLog End
[2025-04-09 05:15:04] Production.ERROR: done
[2025-04-09 05:15:04] Production.INFO: Account Balance End.
[2025-04-09 05:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:15:04] Production.INFO: ==29833== Releasing lock...
[2025-04-09 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:15:05
[end_date_ymd] => 2025-04-09 05:15:05
[RateCDR] => 1
)
[2025-04-09 05:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:15:05' and `end` < '2025-04-09 05:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:15:11] Production.ERROR: CronJobId end10
[2025-04-09 05:15:11] Production.INFO: ==29831== Releasing lock...
[2025-04-09 05:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:15:14] Production.INFO: call_cost start
[2025-04-09 05:15:14] Production.INFO: call_cost end
[2025-04-09 05:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:15:15] Production.INFO: ==29827== Releasing lock...
[2025-04-09 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:15:18] Production.INFO: count ==141
[2025-04-09 05:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:15:05 - End Time 2025-04-09 05:15:05
[2025-04-09 05:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867333', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867333', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867333', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867333', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:15:18] Production.INFO: ProcessCDR(1,14867333,1,1,2)
[2025-04-09 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867333', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867333', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:15:21] Production.INFO: ==29835== Releasing lock...
[2025-04-09 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:15:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:16:02] Production.INFO: ==29895== Lock acquired, processing the job...
[2025-04-09 10:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:16:02] Production.INFO: neon service started
[2025-04-09 10:16:02] Production.INFO: neon service started
[2025-04-09 10:16:02] Production.INFO: ==29895== Releasing lock...
[2025-04-09 10:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:16:02] Production.INFO: ==29897== Lock acquired, processing the job...
[2025-04-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:16:03] Production.INFO: ==29899== Lock acquired, processing the job...
[2025-04-09 09:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:16:03] Production.INFO: ==29899== Releasing lock...
[2025-04-09 09:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:16:03] Production.INFO: ==29897== Releasing lock...
[2025-04-09 05:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:16:04] Production.INFO: ==29908== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:16:04] Production.INFO: ==29906== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:16:04] Production.INFO: Account Balance Start.
[2025-04-09 05:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:16:04] Production.INFO: 117
[2025-04-09 05:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:16:04] Production.INFO: ==29902== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:16:04] Production.INFO: ==29904== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:16:04] Production.INFO: Total Charge 0
[2025-04-09 05:16:04] Production.INFO: CreateAllLog End
[2025-04-09 05:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:16:04] Production.INFO: ==29910== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:16:04] Production.INFO: ==29912== Lock acquired, processing the job...
[2025-04-09 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:16:04] Production.INFO: Account Balance End.
[2025-04-09 05:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:16:04] Production.INFO: ==29908== Releasing lock...
[2025-04-09 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:16:04] Production.INFO: ==29904== Releasing lock...
[2025-04-09 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:16:04] Production.ERROR: done
[2025-04-09 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:16:04] Production.INFO: count ==12
[2025-04-09 05:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:16:04] Production.INFO: count ==23
[2025-04-09 05:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867337') start
[2025-04-09 05:16:05] Production.ERROR: done
[2025-04-09 05:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867337') end
[2025-04-09 05:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:16:05] Production.INFO: 1
[2025-04-09 05:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:16:05] Production.INFO: ==29912== Releasing lock...
[2025-04-09 05:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:16:06
[end_date_ymd] => 2025-04-09 05:16:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:16:06' and `end` < '2025-04-09 05: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-04-09 05:16:14] Production.ERROR: CronJobId end10
[2025-04-09 05:16:14] Production.INFO: ==29906== Releasing lock...
[2025-04-09 05:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:16:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:16:16] Production.INFO: call_cost start
[2025-04-09 05:16:16] Production.INFO: call_cost end
[2025-04-09 05:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:16:17] Production.INFO: ==29902== Releasing lock...
[2025-04-09 05:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:16:18] Production.INFO: count ==141
[2025-04-09 05:16:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:16:06 - End Time 2025-04-09 05:16:06
[2025-04-09 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867338', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867338', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867338', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867338', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:16:18] Production.INFO: ProcessCDR(1,14867338,1,1,2)
[2025-04-09 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867338', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867338', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:16:22] Production.INFO: ==29910== Releasing lock...
[2025-04-09 05:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:16:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:17:01] Production.INFO: ==29967== Lock acquired, processing the job...
[2025-04-09 10:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:17:01] Production.INFO: neon service started
[2025-04-09 10:17:01] Production.INFO: neon service started
[2025-04-09 10:17:01] Production.INFO: ==29967== Releasing lock...
[2025-04-09 10:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:17:02] Production.INFO: ==29969== Lock acquired, processing the job...
[2025-04-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:17:02] Production.INFO: ==29969== Releasing lock...
[2025-04-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:17:02] Production.INFO: ==29971== Lock acquired, processing the job...
[2025-04-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:17:02] Production.INFO: ==29971== Releasing lock...
[2025-04-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:17:03] Production.INFO: ==29980== Lock acquired, processing the job...
[2025-04-09 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:17:03] Production.INFO: Account Balance Start.
[2025-04-09 05:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:17:03] Production.INFO: 117
[2025-04-09 05:17:03] Production.INFO: ==29984== Lock acquired, processing the job...
[2025-04-09 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:17:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 05:17:03] Production.INFO: ==29974== Lock acquired, processing the job...
[2025-04-09 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:17:03] Production.INFO: CreateAllLog End
[2025-04-09 05:17:03] Production.INFO: count ==12
[2025-04-09 05:17:03] Production.INFO: ==29976== Lock acquired, processing the job...
[2025-04-09 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:17:03] Production.INFO: Account Balance End.
[2025-04-09 05:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:17:04] Production.INFO: ==29978== Lock acquired, processing the job...
[2025-04-09 05:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:17:04] Production.INFO: count ==23
[2025-04-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867340') start
[2025-04-09 05:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:17:04] Production.INFO: ==29980== Releasing lock...
[2025-04-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:17:04] Production.INFO: ==29982== Lock acquired, processing the job...
[2025-04-09 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867340') end
[2025-04-09 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:17:04] Production.INFO: 1
[2025-04-09 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:17:04] Production.INFO: ==29984== Releasing lock...
[2025-04-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:17:04] Production.INFO: ==29976== Releasing lock...
[2025-04-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:17:04] Production.ERROR: done
[2025-04-09 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:17:04] Production.ERROR: done
[2025-04-09 05:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:17:05
[end_date_ymd] => 2025-04-09 05:17:05
[RateCDR] => 1
)
[2025-04-09 05:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:17:05' and `end` < '2025-04-09 05:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:17:12] Production.ERROR: CronJobId end10
[2025-04-09 05:17:12] Production.INFO: ==29978== Releasing lock...
[2025-04-09 05:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:17:15] Production.INFO: call_cost start
[2025-04-09 05:17:15] Production.INFO: call_cost end
[2025-04-09 05:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:17:16] Production.INFO: ==29974== Releasing lock...
[2025-04-09 05:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:17:18] Production.INFO: count ==141
[2025-04-09 05:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:17:05 - End Time 2025-04-09 05:17:05
[2025-04-09 05:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867343', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867343', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867343', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867343', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:17:18] Production.INFO: ProcessCDR(1,14867343,1,1,2)
[2025-04-09 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867343', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867343', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:17:22] Production.INFO: ==29982== Releasing lock...
[2025-04-09 05:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:17:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:18:02] Production.INFO: ==30051== Lock acquired, processing the job...
[2025-04-09 10:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:18:02] Production.INFO: neon service started
[2025-04-09 10:18:02] Production.INFO: neon service started
[2025-04-09 10:18:02] Production.INFO: ==30051== Releasing lock...
[2025-04-09 10:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:18:02] Production.INFO: ==30055== Lock acquired, processing the job...
[2025-04-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:18:02] Production.INFO: ==30055== Releasing lock...
[2025-04-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:18:02] Production.INFO: ==30053== Lock acquired, processing the job...
[2025-04-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:18:03] Production.INFO: ==30053== Releasing lock...
[2025-04-09 05:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:18:03] Production.INFO: ==30057== Lock acquired, processing the job...
[2025-04-09 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:18:03] Production.INFO: ==30059== Lock acquired, processing the job...
[2025-04-09 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:18:03] Production.INFO: ==30062== Lock acquired, processing the job...
[2025-04-09 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:18:04] Production.INFO: ==30064== Lock acquired, processing the job...
[2025-04-09 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:18:04] Production.INFO: ==30068== Lock acquired, processing the job...
[2025-04-09 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:18:04] Production.INFO: ==30066== Lock acquired, processing the job...
[2025-04-09 05:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:18:04] Production.INFO: ==30059== Releasing lock...
[2025-04-09 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:18:04] Production.INFO: Account Balance Start.
[2025-04-09 05:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:18:04] Production.INFO: 117
[2025-04-09 05:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 05: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-04-09 05:18:04] Production.INFO: count ==12
[2025-04-09 05:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 05: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-04-09 05:18:04] Production.INFO: count ==23
[2025-04-09 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867347') start
[2025-04-09 05:18:04] Production.INFO: Total Charge 0
[2025-04-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867347') end
[2025-04-09 05:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:18:04] Production.INFO: 1
[2025-04-09 05:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:18:04] Production.INFO: CreateAllLog End
[2025-04-09 05:18:04] Production.INFO: ==30068== Releasing lock...
[2025-04-09 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:18:04] Production.ERROR: done
[2025-04-09 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:18:04] Production.INFO: Account Balance End.
[2025-04-09 05:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:18:04] Production.INFO: ==30064== Releasing lock...
[2025-04-09 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:18:05] Production.ERROR: done
[2025-04-09 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:18:05
[end_date_ymd] => 2025-04-09 05:18:05
[RateCDR] => 1
)
[2025-04-09 05:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:18:05' and `end` < '2025-04-09 05:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:18:13] Production.ERROR: CronJobId end10
[2025-04-09 05:18:13] Production.INFO: ==30062== Releasing lock...
[2025-04-09 05:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:18:15] Production.INFO: call_cost start
[2025-04-09 05:18:15] Production.INFO: call_cost end
[2025-04-09 05:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:18:16] Production.INFO: ==30057== Releasing lock...
[2025-04-09 05:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:18:18] Production.INFO: count ==141
[2025-04-09 05:18:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:18:05 - End Time 2025-04-09 05:18:05
[2025-04-09 05:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867348', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867348', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867348', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867348', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:18:18] Production.INFO: ProcessCDR(1,14867348,1,1,2)
[2025-04-09 05:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867348', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867348', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:18:22] Production.INFO: ==30066== Releasing lock...
[2025-04-09 05:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:18:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:19:01] Production.INFO: ==30121== Lock acquired, processing the job...
[2025-04-09 10:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:19:01] Production.INFO: neon service started
[2025-04-09 10:19:01] Production.INFO: neon service started
[2025-04-09 10:19:01] Production.INFO: ==30121== Releasing lock...
[2025-04-09 10:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:19:02] Production.INFO: ==30123== Lock acquired, processing the job...
[2025-04-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:19:02] Production.INFO: ==30123== Releasing lock...
[2025-04-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:19:02] Production.INFO: ==30125== Lock acquired, processing the job...
[2025-04-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:19:02] Production.INFO: ==30125== Releasing lock...
[2025-04-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:19:03] Production.INFO: ==30129== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:19:03] Production.INFO: ==30137== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:19:03] Production.INFO: ==30127== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:19:03] Production.INFO: ==30133== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:19:03] Production.INFO: ==30131== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 05:19:03] Production.INFO: ==30135== Lock acquired, processing the job...
[2025-04-09 05:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:19:03] Production.INFO: count ==12
[2025-04-09 05:19:03] Production.INFO: Account Balance Start.
[2025-04-09 05:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:19:03] Production.INFO: 117
[2025-04-09 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-04-09 05:19:03] Production.INFO: count ==23
[2025-04-09 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867350') start
[2025-04-09 05:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:19:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:19:03] Production.INFO: ==30129== Releasing lock...
[2025-04-09 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867350') end
[2025-04-09 05:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:19:03] Production.INFO: 1
[2025-04-09 05:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:19:03] Production.INFO: Total Charge 0
[2025-04-09 05:19:03] Production.INFO: ==30137== Releasing lock...
[2025-04-09 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:19:03] Production.INFO: CreateAllLog End
[2025-04-09 05:19:04] Production.ERROR: done
[2025-04-09 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:19:04] Production.INFO: Account Balance End.
[2025-04-09 05:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:19:04] Production.INFO: ==30133== Releasing lock...
[2025-04-09 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:19:04] Production.ERROR: done
[2025-04-09 05:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:19:05
[end_date_ymd] => 2025-04-09 05:19:05
[RateCDR] => 1
)
[2025-04-09 05:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:19:05' and `end` < '2025-04-09 05:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:19:13] Production.ERROR: CronJobId end10
[2025-04-09 05:19:13] Production.INFO: ==30131== Releasing lock...
[2025-04-09 05:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:19:15] Production.INFO: call_cost start
[2025-04-09 05:19:15] Production.INFO: call_cost end
[2025-04-09 05:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:19:16] Production.INFO: ==30127== Releasing lock...
[2025-04-09 05:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:19:17] Production.INFO: count ==141
[2025-04-09 05:19:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:19:05 - End Time 2025-04-09 05:19:05
[2025-04-09 05:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867353', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867353', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867353', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867353', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:19:18] Production.INFO: ProcessCDR(1,14867353,1,1,2)
[2025-04-09 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867353', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867353', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:19:21] Production.INFO: ==30135== Releasing lock...
[2025-04-09 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:19:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 10:20:02] Production.INFO: ==30196== Lock acquired, processing the job...
[2025-04-09 10:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:20:02] Production.INFO: neon service started
[2025-04-09 10:20:02] Production.INFO: neon service started
[2025-04-09 10:20:02] Production.INFO: ==30196== Releasing lock...
[2025-04-09 10:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:20:02] Production.INFO: ==30198== Lock acquired, processing the job...
[2025-04-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:20:02] Production.INFO: ==30198== Releasing lock...
[2025-04-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:20:03] Production.INFO: ==30200== Lock acquired, processing the job...
[2025-04-09 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:20:03] Production.INFO: ==30200== Releasing lock...
[2025-04-09 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:20:04] Production.INFO: ==30206== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:20:04] Production.INFO: ==30202== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:20:04] Production.INFO: ==30210== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:20:04] Production.INFO: ==30204== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:20:04] Production.ERROR: CronJob PID - 30206
[2025-04-09 05:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 05:20:04] Production.ERROR: CronJob ID - 7
[2025-04-09 05:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 05:20:00
[2025-04-09 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:20:04] Production.INFO: ==30216== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:20:04] Production.INFO: ==30202== Releasing lock...
[2025-04-09 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:20:04] Production.INFO: ==30208== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:20:04] Production.INFO: Account Balance Start.
[2025-04-09 05:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:20:04] Production.INFO: 117
[2025-04-09 05:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:20:04] Production.INFO: ==30212== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:20:04] Production.INFO: ==30214== Lock acquired, processing the job...
[2025-04-09 05:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:20:04] Production.INFO: count ==12
[2025-04-09 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-04-09 05:20:04] Production.INFO: count ==23
[2025-04-09 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867357') start
[2025-04-09 05:20:04] Production.INFO: Total Charge 0
[2025-04-09 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:20:04] Production.INFO: CreateAllLog End
[2025-04-09 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867357') end
[2025-04-09 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:20:04] Production.INFO: 1
[2025-04-09 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:20:04] Production.INFO: ==30216== Releasing lock...
[2025-04-09 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:20:04] Production.INFO: ==30206== Releasing lock...
[2025-04-09 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:20:04] Production.INFO: Account Balance End.
[2025-04-09 05:20:05] Production.ERROR: done
[2025-04-09 05:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:20:05] Production.INFO: ==30210== Releasing lock...
[2025-04-09 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:20:05] Production.ERROR: done
[2025-04-09 05:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867358', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:20:05] Production.ERROR: done
[2025-04-09 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:20:06
[end_date_ymd] => 2025-04-09 05:20:06
[RateCDR] => 1
)
[2025-04-09 05:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:20:06' and `end` < '2025-04-09 05:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867358', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:20:10] Production.INFO: ProcessCDR(1,14867358,1,1,2)
[2025-04-09 05:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867358,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867358,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:20:10] Production.INFO: ==30214== Releasing lock...
[2025-04-09 05:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:20:14] Production.ERROR: CronJobId end10
[2025-04-09 05:20:14] Production.INFO: ==30208== Releasing lock...
[2025-04-09 05:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:20:16] Production.INFO: call_cost start
[2025-04-09 05:20:16] Production.INFO: call_cost end
[2025-04-09 05:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:20:17] Production.INFO: ==30204== Releasing lock...
[2025-04-09 05:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:20:19] Production.INFO: count ==132
[2025-04-09 05:20:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:20:06 - End Time 2025-04-09 05:20:06
[2025-04-09 05:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867359', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867359', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867359', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867359', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:20:19] Production.INFO: ProcessCDR(1,14867359,1,1,2)
[2025-04-09 05:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867359', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867359', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:20:22] Production.INFO: ==30212== Releasing lock...
[2025-04-09 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:20:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:21:01] Production.INFO: ==30274== Lock acquired, processing the job...
[2025-04-09 10:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:21:01] Production.INFO: neon service started
[2025-04-09 10:21:01] Production.INFO: neon service started
[2025-04-09 10:21:01] Production.INFO: ==30274== Releasing lock...
[2025-04-09 10:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:21:01] Production.INFO: ==30276== Lock acquired, processing the job...
[2025-04-09 05:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:21:02] Production.INFO: ==30278== Lock acquired, processing the job...
[2025-04-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:21:02] Production.INFO: ==30276== Releasing lock...
[2025-04-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:21:02] Production.INFO: ==30278== Releasing lock...
[2025-04-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:21:03] Production.INFO: ==30280== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:21:03] Production.INFO: ==30284== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:21:03] Production.INFO: ==30282== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:21:03] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:21:03] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:21:03] Production.INFO: Account Balance Start.
[2025-04-09 05:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:21:03] Production.INFO: 117
[2025-04-09 05:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:21:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:21:03] Production.INFO: Total Charge 0
[2025-04-09 05:21:03] Production.INFO: CreateAllLog End
[2025-04-09 05:21:03] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-04-09 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:21:03] Production.INFO: ==30282== Releasing lock...
[2025-04-09 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05: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-04-09 05:21:04] Production.INFO: count ==12
[2025-04-09 05:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:21:04] Production.INFO: count ==23
[2025-04-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867363') start
[2025-04-09 05:21:04] Production.ERROR: done
[2025-04-09 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867363') end
[2025-04-09 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:21:04] Production.INFO: 1
[2025-04-09 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:21:04] Production.INFO: ==30290== Releasing lock...
[2025-04-09 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:21:04] Production.ERROR: done
[2025-04-09 05:21:04] Production.INFO: Account Balance End.
[2025-04-09 05:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:21:04] Production.INFO: ==30286== Releasing lock...
[2025-04-09 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:21:05
[end_date_ymd] => 2025-04-09 05:21:05
[RateCDR] => 1
)
[2025-04-09 05:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:21:05' and `end` < '2025-04-09 05:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:21:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-04-09 05:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:21:12] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:21:12] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:21:12] Production.INFO: call_cost start
[2025-04-09 05:21:12] Production.INFO: call_cost end
[2025-04-09 05:21:12] Production.ERROR: CronJobId end10
[2025-04-09 05:21:12] Production.INFO: ==30284== Releasing lock...
[2025-04-09 05:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:21:13] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:21:13] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:21:13] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:21:13] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:21:13] Production.INFO: ==30280== Releasing lock...
[2025-04-09 05:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:21:18] Production.INFO: count ==132
[2025-04-09 05:21:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:21:05 - End Time 2025-04-09 05:21:05
[2025-04-09 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867364', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867364', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867364', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867364', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:21:18] Production.INFO: ProcessCDR(1,14867364,1,1,2)
[2025-04-09 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867364', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867364', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:21:21] Production.INFO: ==30288== Releasing lock...
[2025-04-09 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:21:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:22:02] Production.INFO: ==30346== Lock acquired, processing the job...
[2025-04-09 10:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:22:02] Production.INFO: neon service started
[2025-04-09 10:22:02] Production.INFO: neon service started
[2025-04-09 10:22:02] Production.INFO: ==30346== Releasing lock...
[2025-04-09 10:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:22:02] Production.INFO: ==30350== Lock acquired, processing the job...
[2025-04-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:22:02] Production.INFO: ==30350== Releasing lock...
[2025-04-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:22:02] Production.INFO: ==30348== Lock acquired, processing the job...
[2025-04-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:22:03] Production.INFO: ==30348== Releasing lock...
[2025-04-09 05:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:22:04] Production.INFO: ==30353== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:22:04] Production.INFO: ==30357== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:22:04] Production.INFO: ==30355== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:22:04] Production.INFO: ==30359== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:22:04] Production.INFO: ==30361== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:22:04] Production.INFO: ==30363== Lock acquired, processing the job...
[2025-04-09 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:22:04] Production.INFO: Account Balance Start.
[2025-04-09 05:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:22:04] Production.INFO: 117
[2025-04-09 05:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:22:04] Production.INFO: count ==12
[2025-04-09 05:22:04] Production.INFO: Total Charge 0
[2025-04-09 05:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:22:04] Production.INFO: count ==23
[2025-04-09 05:22:04] Production.INFO: CreateAllLog End
[2025-04-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867368') start
[2025-04-09 05:22:04] Production.INFO: ==30355== Releasing lock...
[2025-04-09 05:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867368') end
[2025-04-09 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:22:04] Production.INFO: 1
[2025-04-09 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:22:04] Production.INFO: Account Balance End.
[2025-04-09 05:22:05] Production.INFO: ==30363== Releasing lock...
[2025-04-09 05:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:22:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:22:05] Production.INFO: ==30359== Releasing lock...
[2025-04-09 05:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:22:05] Production.ERROR: done
[2025-04-09 05:22:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:22:05] Production.ERROR: done
[2025-04-09 05:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:22:06
[end_date_ymd] => 2025-04-09 05:22:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:22:06' and `end` < '2025-04-09 05: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-04-09 05:22:13] Production.ERROR: CronJobId end10
[2025-04-09 05:22:13] Production.INFO: ==30357== Releasing lock...
[2025-04-09 05:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:22:15] Production.INFO: call_cost start
[2025-04-09 05:22:15] Production.INFO: call_cost end
[2025-04-09 05:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:22:16] Production.INFO: ==30353== Releasing lock...
[2025-04-09 05:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:22:18] Production.INFO: count ==132
[2025-04-09 05:22:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:22:06 - End Time 2025-04-09 05:22:06
[2025-04-09 05:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867369', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867369', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867369', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867369', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:22:19] Production.INFO: ProcessCDR(1,14867369,1,1,2)
[2025-04-09 05:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867369', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867369', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:22:22] Production.INFO: ==30361== Releasing lock...
[2025-04-09 05:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:22:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:23:01] Production.INFO: ==30460== Lock acquired, processing the job...
[2025-04-09 10:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:23:01] Production.INFO: neon service started
[2025-04-09 10:23:01] Production.INFO: neon service started
[2025-04-09 10:23:01] Production.INFO: ==30460== Releasing lock...
[2025-04-09 10:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:23:02] Production.INFO: ==30462== Lock acquired, processing the job...
[2025-04-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:23:02] Production.INFO: ==30462== Releasing lock...
[2025-04-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:23:02] Production.INFO: ==30464== Lock acquired, processing the job...
[2025-04-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:23:02] Production.INFO: ==30464== Releasing lock...
[2025-04-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:23:03] Production.INFO: ==30467== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:23:03] Production.INFO: ==30471== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:23:03] Production.INFO: ==30473== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:23:03] Production.INFO: ==30469== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:23:03] Production.INFO: Account Balance Start.
[2025-04-09 05:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:23:03] Production.INFO: 117
[2025-04-09 05:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:23:03] Production.INFO: Total Charge 0
[2025-04-09 05:23:03] Production.INFO: CreateAllLog End
[2025-04-09 05:23:03] Production.INFO: ==30475== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:23:03] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-04-09 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:23:04] Production.INFO: count ==12
[2025-04-09 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-04-09 05:23:04] Production.INFO: count ==23
[2025-04-09 05:23:04] Production.INFO: ==30469== Releasing lock...
[2025-04-09 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867373') start
[2025-04-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867373') end
[2025-04-09 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:23:04] Production.INFO: 1
[2025-04-09 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:23:04] Production.INFO: ==30477== Releasing lock...
[2025-04-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:23:04] Production.ERROR: done
[2025-04-09 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:23:04] Production.ERROR: done
[2025-04-09 05:23:04] Production.INFO: Account Balance End.
[2025-04-09 05:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:23:04] Production.INFO: ==30473== Releasing lock...
[2025-04-09 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:23:05
[end_date_ymd] => 2025-04-09 05:23:05
[RateCDR] => 1
)
[2025-04-09 05:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:23:05' and `end` < '2025-04-09 05:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:23:12] Production.ERROR: CronJobId end10
[2025-04-09 05:23:12] Production.INFO: ==30471== Releasing lock...
[2025-04-09 05:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:23:14] Production.INFO: call_cost start
[2025-04-09 05:23:14] Production.INFO: call_cost end
[2025-04-09 05:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:23:15] Production.INFO: ==30467== Releasing lock...
[2025-04-09 05:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:23:18] Production.INFO: count ==132
[2025-04-09 05:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:23:05 - End Time 2025-04-09 05:23:05
[2025-04-09 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867374', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867374', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867374', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867374', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:23:18] Production.INFO: ProcessCDR(1,14867374,1,1,2)
[2025-04-09 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867374', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867374', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:23:21] Production.INFO: ==30475== Releasing lock...
[2025-04-09 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:23:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:24:02] Production.INFO: ==30540== Lock acquired, processing the job...
[2025-04-09 10:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:24:02] Production.INFO: neon service started
[2025-04-09 10:24:02] Production.INFO: neon service started
[2025-04-09 10:24:02] Production.INFO: ==30540== Releasing lock...
[2025-04-09 10:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:24:02] Production.INFO: ==30542== Lock acquired, processing the job...
[2025-04-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:24:03] Production.INFO: ==30544== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:24:03] Production.INFO: ==30544== Releasing lock...
[2025-04-09 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:24:03] Production.INFO: ==30542== Releasing lock...
[2025-04-09 05:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:24:04] Production.INFO: ==30553== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:24:04] Production.INFO: ==30557== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:24:04] Production.INFO: Account Balance Start.
[2025-04-09 05:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:24:04] Production.INFO: 117
[2025-04-09 05:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:24:04] Production.INFO: count ==12
[2025-04-09 05:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:24:04] Production.INFO: Total Charge 0
[2025-04-09 05:24:04] Production.INFO: count ==23
[2025-04-09 05:24:04] Production.INFO: ==30547== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:24:04] Production.INFO: CreateAllLog End
[2025-04-09 05:24:04] Production.INFO: ==30549== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867376') start
[2025-04-09 05:24:04] Production.INFO: ==30551== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:24:04] Production.INFO: ==30555== Lock acquired, processing the job...
[2025-04-09 05:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867376') end
[2025-04-09 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:24:04] Production.INFO: 1
[2025-04-09 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:24:04] Production.INFO: Account Balance End.
[2025-04-09 05:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:24:04] Production.INFO: ==30557== Releasing lock...
[2025-04-09 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:24:04] Production.INFO: ==30549== Releasing lock...
[2025-04-09 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:24:04] Production.INFO: ==30553== Releasing lock...
[2025-04-09 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:24:04] Production.ERROR: done
[2025-04-09 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:24:05] Production.ERROR: done
[2025-04-09 05:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:24:06
[end_date_ymd] => 2025-04-09 05:24:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:24:06' and `end` < '2025-04-09 05: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-04-09 05:24:12] Production.ERROR: CronJobId end10
[2025-04-09 05:24:12] Production.INFO: ==30551== Releasing lock...
[2025-04-09 05:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:24:14] Production.INFO: call_cost start
[2025-04-09 05:24:14] Production.INFO: call_cost end
[2025-04-09 05:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:24:15] Production.INFO: ==30547== Releasing lock...
[2025-04-09 05:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:24:18] Production.INFO: count ==132
[2025-04-09 05:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:24:06 - End Time 2025-04-09 05:24:06
[2025-04-09 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867379', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867379', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867379', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867379', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:24:19] Production.INFO: ProcessCDR(1,14867379,1,1,2)
[2025-04-09 05:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867379', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867379', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:24:22] Production.INFO: ==30555== Releasing lock...
[2025-04-09 05:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:24:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:25:01] Production.INFO: ==30615== Lock acquired, processing the job...
[2025-04-09 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:25:01] Production.INFO: neon service started
[2025-04-09 10:25:01] Production.INFO: neon service started
[2025-04-09 10:25:01] Production.INFO: ==30615== Releasing lock...
[2025-04-09 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:25:02] Production.INFO: ==30617== Lock acquired, processing the job...
[2025-04-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:25:02] Production.INFO: ==30617== Releasing lock...
[2025-04-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:25:02] Production.INFO: ==30619== Lock acquired, processing the job...
[2025-04-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:25:02] Production.INFO: ==30619== Releasing lock...
[2025-04-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:25:03] Production.INFO: ==30621== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:25:03] Production.INFO: ==30625== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:25:03] Production.INFO: ==30627== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:25:03] Production.INFO: Account Balance Start.
[2025-04-09 05:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:25:03] Production.INFO: 117
[2025-04-09 05:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:25:03] Production.INFO: ==30623== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:25:03] Production.INFO: Total Charge 0
[2025-04-09 05:25:03] Production.INFO: CreateAllLog End
[2025-04-09 05:25:03] Production.INFO: ==30629== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:25:03] Production.INFO: ==30631== Lock acquired, processing the job...
[2025-04-09 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:25:03] Production.INFO: count ==12
[2025-04-09 05:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:25:03] Production.INFO: count ==23
[2025-04-09 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867383') start
[2025-04-09 05:25:03] Production.INFO: Account Balance End.
[2025-04-09 05:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:25:04] Production.INFO: ==30627== Releasing lock...
[2025-04-09 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:25:04] Production.INFO: ==30623== Releasing lock...
[2025-04-09 05:25:04] Production.ERROR: done
[2025-04-09 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867383') end
[2025-04-09 05:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:25:04] Production.INFO: 1
[2025-04-09 05:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:25:04] Production.INFO: ==30631== Releasing lock...
[2025-04-09 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:25:04] Production.ERROR: done
[2025-04-09 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:25:05
[end_date_ymd] => 2025-04-09 05:25:05
[RateCDR] => 1
)
[2025-04-09 05:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:25:05' and `end` < '2025-04-09 05:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:25:10] Production.ERROR: CronJobId end10
[2025-04-09 05:25:10] Production.INFO: ==30625== Releasing lock...
[2025-04-09 05:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:25:14] Production.INFO: call_cost start
[2025-04-09 05:25:14] Production.INFO: call_cost end
[2025-04-09 05:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:25:15] Production.INFO: ==30621== Releasing lock...
[2025-04-09 05:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:25:18] Production.INFO: count ==132
[2025-04-09 05:25:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:25:05 - End Time 2025-04-09 05:25:05
[2025-04-09 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867384', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867384', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867384', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867384', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:25:18] Production.INFO: ProcessCDR(1,14867384,1,1,2)
[2025-04-09 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867384', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867384', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:25:21] Production.INFO: ==30629== Releasing lock...
[2025-04-09 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:25:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:26:02] Production.INFO: ==30687== Lock acquired, processing the job...
[2025-04-09 10:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:26:02] Production.INFO: neon service started
[2025-04-09 10:26:02] Production.INFO: neon service started
[2025-04-09 10:26:02] Production.INFO: ==30687== Releasing lock...
[2025-04-09 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:26:02] Production.INFO: ==30690== Lock acquired, processing the job...
[2025-04-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:26:02] Production.INFO: ==30690== Releasing lock...
[2025-04-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:26:03] Production.INFO: ==30692== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:26:03] Production.INFO: ==30692== Releasing lock...
[2025-04-09 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:26:03] Production.INFO: ==30702== Lock acquired, processing the job...
[2025-04-09 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:26:03] Production.INFO: Account Balance Start.
[2025-04-09 05:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:26:03] Production.INFO: 117
[2025-04-09 05:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:26:03] Production.INFO: Total Charge 0
[2025-04-09 05:26:03] Production.INFO: ==30706== Lock acquired, processing the job...
[2025-04-09 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:26:03] Production.INFO: CreateAllLog End
[2025-04-09 05:26:04] Production.INFO: ==30696== Lock acquired, processing the job...
[2025-04-09 05:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:26:04] Production.INFO: ==30698== Lock acquired, processing the job...
[2025-04-09 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:26:04] Production.INFO: Account Balance End.
[2025-04-09 05:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:26:04] Production.INFO: ==30702== Releasing lock...
[2025-04-09 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:26:04] Production.INFO: ==30700== Lock acquired, processing the job...
[2025-04-09 05:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:26:04] Production.INFO: count ==12
[2025-04-09 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:26:04] Production.INFO: count ==23
[2025-04-09 05:26:04] Production.INFO: ==30704== Lock acquired, processing the job...
[2025-04-09 05:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867386') start
[2025-04-09 05:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867386') end
[2025-04-09 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:26:04] Production.INFO: 1
[2025-04-09 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:26:04] Production.INFO: ==30706== Releasing lock...
[2025-04-09 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:26:04] Production.INFO: ==30698== Releasing lock...
[2025-04-09 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:26:04] Production.ERROR: done
[2025-04-09 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:26:04] Production.ERROR: done
[2025-04-09 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:26:05
[end_date_ymd] => 2025-04-09 05:26:05
[RateCDR] => 1
)
[2025-04-09 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:26:05' and `end` < '2025-04-09 05:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:26:12] Production.ERROR: CronJobId end10
[2025-04-09 05:26:12] Production.INFO: ==30700== Releasing lock...
[2025-04-09 05:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:26:15] Production.INFO: call_cost start
[2025-04-09 05:26:15] Production.INFO: call_cost end
[2025-04-09 05:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:26:16] Production.INFO: ==30696== Releasing lock...
[2025-04-09 05:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:26:18] Production.INFO: count ==132
[2025-04-09 05:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:26:05 - End Time 2025-04-09 05:26:05
[2025-04-09 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867389', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867389', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867389', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867389', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:26:18] Production.INFO: ProcessCDR(1,14867389,1,1,2)
[2025-04-09 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867389', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867389', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:26:22] Production.INFO: ==30704== Releasing lock...
[2025-04-09 05:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:26:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:27:01] Production.INFO: ==30761== Lock acquired, processing the job...
[2025-04-09 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:27:01] Production.INFO: neon service started
[2025-04-09 10:27:01] Production.INFO: neon service started
[2025-04-09 10:27:01] Production.INFO: ==30761== Releasing lock...
[2025-04-09 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:27:02] Production.INFO: ==30763== Lock acquired, processing the job...
[2025-04-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:27:02] Production.INFO: ==30765== Lock acquired, processing the job...
[2025-04-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:27:02] Production.INFO: ==30765== Releasing lock...
[2025-04-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:27:02] Production.INFO: ==30763== Releasing lock...
[2025-04-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:27:03] Production.INFO: ==30768== Lock acquired, processing the job...
[2025-04-09 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:27:03] Production.INFO: ==30772== Lock acquired, processing the job...
[2025-04-09 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:27:03] Production.INFO: ==30774== Lock acquired, processing the job...
[2025-04-09 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:27:03] Production.INFO: Account Balance Start.
[2025-04-09 05:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:27:03] Production.INFO: 117
[2025-04-09 05:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:27:03] Production.INFO: ==30770== Lock acquired, processing the job...
[2025-04-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:27:03] Production.INFO: Total Charge 0
[2025-04-09 05:27:03] Production.INFO: CreateAllLog End
[2025-04-09 05:27:03] Production.INFO: ==30778== Lock acquired, processing the job...
[2025-04-09 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:27:04] Production.INFO: Account Balance End.
[2025-04-09 05:27:04] Production.INFO: ==30776== Lock acquired, processing the job...
[2025-04-09 05:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:27:04] Production.INFO: ==30774== Releasing lock...
[2025-04-09 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:27:04] Production.INFO: count ==12
[2025-04-09 05:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:27:04] Production.INFO: count ==23
[2025-04-09 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867393') start
[2025-04-09 05:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867393') end
[2025-04-09 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:27:04] Production.INFO: 1
[2025-04-09 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:27:04] Production.INFO: ==30770== Releasing lock...
[2025-04-09 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:27:04] Production.INFO: ==30778== Releasing lock...
[2025-04-09 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:27:04] Production.ERROR: done
[2025-04-09 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:27:04] Production.ERROR: done
[2025-04-09 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:27:05
[end_date_ymd] => 2025-04-09 05:27:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:27:05' and `end` < '2025-04-09 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-04-09 05:27:11] Production.ERROR: CronJobId end10
[2025-04-09 05:27:11] Production.INFO: ==30772== Releasing lock...
[2025-04-09 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:27:13] Production.INFO: call_cost start
[2025-04-09 05:27:13] Production.INFO: call_cost end
[2025-04-09 05:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:27:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:27:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:27:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:27:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:27:14] Production.INFO: ==30768== Releasing lock...
[2025-04-09 05:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:27:18] Production.INFO: count ==132
[2025-04-09 05:27:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:27:05 - End Time 2025-04-09 05:27:05
[2025-04-09 05:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867394', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867394', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867394', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867394', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:27:18] Production.INFO: ProcessCDR(1,14867394,1,1,2)
[2025-04-09 05:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867394', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867394', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:27:22] Production.INFO: ==30776== Releasing lock...
[2025-04-09 05:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:27:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:28:02] Production.INFO: ==30835== Lock acquired, processing the job...
[2025-04-09 10:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:28:02] Production.INFO: neon service started
[2025-04-09 10:28:02] Production.INFO: neon service started
[2025-04-09 10:28:02] Production.INFO: ==30835== Releasing lock...
[2025-04-09 10:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:28:02] Production.INFO: ==30839== Lock acquired, processing the job...
[2025-04-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:28:02] Production.INFO: ==30839== Releasing lock...
[2025-04-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:28:02] Production.INFO: ==30837== Lock acquired, processing the job...
[2025-04-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:28:03] Production.INFO: ==30837== Releasing lock...
[2025-04-09 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:28:03] Production.INFO: ==30847== Lock acquired, processing the job...
[2025-04-09 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:28:04] Production.INFO: ==30852== Lock acquired, processing the job...
[2025-04-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:28:04] Production.INFO: ==30841== Lock acquired, processing the job...
[2025-04-09 05:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 05:28:04] Production.INFO: Account Balance Start.
[2025-04-09 05:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:28:04] Production.INFO: 117
[2025-04-09 05:28:04] Production.INFO: ==30843== Lock acquired, processing the job...
[2025-04-09 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:28:04] Production.INFO: count ==12
[2025-04-09 05:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 05:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:28:04] Production.INFO: count ==23
[2025-04-09 05:28:04] Production.INFO: ==30845== Lock acquired, processing the job...
[2025-04-09 05:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:28:04] Production.INFO: ==30850== Lock acquired, processing the job...
[2025-04-09 05:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867396') start
[2025-04-09 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867396') end
[2025-04-09 05:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:28:04] Production.INFO: 1
[2025-04-09 05:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:28:04] Production.INFO: Total Charge 0
[2025-04-09 05:28:04] Production.INFO: CreateAllLog End
[2025-04-09 05:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:28:04] Production.INFO: ==30852== Releasing lock...
[2025-04-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:28:04] Production.ERROR: done
[2025-04-09 05:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:28:05] Production.ERROR: done
[2025-04-09 05:28:05] Production.INFO: Account Balance End.
[2025-04-09 05:28:05] Production.INFO: ==30843== Releasing lock...
[2025-04-09 05:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:28:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:28:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:28:05] Production.INFO: ==30847== Releasing lock...
[2025-04-09 05:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:28:06
[end_date_ymd] => 2025-04-09 05:28:06
[RateCDR] => 1
)
[2025-04-09 05:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:28:06' and `end` < '2025-04-09 05:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:28:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-04-09 05:28:12] Production.ERROR: CronJobId end10
[2025-04-09 05:28:12] Production.INFO: ==30845== Releasing lock...
[2025-04-09 05:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:28:15] Production.INFO: call_cost start
[2025-04-09 05:28:15] Production.INFO: call_cost end
[2025-04-09 05:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:28:15] Production.INFO: ==30841== Releasing lock...
[2025-04-09 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:28:18] Production.INFO: count ==132
[2025-04-09 05:28:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:28:06 - End Time 2025-04-09 05:28:06
[2025-04-09 05:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867399', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867399', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867399', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867399', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:28:19] Production.INFO: ProcessCDR(1,14867399,1,1,2)
[2025-04-09 05:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867399', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867399', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:28:22] Production.INFO: ==30850== Releasing lock...
[2025-04-09 05:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:28:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:29:01] Production.INFO: ==30907== Lock acquired, processing the job...
[2025-04-09 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:29:01] Production.INFO: neon service started
[2025-04-09 10:29:01] Production.INFO: neon service started
[2025-04-09 10:29:01] Production.INFO: ==30907== Releasing lock...
[2025-04-09 10:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:29:01] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-04-09 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:29:01] Production.INFO: ==30911== Releasing lock...
[2025-04-09 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:29:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:29:02] Production.INFO: ==30909== Lock acquired, processing the job...
[2025-04-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:29:02] Production.INFO: ==30909== Releasing lock...
[2025-04-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:29:03] Production.INFO: ==30913== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:29:03] Production.INFO: ==30915== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:29:03] Production.INFO: ==30925== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:29:03] Production.INFO: ==30918== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:29:03] Production.INFO: ==30923== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:29:03] Production.INFO: ==30921== Lock acquired, processing the job...
[2025-04-09 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:29:03] Production.INFO: count ==12
[2025-04-09 05:29:03] Production.INFO: Account Balance Start.
[2025-04-09 05:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:29:03] Production.INFO: 117
[2025-04-09 05:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:29:03] Production.INFO: count ==23
[2025-04-09 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867402') start
[2025-04-09 05:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:29:03] Production.INFO: ==30915== Releasing lock...
[2025-04-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:29:03] Production.INFO: Total Charge 0
[2025-04-09 05:29:03] Production.INFO: CreateAllLog End
[2025-04-09 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867402') end
[2025-04-09 05:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:29:03] Production.INFO: 1
[2025-04-09 05:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:29:04] Production.ERROR: done
[2025-04-09 05:29:04] Production.INFO: ==30925== Releasing lock...
[2025-04-09 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:29:04] Production.ERROR: done
[2025-04-09 05:29:04] Production.INFO: Account Balance End.
[2025-04-09 05:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:29:04] Production.INFO: ==30921== Releasing lock...
[2025-04-09 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:29:05
[end_date_ymd] => 2025-04-09 05:29:05
[RateCDR] => 1
)
[2025-04-09 05:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:29:05' and `end` < '2025-04-09 05:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:29:11] Production.ERROR: CronJobId end10
[2025-04-09 05:29:11] Production.INFO: ==30918== Releasing lock...
[2025-04-09 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:29:13] Production.INFO: call_cost start
[2025-04-09 05:29:13] Production.INFO: call_cost end
[2025-04-09 05:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:29:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:29:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:29:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:29:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:29:14] Production.INFO: ==30913== Releasing lock...
[2025-04-09 05:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:29:18] Production.INFO: count ==132
[2025-04-09 05:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:29:05 - End Time 2025-04-09 05:29:05
[2025-04-09 05:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867404', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867404', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867404', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867404', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:29:18] Production.INFO: ProcessCDR(1,14867404,1,1,2)
[2025-04-09 05:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867404', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867404', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:29:21] Production.INFO: ==30923== Releasing lock...
[2025-04-09 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:30:02] Production.INFO: ==30984== Lock acquired, processing the job...
[2025-04-09 10:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:30:02] Production.INFO: neon service started
[2025-04-09 10:30:02] Production.INFO: neon service started
[2025-04-09 10:30:02] Production.INFO: ==30984== Releasing lock...
[2025-04-09 10:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:30:02] Production.INFO: ==30987== Lock acquired, processing the job...
[2025-04-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:30:02] Production.INFO: ==30989== Lock acquired, processing the job...
[2025-04-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:30:02] Production.INFO: ==30989== Releasing lock...
[2025-04-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:30:03] Production.INFO: ==30987== Releasing lock...
[2025-04-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:30:03] Production.INFO: ==30991== Lock acquired, processing the job...
[2025-04-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:30:03] Production.INFO: ==30993== Lock acquired, processing the job...
[2025-04-09 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:30:03] Production.INFO: ==30991== Releasing lock...
[2025-04-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:30:03] Production.INFO: ==30995== Lock acquired, processing the job...
[2025-04-09 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:30:04] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-04-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:30:04] Production.INFO: ==30997== Lock acquired, processing the job...
[2025-04-09 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:30:04] Production.INFO: ==30995== Releasing lock...
[2025-04-09 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:30:04] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-04-09 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:30:04] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-04-09 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:30:04] Production.INFO: count ==12
[2025-04-09 05:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:30:04] Production.INFO: count ==23
[2025-04-09 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867407') start
[2025-04-09 05:30:04] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-04-09 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:30:04] Production.INFO: Account Balance Start.
[2025-04-09 05:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:30:04] Production.INFO: 117
[2025-04-09 05:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867407') end
[2025-04-09 05:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:30:04] Production.INFO: 1
[2025-04-09 05:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:30:04] Production.INFO: ==31005== Releasing lock...
[2025-04-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:30:04] Production.INFO: Total Charge 0
[2025-04-09 05:30:04] Production.INFO: CreateAllLog End
[2025-04-09 05:30:04] Production.ERROR: done
[2025-04-09 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:30:05] Production.INFO: Account Balance End.
[2025-04-09 05:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:30:05] Production.INFO: ==30999== Releasing lock...
[2025-04-09 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:30:05] Production.ERROR: done
[2025-04-09 05:30:05] Production.ERROR: done
[2025-04-09 05:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867410', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:30:06
[end_date_ymd] => 2025-04-09 05:30:06
[RateCDR] => 1
)
[2025-04-09 05:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:30:06' and `end` < '2025-04-09 05:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867410', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:30:10] Production.INFO: ProcessCDR(1,14867410,1,1,2)
[2025-04-09 05:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867410,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867410,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:30:10] Production.INFO: ==31003== Releasing lock...
[2025-04-09 05:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:30:14] Production.ERROR: CronJobId end10
[2025-04-09 05:30:14] Production.INFO: ==30997== Releasing lock...
[2025-04-09 05:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:30:16] Production.INFO: call_cost start
[2025-04-09 05:30:16] Production.INFO: call_cost end
[2025-04-09 05:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:30:17] Production.INFO: ==30993== Releasing lock...
[2025-04-09 05:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:30:19] Production.INFO: count ==122
[2025-04-09 05:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:30:06 - End Time 2025-04-09 05:30:06
[2025-04-09 05:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867409', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867409', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867409', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867409', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:30:19] Production.INFO: ProcessCDR(1,14867409,1,1,2)
[2025-04-09 05:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867409', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867409', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:30:22] Production.INFO: ==31001== Releasing lock...
[2025-04-09 05:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:30:22] Production.INFO: 29 MB #Memory Used#
[2025-04-09 10:31:01] Production.INFO: ==31064== Lock acquired, processing the job...
[2025-04-09 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:31:01] Production.INFO: neon service started
[2025-04-09 10:31:01] Production.INFO: neon service started
[2025-04-09 10:31:01] Production.INFO: ==31064== Releasing lock...
[2025-04-09 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:31:01] Production.INFO: ==31066== Lock acquired, processing the job...
[2025-04-09 05:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:31:02] Production.INFO: ==31066== Releasing lock...
[2025-04-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:31:02] Production.INFO: ==31068== Lock acquired, processing the job...
[2025-04-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:31:02] Production.INFO: ==31068== Releasing lock...
[2025-04-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:31:02] Production.INFO: ==31070== Lock acquired, processing the job...
[2025-04-09 05:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:31:03] Production.INFO: ==31072== Lock acquired, processing the job...
[2025-04-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:31:03] Production.INFO: ==31080== Lock acquired, processing the job...
[2025-04-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:31:03] Production.INFO: ==31074== Lock acquired, processing the job...
[2025-04-09 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:31:03] Production.INFO: ==31078== Lock acquired, processing the job...
[2025-04-09 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:31:03] Production.INFO: count ==12
[2025-04-09 05:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:31:03] Production.INFO: count ==23
[2025-04-09 05:31:03] Production.INFO: ==31076== Lock acquired, processing the job...
[2025-04-09 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867413') start
[2025-04-09 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:31:03] Production.INFO: ==31072== Releasing lock...
[2025-04-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867413') end
[2025-04-09 05:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:31:03] Production.INFO: 1
[2025-04-09 05:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:31:03] Production.INFO: ==31080== Releasing lock...
[2025-04-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:31:03] Production.INFO: Account Balance Start.
[2025-04-09 05:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:31:03] Production.INFO: 117
[2025-04-09 05:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:31:03] Production.INFO: Total Charge 0
[2025-04-09 05:31:03] Production.INFO: CreateAllLog End
[2025-04-09 05:31:04] Production.ERROR: done
[2025-04-09 05:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:31:04] Production.INFO: Account Balance End.
[2025-04-09 05:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:31:04] Production.INFO: ==31076== Releasing lock...
[2025-04-09 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:31:04] Production.ERROR: done
[2025-04-09 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:31:05
[end_date_ymd] => 2025-04-09 05:31:05
[RateCDR] => 1
)
[2025-04-09 05:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:31:05' and `end` < '2025-04-09 05:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:31:10] Production.ERROR: CronJobId end10
[2025-04-09 05:31:10] Production.INFO: ==31074== Releasing lock...
[2025-04-09 05:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:31:13] Production.INFO: call_cost start
[2025-04-09 05:31:13] Production.INFO: call_cost end
[2025-04-09 05:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:31:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:31:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:31:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:31:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:31:14] Production.INFO: ==31070== Releasing lock...
[2025-04-09 05:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:31:18] Production.INFO: count ==122
[2025-04-09 05:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:31:05 - End Time 2025-04-09 05:31:05
[2025-04-09 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867415', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867415', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867415', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867415', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:31:18] Production.INFO: ProcessCDR(1,14867415,1,1,2)
[2025-04-09 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867415', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867415', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:31:21] Production.INFO: ==31078== Releasing lock...
[2025-04-09 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:31:21] Production.INFO: 29 MB #Memory Used#
[2025-04-09 10:32:01] Production.INFO: ==31141== Lock acquired, processing the job...
[2025-04-09 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:32:02] Production.INFO: neon service started
[2025-04-09 10:32:02] Production.INFO: neon service started
[2025-04-09 10:32:02] Production.INFO: ==31141== Releasing lock...
[2025-04-09 10:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:32:02] Production.INFO: ==31143== Lock acquired, processing the job...
[2025-04-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:32:02] Production.INFO: ==31143== Releasing lock...
[2025-04-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:32:02] Production.INFO: ==31145== Lock acquired, processing the job...
[2025-04-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:32:02] Production.INFO: ==31145== Releasing lock...
[2025-04-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:32:03] Production.INFO: ==31149== Lock acquired, processing the job...
[2025-04-09 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:32:03] Production.INFO: ==31149== Releasing lock...
[2025-04-09 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:32:03] Production.INFO: ==31147== Lock acquired, processing the job...
[2025-04-09 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:32:04] Production.INFO: ==31157== Lock acquired, processing the job...
[2025-04-09 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:32:04] Production.INFO: ==31151== Lock acquired, processing the job...
[2025-04-09 05:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:32:04] Production.INFO: ==31153== Lock acquired, processing the job...
[2025-04-09 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:32:04] Production.INFO: ==31155== Lock acquired, processing the job...
[2025-04-09 05:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:32:04] Production.INFO: Account Balance Start.
[2025-04-09 05:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:32:04] Production.INFO: 117
[2025-04-09 05:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:32:04] Production.INFO: count ==12
[2025-04-09 05:32:04] Production.INFO: Total Charge 0
[2025-04-09 05:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:32:04] Production.INFO: count ==23
[2025-04-09 05:32:04] Production.INFO: CreateAllLog End
[2025-04-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867418') start
[2025-04-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867418') end
[2025-04-09 05:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:32:04] Production.INFO: 1
[2025-04-09 05:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:32:04] Production.ERROR: done
[2025-04-09 05:32:04] Production.INFO: ==31157== Releasing lock...
[2025-04-09 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:32:04] Production.ERROR: done
[2025-04-09 05:32:04] Production.INFO: Account Balance End.
[2025-04-09 05:32:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:32:05] Production.INFO: ==31153== Releasing lock...
[2025-04-09 05:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:32:06
[end_date_ymd] => 2025-04-09 05:32:06
[RateCDR] => 1
)
[2025-04-09 05:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:32:06' and `end` < '2025-04-09 05:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:32:14] Production.INFO: call_cost start
[2025-04-09 05:32:14] Production.INFO: call_cost end
[2025-04-09 05:32:14] Production.ERROR: CronJobId end10
[2025-04-09 05:32:14] Production.INFO: ==31151== Releasing lock...
[2025-04-09 05:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:32:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:32:15] Production.INFO: ==31147== Releasing lock...
[2025-04-09 05:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:32:18] Production.INFO: count ==122
[2025-04-09 05:32:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:32:06 - End Time 2025-04-09 05:32:06
[2025-04-09 05:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867420', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867420', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867420', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867420', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:32:18] Production.INFO: ProcessCDR(1,14867420,1,1,2)
[2025-04-09 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867420', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867420', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:32:22] Production.INFO: ==31155== Releasing lock...
[2025-04-09 05:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:32:22] Production.INFO: 29 MB #Memory Used#
[2025-04-09 10:33:01] Production.INFO: ==31219== Lock acquired, processing the job...
[2025-04-09 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:33:01] Production.INFO: neon service started
[2025-04-09 10:33:01] Production.INFO: neon service started
[2025-04-09 10:33:01] Production.INFO: ==31219== Releasing lock...
[2025-04-09 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:33:01] Production.INFO: ==31223== Lock acquired, processing the job...
[2025-04-09 09:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:33:01] Production.INFO: ==31223== Releasing lock...
[2025-04-09 09:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:33:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:33:01] Production.INFO: ==31221== Lock acquired, processing the job...
[2025-04-09 05:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:33:02] Production.INFO: ==31221== Releasing lock...
[2025-04-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:33:03] Production.INFO: ==31234== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:33:03] Production.INFO: ==31236== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:33:03] Production.INFO: ==31226== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:33:03] Production.INFO: ==31228== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:33:03] Production.INFO: ==31232== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:33:03] Production.INFO: ==31230== Lock acquired, processing the job...
[2025-04-09 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:33:03] Production.INFO: count ==12
[2025-04-09 05:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:33:03] Production.INFO: count ==23
[2025-04-09 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867421') start
[2025-04-09 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:33:03] Production.INFO: Account Balance Start.
[2025-04-09 05:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:33:03] Production.INFO: 117
[2025-04-09 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867421') end
[2025-04-09 05:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:33:03] Production.INFO: 1
[2025-04-09 05:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:33:03] Production.INFO: Total Charge 0
[2025-04-09 05:33:03] Production.INFO: CreateAllLog End
[2025-04-09 05:33:03] Production.INFO: ==31228== Releasing lock...
[2025-04-09 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:33:03] Production.INFO: ==31236== Releasing lock...
[2025-04-09 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:33:03] Production.ERROR: done
[2025-04-09 05:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:33:03] Production.ERROR: done
[2025-04-09 05:33:04] Production.INFO: Account Balance End.
[2025-04-09 05:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:33:04] Production.INFO: ==31232== Releasing lock...
[2025-04-09 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:33:05
[end_date_ymd] => 2025-04-09 05:33:05
[RateCDR] => 1
)
[2025-04-09 05:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:33:05' and `end` < '2025-04-09 05:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:33:10] Production.ERROR: CronJobId end10
[2025-04-09 05:33:10] Production.INFO: ==31230== Releasing lock...
[2025-04-09 05:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:33:13] Production.INFO: call_cost start
[2025-04-09 05:33:13] Production.INFO: call_cost end
[2025-04-09 05:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:33:14] Production.INFO: ==31226== Releasing lock...
[2025-04-09 05:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:33:17] Production.INFO: count ==122
[2025-04-09 05:33:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:33:05 - End Time 2025-04-09 05:33:05
[2025-04-09 05:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867425', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867425', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867425', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867425', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:33:18] Production.INFO: ProcessCDR(1,14867425,1,1,2)
[2025-04-09 05:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867425', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867425', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:33:21] Production.INFO: ==31234== Releasing lock...
[2025-04-09 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:33:21] Production.INFO: 29 MB #Memory Used#
[2025-04-09 10:34:01] Production.INFO: ==31294== Lock acquired, processing the job...
[2025-04-09 10:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:34:01] Production.INFO: neon service started
[2025-04-09 10:34:01] Production.INFO: neon service started
[2025-04-09 10:34:01] Production.INFO: ==31294== Releasing lock...
[2025-04-09 10:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:34:02] Production.INFO: ==31296== Lock acquired, processing the job...
[2025-04-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:34:02] Production.INFO: ==31296== Releasing lock...
[2025-04-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:34:02] Production.INFO: ==31298== Lock acquired, processing the job...
[2025-04-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:34:02] Production.INFO: ==31298== Releasing lock...
[2025-04-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:34:03] Production.INFO: ==31303== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:34:03] Production.INFO: ==31307== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:34:03] Production.INFO: ==31311== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:34:03] Production.INFO: ==31305== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:34:03] Production.INFO: ==31313== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:34:03] Production.INFO: ==31309== Lock acquired, processing the job...
[2025-04-09 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:34:03] Production.INFO: Account Balance Start.
[2025-04-09 05:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:34:03] Production.INFO: 117
[2025-04-09 05:34:03] Production.INFO: count ==12
[2025-04-09 05:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:34:03] Production.INFO: count ==23
[2025-04-09 05:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867427') start
[2025-04-09 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:34:04] Production.ERROR: done
[2025-04-09 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867427') end
[2025-04-09 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:34:04] Production.INFO: 1
[2025-04-09 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:34:04] Production.INFO: Total Charge 0
[2025-04-09 05:34:04] Production.INFO: CreateAllLog End
[2025-04-09 05:34:04] Production.INFO: ==31313== Releasing lock...
[2025-04-09 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:34:04] Production.ERROR: done
[2025-04-09 05:34:04] Production.INFO: ==31305== Releasing lock...
[2025-04-09 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:34:04] Production.INFO: Account Balance End.
[2025-04-09 05:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:34:04] Production.INFO: ==31309== Releasing lock...
[2025-04-09 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:34:05
[end_date_ymd] => 2025-04-09 05:34:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:34:05' and `end` < '2025-04-09 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-04-09 05:34:11] Production.ERROR: CronJobId end10
[2025-04-09 05:34:11] Production.INFO: ==31307== Releasing lock...
[2025-04-09 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:34:15] Production.INFO: call_cost start
[2025-04-09 05:34:15] Production.INFO: call_cost end
[2025-04-09 05:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:34:16] Production.INFO: ==31303== Releasing lock...
[2025-04-09 05:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:34:18] Production.INFO: count ==122
[2025-04-09 05:34:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:34:05 - End Time 2025-04-09 05:34:05
[2025-04-09 05:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867430', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867430', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867430', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867430', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:34:18] Production.INFO: ProcessCDR(1,14867430,1,1,2)
[2025-04-09 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867430', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867430', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:34:21] Production.INFO: ==31311== Releasing lock...
[2025-04-09 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:34:21] Production.INFO: 29 MB #Memory Used#
[2025-04-09 10:35:02] Production.INFO: ==31369== Lock acquired, processing the job...
[2025-04-09 10:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:35:02] Production.INFO: neon service started
[2025-04-09 10:35:02] Production.INFO: neon service started
[2025-04-09 10:35:02] Production.INFO: ==31369== Releasing lock...
[2025-04-09 10:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:35:02] Production.INFO: ==31371== Lock acquired, processing the job...
[2025-04-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:35:02] Production.INFO: ==31373== Lock acquired, processing the job...
[2025-04-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:35:02] Production.INFO: ==31373== Releasing lock...
[2025-04-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:35:02] Production.INFO: ==31371== Releasing lock...
[2025-04-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:35:03] Production.INFO: ==31375== Lock acquired, processing the job...
[2025-04-09 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:35:03] Production.INFO: ==31385== Lock acquired, processing the job...
[2025-04-09 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:35:03] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-04-09 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:35:03] Production.INFO: count ==12
[2025-04-09 05:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:35:03] Production.INFO: count ==23
[2025-04-09 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867432') start
[2025-04-09 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867432') end
[2025-04-09 05:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:35:03] Production.INFO: 1
[2025-04-09 05:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:35:04] Production.INFO: ==31379== Lock acquired, processing the job...
[2025-04-09 05:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:35:04] Production.INFO: ==31385== Releasing lock...
[2025-04-09 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:35:04] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-04-09 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:35:04] Production.INFO: ==31377== Lock acquired, processing the job...
[2025-04-09 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:35:04] Production.ERROR: done
[2025-04-09 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:35:04] Production.INFO: Account Balance Start.
[2025-04-09 05:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:35:04] Production.INFO: 117
[2025-04-09 05:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:35:04] Production.INFO: Total Charge 0
[2025-04-09 05:35:04] Production.INFO: CreateAllLog End
[2025-04-09 05:35:04] Production.ERROR: done
[2025-04-09 05:35:04] Production.INFO: ==31377== Releasing lock...
[2025-04-09 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:35:04] Production.INFO: Account Balance End.
[2025-04-09 05:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:35:04] Production.INFO: ==31381== Releasing lock...
[2025-04-09 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:35:05
[end_date_ymd] => 2025-04-09 05:35:05
[RateCDR] => 1
)
[2025-04-09 05:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:35:05' and `end` < '2025-04-09 05:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:35:11] Production.ERROR: CronJobId end10
[2025-04-09 05:35:11] Production.INFO: ==31379== Releasing lock...
[2025-04-09 05:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:35:13] Production.INFO: call_cost start
[2025-04-09 05:35:13] Production.INFO: call_cost end
[2025-04-09 05:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:35:14] Production.INFO: ==31375== Releasing lock...
[2025-04-09 05:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:35:18] Production.INFO: count ==121
[2025-04-09 05:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:35:05 - End Time 2025-04-09 05:35:05
[2025-04-09 05:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867435', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867435', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867435', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867435', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:35:18] Production.INFO: ProcessCDR(1,14867435,1,1,2)
[2025-04-09 05:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867435', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867435', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:35:21] Production.INFO: ==31383== Releasing lock...
[2025-04-09 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:36:01] Production.INFO: ==31441== Lock acquired, processing the job...
[2025-04-09 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:36:01] Production.INFO: neon service started
[2025-04-09 10:36:01] Production.INFO: neon service started
[2025-04-09 10:36:01] Production.INFO: ==31441== Releasing lock...
[2025-04-09 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:36:02] Production.INFO: ==31443== Lock acquired, processing the job...
[2025-04-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:36:02] Production.INFO: ==31445== Lock acquired, processing the job...
[2025-04-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:36:02] Production.INFO: ==31443== Releasing lock...
[2025-04-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:36:02] Production.INFO: ==31445== Releasing lock...
[2025-04-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:36:03] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:36:03] Production.INFO: ==31449== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:36:03] Production.INFO: ==31457== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:36:03] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:36:03] Production.INFO: ==31449== Releasing lock...
[2025-04-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:36:03] Production.INFO: count ==12
[2025-04-09 05:36:03] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:36:03] Production.INFO: count ==23
[2025-04-09 05:36:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-04-09 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867438') start
[2025-04-09 05:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:36:03] Production.INFO: Account Balance Start.
[2025-04-09 05:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:36:03] Production.INFO: 117
[2025-04-09 05:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867438') end
[2025-04-09 05:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:36:03] Production.INFO: 1
[2025-04-09 05:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:36:04] Production.INFO: Total Charge 0
[2025-04-09 05:36:04] Production.INFO: CreateAllLog End
[2025-04-09 05:36:04] Production.INFO: ==31457== Releasing lock...
[2025-04-09 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:36:04] Production.ERROR: done
[2025-04-09 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:36:04] Production.INFO: Account Balance End.
[2025-04-09 05:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:36:04] Production.INFO: ==31453== Releasing lock...
[2025-04-09 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:36:04] Production.ERROR: done
[2025-04-09 05:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:36:05
[end_date_ymd] => 2025-04-09 05:36:05
[RateCDR] => 1
)
[2025-04-09 05:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:36:05' and `end` < '2025-04-09 05:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:36:12] Production.ERROR: CronJobId end10
[2025-04-09 05:36:12] Production.INFO: ==31451== Releasing lock...
[2025-04-09 05:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:36:13] Production.INFO: call_cost start
[2025-04-09 05:36:13] Production.INFO: call_cost end
[2025-04-09 05:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:36:14] Production.INFO: ==31447== Releasing lock...
[2025-04-09 05:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:36:18] Production.INFO: count ==121
[2025-04-09 05:36:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:36:05 - End Time 2025-04-09 05:36:05
[2025-04-09 05:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867440', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867440', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867440', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867440', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:36:18] Production.INFO: ProcessCDR(1,14867440,1,1,2)
[2025-04-09 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867440', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867440', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:36:21] Production.INFO: ==31455== Releasing lock...
[2025-04-09 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:36:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:37:02] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-04-09 10:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:37:02] Production.INFO: neon service started
[2025-04-09 10:37:02] Production.INFO: neon service started
[2025-04-09 10:37:02] Production.INFO: ==31516== Releasing lock...
[2025-04-09 10:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:37:02] Production.INFO: ==31520== Lock acquired, processing the job...
[2025-04-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:37:02] Production.INFO: ==31520== Releasing lock...
[2025-04-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:37:02] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-04-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:37:03] Production.INFO: ==31518== Releasing lock...
[2025-04-09 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:37:03] Production.INFO: ==31522== Lock acquired, processing the job...
[2025-04-09 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:37:03] Production.INFO: ==31524== Lock acquired, processing the job...
[2025-04-09 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:37:03] Production.INFO: ==31528== Lock acquired, processing the job...
[2025-04-09 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:37:04] Production.INFO: Account Balance Start.
[2025-04-09 05:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:37:04] Production.INFO: 117
[2025-04-09 05:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:37:04] Production.INFO: Total Charge 0
[2025-04-09 05:37:04] Production.INFO: CreateAllLog End
[2025-04-09 05:37:04] Production.INFO: ==31526== Lock acquired, processing the job...
[2025-04-09 05:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:37:04] Production.INFO: ==31531== Lock acquired, processing the job...
[2025-04-09 05:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:37:04] Production.INFO: ==31524== Releasing lock...
[2025-04-09 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:37:04] Production.INFO: Account Balance End.
[2025-04-09 05:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:37:04] Production.INFO: ==31528== Releasing lock...
[2025-04-09 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:37:04] Production.INFO: ==31533== Lock acquired, processing the job...
[2025-04-09 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 05:37:04] Production.INFO: count ==12
[2025-04-09 05:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:37:04] Production.INFO: count ==23
[2025-04-09 05:37:04] Production.ERROR: done
[2025-04-09 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867444') start
[2025-04-09 05:37:04] Production.ERROR: done
[2025-04-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867444') end
[2025-04-09 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:37:04] Production.INFO: 1
[2025-04-09 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:37:05] Production.INFO: ==31533== Releasing lock...
[2025-04-09 05:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:37:06
[end_date_ymd] => 2025-04-09 05:37:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:37:06' and `end` < '2025-04-09 05: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-04-09 05:37:12] Production.ERROR: CronJobId end10
[2025-04-09 05:37:12] Production.INFO: ==31526== Releasing lock...
[2025-04-09 05:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:37:15] Production.INFO: call_cost start
[2025-04-09 05:37:15] Production.INFO: call_cost end
[2025-04-09 05:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:37:16] Production.INFO: ==31522== Releasing lock...
[2025-04-09 05:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:37:18] Production.INFO: count ==119
[2025-04-09 05:37:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:37:06 - End Time 2025-04-09 05:37:06
[2025-04-09 05:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867445', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867445', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867445', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867445', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:37:18] Production.INFO: ProcessCDR(1,14867445,1,1,2)
[2025-04-09 05:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867445', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867445', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:37:22] Production.INFO: ==31531== Releasing lock...
[2025-04-09 05:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:37:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:38:01] Production.INFO: ==31628== Lock acquired, processing the job...
[2025-04-09 10:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:38:01] Production.INFO: neon service started
[2025-04-09 10:38:01] Production.INFO: neon service started
[2025-04-09 10:38:01] Production.INFO: ==31628== Releasing lock...
[2025-04-09 10:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:38:02] Production.INFO: ==31634== Lock acquired, processing the job...
[2025-04-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:38:02] Production.INFO: ==31634== Releasing lock...
[2025-04-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:38:02] Production.INFO: ==31632== Lock acquired, processing the job...
[2025-04-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:38:02] Production.INFO: ==31632== Releasing lock...
[2025-04-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:38:03] Production.INFO: ==31639== Lock acquired, processing the job...
[2025-04-09 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:38:03] Production.INFO: ==31637== Lock acquired, processing the job...
[2025-04-09 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:38:03] Production.INFO: ==31645== Lock acquired, processing the job...
[2025-04-09 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:38:03] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-04-09 05:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:38:03] Production.INFO: ==31643== Lock acquired, processing the job...
[2025-04-09 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:38:04] Production.INFO: ==31647== Lock acquired, processing the job...
[2025-04-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:38:04] Production.INFO: ==31639== Releasing lock...
[2025-04-09 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:38:04] Production.INFO: Account Balance Start.
[2025-04-09 05:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:38:04] Production.INFO: 117
[2025-04-09 05:38:04] Production.INFO: count ==12
[2025-04-09 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:38:04] Production.INFO: count ==23
[2025-04-09 05:38:04] Production.ERROR: done
[2025-04-09 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867448') start
[2025-04-09 05:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:38:04] Production.INFO: Total Charge 0
[2025-04-09 05:38:04] Production.INFO: CreateAllLog End
[2025-04-09 05:38:04] Production.ERROR: done
[2025-04-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867448') end
[2025-04-09 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:38:04] Production.INFO: 1
[2025-04-09 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:38:04] Production.INFO: Account Balance End.
[2025-04-09 05:38:04] Production.INFO: ==31647== Releasing lock...
[2025-04-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:38:04] Production.INFO: ==31643== Releasing lock...
[2025-04-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:38:05
[end_date_ymd] => 2025-04-09 05:38:05
[RateCDR] => 1
)
[2025-04-09 05:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:38:05' and `end` < '2025-04-09 05:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:38:13] Production.ERROR: CronJobId end10
[2025-04-09 05:38:13] Production.INFO: ==31641== Releasing lock...
[2025-04-09 05:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:38:16] Production.INFO: call_cost start
[2025-04-09 05:38:16] Production.INFO: call_cost end
[2025-04-09 05:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:38:17] Production.INFO: ==31637== Releasing lock...
[2025-04-09 05:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:38:18] Production.INFO: count ==119
[2025-04-09 05:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:38:05 - End Time 2025-04-09 05:38:05
[2025-04-09 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867450', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867450', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867450', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867450', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:38:18] Production.INFO: ProcessCDR(1,14867450,1,1,2)
[2025-04-09 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867450', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867450', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:38:21] Production.INFO: ==31645== Releasing lock...
[2025-04-09 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:38:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:39:02] Production.INFO: ==31709== Lock acquired, processing the job...
[2025-04-09 10:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:39:02] Production.INFO: neon service started
[2025-04-09 10:39:02] Production.INFO: neon service started
[2025-04-09 10:39:02] Production.INFO: ==31709== Releasing lock...
[2025-04-09 10:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:39:03] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-04-09 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==31713== Releasing lock...
[2025-04-09 09:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:39:03] Production.INFO: ==31711== Releasing lock...
[2025-04-09 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:39:04] Production.INFO: ==31716== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:39:04] Production.INFO: ==31718== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:39:04] Production.INFO: ==31720== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:39:04] Production.INFO: ==31722== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:39:04] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:39:04] Production.INFO: ==31724== Lock acquired, processing the job...
[2025-04-09 05:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:39:04] Production.INFO: Account Balance Start.
[2025-04-09 05:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:39:04] Production.INFO: 117
[2025-04-09 05:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:39:04] Production.INFO: Total Charge 0
[2025-04-09 05: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-04-09 05:39:04] Production.INFO: CreateAllLog End
[2025-04-09 05:39:04] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:39:04] Production.INFO: count ==23
[2025-04-09 05:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867454') start
[2025-04-09 05:39:05] Production.INFO: ==31718== Releasing lock...
[2025-04-09 05:39:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:39:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867454') end
[2025-04-09 05:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:39:05] Production.INFO: 1
[2025-04-09 05:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:39:05] Production.ERROR: done
[2025-04-09 05:39:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:39:05] Production.INFO: ==31726== Releasing lock...
[2025-04-09 05:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:39:05] Production.INFO: Account Balance End.
[2025-04-09 05:39:05] Production.ERROR: done
[2025-04-09 05:39:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:39:05] Production.INFO: ==31722== Releasing lock...
[2025-04-09 05:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:39:06
[end_date_ymd] => 2025-04-09 05:39:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:39:06' and `end` < '2025-04-09 05:39:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:39:13] Production.ERROR: CronJobId end10
[2025-04-09 05:39:13] Production.INFO: ==31720== Releasing lock...
[2025-04-09 05:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:39:15] Production.INFO: call_cost start
[2025-04-09 05:39:15] Production.INFO: call_cost end
[2025-04-09 05:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:39:16] Production.INFO: ==31716== Releasing lock...
[2025-04-09 05:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:39:19] Production.INFO: count ==119
[2025-04-09 05:39:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:39:06 - End Time 2025-04-09 05:39:06
[2025-04-09 05:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867455', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867455', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867455', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867455', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:39:19] Production.INFO: ProcessCDR(1,14867455,1,1,2)
[2025-04-09 05:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867455', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867455', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:39:22] Production.INFO: ==31724== Releasing lock...
[2025-04-09 05:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:39:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:40:01] Production.INFO: ==31789== Lock acquired, processing the job...
[2025-04-09 10:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:40:01] Production.INFO: neon service started
[2025-04-09 10:40:01] Production.INFO: neon service started
[2025-04-09 10:40:01] Production.INFO: ==31789== Releasing lock...
[2025-04-09 10:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:40:02] Production.INFO: ==31793== Lock acquired, processing the job...
[2025-04-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:40:02] Production.INFO: ==31793== Releasing lock...
[2025-04-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:40:02] Production.INFO: ==31791== Lock acquired, processing the job...
[2025-04-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:40:02] Production.INFO: ==31791== Releasing lock...
[2025-04-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:40:03] Production.INFO: ==31796== Lock acquired, processing the job...
[2025-04-09 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:40:03] Production.INFO: ==31798== Lock acquired, processing the job...
[2025-04-09 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:40:03] Production.ERROR: CronJob PID - 31798
[2025-04-09 05:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 05:40:03] Production.ERROR: CronJob ID - 5
[2025-04-09 05:40:03] Production.ERROR: CronJob Last Run Time 2025-04-09 05:40:00
[2025-04-09 05:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:40:03] Production.INFO: ==31796== Releasing lock...
[2025-04-09 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:40:03] Production.INFO: ==31806== Lock acquired, processing the job...
[2025-04-09 05:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:40:04] Production.INFO: ==31810== Lock acquired, processing the job...
[2025-04-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:40:04] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-04-09 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:40:04] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-04-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:40:04] Production.INFO: ==31804== Lock acquired, processing the job...
[2025-04-09 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:40:04] Production.INFO: ==31808== Lock acquired, processing the job...
[2025-04-09 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:40:04] Production.INFO: count ==12
[2025-04-09 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:40:04] Production.INFO: count ==23
[2025-04-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867457') start
[2025-04-09 05:40:04] Production.INFO: Account Balance Start.
[2025-04-09 05:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:40:04] Production.INFO: 117
[2025-04-09 05:40:04] Production.ERROR: done
[2025-04-09 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867457') end
[2025-04-09 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:40:04] Production.INFO: 1
[2025-04-09 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:40:04] Production.ERROR: done
[2025-04-09 05:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:40:04] Production.INFO: ==31810== Releasing lock...
[2025-04-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:40:04] Production.INFO: Total Charge 0
[2025-04-09 05:40:04] Production.INFO: ==31800== Releasing lock...
[2025-04-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:40:04] Production.INFO: CreateAllLog End
[2025-04-09 05:40:04] Production.ERROR: done
[2025-04-09 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867461', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:40:04] Production.INFO: Account Balance End.
[2025-04-09 05:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 05:40:05] Production.INFO: ==31804== Releasing lock...
[2025-04-09 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:40:05
[end_date_ymd] => 2025-04-09 05:40:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:40:05' and `end` < '2025-04-09 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-04-09 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867461', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:40:09] Production.INFO: ProcessCDR(1,14867461,1,1,2)
[2025-04-09 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867461,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867461,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:40:09] Production.INFO: ==31808== Releasing lock...
[2025-04-09 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:40:12] Production.ERROR: CronJobId end10
[2025-04-09 05:40:12] Production.INFO: ==31802== Releasing lock...
[2025-04-09 05:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:40:16] Production.INFO: call_cost start
[2025-04-09 05:40:16] Production.INFO: call_cost end
[2025-04-09 05:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:40:17] Production.INFO: ==31798== Releasing lock...
[2025-04-09 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:40:18] Production.INFO: count ==117
[2025-04-09 05:40:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:40:05 - End Time 2025-04-09 05:40:05
[2025-04-09 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867460', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867460', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867460', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867460', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:40:18] Production.INFO: ProcessCDR(1,14867460,1,1,2)
[2025-04-09 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867460', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867460', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:40:22] Production.INFO: ==31806== Releasing lock...
[2025-04-09 05:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:40:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:41:02] Production.INFO: ==31866== Lock acquired, processing the job...
[2025-04-09 10:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:41:02] Production.INFO: neon service started
[2025-04-09 10:41:02] Production.INFO: neon service started
[2025-04-09 10:41:02] Production.INFO: ==31866== Releasing lock...
[2025-04-09 10:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:41:02] Production.INFO: ==31870== Lock acquired, processing the job...
[2025-04-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:41:02] Production.INFO: ==31870== Releasing lock...
[2025-04-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:41:02] Production.INFO: ==31868== Lock acquired, processing the job...
[2025-04-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:41:03] Production.INFO: ==31868== Releasing lock...
[2025-04-09 05:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:41:03] Production.INFO: ==31879== Lock acquired, processing the job...
[2025-04-09 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:41:04] Production.INFO: ==31877== Lock acquired, processing the job...
[2025-04-09 05:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:41:04] Production.INFO: Account Balance Start.
[2025-04-09 05:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:41:04] Production.INFO: 117
[2025-04-09 05:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:41:04] Production.INFO: ==31881== Lock acquired, processing the job...
[2025-04-09 05:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:41:04] Production.INFO: ==31875== Lock acquired, processing the job...
[2025-04-09 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:41:04] Production.INFO: ==31873== Lock acquired, processing the job...
[2025-04-09 05:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:41:04] Production.INFO: Total Charge 0
[2025-04-09 05:41:04] Production.INFO: CreateAllLog End
[2025-04-09 05:41:04] Production.INFO: ==31883== Lock acquired, processing the job...
[2025-04-09 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:41:04] Production.INFO: count ==12
[2025-04-09 05:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:41:04] Production.INFO: count ==23
[2025-04-09 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867465') start
[2025-04-09 05:41:04] Production.INFO: Account Balance End.
[2025-04-09 05:41:04] Production.ERROR: done
[2025-04-09 05:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:41:04] Production.INFO: ==31879== Releasing lock...
[2025-04-09 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:41:04] Production.INFO: ==31875== Releasing lock...
[2025-04-09 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:41:04] Production.ERROR: done
[2025-04-09 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867465') end
[2025-04-09 05:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:41:04] Production.INFO: 1
[2025-04-09 05:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:41:04] Production.INFO: ==31883== Releasing lock...
[2025-04-09 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:41:05
[end_date_ymd] => 2025-04-09 05:41:05
[RateCDR] => 1
)
[2025-04-09 05:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:41:05' and `end` < '2025-04-09 05:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:41:11] Production.ERROR: CronJobId end10
[2025-04-09 05:41:11] Production.INFO: ==31877== Releasing lock...
[2025-04-09 05:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:41:15] Production.INFO: call_cost start
[2025-04-09 05:41:15] Production.INFO: call_cost end
[2025-04-09 05:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:41:16] Production.INFO: ==31873== Releasing lock...
[2025-04-09 05:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:41:18] Production.INFO: count ==117
[2025-04-09 05:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:41:05 - End Time 2025-04-09 05:41:05
[2025-04-09 05:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867466', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867466', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867466', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867466', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:41:18] Production.INFO: ProcessCDR(1,14867466,1,1,2)
[2025-04-09 05:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867466', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867466', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:41:21] Production.INFO: ==31881== Releasing lock...
[2025-04-09 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:41:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:42:01] Production.INFO: ==31943== Lock acquired, processing the job...
[2025-04-09 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:42:01] Production.INFO: neon service started
[2025-04-09 10:42:01] Production.INFO: neon service started
[2025-04-09 10:42:01] Production.INFO: ==31943== Releasing lock...
[2025-04-09 10:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:42:02] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-04-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:42:02] Production.INFO: ==31945== Releasing lock...
[2025-04-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:42:02] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-04-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:42:02] Production.INFO: ==31947== Releasing lock...
[2025-04-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:42:03] Production.INFO: ==31955== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:42:03] Production.INFO: ==31957== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:42:03] Production.INFO: Account Balance Start.
[2025-04-09 05:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:42:03] Production.INFO: 117
[2025-04-09 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:42:03] Production.INFO: Total Charge 0
[2025-04-09 05:42:03] Production.INFO: CreateAllLog End
[2025-04-09 05:42:03] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:42:03] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:42:03] Production.INFO: ==31953== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:42:03] Production.INFO: ==31959== Lock acquired, processing the job...
[2025-04-09 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:42:03] Production.ERROR: done
[2025-04-09 05:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:42:03] Production.INFO: ==31951== Releasing lock...
[2025-04-09 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:42:03] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 05:42:03] Production.INFO: count ==12
[2025-04-09 05:42:03] Production.ERROR: CronJobId end 12
[2025-04-09 05:42:03] Production.INFO: ==31955== Releasing lock...
[2025-04-09 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 05:42:03] Production.ERROR: done
[2025-04-09 05:42:03] Production.INFO: count ==23
[2025-04-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867470') start
[2025-04-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867470') end
[2025-04-09 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:42:04] Production.INFO: 1
[2025-04-09 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:42:04] Production.INFO: ==31959== Releasing lock...
[2025-04-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:42:05
[end_date_ymd] => 2025-04-09 05:42:05
[RateCDR] => 1
)
[2025-04-09 05:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:42:05' and `end` < '2025-04-09 05:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:42:12] Production.ERROR: CronJobId end10
[2025-04-09 05:42:12] Production.INFO: ==31953== Releasing lock...
[2025-04-09 05:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:42:15] Production.INFO: call_cost start
[2025-04-09 05:42:15] Production.INFO: call_cost end
[2025-04-09 05:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:42:16] Production.INFO: ==31949== Releasing lock...
[2025-04-09 05:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:42:18] Production.INFO: count ==118
[2025-04-09 05:42:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:42:05 - End Time 2025-04-09 05:42:05
[2025-04-09 05:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867471', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867471', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867471', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867471', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:42:18] Production.INFO: ProcessCDR(1,14867471,1,1,2)
[2025-04-09 05:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867471', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867471', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:42:22] Production.INFO: ==31957== Releasing lock...
[2025-04-09 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:42:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:43:02] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-04-09 10:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:43:02] Production.INFO: neon service started
[2025-04-09 10:43:02] Production.INFO: neon service started
[2025-04-09 10:43:02] Production.INFO: ==32016== Releasing lock...
[2025-04-09 10:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:43:02] Production.INFO: ==32018== Lock acquired, processing the job...
[2025-04-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:43:02] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-04-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:43:02] Production.INFO: ==32020== Releasing lock...
[2025-04-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:43:03] Production.INFO: ==32018== Releasing lock...
[2025-04-09 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:43:03] Production.INFO: ==32030== Lock acquired, processing the job...
[2025-04-09 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:43:04] Production.INFO: Account Balance Start.
[2025-04-09 05:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:43:04] Production.INFO: 117
[2025-04-09 05:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:43:04] Production.INFO: ==32034== Lock acquired, processing the job...
[2025-04-09 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:43:04] Production.INFO: Total Charge 0
[2025-04-09 05:43:04] Production.INFO: CreateAllLog End
[2025-04-09 05:43:04] Production.INFO: ==32023== Lock acquired, processing the job...
[2025-04-09 05:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:43:04] Production.INFO: ==32025== Lock acquired, processing the job...
[2025-04-09 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:43:04] Production.INFO: ==32028== Lock acquired, processing the job...
[2025-04-09 05:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:43:04] Production.INFO: Account Balance End.
[2025-04-09 05:43:04] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-04-09 05:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:43:04] Production.INFO: ==32030== Releasing lock...
[2025-04-09 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:43:04] Production.INFO: count ==12
[2025-04-09 05:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:43:04] Production.INFO: count ==23
[2025-04-09 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867473') start
[2025-04-09 05:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:43:04] Production.INFO: ==32025== Releasing lock...
[2025-04-09 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867473') end
[2025-04-09 05:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:43:04] Production.INFO: 1
[2025-04-09 05:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:43:04] Production.INFO: ==32034== Releasing lock...
[2025-04-09 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:43:04] Production.ERROR: done
[2025-04-09 05:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:43:04] Production.ERROR: done
[2025-04-09 05:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:43:06
[end_date_ymd] => 2025-04-09 05:43:06
[RateCDR] => 1
)
[2025-04-09 05:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:43:06' and `end` < '2025-04-09 05:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:43:12] Production.ERROR: CronJobId end10
[2025-04-09 05:43:12] Production.INFO: ==32028== Releasing lock...
[2025-04-09 05:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:43:16] Production.INFO: call_cost start
[2025-04-09 05:43:16] Production.INFO: call_cost end
[2025-04-09 05:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:43:16] Production.INFO: ==32023== Releasing lock...
[2025-04-09 05:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:43:18] Production.INFO: count ==118
[2025-04-09 05:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:43:06 - End Time 2025-04-09 05:43:06
[2025-04-09 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867476', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867476', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867476', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867476', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:43:18] Production.INFO: ProcessCDR(1,14867476,1,1,2)
[2025-04-09 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867476', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867476', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:43:22] Production.INFO: ==32032== Releasing lock...
[2025-04-09 05:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:43:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:44:01] Production.INFO: ==32091== Lock acquired, processing the job...
[2025-04-09 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:44:01] Production.INFO: neon service started
[2025-04-09 10:44:01] Production.INFO: neon service started
[2025-04-09 10:44:01] Production.INFO: ==32091== Releasing lock...
[2025-04-09 10:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:44:01] Production.INFO: ==32093== Lock acquired, processing the job...
[2025-04-09 05:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:44:02] Production.INFO: ==32095== Lock acquired, processing the job...
[2025-04-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 05:44:02] Production.INFO: ==32093== Releasing lock...
[2025-04-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:44:02] Production.INFO: ==32095== Releasing lock...
[2025-04-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:44:03] Production.INFO: ==32097== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:44:03] Production.INFO: ==32101== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:44:03] Production.INFO: ==32108== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:44:03] Production.INFO: ==32099== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:44:03] Production.INFO: ==32103== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05: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-04-09 05:44:03] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:44:03] Production.INFO: count ==23
[2025-04-09 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867478') start
[2025-04-09 05:44:03] Production.INFO: ==32106== Lock acquired, processing the job...
[2025-04-09 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:44:03] Production.INFO: Account Balance Start.
[2025-04-09 05:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:44:03] Production.INFO: 117
[2025-04-09 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867478') end
[2025-04-09 05:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:44:03] Production.INFO: 1
[2025-04-09 05:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:44:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:44:04] Production.INFO: ==32108== Releasing lock...
[2025-04-09 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:44:04] Production.INFO: Total Charge 0
[2025-04-09 05:44:04] Production.INFO: ==32099== Releasing lock...
[2025-04-09 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:44:04] Production.INFO: CreateAllLog End
[2025-04-09 05:44:04] Production.ERROR: done
[2025-04-09 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:44:04] Production.INFO: Account Balance End.
[2025-04-09 05:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:44:04] Production.INFO: ==32103== Releasing lock...
[2025-04-09 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:44:04] Production.ERROR: done
[2025-04-09 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:44:05
[end_date_ymd] => 2025-04-09 05:44:05
[RateCDR] => 1
)
[2025-04-09 05:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:44:05' and `end` < '2025-04-09 05:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:44:11] Production.ERROR: CronJobId end10
[2025-04-09 05:44:11] Production.INFO: ==32101== Releasing lock...
[2025-04-09 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:44:14] Production.INFO: call_cost start
[2025-04-09 05:44:14] Production.INFO: call_cost end
[2025-04-09 05:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:44:15] Production.INFO: ==32097== Releasing lock...
[2025-04-09 05:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:44:17] Production.INFO: count ==117
[2025-04-09 05:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:44:05 - End Time 2025-04-09 05:44:05
[2025-04-09 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867481', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867481', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867481', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867481', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:44:18] Production.INFO: ProcessCDR(1,14867481,1,1,2)
[2025-04-09 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867481', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867481', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:44:21] Production.INFO: ==32106== Releasing lock...
[2025-04-09 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:45:02] Production.INFO: ==32169== Lock acquired, processing the job...
[2025-04-09 10:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:45:02] Production.INFO: neon service started
[2025-04-09 10:45:02] Production.INFO: neon service started
[2025-04-09 10:45:02] Production.INFO: ==32169== Releasing lock...
[2025-04-09 10:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:45:02] Production.INFO: ==32171== Lock acquired, processing the job...
[2025-04-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:45:02] Production.INFO: ==32171== Releasing lock...
[2025-04-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:45:02] Production.INFO: ==32173== Lock acquired, processing the job...
[2025-04-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:45:02] Production.INFO: ==32173== Releasing lock...
[2025-04-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:45:03] Production.INFO: ==32186== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:45:03] Production.INFO: ==32184== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:45:03] Production.INFO: ==32176== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:45:03] Production.INFO: ==32178== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:45:03] Production.INFO: count ==12
[2025-04-09 05:45:03] Production.INFO: ==32180== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:45:03] Production.INFO: count ==23
[2025-04-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867482') start
[2025-04-09 05:45:03] Production.INFO: ==32182== Lock acquired, processing the job...
[2025-04-09 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867482') end
[2025-04-09 05:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:45:03] Production.INFO: 1
[2025-04-09 05:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:45:04] Production.INFO: Account Balance Start.
[2025-04-09 05:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:45:04] Production.INFO: 117
[2025-04-09 05:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:45:04] Production.ERROR: done
[2025-04-09 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:45:04] Production.INFO: ==32186== Releasing lock...
[2025-04-09 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:45:04] Production.INFO: Total Charge 0
[2025-04-09 05:45:04] Production.INFO: CreateAllLog End
[2025-04-09 05:45:04] Production.INFO: ==32178== Releasing lock...
[2025-04-09 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:45:04] Production.ERROR: done
[2025-04-09 05:45:04] Production.INFO: Account Balance End.
[2025-04-09 05:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:45:04] Production.INFO: ==32182== Releasing lock...
[2025-04-09 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:45:05
[end_date_ymd] => 2025-04-09 05:45:05
[RateCDR] => 1
)
[2025-04-09 05:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:45:05' and `end` < '2025-04-09 05:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:45:12] Production.ERROR: CronJobId end10
[2025-04-09 05:45:12] Production.INFO: ==32180== Releasing lock...
[2025-04-09 05:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:45:14] Production.INFO: call_cost start
[2025-04-09 05:45:14] Production.INFO: call_cost end
[2025-04-09 05:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:45:15] Production.INFO: ==32176== Releasing lock...
[2025-04-09 05:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:45:18] Production.INFO: count ==117
[2025-04-09 05:45:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:45:05 - End Time 2025-04-09 05:45:05
[2025-04-09 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867486', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867486', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867486', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867486', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:45:18] Production.INFO: ProcessCDR(1,14867486,1,1,2)
[2025-04-09 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867486', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867486', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:45:21] Production.INFO: ==32184== Releasing lock...
[2025-04-09 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:46:01] Production.INFO: ==32241== Lock acquired, processing the job...
[2025-04-09 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:46:01] Production.INFO: neon service started
[2025-04-09 10:46:01] Production.INFO: neon service started
[2025-04-09 10:46:01] Production.INFO: ==32241== Releasing lock...
[2025-04-09 10:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:46:01] Production.INFO: ==32243== Lock acquired, processing the job...
[2025-04-09 05:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:46:02] Production.INFO: ==32245== Lock acquired, processing the job...
[2025-04-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:46:02] Production.INFO: ==32245== Releasing lock...
[2025-04-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:46:02] Production.INFO: ==32243== Releasing lock...
[2025-04-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:46:02] Production.INFO: ==32247== Lock acquired, processing the job...
[2025-04-09 05:46:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:46:03] Production.INFO: ==32249== Lock acquired, processing the job...
[2025-04-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:46:03] Production.INFO: ==32253== Lock acquired, processing the job...
[2025-04-09 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:46:03] Production.INFO: ==32251== Lock acquired, processing the job...
[2025-04-09 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:46:03] Production.INFO: ==32249== Releasing lock...
[2025-04-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:46:03] Production.INFO: Account Balance Start.
[2025-04-09 05:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:46:03] Production.INFO: 117
[2025-04-09 05:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:46:03] Production.INFO: ==32255== Lock acquired, processing the job...
[2025-04-09 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:46:03] Production.INFO: Total Charge 0
[2025-04-09 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:46:03] Production.INFO: ==32258== Lock acquired, processing the job...
[2025-04-09 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:46:03] Production.INFO: CreateAllLog End
[2025-04-09 05:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:46:03] Production.INFO: Account Balance End.
[2025-04-09 05:46:03] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:46:03] Production.INFO: count ==23
[2025-04-09 05:46:03] Production.ERROR: CronJobId end 12
[2025-04-09 05:46:03] Production.INFO: ==32253== Releasing lock...
[2025-04-09 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867490') start
[2025-04-09 05:46:03] Production.ERROR: done
[2025-04-09 05:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867490') end
[2025-04-09 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:46:04] Production.INFO: 1
[2025-04-09 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:46:04] Production.INFO: ==32258== Releasing lock...
[2025-04-09 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:46:04] Production.ERROR: done
[2025-04-09 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:46:05
[end_date_ymd] => 2025-04-09 05:46:05
[RateCDR] => 1
)
[2025-04-09 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:46:05' and `end` < '2025-04-09 05:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:46:11] Production.ERROR: CronJobId end10
[2025-04-09 05:46:11] Production.INFO: ==32251== Releasing lock...
[2025-04-09 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:46:14] Production.INFO: call_cost start
[2025-04-09 05:46:14] Production.INFO: call_cost end
[2025-04-09 05:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:46:15] Production.INFO: ==32247== Releasing lock...
[2025-04-09 05:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:46:18] Production.INFO: count ==117
[2025-04-09 05:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:46:05 - End Time 2025-04-09 05:46:05
[2025-04-09 05:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867491', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867491', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867491', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867491', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:46:18] Production.INFO: ProcessCDR(1,14867491,1,1,2)
[2025-04-09 05:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867491', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867491', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:46:21] Production.INFO: ==32255== Releasing lock...
[2025-04-09 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:46:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:47:01] Production.INFO: ==32311== Lock acquired, processing the job...
[2025-04-09 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:47:01] Production.INFO: neon service started
[2025-04-09 10:47:01] Production.INFO: neon service started
[2025-04-09 10:47:01] Production.INFO: ==32311== Releasing lock...
[2025-04-09 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:47:02] Production.INFO: ==32313== Lock acquired, processing the job...
[2025-04-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:47:02] Production.INFO: ==32315== Lock acquired, processing the job...
[2025-04-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:47:02] Production.INFO: ==32315== Releasing lock...
[2025-04-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:47:02] Production.INFO: ==32313== Releasing lock...
[2025-04-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:47:03] Production.INFO: ==32324== Lock acquired, processing the job...
[2025-04-09 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:47:03] Production.INFO: ==32320== Lock acquired, processing the job...
[2025-04-09 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:47:03] Production.INFO: ==32322== Lock acquired, processing the job...
[2025-04-09 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:47:03] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-04-09 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:47:04] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-04-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:47:04] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-04-09 05:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:47:04] Production.INFO: count ==12
[2025-04-09 05:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:47:04] Production.INFO: count ==23
[2025-04-09 05:47:04] Production.INFO: Account Balance Start.
[2025-04-09 05:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:47:04] Production.INFO: 117
[2025-04-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867493') start
[2025-04-09 05:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:47:04] Production.INFO: Total Charge 0
[2025-04-09 05:47:04] Production.INFO: CreateAllLog End
[2025-04-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867493') end
[2025-04-09 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:47:04] Production.INFO: 1
[2025-04-09 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:47:04] Production.INFO: ==32322== Releasing lock...
[2025-04-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:47:04] Production.INFO: ==32330== Releasing lock...
[2025-04-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:47:04] Production.ERROR: done
[2025-04-09 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:47:04] Production.INFO: Account Balance End.
[2025-04-09 05:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:47:04] Production.INFO: ==32326== Releasing lock...
[2025-04-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:47:04] Production.ERROR: done
[2025-04-09 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:47:05
[end_date_ymd] => 2025-04-09 05:47:05
[RateCDR] => 1
)
[2025-04-09 05:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:47:05' and `end` < '2025-04-09 05:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:47:12] Production.ERROR: CronJobId end10
[2025-04-09 05:47:12] Production.INFO: ==32324== Releasing lock...
[2025-04-09 05:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:47:14] Production.INFO: call_cost start
[2025-04-09 05:47:14] Production.INFO: call_cost end
[2025-04-09 05:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:47:15] Production.INFO: ==32320== Releasing lock...
[2025-04-09 05:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:47:18] Production.INFO: count ==117
[2025-04-09 05:47:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:47:05 - End Time 2025-04-09 05:47:05
[2025-04-09 05:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867496', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867496', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867496', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867496', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:47:18] Production.INFO: ProcessCDR(1,14867496,1,1,2)
[2025-04-09 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867496', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867496', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:47:22] Production.INFO: ==32328== Releasing lock...
[2025-04-09 05:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:47:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 10:48:02] Production.INFO: ==32385== Lock acquired, processing the job...
[2025-04-09 10:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:48:02] Production.INFO: neon service started
[2025-04-09 10:48:02] Production.INFO: neon service started
[2025-04-09 10:48:02] Production.INFO: ==32385== Releasing lock...
[2025-04-09 10:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:48:02] Production.INFO: ==32389== Lock acquired, processing the job...
[2025-04-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:48:02] Production.INFO: ==32389== Releasing lock...
[2025-04-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:48:02] Production.INFO: ==32387== Lock acquired, processing the job...
[2025-04-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:48:03] Production.INFO: ==32387== Releasing lock...
[2025-04-09 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:48:03] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-04-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:48:03] Production.INFO: ==32402== Lock acquired, processing the job...
[2025-04-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:48:04] Production.INFO: ==32392== Lock acquired, processing the job...
[2025-04-09 05:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05: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-04-09 05:48:04] Production.INFO: count ==12
[2025-04-09 05:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 05:48:04] Production.INFO: count ==23
[2025-04-09 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867498') start
[2025-04-09 05:48:04] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-04-09 05:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:48:04] Production.INFO: ==32400== Lock acquired, processing the job...
[2025-04-09 05:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:48:04] Production.INFO: ==32398== Lock acquired, processing the job...
[2025-04-09 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867498') end
[2025-04-09 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:48:04] Production.INFO: 1
[2025-04-09 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:48:04] Production.INFO: ==32402== Releasing lock...
[2025-04-09 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:48:04] Production.INFO: Account Balance Start.
[2025-04-09 05:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:48:04] Production.INFO: 117
[2025-04-09 05:48:04] Production.INFO: ==32394== Releasing lock...
[2025-04-09 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:48:04] Production.INFO: Total Charge 0
[2025-04-09 05:48:04] Production.INFO: CreateAllLog End
[2025-04-09 05:48:04] Production.ERROR: done
[2025-04-09 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:48:04] Production.ERROR: done
[2025-04-09 05:48:04] Production.INFO: Account Balance End.
[2025-04-09 05:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:48:04] Production.INFO: ==32398== Releasing lock...
[2025-04-09 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:48:05
[end_date_ymd] => 2025-04-09 05:48:05
[RateCDR] => 1
)
[2025-04-09 05:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:48:05' and `end` < '2025-04-09 05:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:48:13] Production.ERROR: CronJobId end10
[2025-04-09 05:48:13] Production.INFO: ==32396== Releasing lock...
[2025-04-09 05:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:48:15] Production.INFO: call_cost start
[2025-04-09 05:48:15] Production.INFO: call_cost end
[2025-04-09 05:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:48:16] Production.INFO: ==32392== Releasing lock...
[2025-04-09 05:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:48:18] Production.INFO: count ==71
[2025-04-09 05:48:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:48:05 - End Time 2025-04-09 05:48:05
[2025-04-09 05:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867501', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867501', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867501', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867501', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:48:18] Production.INFO: ProcessCDR(1,14867501,1,1,2)
[2025-04-09 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867501', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867501', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:48:21] Production.INFO: ==32400== Releasing lock...
[2025-04-09 05:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:48:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 10:49:01] Production.INFO: ==32462== Lock acquired, processing the job...
[2025-04-09 10:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:49:01] Production.INFO: neon service started
[2025-04-09 10:49:01] Production.INFO: neon service started
[2025-04-09 10:49:01] Production.INFO: ==32462== Releasing lock...
[2025-04-09 10:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:49:02] Production.INFO: ==32464== Lock acquired, processing the job...
[2025-04-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:49:02] Production.INFO: ==32464== Releasing lock...
[2025-04-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:49:02] Production.INFO: ==32466== Lock acquired, processing the job...
[2025-04-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:49:02] Production.INFO: ==32466== Releasing lock...
[2025-04-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:49:03] Production.INFO: ==32468== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:49:03] Production.INFO: ==32472== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:49:03] Production.INFO: ==32478== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:49:03] Production.INFO: ==32470== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05: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-04-09 05:49:03] Production.INFO: ==32474== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: count ==12
[2025-04-09 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05: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-04-09 05:49:03] Production.INFO: count ==23
[2025-04-09 05:49:03] Production.INFO: ==32476== Lock acquired, processing the job...
[2025-04-09 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867503') start
[2025-04-09 05:49:03] Production.INFO: Account Balance Start.
[2025-04-09 05:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:49:03] Production.INFO: 117
[2025-04-09 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867503') end
[2025-04-09 05:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:49:03] Production.INFO: 1
[2025-04-09 05:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:49:03] Production.INFO: Total Charge 0
[2025-04-09 05:49:03] Production.INFO: CreateAllLog End
[2025-04-09 05:49:03] Production.INFO: ==32478== Releasing lock...
[2025-04-09 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:49:04] Production.INFO: ==32470== Releasing lock...
[2025-04-09 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:49:04] Production.ERROR: done
[2025-04-09 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:49:04] Production.INFO: Account Balance End.
[2025-04-09 05:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:49:04] Production.INFO: ==32474== Releasing lock...
[2025-04-09 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:49:04] Production.ERROR: done
[2025-04-09 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:49:05
[end_date_ymd] => 2025-04-09 05:49:05
[RateCDR] => 1
)
[2025-04-09 05:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:49:05' and `end` < '2025-04-09 05:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:49:11] Production.ERROR: CronJobId end10
[2025-04-09 05:49:11] Production.INFO: ==32472== Releasing lock...
[2025-04-09 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:49:14] Production.INFO: call_cost start
[2025-04-09 05:49:14] Production.INFO: call_cost end
[2025-04-09 05:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:49:15] Production.INFO: ==32468== Releasing lock...
[2025-04-09 05:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:49:18] Production.INFO: count ==49
[2025-04-09 05:49:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:49:05 - End Time 2025-04-09 05:49:05
[2025-04-09 05:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867506', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867506', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867506', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867506', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:49:18] Production.INFO: ProcessCDR(1,14867506,1,1,2)
[2025-04-09 05:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867506', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867506', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:49:21] Production.INFO: ==32476== Releasing lock...
[2025-04-09 05:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:49:21] Production.INFO: 28 MB #Memory Used#
[2025-04-09 10:50:02] Production.INFO: ==32535== Lock acquired, processing the job...
[2025-04-09 10:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:50:02] Production.INFO: neon service started
[2025-04-09 10:50:02] Production.INFO: neon service started
[2025-04-09 10:50:02] Production.INFO: ==32535== Releasing lock...
[2025-04-09 10:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:50:02] Production.INFO: ==32537== Lock acquired, processing the job...
[2025-04-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:50:02] Production.INFO: ==32539== Lock acquired, processing the job...
[2025-04-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:50:02] Production.INFO: ==32539== Releasing lock...
[2025-04-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:50:03] Production.INFO: ==32537== Releasing lock...
[2025-04-09 05:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:50:04] Production.INFO: ==32542== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 05:50:04] Production.INFO: ==32546== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:50:04] Production.INFO: ==32544== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 05:50:04] Production.INFO: ==32548== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 05:50:04] Production.ERROR: CronJob PID - 32546
[2025-04-09 05:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 05:50:04] Production.ERROR: CronJob ID - 7
[2025-04-09 05:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 05:50:00
[2025-04-09 05:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 05:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 05:50:04] Production.INFO: ==32550== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 05:50:04] Production.INFO: ==32542== Releasing lock...
[2025-04-09 05:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 05:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 05:50:04] Production.INFO: Account Balance Start.
[2025-04-09 05:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:50:04] Production.INFO: 117
[2025-04-09 05:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:50:04] Production.INFO: ==32546== Releasing lock...
[2025-04-09 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:50:04] Production.INFO: Total Charge 0
[2025-04-09 05:50:04] Production.INFO: CreateAllLog End
[2025-04-09 05:50:04] Production.INFO: ==32556== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:50:04] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:50:04] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-04-09 05:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 05:50:04] Production.INFO: Account Balance End.
[2025-04-09 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:50:04] Production.INFO: ==32550== Releasing lock...
[2025-04-09 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05: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-04-09 05:50:05] Production.INFO: count ==12
[2025-04-09 05: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-04-09 05:50:05] Production.INFO: count ==23
[2025-04-09 05:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867510') start
[2025-04-09 05:50:05] Production.ERROR: done
[2025-04-09 05:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867510') end
[2025-04-09 05:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:50:05] Production.INFO: 1
[2025-04-09 05:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:50:05] Production.ERROR: done
[2025-04-09 05:50:05] Production.INFO: ==32556== Releasing lock...
[2025-04-09 05:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:50:05] Production.ERROR: done
[2025-04-09 05:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 05:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867511', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 05:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:50:07
[end_date_ymd] => 2025-04-09 05:50:07
[RateCDR] => 1
)
[2025-04-09 05:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:50:07' and `end` < '2025-04-09 05:50:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867511', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 05:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 05:50:09] Production.INFO: ProcessCDR(1,14867511,1,1,2)
[2025-04-09 05:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867511,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867511,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:50:09] Production.INFO: ==32554== Releasing lock...
[2025-04-09 05:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 05:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 05:50:14] Production.ERROR: CronJobId end10
[2025-04-09 05:50:14] Production.INFO: ==32548== Releasing lock...
[2025-04-09 05:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:50:16] Production.INFO: call_cost start
[2025-04-09 05:50:16] Production.INFO: call_cost end
[2025-04-09 05:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:50:17] Production.INFO: ==32544== Releasing lock...
[2025-04-09 05:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:50:19] Production.INFO: count ==46
[2025-04-09 05:50:19] Production.ERROR: pbx CDR StartTime 2025-04-09 02:50:07 - End Time 2025-04-09 05:50:07
[2025-04-09 05:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867512', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867512', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867512', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867512', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:50:19] Production.INFO: ProcessCDR(1,14867512,1,1,2)
[2025-04-09 05:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867512', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867512', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:50:23] Production.INFO: ==32552== Releasing lock...
[2025-04-09 05:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:50:23] Production.INFO: 28 MB #Memory Used#
[2025-04-09 10:51:01] Production.INFO: ==32610== Lock acquired, processing the job...
[2025-04-09 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:51:01] Production.INFO: neon service started
[2025-04-09 10:51:01] Production.INFO: neon service started
[2025-04-09 10:51:01] Production.INFO: ==32610== Releasing lock...
[2025-04-09 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:51:02] Production.INFO: ==32612== Lock acquired, processing the job...
[2025-04-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:51:02] Production.INFO: ==32614== Lock acquired, processing the job...
[2025-04-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:51:02] Production.INFO: ==32614== Releasing lock...
[2025-04-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:51:02] Production.INFO: ==32612== Releasing lock...
[2025-04-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:51:03] Production.INFO: ==32619== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:51:03] Production.INFO: ==32621== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:51:03] Production.INFO: ==32625== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:51:03] Production.INFO: ==32617== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:51:03] Production.INFO: ==32627== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:51:03] Production.INFO: ==32619== Releasing lock...
[2025-04-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:51:03] Production.INFO: ==32623== Lock acquired, processing the job...
[2025-04-09 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:51:03] Production.INFO: count ==12
[2025-04-09 05:51:03] Production.INFO: Account Balance Start.
[2025-04-09 05:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:51:03] Production.INFO: 117
[2025-04-09 05:51:04] Production.ERROR: done
[2025-04-09 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-04-09 05:51:04] Production.INFO: count ==23
[2025-04-09 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867514') start
[2025-04-09 05:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:51:04] Production.INFO: Total Charge 0
[2025-04-09 05:51:04] Production.INFO: CreateAllLog End
[2025-04-09 05:51:04] Production.ERROR: done
[2025-04-09 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867514') end
[2025-04-09 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:51:04] Production.INFO: 1
[2025-04-09 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:51:04] Production.INFO: ==32627== Releasing lock...
[2025-04-09 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:51:04] Production.INFO: Account Balance End.
[2025-04-09 05:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:51:04] Production.INFO: ==32623== Releasing lock...
[2025-04-09 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:51:05
[end_date_ymd] => 2025-04-09 05:51:05
[RateCDR] => 1
)
[2025-04-09 05:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:51:05' and `end` < '2025-04-09 05:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:51:11] Production.ERROR: CronJobId end10
[2025-04-09 05:51:11] Production.INFO: ==32621== Releasing lock...
[2025-04-09 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:51:13] Production.INFO: call_cost start
[2025-04-09 05:51:13] Production.INFO: call_cost end
[2025-04-09 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:51:14] Production.INFO: ==32617== Releasing lock...
[2025-04-09 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:51:18] Production.INFO: count ==47
[2025-04-09 05:51:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:51:05 - End Time 2025-04-09 05:51:05
[2025-04-09 05:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867517', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867517', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867517', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867517', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:51:18] Production.INFO: ProcessCDR(1,14867517,1,1,2)
[2025-04-09 05:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867517', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867517', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:51:23] Production.INFO: ==32625== Releasing lock...
[2025-04-09 05:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:51:23] Production.INFO: 28 MB #Memory Used#
[2025-04-09 10:52:02] Production.INFO: ==32688== Lock acquired, processing the job...
[2025-04-09 10:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:52:02] Production.INFO: neon service started
[2025-04-09 10:52:02] Production.INFO: neon service started
[2025-04-09 10:52:02] Production.INFO: ==32688== Releasing lock...
[2025-04-09 10:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:52:02] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-04-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:52:02] Production.INFO: ==32690== Releasing lock...
[2025-04-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:52:02] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-04-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:52:03] Production.INFO: ==32692== Releasing lock...
[2025-04-09 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:52:03] Production.INFO: ==32702== Lock acquired, processing the job...
[2025-04-09 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:52:03] Production.INFO: ==32704== Lock acquired, processing the job...
[2025-04-09 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:52:03] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-04-09 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:52:03] Production.INFO: ==32696== Lock acquired, processing the job...
[2025-04-09 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:52:04] Production.INFO: count ==12
[2025-04-09 05:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05: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-04-09 05:52:04] Production.INFO: ==32698== Lock acquired, processing the job...
[2025-04-09 05:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:52:04] Production.INFO: count ==23
[2025-04-09 05:52:04] Production.INFO: ==32700== Lock acquired, processing the job...
[2025-04-09 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867518') start
[2025-04-09 05:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867518') end
[2025-04-09 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:52:04] Production.INFO: 1
[2025-04-09 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:52:04] Production.ERROR: done
[2025-04-09 05:52:04] Production.INFO: ==32704== Releasing lock...
[2025-04-09 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:52:04] Production.INFO: Account Balance Start.
[2025-04-09 05:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:52:04] Production.INFO: 117
[2025-04-09 05:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:52:04] Production.ERROR: done
[2025-04-09 05:52:04] Production.INFO: Total Charge 0
[2025-04-09 05:52:04] Production.INFO: CreateAllLog End
[2025-04-09 05:52:04] Production.INFO: Account Balance End.
[2025-04-09 05:52:04] Production.INFO: ==32696== Releasing lock...
[2025-04-09 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:52:04] Production.INFO: ==32700== Releasing lock...
[2025-04-09 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:52:05
[end_date_ymd] => 2025-04-09 05:52:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 02:52:05' and `end` < '2025-04-09 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-04-09 05:52:11] Production.ERROR: CronJobId end10
[2025-04-09 05:52:11] Production.INFO: ==32698== Releasing lock...
[2025-04-09 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:52:14] Production.INFO: call_cost start
[2025-04-09 05:52:14] Production.INFO: call_cost end
[2025-04-09 05:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:52:15] Production.INFO: ==32694== Releasing lock...
[2025-04-09 05:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:52:18] Production.INFO: count ==48
[2025-04-09 05:52:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:52:05 - End Time 2025-04-09 05:52:05
[2025-04-09 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867522', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867522', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867522', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867522', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:52:18] Production.INFO: ProcessCDR(1,14867522,1,1,2)
[2025-04-09 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867522', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867522', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:52:23] Production.INFO: ==32702== Releasing lock...
[2025-04-09 05:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:52:23] Production.INFO: 28 MB #Memory Used#
[2025-04-09 10:53:01] Production.INFO: ==359== Lock acquired, processing the job...
[2025-04-09 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:53:01] Production.INFO: neon service started
[2025-04-09 10:53:01] Production.INFO: neon service started
[2025-04-09 10:53:01] Production.INFO: ==359== Releasing lock...
[2025-04-09 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:53:02] Production.INFO: ==362== Lock acquired, processing the job...
[2025-04-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:53:02] Production.INFO: ==364== Lock acquired, processing the job...
[2025-04-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:53:02] Production.INFO: ==364== Releasing lock...
[2025-04-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:53:02] Production.INFO: ==362== Releasing lock...
[2025-04-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:53:03] Production.INFO: ==372== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:53:03] Production.INFO: ==376== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:53:03] Production.INFO: ==368== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:53:03] Production.INFO: ==366== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:53:03] Production.INFO: Account Balance Start.
[2025-04-09 05:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:53:03] Production.INFO: 117
[2025-04-09 05:53:03] Production.INFO: ==370== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:53:03] Production.INFO: ==374== Lock acquired, processing the job...
[2025-04-09 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:53:03] Production.INFO: count ==12
[2025-04-09 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:53:03] Production.INFO: count ==23
[2025-04-09 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867524') start
[2025-04-09 05:53:03] Production.INFO: Total Charge 0
[2025-04-09 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867524') end
[2025-04-09 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:53:03] Production.INFO: 1
[2025-04-09 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:53:03] Production.INFO: CreateAllLog End
[2025-04-09 05:53:03] Production.INFO: ==376== Releasing lock...
[2025-04-09 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:53:03] Production.INFO: ==368== Releasing lock...
[2025-04-09 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:53:04] Production.ERROR: done
[2025-04-09 05:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:53:04] Production.INFO: Account Balance End.
[2025-04-09 05:53:04] Production.ERROR: done
[2025-04-09 05:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:53:04] Production.INFO: ==372== Releasing lock...
[2025-04-09 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:53:05
[end_date_ymd] => 2025-04-09 05:53:05
[RateCDR] => 1
)
[2025-04-09 05:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:53:05' and `end` < '2025-04-09 05:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:53:12] Production.ERROR: CronJobId end10
[2025-04-09 05:53:12] Production.INFO: ==370== Releasing lock...
[2025-04-09 05:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:53:14] Production.INFO: call_cost start
[2025-04-09 05:53:14] Production.INFO: call_cost end
[2025-04-09 05:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:53:15] Production.INFO: ==366== Releasing lock...
[2025-04-09 05:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:53:18] Production.INFO: count ==49
[2025-04-09 05:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:53:05 - End Time 2025-04-09 05:53:05
[2025-04-09 05:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867527', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867527', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867527', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867527', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:53:18] Production.INFO: ProcessCDR(1,14867527,1,1,2)
[2025-04-09 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867527', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867527', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:53:23] Production.INFO: ==374== Releasing lock...
[2025-04-09 05:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:53:23] Production.INFO: 28 MB #Memory Used#
[2025-04-09 10:54:02] Production.INFO: ==434== Lock acquired, processing the job...
[2025-04-09 10:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:54:02] Production.INFO: neon service started
[2025-04-09 10:54:02] Production.INFO: neon service started
[2025-04-09 10:54:02] Production.INFO: ==434== Releasing lock...
[2025-04-09 10:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:54:02] Production.INFO: ==437== Lock acquired, processing the job...
[2025-04-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:54:02] Production.INFO: ==437== Releasing lock...
[2025-04-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:54:02] Production.INFO: ==439== Lock acquired, processing the job...
[2025-04-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:54:02] Production.INFO: ==439== Releasing lock...
[2025-04-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:54:03] Production.INFO: ==449== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:54:03] Production.INFO: ==451== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:54:03] Production.INFO: ==441== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:54:03] Production.INFO: ==445== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:54:03] Production.INFO: ==443== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:54:03] Production.INFO: ==447== Lock acquired, processing the job...
[2025-04-09 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:54:03] Production.INFO: count ==12
[2025-04-09 05:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:54:03] Production.INFO: count ==23
[2025-04-09 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867528') start
[2025-04-09 05:54:03] Production.ERROR: done
[2025-04-09 05:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867528') end
[2025-04-09 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:54:04] Production.INFO: 1
[2025-04-09 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:54:04] Production.INFO: Account Balance Start.
[2025-04-09 05:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:54:04] Production.INFO: 117
[2025-04-09 05:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:54:04] Production.INFO: ==451== Releasing lock...
[2025-04-09 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:54:04] Production.ERROR: done
[2025-04-09 05:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:54:04] Production.INFO: Total Charge 0
[2025-04-09 05:54:04] Production.INFO: CreateAllLog End
[2025-04-09 05:54:04] Production.INFO: ==443== Releasing lock...
[2025-04-09 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:54:04] Production.INFO: Account Balance End.
[2025-04-09 05:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:54:04] Production.INFO: ==447== Releasing lock...
[2025-04-09 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:54:05
[end_date_ymd] => 2025-04-09 05:54:05
[RateCDR] => 1
)
[2025-04-09 05:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:54:05' and `end` < '2025-04-09 05:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:54:11] Production.ERROR: CronJobId end10
[2025-04-09 05:54:11] Production.INFO: ==445== Releasing lock...
[2025-04-09 05:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:54:13] Production.INFO: call_cost start
[2025-04-09 05:54:13] Production.INFO: call_cost end
[2025-04-09 05:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:54:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:54:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:54:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:54:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:54:14] Production.INFO: ==441== Releasing lock...
[2025-04-09 05:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:54:18] Production.INFO: count ==50
[2025-04-09 05:54:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:54:05 - End Time 2025-04-09 05:54:05
[2025-04-09 05:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867532', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867532', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867532', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867532', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:54:18] Production.INFO: ProcessCDR(1,14867532,1,1,2)
[2025-04-09 05:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867532', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867532', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:54:22] Production.INFO: ==449== Releasing lock...
[2025-04-09 05:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:54:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:55:01] Production.INFO: ==507== Lock acquired, processing the job...
[2025-04-09 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:55:01] Production.INFO: neon service started
[2025-04-09 10:55:01] Production.INFO: neon service started
[2025-04-09 10:55:01] Production.INFO: ==507== Releasing lock...
[2025-04-09 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:55:01] Production.INFO: ==512== Lock acquired, processing the job...
[2025-04-09 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:55:01] Production.INFO: ==512== Releasing lock...
[2025-04-09 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:55:02] Production.INFO: ==510== Lock acquired, processing the job...
[2025-04-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:55:02] Production.INFO: ==510== Releasing lock...
[2025-04-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:55:03] Production.INFO: ==518== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:55:03] Production.INFO: ==522== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:55:03] Production.INFO: ==514== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:55:03] Production.INFO: ==516== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:55:03] Production.INFO: ==520== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:55:03] Production.INFO: ==524== Lock acquired, processing the job...
[2025-04-09 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:55:03] Production.INFO: Account Balance Start.
[2025-04-09 05:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:55:03] Production.INFO: 117
[2025-04-09 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:55:03] Production.INFO: count ==12
[2025-04-09 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-04-09 05:55:03] Production.INFO: count ==23
[2025-04-09 05:55:03] Production.INFO: Total Charge 0
[2025-04-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867533') start
[2025-04-09 05:55:04] Production.INFO: CreateAllLog End
[2025-04-09 05:55:04] Production.ERROR: done
[2025-04-09 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:55:04] Production.INFO: ==516== Releasing lock...
[2025-04-09 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867533') end
[2025-04-09 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:55:04] Production.INFO: 1
[2025-04-09 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:55:04] Production.INFO: Account Balance End.
[2025-04-09 05:55:04] Production.INFO: ==524== Releasing lock...
[2025-04-09 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:55:04] Production.INFO: ==520== Releasing lock...
[2025-04-09 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:55:04] Production.ERROR: done
[2025-04-09 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:55:05
[end_date_ymd] => 2025-04-09 05:55:05
[RateCDR] => 1
)
[2025-04-09 05:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:55:05' and `end` < '2025-04-09 05:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:55:11] Production.ERROR: CronJobId end10
[2025-04-09 05:55:11] Production.INFO: ==518== Releasing lock...
[2025-04-09 05:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:55:13] Production.INFO: call_cost start
[2025-04-09 05:55:13] Production.INFO: call_cost end
[2025-04-09 05:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:55:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:55:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:55:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:55:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:55:14] Production.INFO: ==514== Releasing lock...
[2025-04-09 05:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:55:18] Production.INFO: count ==52
[2025-04-09 05:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:55:05 - End Time 2025-04-09 05:55:05
[2025-04-09 05:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867537', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867537', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867537', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867537', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:55:18] Production.INFO: ProcessCDR(1,14867537,1,1,2)
[2025-04-09 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867537', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867537', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:55:21] Production.INFO: ==522== Releasing lock...
[2025-04-09 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:55:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:56:02] Production.INFO: ==585== Lock acquired, processing the job...
[2025-04-09 10:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:56:02] Production.INFO: neon service started
[2025-04-09 10:56:02] Production.INFO: neon service started
[2025-04-09 10:56:02] Production.INFO: ==585== Releasing lock...
[2025-04-09 10:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:56:02] Production.INFO: ==589== Lock acquired, processing the job...
[2025-04-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:56:02] Production.INFO: ==589== Releasing lock...
[2025-04-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:56:02] Production.INFO: ==587== Lock acquired, processing the job...
[2025-04-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:56:02] Production.INFO: ==587== Releasing lock...
[2025-04-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:56:03] Production.INFO: ==592== Lock acquired, processing the job...
[2025-04-09 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:56:03] Production.INFO: ==595== Lock acquired, processing the job...
[2025-04-09 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:56:03] Production.INFO: ==599== Lock acquired, processing the job...
[2025-04-09 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:56:04] Production.INFO: ==597== Lock acquired, processing the job...
[2025-04-09 05:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:56:04] Production.INFO: Account Balance Start.
[2025-04-09 05:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 05:56:04] Production.INFO: 117
[2025-04-09 05:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:56:04] Production.INFO: Total Charge 0
[2025-04-09 05:56:04] Production.INFO: ==601== Lock acquired, processing the job...
[2025-04-09 05:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:56:04] Production.INFO: CreateAllLog End
[2025-04-09 05:56:04] Production.INFO: ==603== Lock acquired, processing the job...
[2025-04-09 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:56:04] Production.INFO: Account Balance End.
[2025-04-09 05:56:04] Production.INFO: count ==12
[2025-04-09 05:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:56:04] Production.INFO: ==599== Releasing lock...
[2025-04-09 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:56:04] Production.INFO: ==595== Releasing lock...
[2025-04-09 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:56:04] Production.INFO: count ==23
[2025-04-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867541') start
[2025-04-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867541') end
[2025-04-09 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:56:04] Production.INFO: 1
[2025-04-09 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:56:04] Production.ERROR: done
[2025-04-09 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:56:04] Production.INFO: ==603== Releasing lock...
[2025-04-09 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:56:04] Production.ERROR: done
[2025-04-09 05:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:56:06
[end_date_ymd] => 2025-04-09 05:56:06
[RateCDR] => 1
)
[2025-04-09 05: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-04-09 02:56:06' and `end` < '2025-04-09 05: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-04-09 05:56:12] Production.ERROR: CronJobId end10
[2025-04-09 05:56:12] Production.INFO: ==597== Releasing lock...
[2025-04-09 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:56:15] Production.INFO: call_cost start
[2025-04-09 05:56:15] Production.INFO: call_cost end
[2025-04-09 05:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:56:16] Production.INFO: ==592== Releasing lock...
[2025-04-09 05:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:56:18] Production.INFO: count ==50
[2025-04-09 05:56:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:56:06 - End Time 2025-04-09 05:56:06
[2025-04-09 05:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867542', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867542', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867542', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867542', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:56:18] Production.INFO: ProcessCDR(1,14867542,1,1,2)
[2025-04-09 05:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867542', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867542', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:56:22] Production.INFO: ==601== Releasing lock...
[2025-04-09 05:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:56:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:57:01] Production.INFO: ==670== Lock acquired, processing the job...
[2025-04-09 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:57:01] Production.INFO: neon service started
[2025-04-09 10:57:01] Production.INFO: neon service started
[2025-04-09 10:57:01] Production.INFO: ==670== Releasing lock...
[2025-04-09 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:57:02] Production.INFO: ==674== Lock acquired, processing the job...
[2025-04-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:57:02] Production.INFO: ==677== Lock acquired, processing the job...
[2025-04-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:57:02] Production.INFO: ==677== Releasing lock...
[2025-04-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:57:02] Production.INFO: ==674== Releasing lock...
[2025-04-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:57:03] Production.INFO: ==694== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:57:03] Production.INFO: ==699== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:57:03] Production.INFO: Account Balance Start.
[2025-04-09 05:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:57:03] Production.INFO: 117
[2025-04-09 05:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:57:03] Production.INFO: Total Charge 0
[2025-04-09 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:57:03] Production.INFO: ==681== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:57:03] Production.INFO: CreateAllLog End
[2025-04-09 05:57:03] Production.INFO: count ==12
[2025-04-09 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:57:03] Production.INFO: count ==23
[2025-04-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867544') start
[2025-04-09 05:57:03] Production.INFO: ==684== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:57:03] Production.INFO: Account Balance End.
[2025-04-09 05:57:03] Production.ERROR: CronJobId end 12
[2025-04-09 05:57:03] Production.INFO: ==694== Releasing lock...
[2025-04-09 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:57:03] Production.INFO: ==697== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:57:03] Production.INFO: ==691== Lock acquired, processing the job...
[2025-04-09 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867544') end
[2025-04-09 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:57:03] Production.INFO: 1
[2025-04-09 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:57:03] Production.INFO: ==699== Releasing lock...
[2025-04-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:57:04] Production.INFO: ==684== Releasing lock...
[2025-04-09 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:57:04] Production.ERROR: done
[2025-04-09 05:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:57:04] Production.ERROR: done
[2025-04-09 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:57:05
[end_date_ymd] => 2025-04-09 05:57:05
[RateCDR] => 1
)
[2025-04-09 05:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:57:05' and `end` < '2025-04-09 05:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:57:12] Production.ERROR: CronJobId end10
[2025-04-09 05:57:12] Production.INFO: ==691== Releasing lock...
[2025-04-09 05:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:57:14] Production.INFO: call_cost start
[2025-04-09 05:57:14] Production.INFO: call_cost end
[2025-04-09 05:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:57:15] Production.INFO: ==681== Releasing lock...
[2025-04-09 05:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:57:18] Production.INFO: count ==50
[2025-04-09 05:57:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:57:05 - End Time 2025-04-09 05:57:05
[2025-04-09 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867547', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867547', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867547', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867547', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:57:18] Production.INFO: ProcessCDR(1,14867547,1,1,2)
[2025-04-09 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867547', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867547', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:57:21] Production.INFO: ==697== Releasing lock...
[2025-04-09 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:57:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:58:01] Production.INFO: ==760== Lock acquired, processing the job...
[2025-04-09 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:58:01] Production.INFO: neon service started
[2025-04-09 10:58:01] Production.INFO: neon service started
[2025-04-09 10:58:01] Production.INFO: ==760== Releasing lock...
[2025-04-09 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:58:02] Production.INFO: ==764== Lock acquired, processing the job...
[2025-04-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:58:02] Production.INFO: ==764== Releasing lock...
[2025-04-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:58:02] Production.INFO: ==762== Lock acquired, processing the job...
[2025-04-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:58:02] Production.INFO: ==762== Releasing lock...
[2025-04-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 05:58:03] Production.INFO: ==767== Lock acquired, processing the job...
[2025-04-09 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:58:03] Production.INFO: ==771== Lock acquired, processing the job...
[2025-04-09 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:58:03] Production.INFO: ==773== Lock acquired, processing the job...
[2025-04-09 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:58:03] Production.INFO: Account Balance Start.
[2025-04-09 05:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:58:03] Production.INFO: 117
[2025-04-09 05:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:58:03] Production.INFO: Total Charge 0
[2025-04-09 05:58:03] Production.INFO: CreateAllLog End
[2025-04-09 05:58:04] Production.INFO: ==769== Lock acquired, processing the job...
[2025-04-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:58:04] Production.INFO: ==775== Lock acquired, processing the job...
[2025-04-09 05:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:58:04] Production.INFO: ==777== Lock acquired, processing the job...
[2025-04-09 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:58:04] Production.INFO: Account Balance End.
[2025-04-09 05:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:58:04] Production.INFO: ==773== Releasing lock...
[2025-04-09 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:58:04] Production.INFO: count ==12
[2025-04-09 05:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:58:04] Production.INFO: count ==23
[2025-04-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867551') start
[2025-04-09 05:58:04] Production.INFO: ==769== Releasing lock...
[2025-04-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867551') end
[2025-04-09 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:58:04] Production.INFO: 1
[2025-04-09 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:58:04] Production.INFO: ==777== Releasing lock...
[2025-04-09 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:58:04] Production.ERROR: done
[2025-04-09 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:58:04] Production.ERROR: done
[2025-04-09 05:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:58:05
[end_date_ymd] => 2025-04-09 05:58:05
[RateCDR] => 1
)
[2025-04-09 05:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:58:05' and `end` < '2025-04-09 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:58:13] Production.ERROR: CronJobId end10
[2025-04-09 05:58:13] Production.INFO: ==771== Releasing lock...
[2025-04-09 05:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:58:15] Production.INFO: call_cost start
[2025-04-09 05:58:15] Production.INFO: call_cost end
[2025-04-09 05:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:58:16] Production.INFO: ==767== Releasing lock...
[2025-04-09 05:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:58:18] Production.INFO: count ==51
[2025-04-09 05:58:18] Production.ERROR: pbx CDR StartTime 2025-04-09 02:58:05 - End Time 2025-04-09 05:58:05
[2025-04-09 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867552', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867552', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867552', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867552', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:58:18] Production.INFO: ProcessCDR(1,14867552,1,1,2)
[2025-04-09 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867552', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867552', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:58:23] Production.INFO: ==775== Releasing lock...
[2025-04-09 05:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:58:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:59:01] Production.INFO: ==834== Lock acquired, processing the job...
[2025-04-09 10:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 10:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 10:59:01] Production.INFO: neon service started
[2025-04-09 10:59:01] Production.INFO: neon service started
[2025-04-09 10:59:01] Production.INFO: ==834== Releasing lock...
[2025-04-09 10:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 10:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 05:59:01] Production.INFO: ==836== Lock acquired, processing the job...
[2025-04-09 05:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 05:59:02] Production.INFO: ==836== Releasing lock...
[2025-04-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 05:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:59:02] Production.INFO: ==838== Lock acquired, processing the job...
[2025-04-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:59:02] Production.INFO: ==838== Releasing lock...
[2025-04-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 05:59:03] Production.INFO: ==840== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 05:59:03] Production.INFO: ==848== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 05:59:03] Production.INFO: ==850== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 05:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 05:59:03] Production.INFO: ==842== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 05:59:03] Production.INFO: ==844== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 05:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:59:03] Production.INFO: ==846== Lock acquired, processing the job...
[2025-04-09 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 05:59:03] Production.INFO: count ==12
[2025-04-09 05:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 05:59:03] Production.INFO: count ==23
[2025-04-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867554') start
[2025-04-09 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 05:59:03] Production.ERROR: done
[2025-04-09 05:59:03] Production.INFO: Account Balance Start.
[2025-04-09 05:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 05:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 05:59:03] Production.INFO: 117
[2025-04-09 05:59:03] Production.INFO: ==842== Releasing lock...
[2025-04-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 05:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 05:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867554') end
[2025-04-09 05:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 05:59:03] Production.INFO: 1
[2025-04-09 05:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 05:59:03] Production.INFO: Total Charge 0
[2025-04-09 05:59:03] Production.INFO: ==850== Releasing lock...
[2025-04-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 05:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 05:59:03] Production.INFO: CreateAllLog End
[2025-04-09 05:59:03] Production.ERROR: done
[2025-04-09 05:59:04] Production.INFO: Account Balance End.
[2025-04-09 05:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 05:59:04] Production.INFO: ==846== Releasing lock...
[2025-04-09 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 05:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 02:59:04
[end_date_ymd] => 2025-04-09 05:59:04
[RateCDR] => 1
)
[2025-04-09 05:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 02:59:04' and `end` < '2025-04-09 05:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 05:59:11] Production.ERROR: CronJobId end10
[2025-04-09 05:59:11] Production.INFO: ==844== Releasing lock...
[2025-04-09 05:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 05:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 05:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 05:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 05:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 05:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 05:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 05:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 05:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 05:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 05:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 05:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 05:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 05:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 05:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 05:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 05:59:14] Production.INFO: call_cost start
[2025-04-09 05:59:14] Production.INFO: call_cost end
[2025-04-09 05:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 05:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 05:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 05:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 05:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 05:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 05:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 05:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 05:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 05:59:15] Production.INFO: ==840== Releasing lock...
[2025-04-09 05:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 05:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 05:59:17] Production.INFO: count ==51
[2025-04-09 05:59:17] Production.ERROR: pbx CDR StartTime 2025-04-09 02:59:04 - End Time 2025-04-09 05:59:04
[2025-04-09 05:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867557', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867557', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867557', 'tblTempVendorCDR_20' ) start
[2025-04-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867557', 'tblTempVendorCDR_20' ) end
[2025-04-09 05:59:17] Production.INFO: ProcessCDR(1,14867557,1,1,2)
[2025-04-09 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 05:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867557', 'tblTempUsageDetail_20' ) start
[2025-04-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867557', 'tblTempUsageDetail_20' ) end
[2025-04-09 05:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 05:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 05:59:21] Production.INFO: ==848== Releasing lock...
[2025-04-09 05:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 05:59:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:00:01] Production.INFO: ==907== Lock acquired, processing the job...
[2025-04-09 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:00:01] Production.INFO: neon service started
[2025-04-09 11:00:01] Production.INFO: neon service started
[2025-04-09 11:00:01] Production.INFO: ==907== Releasing lock...
[2025-04-09 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:00:02] Production.INFO: ==911== Lock acquired, processing the job...
[2025-04-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:00:02] Production.INFO: ==911== Releasing lock...
[2025-04-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:00:02] Production.INFO: ==909== Lock acquired, processing the job...
[2025-04-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:00:02] Production.INFO: ==909== Releasing lock...
[2025-04-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:00:03] Production.INFO: ==914== Lock acquired, processing the job...
[2025-04-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:00:03] Production.INFO: ==916== Lock acquired, processing the job...
[2025-04-09 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:00:03] Production.INFO: ==914== Releasing lock...
[2025-04-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:00:04] Production.INFO: ==920== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:00:04] Production.INFO: ==922== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:00:04] Production.INFO: Account Balance Start.
[2025-04-09 06:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:00:04] Production.INFO: 117
[2025-04-09 06:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:00:04] Production.INFO: ==918== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:00:04] Production.INFO: ==924== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:00:04] Production.INFO: ==926== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:00:04] Production.INFO: Total Charge 0
[2025-04-09 06:00:04] Production.INFO: ==928== Lock acquired, processing the job...
[2025-04-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:00:04] Production.INFO: CreateAllLog End
[2025-04-09 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:00:04] Production.INFO: count ==12
[2025-04-09 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:00:04] Production.INFO: count ==23
[2025-04-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867561') start
[2025-04-09 06:00:04] Production.INFO: ==918== Releasing lock...
[2025-04-09 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:00:04] Production.INFO: Account Balance End.
[2025-04-09 06:00:04] Production.ERROR: done
[2025-04-09 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:00:04] Production.INFO: ==922== Releasing lock...
[2025-04-09 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867561') end
[2025-04-09 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:00:04] Production.INFO: 1
[2025-04-09 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:00:05] Production.INFO: ==928== Releasing lock...
[2025-04-09 06:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:00:05] Production.ERROR: done
[2025-04-09 06:00:05] Production.ERROR: done
[2025-04-09 06:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867562', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:00:06
[end_date_ymd] => 2025-04-09 06:00:06
[RateCDR] => 1
)
[2025-04-09 06:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:00:06' and `end` < '2025-04-09 06:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867562', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:00:09] Production.INFO: ProcessCDR(1,14867562,1,1,2)
[2025-04-09 06:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867562,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867562,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:00:09] Production.INFO: ==926== Releasing lock...
[2025-04-09 06:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:00:15] Production.ERROR: CronJobId end10
[2025-04-09 06:00:15] Production.INFO: ==920== Releasing lock...
[2025-04-09 06:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:00:17] Production.INFO: call_cost start
[2025-04-09 06:00:17] Production.INFO: call_cost end
[2025-04-09 06:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:00:18] Production.INFO: ==916== Releasing lock...
[2025-04-09 06:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:00:19] Production.INFO: count ==59
[2025-04-09 06:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 03:00:06 - End Time 2025-04-09 06:00:06
[2025-04-09 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867563', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867563', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867563', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867563', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:00:19] Production.INFO: ProcessCDR(1,14867563,1,1,2)
[2025-04-09 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867563', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867563', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:00:24] Production.INFO: ==924== Releasing lock...
[2025-04-09 06:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:00:24] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:01:02] Production.INFO: ==986== Lock acquired, processing the job...
[2025-04-09 11:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:01:02] Production.INFO: neon service started
[2025-04-09 11:01:02] Production.INFO: neon service started
[2025-04-09 11:01:02] Production.INFO: ==986== Releasing lock...
[2025-04-09 11:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:01:03] Production.INFO: ==998== Lock acquired, processing the job...
[2025-04-09 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:01:03] Production.INFO: ==1000== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:01:03] Production.INFO: ==1000== Releasing lock...
[2025-04-09 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:01:03] Production.INFO: ==998== Releasing lock...
[2025-04-09 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:01:04] Production.INFO: ==1011== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:01:04] Production.INFO: ==1013== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:01:04] Production.INFO: ==1003== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:01:04] Production.INFO: ==1005== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:01:04] Production.INFO: ==1007== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:01:04] Production.INFO: ==1009== Lock acquired, processing the job...
[2025-04-09 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:01:04] Production.INFO: Account Balance Start.
[2025-04-09 06:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:01:04] Production.INFO: count ==12
[2025-04-09 06:01:04] Production.INFO: 117
[2025-04-09 06:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:01:04] Production.INFO: count ==23
[2025-04-09 06:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867564') start
[2025-04-09 06:01:04] Production.ERROR: done
[2025-04-09 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:01:04] Production.INFO: Total Charge 0
[2025-04-09 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867564') end
[2025-04-09 06:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:01:04] Production.INFO: 1
[2025-04-09 06:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:01:04] Production.INFO: CreateAllLog End
[2025-04-09 06:01:04] Production.INFO: ==1013== Releasing lock...
[2025-04-09 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:01:05] Production.INFO: ==1005== Releasing lock...
[2025-04-09 06:01:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:01:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:01:05] Production.ERROR: done
[2025-04-09 06:01:05] Production.INFO: Account Balance End.
[2025-04-09 06:01:05] Production.ERROR: CronJobId end 12
[2025-04-09 06:01:05] Production.INFO: ==1009== Releasing lock...
[2025-04-09 06:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:01:06
[end_date_ymd] => 2025-04-09 06:01:06
[RateCDR] => 1
)
[2025-04-09 06:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:01:06' and `end` < '2025-04-09 06:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:01:13] Production.ERROR: CronJobId end10
[2025-04-09 06:01:13] Production.INFO: ==1007== Releasing lock...
[2025-04-09 06:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:01:16] Production.INFO: call_cost start
[2025-04-09 06:01:16] Production.INFO: call_cost end
[2025-04-09 06:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:01:17] Production.INFO: ==1003== Releasing lock...
[2025-04-09 06:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:01:18] Production.INFO: count ==61
[2025-04-09 06:01:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:01:06 - End Time 2025-04-09 06:01:06
[2025-04-09 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867568', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867568', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867568', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867568', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:01:18] Production.INFO: ProcessCDR(1,14867568,1,1,2)
[2025-04-09 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867568', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867568', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:01:22] Production.INFO: ==1011== Releasing lock...
[2025-04-09 06:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:01:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:02:01] Production.INFO: ==1068== Lock acquired, processing the job...
[2025-04-09 11:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:02:01] Production.INFO: neon service started
[2025-04-09 11:02:01] Production.INFO: neon service started
[2025-04-09 11:02:01] Production.INFO: ==1068== Releasing lock...
[2025-04-09 11:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:02:02] Production.INFO: ==1071== Lock acquired, processing the job...
[2025-04-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:02:02] Production.INFO: ==1073== Lock acquired, processing the job...
[2025-04-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:02:02] Production.INFO: ==1073== Releasing lock...
[2025-04-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:02:02] Production.INFO: ==1071== Releasing lock...
[2025-04-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:02:03] Production.INFO: ==1079== Lock acquired, processing the job...
[2025-04-09 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:02:03] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-04-09 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:02:04] Production.INFO: ==1075== Lock acquired, processing the job...
[2025-04-09 06:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:02:04] Production.INFO: count ==12
[2025-04-09 06:02:04] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-04-09 06:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:02:04] Production.INFO: count ==23
[2025-04-09 06:02:04] Production.INFO: ==1077== Lock acquired, processing the job...
[2025-04-09 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867569') start
[2025-04-09 06:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:02:04] Production.INFO: ==1081== Lock acquired, processing the job...
[2025-04-09 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867569') end
[2025-04-09 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:02:04] Production.INFO: 1
[2025-04-09 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:02:04] Production.INFO: ==1085== Releasing lock...
[2025-04-09 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:02:04] Production.INFO: Account Balance Start.
[2025-04-09 06:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:02:04] Production.INFO: 117
[2025-04-09 06:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:02:04] Production.INFO: Total Charge 0
[2025-04-09 06:02:04] Production.INFO: CreateAllLog End
[2025-04-09 06:02:04] Production.ERROR: done
[2025-04-09 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:02:04] Production.INFO: ==1077== Releasing lock...
[2025-04-09 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:02:04] Production.ERROR: done
[2025-04-09 06:02:04] Production.INFO: Account Balance End.
[2025-04-09 06:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:02:04] Production.INFO: ==1081== Releasing lock...
[2025-04-09 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:02:05
[end_date_ymd] => 2025-04-09 06:02:05
[RateCDR] => 1
)
[2025-04-09 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:02:05' and `end` < '2025-04-09 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:02:12] Production.ERROR: CronJobId end10
[2025-04-09 06:02:12] Production.INFO: ==1079== Releasing lock...
[2025-04-09 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:02:15] Production.INFO: call_cost start
[2025-04-09 06:02:15] Production.INFO: call_cost end
[2025-04-09 06:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:02:16] Production.INFO: ==1075== Releasing lock...
[2025-04-09 06:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:02:18] Production.INFO: count ==62
[2025-04-09 06:02:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:02:05 - End Time 2025-04-09 06:02:05
[2025-04-09 06:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867573', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867573', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867573', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867573', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:02:18] Production.INFO: ProcessCDR(1,14867573,1,1,2)
[2025-04-09 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867573', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867573', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:02:23] Production.INFO: ==1083== Releasing lock...
[2025-04-09 06:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:02:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:03:02] Production.INFO: ==1143== Lock acquired, processing the job...
[2025-04-09 11:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:03:02] Production.INFO: neon service started
[2025-04-09 11:03:02] Production.INFO: neon service started
[2025-04-09 11:03:02] Production.INFO: ==1143== Releasing lock...
[2025-04-09 11:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:03:02] Production.INFO: ==1145== Lock acquired, processing the job...
[2025-04-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:03:03] Production.INFO: ==1147== Lock acquired, processing the job...
[2025-04-09 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:03:03] Production.INFO: ==1145== Releasing lock...
[2025-04-09 06:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:03:03] Production.INFO: ==1147== Releasing lock...
[2025-04-09 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:03:03] Production.INFO: ==1155== Lock acquired, processing the job...
[2025-04-09 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:03:03] Production.INFO: ==1149== Lock acquired, processing the job...
[2025-04-09 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:03:04] Production.INFO: ==1157== Lock acquired, processing the job...
[2025-04-09 06:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:03:04] Production.INFO: ==1151== Lock acquired, processing the job...
[2025-04-09 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:03:04] Production.INFO: ==1153== Lock acquired, processing the job...
[2025-04-09 06:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:03:04] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-04-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:03:04] Production.INFO: Account Balance Start.
[2025-04-09 06:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:03:04] Production.INFO: 117
[2025-04-09 06:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:03:04] Production.ERROR: done
[2025-04-09 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:03:04] Production.INFO: Total Charge 0
[2025-04-09 06:03:04] Production.INFO: CreateAllLog End
[2025-04-09 06:03:04] Production.INFO: count ==12
[2025-04-09 06:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:03:04] Production.INFO: count ==23
[2025-04-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867577') start
[2025-04-09 06:03:04] Production.INFO: ==1151== Releasing lock...
[2025-04-09 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:03:04] Production.ERROR: done
[2025-04-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867577') end
[2025-04-09 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:03:04] Production.INFO: 1
[2025-04-09 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:03:04] Production.INFO: Account Balance End.
[2025-04-09 06:03:04] Production.INFO: ==1160== Releasing lock...
[2025-04-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:03:04] Production.INFO: ==1155== Releasing lock...
[2025-04-09 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:03:05
[end_date_ymd] => 2025-04-09 06:03:05
[RateCDR] => 1
)
[2025-04-09 06:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:03:05' and `end` < '2025-04-09 06:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:03:12] Production.ERROR: CronJobId end10
[2025-04-09 06:03:12] Production.INFO: ==1153== Releasing lock...
[2025-04-09 06:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:03:14] Production.INFO: call_cost start
[2025-04-09 06:03:14] Production.INFO: call_cost end
[2025-04-09 06:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:03:15] Production.INFO: ==1149== Releasing lock...
[2025-04-09 06:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:03:18] Production.INFO: count ==62
[2025-04-09 06:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:03:05 - End Time 2025-04-09 06:03:05
[2025-04-09 06:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867578', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867578', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867578', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867578', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:03:18] Production.INFO: ProcessCDR(1,14867578,1,1,2)
[2025-04-09 06:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867578', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867578', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:03:22] Production.INFO: ==1157== Releasing lock...
[2025-04-09 06:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:03:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:04:01] Production.INFO: ==1221== Lock acquired, processing the job...
[2025-04-09 11:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:04:01] Production.INFO: neon service started
[2025-04-09 11:04:01] Production.INFO: neon service started
[2025-04-09 11:04:01] Production.INFO: ==1221== Releasing lock...
[2025-04-09 11:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:04:02] Production.INFO: ==1223== Lock acquired, processing the job...
[2025-04-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:04:02] Production.INFO: ==1223== Releasing lock...
[2025-04-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:04:02] Production.INFO: ==1225== Lock acquired, processing the job...
[2025-04-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:04:02] Production.INFO: ==1225== Releasing lock...
[2025-04-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:04:03] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:04:03] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:04:03] Production.INFO: ==1227== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:04:03] Production.INFO: ==1233== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:04:03] Production.INFO: count ==12
[2025-04-09 06:04:03] Production.INFO: ==1229== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:04:03] Production.INFO: ==1231== Lock acquired, processing the job...
[2025-04-09 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:04:03] Production.INFO: count ==23
[2025-04-09 06:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867579') start
[2025-04-09 06:04:03] Production.INFO: Account Balance Start.
[2025-04-09 06:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:04:03] Production.INFO: 117
[2025-04-09 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867579') end
[2025-04-09 06:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:04:03] Production.INFO: 1
[2025-04-09 06:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:04:03] Production.INFO: ==1239== Releasing lock...
[2025-04-09 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:04:03] Production.INFO: Total Charge 0
[2025-04-09 06:04:03] Production.INFO: CreateAllLog End
[2025-04-09 06:04:04] Production.ERROR: done
[2025-04-09 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:04:04] Production.INFO: ==1229== Releasing lock...
[2025-04-09 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:04:04] Production.INFO: Account Balance End.
[2025-04-09 06:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:04:04] Production.INFO: ==1233== Releasing lock...
[2025-04-09 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:04:04] Production.ERROR: done
[2025-04-09 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:04:05
[end_date_ymd] => 2025-04-09 06:04:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:04:05' and `end` < '2025-04-09 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-04-09 06:04:12] Production.ERROR: CronJobId end10
[2025-04-09 06:04:12] Production.INFO: ==1231== Releasing lock...
[2025-04-09 06:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:04:14] Production.INFO: call_cost start
[2025-04-09 06:04:14] Production.INFO: call_cost end
[2025-04-09 06:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:04:15] Production.INFO: ==1227== Releasing lock...
[2025-04-09 06:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:04:17] Production.INFO: count ==62
[2025-04-09 06:04:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:04:05 - End Time 2025-04-09 06:04:05
[2025-04-09 06:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867583', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867583', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867583', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867583', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:04:17] Production.INFO: ProcessCDR(1,14867583,1,1,2)
[2025-04-09 06:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867583', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867583', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:04:21] Production.INFO: ==1235== Releasing lock...
[2025-04-09 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:04:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:05:02] Production.INFO: ==1303== Lock acquired, processing the job...
[2025-04-09 11:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:05:02] Production.INFO: neon service started
[2025-04-09 11:05:02] Production.INFO: neon service started
[2025-04-09 11:05:02] Production.INFO: ==1303== Releasing lock...
[2025-04-09 11:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:05:02] Production.INFO: ==1307== Lock acquired, processing the job...
[2025-04-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:05:02] Production.INFO: ==1307== Releasing lock...
[2025-04-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:05:02] Production.INFO: ==1305== Lock acquired, processing the job...
[2025-04-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:05:03] Production.INFO: ==1305== Releasing lock...
[2025-04-09 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:05:03] Production.INFO: ==1309== Lock acquired, processing the job...
[2025-04-09 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:05:03] Production.INFO: ==1311== Lock acquired, processing the job...
[2025-04-09 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:05:03] Production.INFO: ==1317== Lock acquired, processing the job...
[2025-04-09 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:05:04] Production.INFO: ==1313== Lock acquired, processing the job...
[2025-04-09 06:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:05:04] Production.INFO: ==1315== Lock acquired, processing the job...
[2025-04-09 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:05:04] Production.INFO: ==1311== Releasing lock...
[2025-04-09 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:05:04] Production.INFO: ==1320== Lock acquired, processing the job...
[2025-04-09 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:05:04] Production.INFO: Account Balance Start.
[2025-04-09 06:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:05:04] Production.INFO: 117
[2025-04-09 06:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:05:04] Production.ERROR: done
[2025-04-09 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:05:04] Production.INFO: Total Charge 0
[2025-04-09 06:05:04] Production.INFO: CreateAllLog End
[2025-04-09 06:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:05:04] Production.ERROR: done
[2025-04-09 06:05:04] Production.INFO: count ==12
[2025-04-09 06:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:05:04] Production.INFO: count ==23
[2025-04-09 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867587') start
[2025-04-09 06:05:04] Production.INFO: Account Balance End.
[2025-04-09 06:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:05:04] Production.INFO: ==1315== Releasing lock...
[2025-04-09 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867587') end
[2025-04-09 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:05:04] Production.INFO: 1
[2025-04-09 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:05:04] Production.INFO: ==1320== Releasing lock...
[2025-04-09 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:05:05
[end_date_ymd] => 2025-04-09 06:05:05
[RateCDR] => 1
)
[2025-04-09 06:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:05:05' and `end` < '2025-04-09 06:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:05:12] Production.ERROR: CronJobId end10
[2025-04-09 06:05:12] Production.INFO: ==1313== Releasing lock...
[2025-04-09 06:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:05:15] Production.INFO: call_cost start
[2025-04-09 06:05:15] Production.INFO: call_cost end
[2025-04-09 06:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:05:15] Production.INFO: ==1309== Releasing lock...
[2025-04-09 06:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:05:18] Production.INFO: count ==62
[2025-04-09 06:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:05:05 - End Time 2025-04-09 06:05:05
[2025-04-09 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867588', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867588', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867588', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867588', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:05:18] Production.INFO: ProcessCDR(1,14867588,1,1,2)
[2025-04-09 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867588', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867588', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:05:22] Production.INFO: ==1317== Releasing lock...
[2025-04-09 06:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:05:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:06:01] Production.INFO: ==1373== Lock acquired, processing the job...
[2025-04-09 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:06:01] Production.INFO: neon service started
[2025-04-09 11:06:01] Production.INFO: neon service started
[2025-04-09 11:06:01] Production.INFO: ==1373== Releasing lock...
[2025-04-09 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:06:02] Production.INFO: ==1375== Lock acquired, processing the job...
[2025-04-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:06:02] Production.INFO: ==1377== Lock acquired, processing the job...
[2025-04-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:06:02] Production.INFO: ==1375== Releasing lock...
[2025-04-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:06:02] Production.INFO: ==1377== Releasing lock...
[2025-04-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:06:03] Production.INFO: ==1380== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:06:03] Production.INFO: ==1388== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:06:03] Production.INFO: ==1386== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:06:03] Production.INFO: ==1382== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:06:03] Production.INFO: Account Balance Start.
[2025-04-09 06:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:06:03] Production.INFO: 117
[2025-04-09 06:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:06:03] Production.INFO: ==1384== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:06:03] Production.INFO: ==1390== Lock acquired, processing the job...
[2025-04-09 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:06:03] Production.INFO: Total Charge 0
[2025-04-09 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:06:03] Production.INFO: CreateAllLog End
[2025-04-09 06: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-04-09 06:06:03] Production.INFO: count ==12
[2025-04-09 06: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-04-09 06:06:03] Production.INFO: count ==23
[2025-04-09 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867592') start
[2025-04-09 06:06:04] Production.ERROR: done
[2025-04-09 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867592') end
[2025-04-09 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:06:04] Production.INFO: 1
[2025-04-09 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:06:04] Production.ERROR: done
[2025-04-09 06:06:04] Production.INFO: ==1390== Releasing lock...
[2025-04-09 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:06:04] Production.INFO: Account Balance End.
[2025-04-09 06:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:06:04] Production.INFO: ==1386== Releasing lock...
[2025-04-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:06:04] Production.INFO: ==1382== Releasing lock...
[2025-04-09 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:06:05
[end_date_ymd] => 2025-04-09 06:06:05
[RateCDR] => 1
)
[2025-04-09 06:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:06:05' and `end` < '2025-04-09 06:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:06:10] Production.ERROR: CronJobId end10
[2025-04-09 06:06:10] Production.INFO: ==1384== Releasing lock...
[2025-04-09 06:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:06:14] Production.INFO: call_cost start
[2025-04-09 06:06:14] Production.INFO: call_cost end
[2025-04-09 06:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:06:15] Production.INFO: ==1380== Releasing lock...
[2025-04-09 06:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:06:18] Production.INFO: count ==62
[2025-04-09 06:06:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:06:05 - End Time 2025-04-09 06:06:05
[2025-04-09 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867593', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867593', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867593', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867593', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:06:18] Production.INFO: ProcessCDR(1,14867593,1,1,2)
[2025-04-09 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867593', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867593', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:06:21] Production.INFO: ==1388== Releasing lock...
[2025-04-09 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:06:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:07:02] Production.INFO: ==1444== Lock acquired, processing the job...
[2025-04-09 11:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:07:02] Production.INFO: neon service started
[2025-04-09 11:07:02] Production.INFO: neon service started
[2025-04-09 11:07:02] Production.INFO: ==1444== Releasing lock...
[2025-04-09 11:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:07:02] Production.INFO: ==1448== Lock acquired, processing the job...
[2025-04-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:07:02] Production.INFO: ==1448== Releasing lock...
[2025-04-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:07:02] Production.INFO: ==1446== Lock acquired, processing the job...
[2025-04-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:07:03] Production.INFO: ==1446== Releasing lock...
[2025-04-09 06:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:07:03] Production.INFO: ==1451== Lock acquired, processing the job...
[2025-04-09 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:07:03] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-04-09 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:07:03] Production.INFO: ==1453== Lock acquired, processing the job...
[2025-04-09 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:07:04] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-04-09 06:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:07:04] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-04-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:07:04] Production.INFO: Account Balance Start.
[2025-04-09 06:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:07:04] Production.INFO: 117
[2025-04-09 06:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:07:04] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-04-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:07:04] Production.INFO: ==1453== Releasing lock...
[2025-04-09 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:07:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:07:04] Production.INFO: Total Charge 0
[2025-04-09 06:07:04] Production.INFO: CreateAllLog End
[2025-04-09 06:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:07:04] Production.INFO: count ==12
[2025-04-09 06:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:07:04] Production.INFO: count ==23
[2025-04-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867597') start
[2025-04-09 06:07:04] Production.ERROR: done
[2025-04-09 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867597') end
[2025-04-09 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:07:04] Production.INFO: 1
[2025-04-09 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:07:04] Production.INFO: ==1461== Releasing lock...
[2025-04-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:07:04] Production.INFO: Account Balance End.
[2025-04-09 06:07:04] Production.ERROR: done
[2025-04-09 06:07:05] Production.ERROR: CronJobId end 12
[2025-04-09 06:07:05] Production.INFO: ==1457== Releasing lock...
[2025-04-09 06:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:07:05
[end_date_ymd] => 2025-04-09 06:07:05
[RateCDR] => 1
)
[2025-04-09 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:07:05' and `end` < '2025-04-09 06:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:07:12] Production.ERROR: CronJobId end10
[2025-04-09 06:07:12] Production.INFO: ==1455== Releasing lock...
[2025-04-09 06:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:07:14] Production.INFO: call_cost start
[2025-04-09 06:07:14] Production.INFO: call_cost end
[2025-04-09 06:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:07:15] Production.INFO: ==1451== Releasing lock...
[2025-04-09 06:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:07:18] Production.INFO: count ==62
[2025-04-09 06:07:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:07:05 - End Time 2025-04-09 06:07:05
[2025-04-09 06:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867598', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867598', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867598', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867598', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:07:18] Production.INFO: ProcessCDR(1,14867598,1,1,2)
[2025-04-09 06:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867598', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867598', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:07:22] Production.INFO: ==1459== Releasing lock...
[2025-04-09 06:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:07:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:08:01] Production.INFO: ==1548== Lock acquired, processing the job...
[2025-04-09 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:08:01] Production.INFO: neon service started
[2025-04-09 11:08:01] Production.INFO: neon service started
[2025-04-09 11:08:01] Production.INFO: ==1548== Releasing lock...
[2025-04-09 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:08:01] Production.INFO: ==1553== Lock acquired, processing the job...
[2025-04-09 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:08:01] Production.INFO: ==1553== Releasing lock...
[2025-04-09 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:08:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:08:02] Production.INFO: ==1550== Lock acquired, processing the job...
[2025-04-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:08:02] Production.INFO: ==1550== Releasing lock...
[2025-04-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:08:03] Production.INFO: ==1556== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:08:03] Production.INFO: ==1559== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:08:03] Production.INFO: ==1561== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:08:03] Production.INFO: ==1563== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:08:03] Production.INFO: ==1559== Releasing lock...
[2025-04-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:08:03] Production.INFO: Account Balance Start.
[2025-04-09 06:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:08:03] Production.INFO: ==1567== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: 117
[2025-04-09 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:08:03] Production.INFO: ==1565== Lock acquired, processing the job...
[2025-04-09 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:08:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:08:03] Production.INFO: Total Charge 0
[2025-04-09 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:08:03] Production.INFO: CreateAllLog End
[2025-04-09 06:08:03] Production.INFO: count ==12
[2025-04-09 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:08:03] Production.INFO: count ==23
[2025-04-09 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867602') start
[2025-04-09 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867602') end
[2025-04-09 06:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:08:04] Production.INFO: 1
[2025-04-09 06:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:08:04] Production.INFO: ==1567== Releasing lock...
[2025-04-09 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:08:04] Production.INFO: Account Balance End.
[2025-04-09 06:08:04] Production.ERROR: done
[2025-04-09 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:08:04] Production.INFO: ==1563== Releasing lock...
[2025-04-09 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:08:04] Production.ERROR: done
[2025-04-09 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:08:05
[end_date_ymd] => 2025-04-09 06:08:05
[RateCDR] => 1
)
[2025-04-09 06:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:08:05' and `end` < '2025-04-09 06:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:08:12] Production.ERROR: CronJobId end10
[2025-04-09 06:08:12] Production.INFO: ==1561== Releasing lock...
[2025-04-09 06:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:08:15] Production.INFO: call_cost start
[2025-04-09 06:08:15] Production.INFO: call_cost end
[2025-04-09 06:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:08:16] Production.INFO: ==1556== Releasing lock...
[2025-04-09 06:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:08:18] Production.INFO: count ==62
[2025-04-09 06:08:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:08:05 - End Time 2025-04-09 06:08:05
[2025-04-09 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867603', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867603', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867603', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867603', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:08:18] Production.INFO: ProcessCDR(1,14867603,1,1,2)
[2025-04-09 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867603', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867603', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:08:21] Production.INFO: ==1565== Releasing lock...
[2025-04-09 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:08:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:09:01] Production.INFO: ==1670== Lock acquired, processing the job...
[2025-04-09 11:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:09:01] Production.INFO: neon service started
[2025-04-09 11:09:01] Production.INFO: neon service started
[2025-04-09 11:09:01] Production.INFO: ==1670== Releasing lock...
[2025-04-09 11:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:09:02] Production.INFO: ==1672== Lock acquired, processing the job...
[2025-04-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:09:02] Production.INFO: ==1672== Releasing lock...
[2025-04-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:09:02] Production.INFO: ==1674== Lock acquired, processing the job...
[2025-04-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:09:02] Production.INFO: ==1674== Releasing lock...
[2025-04-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:09:03] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:09:03] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:09:03] Production.INFO: ==1677== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:09:03] Production.INFO: ==1679== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:09:03] Production.INFO: ==1681== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:09:03] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-04-09 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 06:09:03] Production.INFO: count ==12
[2025-04-09 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 06:09:03] Production.INFO: count ==23
[2025-04-09 06:09:03] Production.INFO: Account Balance Start.
[2025-04-09 06:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:09:03] Production.INFO: 117
[2025-04-09 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867604') start
[2025-04-09 06:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:09:04] Production.INFO: Total Charge 0
[2025-04-09 06:09:04] Production.INFO: CreateAllLog End
[2025-04-09 06:09:04] Production.ERROR: done
[2025-04-09 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867604') end
[2025-04-09 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:09:04] Production.INFO: 1
[2025-04-09 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:09:04] Production.INFO: ==1679== Releasing lock...
[2025-04-09 06:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:09:04] Production.INFO: ==1687== Releasing lock...
[2025-04-09 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:09:04] Production.ERROR: done
[2025-04-09 06:09:04] Production.INFO: Account Balance End.
[2025-04-09 06:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:09:04] Production.INFO: ==1683== Releasing lock...
[2025-04-09 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:09:05
[end_date_ymd] => 2025-04-09 06:09:05
[RateCDR] => 1
)
[2025-04-09 06:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:09:05' and `end` < '2025-04-09 06:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:09:11] Production.ERROR: CronJobId end10
[2025-04-09 06:09:11] Production.INFO: ==1681== Releasing lock...
[2025-04-09 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:09:14] Production.INFO: call_cost start
[2025-04-09 06:09:14] Production.INFO: call_cost end
[2025-04-09 06:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:09:15] Production.INFO: ==1677== Releasing lock...
[2025-04-09 06:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:09:17] Production.INFO: count ==64
[2025-04-09 06:09:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:09:05 - End Time 2025-04-09 06:09:05
[2025-04-09 06:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867608', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867608', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867608', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867608', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:09:17] Production.INFO: ProcessCDR(1,14867608,1,1,2)
[2025-04-09 06:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867608', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867608', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:09:21] Production.INFO: ==1685== Releasing lock...
[2025-04-09 06:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:09:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:10:01] Production.INFO: ==1748== Lock acquired, processing the job...
[2025-04-09 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:10:01] Production.INFO: neon service started
[2025-04-09 11:10:01] Production.INFO: neon service started
[2025-04-09 11:10:01] Production.INFO: ==1748== Releasing lock...
[2025-04-09 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:10:01] Production.INFO: ==1750== Lock acquired, processing the job...
[2025-04-09 06:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:10:02] Production.INFO: ==1750== Releasing lock...
[2025-04-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:10:02] Production.INFO: ==1752== Lock acquired, processing the job...
[2025-04-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:10:02] Production.INFO: ==1752== Releasing lock...
[2025-04-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:10:03] Production.INFO: ==1757== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:10:03] Production.INFO: ==1755== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 06:10:03] Production.ERROR: CronJob PID - 1757
[2025-04-09 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 06:10:03] Production.ERROR: CronJob ID - 5
[2025-04-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 06:10:00
[2025-04-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 06:10:03] Production.INFO: ==1765== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:10:03] Production.INFO: ==1759== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:10:03] Production.INFO: ==1755== Releasing lock...
[2025-04-09 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:10:03] Production.INFO: ==1769== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:10:03] Production.INFO: ==1761== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:10:03] Production.INFO: ==1763== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:10:03] Production.INFO: ==1767== Lock acquired, processing the job...
[2025-04-09 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:10:03] Production.INFO: count ==12
[2025-04-09 06:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:10:03] Production.INFO: count ==23
[2025-04-09 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867611') start
[2025-04-09 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:10:03] Production.INFO: Account Balance Start.
[2025-04-09 06:10:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:10:03] Production.INFO: 117
[2025-04-09 06:10:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:10:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867611') end
[2025-04-09 06:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:10:03] Production.INFO: 1
[2025-04-09 06:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:10:04] Production.INFO: Total Charge 0
[2025-04-09 06:10:04] Production.ERROR: done
[2025-04-09 06:10:04] Production.INFO: CreateAllLog End
[2025-04-09 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:10:04] Production.INFO: ==1759== Releasing lock...
[2025-04-09 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:10:04] Production.INFO: ==1769== Releasing lock...
[2025-04-09 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:10:04] Production.ERROR: done
[2025-04-09 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867613', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:10:04] Production.ERROR: done
[2025-04-09 06:10:04] Production.INFO: Account Balance End.
[2025-04-09 06:10:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:10:04] Production.INFO: ==1763== Releasing lock...
[2025-04-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:10:05
[end_date_ymd] => 2025-04-09 06:10:05
[RateCDR] => 1
)
[2025-04-09 06:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:10:05' and `end` < '2025-04-09 06:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867613', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:10:08] Production.INFO: ProcessCDR(1,14867613,1,1,2)
[2025-04-09 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867613,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867613,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:10:08] Production.INFO: ==1767== Releasing lock...
[2025-04-09 06:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:10:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:10:13] Production.ERROR: CronJobId end10
[2025-04-09 06:10:13] Production.INFO: ==1761== Releasing lock...
[2025-04-09 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:10:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:10:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:10:15] Production.INFO: call_cost start
[2025-04-09 06:10:15] Production.INFO: call_cost end
[2025-04-09 06:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:10:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:10:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:10:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:10:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:10:16] Production.INFO: ==1757== Releasing lock...
[2025-04-09 06:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:10:18] Production.INFO: count ==72
[2025-04-09 06:10:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:10:05 - End Time 2025-04-09 06:10:05
[2025-04-09 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867614', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867614', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867614', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867614', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:10:18] Production.INFO: ProcessCDR(1,14867614,1,1,2)
[2025-04-09 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867614', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867614', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:10:21] Production.INFO: ==1765== Releasing lock...
[2025-04-09 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:10:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:11:01] Production.INFO: ==1830== Lock acquired, processing the job...
[2025-04-09 11:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:11:01] Production.INFO: neon service started
[2025-04-09 11:11:01] Production.INFO: neon service started
[2025-04-09 11:11:01] Production.INFO: ==1830== Releasing lock...
[2025-04-09 11:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:11:02] Production.INFO: ==1834== Lock acquired, processing the job...
[2025-04-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:11:02] Production.INFO: ==1834== Releasing lock...
[2025-04-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:11:02] Production.INFO: ==1832== Lock acquired, processing the job...
[2025-04-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:11:02] Production.INFO: ==1832== Releasing lock...
[2025-04-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:11:03] Production.INFO: ==1839== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:11:03] Production.INFO: ==1836== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:11:03] Production.INFO: ==1845== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:11:03] Production.INFO: ==1841== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:11:03] Production.INFO: ==1843== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:11:03] Production.INFO: ==1839== Releasing lock...
[2025-04-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:11:03] Production.INFO: ==1847== Lock acquired, processing the job...
[2025-04-09 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:11:03] Production.INFO: Account Balance Start.
[2025-04-09 06:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:11:04] Production.INFO: 117
[2025-04-09 06:11:04] Production.ERROR: done
[2025-04-09 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 06:11:04] Production.INFO: count ==12
[2025-04-09 06:11:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:11:04] Production.INFO: count ==23
[2025-04-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867618') start
[2025-04-09 06:11:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:11:04] Production.INFO: Total Charge 0
[2025-04-09 06:11:04] Production.INFO: CreateAllLog End
[2025-04-09 06:11:04] Production.ERROR: done
[2025-04-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867618') end
[2025-04-09 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:11:04] Production.INFO: 1
[2025-04-09 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:11:04] Production.INFO: ==1847== Releasing lock...
[2025-04-09 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:11:04] Production.INFO: Account Balance End.
[2025-04-09 06:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:11:04] Production.INFO: ==1843== Releasing lock...
[2025-04-09 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:11:05
[end_date_ymd] => 2025-04-09 06:11:05
[RateCDR] => 1
)
[2025-04-09 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:11:05' and `end` < '2025-04-09 06:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:11:11] Production.ERROR: CronJobId end10
[2025-04-09 06:11:11] Production.INFO: ==1841== Releasing lock...
[2025-04-09 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:11:14] Production.INFO: call_cost start
[2025-04-09 06:11:14] Production.INFO: call_cost end
[2025-04-09 06:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:11:15] Production.INFO: ==1836== Releasing lock...
[2025-04-09 06:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:11:18] Production.INFO: count ==77
[2025-04-09 06:11:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:11:05 - End Time 2025-04-09 06:11:05
[2025-04-09 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867619', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867619', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867619', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867619', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:11:18] Production.INFO: ProcessCDR(1,14867619,1,1,2)
[2025-04-09 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867619', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867619', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:11:23] Production.INFO: ==1845== Releasing lock...
[2025-04-09 06:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:11:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:12:02] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-04-09 11:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:12:02] Production.INFO: neon service started
[2025-04-09 11:12:02] Production.INFO: neon service started
[2025-04-09 11:12:02] Production.INFO: ==1909== Releasing lock...
[2025-04-09 11:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:12:02] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-04-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:12:02] Production.INFO: ==1911== Releasing lock...
[2025-04-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:12:03] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:12:03] Production.INFO: ==1913== Releasing lock...
[2025-04-09 10:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:12:03] Production.INFO: ==1923== Lock acquired, processing the job...
[2025-04-09 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:12:04] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-04-09 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:12:04] Production.INFO: ==1925== Lock acquired, processing the job...
[2025-04-09 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:12:04] Production.INFO: ==1915== Lock acquired, processing the job...
[2025-04-09 06:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:12:04] Production.INFO: ==1921== Lock acquired, processing the job...
[2025-04-09 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:12:04] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-04-09 06:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:12:04] Production.INFO: Account Balance Start.
[2025-04-09 06:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:12:04] Production.INFO: 117
[2025-04-09 06:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:12:04] Production.INFO: Total Charge 0
[2025-04-09 06:12:04] Production.INFO: CreateAllLog End
[2025-04-09 06:12:04] Production.INFO: count ==12
[2025-04-09 06:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:12:04] Production.INFO: count ==23
[2025-04-09 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867620') start
[2025-04-09 06:12:04] Production.ERROR: done
[2025-04-09 06:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867620') end
[2025-04-09 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:12:04] Production.INFO: 1
[2025-04-09 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:12:04] Production.INFO: ==1925== Releasing lock...
[2025-04-09 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:12:04] Production.INFO: ==1917== Releasing lock...
[2025-04-09 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:12:04] Production.ERROR: done
[2025-04-09 06:12:04] Production.INFO: Account Balance End.
[2025-04-09 06:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:12:04] Production.INFO: ==1921== Releasing lock...
[2025-04-09 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:12:05
[end_date_ymd] => 2025-04-09 06:12:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:12:05' and `end` < '2025-04-09 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-04-09 06:12:12] Production.ERROR: CronJobId end10
[2025-04-09 06:12:12] Production.INFO: ==1919== Releasing lock...
[2025-04-09 06:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:12:14] Production.INFO: call_cost start
[2025-04-09 06:12:14] Production.INFO: call_cost end
[2025-04-09 06:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:12:15] Production.INFO: ==1915== Releasing lock...
[2025-04-09 06:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:12:18] Production.INFO: count ==77
[2025-04-09 06:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:12:05 - End Time 2025-04-09 06:12:05
[2025-04-09 06:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867624', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867624', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867624', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867624', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:12:18] Production.INFO: ProcessCDR(1,14867624,1,1,2)
[2025-04-09 06:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867624', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867624', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:12:21] Production.INFO: ==1923== Releasing lock...
[2025-04-09 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:12:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:13:01] Production.INFO: ==1984== Lock acquired, processing the job...
[2025-04-09 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:13:01] Production.INFO: neon service started
[2025-04-09 11:13:01] Production.INFO: neon service started
[2025-04-09 11:13:01] Production.INFO: ==1984== Releasing lock...
[2025-04-09 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:13:02] Production.INFO: ==1986== Lock acquired, processing the job...
[2025-04-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:13:02] Production.INFO: ==1986== Releasing lock...
[2025-04-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:13:02] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-04-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:13:02] Production.INFO: ==1988== Releasing lock...
[2025-04-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:13:03] Production.INFO: ==1992== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:13:03] Production.INFO: ==1990== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:13:03] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:13:03] Production.INFO: ==1997== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:13:03] Production.INFO: ==1994== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:13:03] Production.INFO: ==1999== Lock acquired, processing the job...
[2025-04-09 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:13:03] Production.INFO: Account Balance Start.
[2025-04-09 06:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:13:03] Production.INFO: 117
[2025-04-09 06:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:13:03] Production.INFO: ==1992== Releasing lock...
[2025-04-09 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:13:03] Production.INFO: count ==12
[2025-04-09 06:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 06:13:03] Production.INFO: count ==23
[2025-04-09 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867627') start
[2025-04-09 06:13:04] Production.INFO: Total Charge 0
[2025-04-09 06:13:04] Production.INFO: CreateAllLog End
[2025-04-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867627') end
[2025-04-09 06:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:13:04] Production.INFO: 1
[2025-04-09 06:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:13:04] Production.INFO: ==2001== Releasing lock...
[2025-04-09 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:13:04] Production.INFO: Account Balance End.
[2025-04-09 06:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:13:04] Production.INFO: ==1997== Releasing lock...
[2025-04-09 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:13:04] Production.ERROR: done
[2025-04-09 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:13:04] Production.ERROR: done
[2025-04-09 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:13:05
[end_date_ymd] => 2025-04-09 06:13:05
[RateCDR] => 1
)
[2025-04-09 06:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:13:05' and `end` < '2025-04-09 06:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:13:12] Production.ERROR: CronJobId end10
[2025-04-09 06:13:12] Production.INFO: ==1994== Releasing lock...
[2025-04-09 06:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:13:15] Production.INFO: call_cost start
[2025-04-09 06:13:15] Production.INFO: call_cost end
[2025-04-09 06:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:13:16] Production.INFO: ==1990== Releasing lock...
[2025-04-09 06:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:13:18] Production.INFO: count ==77
[2025-04-09 06:13:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:13:05 - End Time 2025-04-09 06:13:05
[2025-04-09 06:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867629', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867629', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867629', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867629', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:13:18] Production.INFO: ProcessCDR(1,14867629,1,1,2)
[2025-04-09 06:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867629', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867629', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:13:22] Production.INFO: ==1999== Releasing lock...
[2025-04-09 06:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:13:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:14:02] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-04-09 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:14:02] Production.INFO: neon service started
[2025-04-09 11:14:02] Production.INFO: neon service started
[2025-04-09 11:14:02] Production.INFO: ==2060== Releasing lock...
[2025-04-09 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:14:02] Production.INFO: ==2062== Lock acquired, processing the job...
[2025-04-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:14:02] Production.INFO: ==2062== Releasing lock...
[2025-04-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:14:03] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:14:03] Production.INFO: ==2064== Releasing lock...
[2025-04-09 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:14:03] Production.INFO: ==2066== Lock acquired, processing the job...
[2025-04-09 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:14:03] Production.INFO: ==2068== Lock acquired, processing the job...
[2025-04-09 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:14:04] Production.INFO: ==2070== Lock acquired, processing the job...
[2025-04-09 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:14:04] Production.INFO: ==2072== Lock acquired, processing the job...
[2025-04-09 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:14:04] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-04-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:14:04] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-04-09 06:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:14:04] Production.INFO: Account Balance Start.
[2025-04-09 06:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:14:04] Production.INFO: 117
[2025-04-09 06:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:14:04] Production.INFO: ==2068== Releasing lock...
[2025-04-09 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:14:04] Production.INFO: Total Charge 0
[2025-04-09 06:14:04] Production.INFO: CreateAllLog End
[2025-04-09 06:14:04] Production.INFO: count ==12
[2025-04-09 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:14:04] Production.INFO: count ==23
[2025-04-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867633') start
[2025-04-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867633') end
[2025-04-09 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:14:04] Production.INFO: 1
[2025-04-09 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:14:04] Production.INFO: ==2076== Releasing lock...
[2025-04-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:14:04] Production.INFO: Account Balance End.
[2025-04-09 06:14:04] Production.ERROR: done
[2025-04-09 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:14:04] Production.INFO: ==2072== Releasing lock...
[2025-04-09 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:14:04] Production.ERROR: done
[2025-04-09 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:14:05
[end_date_ymd] => 2025-04-09 06:14:05
[RateCDR] => 1
)
[2025-04-09 06:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:14:05' and `end` < '2025-04-09 06:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:14:12] Production.ERROR: CronJobId end10
[2025-04-09 06:14:12] Production.INFO: ==2070== Releasing lock...
[2025-04-09 06:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:14:14] Production.INFO: call_cost start
[2025-04-09 06:14:14] Production.INFO: call_cost end
[2025-04-09 06:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:14:15] Production.INFO: ==2066== Releasing lock...
[2025-04-09 06:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:14:18] Production.INFO: count ==77
[2025-04-09 06:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:14:05 - End Time 2025-04-09 06:14:05
[2025-04-09 06:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867634', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867634', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867634', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867634', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:14:18] Production.INFO: ProcessCDR(1,14867634,1,1,2)
[2025-04-09 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867634', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867634', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:14:22] Production.INFO: ==2074== Releasing lock...
[2025-04-09 06:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:14:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:15:01] Production.INFO: ==2133== Lock acquired, processing the job...
[2025-04-09 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:15:01] Production.INFO: neon service started
[2025-04-09 11:15:01] Production.INFO: neon service started
[2025-04-09 11:15:01] Production.INFO: ==2133== Releasing lock...
[2025-04-09 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:15:02] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-04-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:15:02] Production.INFO: ==2135== Releasing lock...
[2025-04-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:15:02] Production.INFO: ==2137== Lock acquired, processing the job...
[2025-04-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:15:02] Production.INFO: ==2137== Releasing lock...
[2025-04-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:15:03] Production.INFO: ==2143== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:15:03] Production.INFO: ==2139== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:15:03] Production.INFO: ==2150== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:15:03] Production.INFO: ==2141== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:15:03] Production.INFO: ==2145== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:15:03] Production.INFO: count ==12
[2025-04-09 06:15:03] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-04-09 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:15:03] Production.INFO: count ==23
[2025-04-09 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867636') start
[2025-04-09 06:15:03] Production.INFO: Account Balance Start.
[2025-04-09 06:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:15:03] Production.INFO: 117
[2025-04-09 06:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867636') end
[2025-04-09 06:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:15:03] Production.INFO: 1
[2025-04-09 06:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:15:03] Production.INFO: Total Charge 0
[2025-04-09 06:15:03] Production.INFO: CreateAllLog End
[2025-04-09 06:15:03] Production.INFO: ==2150== Releasing lock...
[2025-04-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:15:03] Production.INFO: ==2141== Releasing lock...
[2025-04-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:15:04] Production.INFO: Account Balance End.
[2025-04-09 06:15:04] Production.ERROR: done
[2025-04-09 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:15:04] Production.INFO: ==2145== Releasing lock...
[2025-04-09 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:15:04] Production.ERROR: done
[2025-04-09 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:15:05
[end_date_ymd] => 2025-04-09 06:15:05
[RateCDR] => 1
)
[2025-04-09 06:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:15:05' and `end` < '2025-04-09 06:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:15:13] Production.ERROR: CronJobId end10
[2025-04-09 06:15:13] Production.INFO: ==2143== Releasing lock...
[2025-04-09 06:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:15:16] Production.INFO: call_cost start
[2025-04-09 06:15:16] Production.INFO: call_cost end
[2025-04-09 06:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:15:17] Production.INFO: ==2139== Releasing lock...
[2025-04-09 06:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:15:18] Production.INFO: count ==77
[2025-04-09 06:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:15:05 - End Time 2025-04-09 06:15:05
[2025-04-09 06:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867639', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867639', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867639', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867639', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:15:18] Production.INFO: ProcessCDR(1,14867639,1,1,2)
[2025-04-09 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867639', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867639', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:15:22] Production.INFO: ==2148== Releasing lock...
[2025-04-09 06:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:15:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:16:02] Production.INFO: ==2209== Lock acquired, processing the job...
[2025-04-09 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:16:02] Production.INFO: neon service started
[2025-04-09 11:16:02] Production.INFO: neon service started
[2025-04-09 11:16:02] Production.INFO: ==2209== Releasing lock...
[2025-04-09 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:16:02] Production.INFO: ==2211== Lock acquired, processing the job...
[2025-04-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:16:02] Production.INFO: ==2211== Releasing lock...
[2025-04-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:16:02] Production.INFO: ==2213== Lock acquired, processing the job...
[2025-04-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:16:02] Production.INFO: ==2213== Releasing lock...
[2025-04-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:16:03] Production.INFO: ==2221== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:16:03] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:16:03] Production.INFO: ==2215== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:16:03] Production.INFO: ==2217== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:16:03] Production.INFO: Account Balance Start.
[2025-04-09 06:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:16:03] Production.INFO: 117
[2025-04-09 06:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:16:03] Production.INFO: ==2223== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:16:03] Production.INFO: ==2219== Lock acquired, processing the job...
[2025-04-09 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 06:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:16:03] Production.INFO: count ==12
[2025-04-09 06:16:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 06:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:16:03] Production.INFO: count ==23
[2025-04-09 06:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867641') start
[2025-04-09 06:16:03] Production.INFO: Total Charge 0
[2025-04-09 06:16:03] Production.INFO: CreateAllLog End
[2025-04-09 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867641') end
[2025-04-09 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:16:04] Production.INFO: 1
[2025-04-09 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:16:04] Production.INFO: ==2225== Releasing lock...
[2025-04-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:16:04] Production.INFO: ==2217== Releasing lock...
[2025-04-09 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:16:04] Production.ERROR: done
[2025-04-09 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:16:04] Production.ERROR: done
[2025-04-09 06:16:04] Production.INFO: Account Balance End.
[2025-04-09 06:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:16:04] Production.INFO: ==2221== Releasing lock...
[2025-04-09 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:16:05
[end_date_ymd] => 2025-04-09 06:16:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:16:05' and `end` < '2025-04-09 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-04-09 06:16:13] Production.ERROR: CronJobId end10
[2025-04-09 06:16:13] Production.INFO: ==2219== Releasing lock...
[2025-04-09 06:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:16:15] Production.INFO: call_cost start
[2025-04-09 06:16:15] Production.INFO: call_cost end
[2025-04-09 06:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:16:16] Production.INFO: ==2215== Releasing lock...
[2025-04-09 06:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:16:18] Production.INFO: count ==78
[2025-04-09 06:16:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:16:05 - End Time 2025-04-09 06:16:05
[2025-04-09 06:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867644', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867644', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867644', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867644', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:16:18] Production.INFO: ProcessCDR(1,14867644,1,1,2)
[2025-04-09 06:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867644', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867644', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:16:23] Production.INFO: ==2223== Releasing lock...
[2025-04-09 06:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:16:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:17:01] Production.INFO: ==2279== Lock acquired, processing the job...
[2025-04-09 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:17:01] Production.INFO: neon service started
[2025-04-09 11:17:01] Production.INFO: neon service started
[2025-04-09 11:17:01] Production.INFO: ==2279== Releasing lock...
[2025-04-09 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:17:02] Production.INFO: ==2281== Lock acquired, processing the job...
[2025-04-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:17:02] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-04-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:17:02] Production.INFO: ==2283== Releasing lock...
[2025-04-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:17:02] Production.INFO: ==2281== Releasing lock...
[2025-04-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:17:03] Production.INFO: ==2286== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:17:03] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:17:03] Production.INFO: ==2290== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:17:03] Production.INFO: ==2292== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:17:03] Production.INFO: ==2294== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:17:03] Production.INFO: ==2296== Lock acquired, processing the job...
[2025-04-09 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:17:03] Production.INFO: Account Balance Start.
[2025-04-09 06:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:17:03] Production.INFO: 117
[2025-04-09 06:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:17:03] Production.INFO: ==2288== Releasing lock...
[2025-04-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:17:03] Production.INFO: Total Charge 0
[2025-04-09 06:17:03] Production.INFO: CreateAllLog End
[2025-04-09 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:17:04] Production.INFO: count ==12
[2025-04-09 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-04-09 06:17:04] Production.INFO: count ==23
[2025-04-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867648') start
[2025-04-09 06:17:04] Production.ERROR: done
[2025-04-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867648') end
[2025-04-09 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:17:04] Production.INFO: 1
[2025-04-09 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:17:04] Production.INFO: Account Balance End.
[2025-04-09 06:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:17:04] Production.INFO: ==2292== Releasing lock...
[2025-04-09 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:17:04] Production.INFO: ==2296== Releasing lock...
[2025-04-09 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:17:04] Production.ERROR: done
[2025-04-09 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:17:05
[end_date_ymd] => 2025-04-09 06:17:05
[RateCDR] => 1
)
[2025-04-09 06:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:17:05' and `end` < '2025-04-09 06:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:17:11] Production.ERROR: CronJobId end10
[2025-04-09 06:17:11] Production.INFO: ==2290== Releasing lock...
[2025-04-09 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:17:14] Production.INFO: call_cost start
[2025-04-09 06:17:14] Production.INFO: call_cost end
[2025-04-09 06:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:17:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:17:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:17:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:17:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:17:14] Production.INFO: ==2286== Releasing lock...
[2025-04-09 06:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:17:18] Production.INFO: count ==78
[2025-04-09 06:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:17:05 - End Time 2025-04-09 06:17:05
[2025-04-09 06:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867649', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867649', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867649', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867649', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:17:18] Production.INFO: ProcessCDR(1,14867649,1,1,2)
[2025-04-09 06:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867649', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867649', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:17:21] Production.INFO: ==2294== Releasing lock...
[2025-04-09 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:17:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:18:01] Production.INFO: ==2353== Lock acquired, processing the job...
[2025-04-09 11:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:18:01] Production.INFO: neon service started
[2025-04-09 11:18:02] Production.INFO: neon service started
[2025-04-09 11:18:02] Production.INFO: ==2353== Releasing lock...
[2025-04-09 11:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:18:02] Production.INFO: ==2355== Lock acquired, processing the job...
[2025-04-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:18:02] Production.INFO: ==2355== Releasing lock...
[2025-04-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:18:02] Production.INFO: ==2357== Lock acquired, processing the job...
[2025-04-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:18:03] Production.INFO: ==2357== Releasing lock...
[2025-04-09 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:18:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:18:03] Production.INFO: ==2364== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:18:03] Production.INFO: ==2360== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:18:03] Production.INFO: ==2370== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:18:03] Production.INFO: ==2362== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:18:03] Production.INFO: ==2366== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 06:18:03] Production.INFO: ==2368== Lock acquired, processing the job...
[2025-04-09 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:18:04] Production.INFO: count ==12
[2025-04-09 06:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:18:04] Production.INFO: count ==23
[2025-04-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867651') start
[2025-04-09 06:18:04] Production.INFO: Account Balance Start.
[2025-04-09 06:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:18:04] Production.INFO: 117
[2025-04-09 06:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867651') end
[2025-04-09 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:18:04] Production.INFO: 1
[2025-04-09 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:18:04] Production.ERROR: done
[2025-04-09 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:18:04] Production.INFO: ==2362== Releasing lock...
[2025-04-09 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:18:04] Production.INFO: ==2370== Releasing lock...
[2025-04-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:18:04] Production.INFO: Total Charge 0
[2025-04-09 06:18:04] Production.INFO: CreateAllLog End
[2025-04-09 06:18:04] Production.ERROR: done
[2025-04-09 06:18:04] Production.INFO: Account Balance End.
[2025-04-09 06:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:18:04] Production.INFO: ==2366== Releasing lock...
[2025-04-09 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:18:05
[end_date_ymd] => 2025-04-09 06:18:05
[RateCDR] => 1
)
[2025-04-09 06:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:18:05' and `end` < '2025-04-09 06:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:18:13] Production.ERROR: CronJobId end10
[2025-04-09 06:18:13] Production.INFO: ==2364== Releasing lock...
[2025-04-09 06:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:18:15] Production.INFO: call_cost start
[2025-04-09 06:18:15] Production.INFO: call_cost end
[2025-04-09 06:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:18:16] Production.INFO: ==2360== Releasing lock...
[2025-04-09 06:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:18:18] Production.INFO: count ==78
[2025-04-09 06:18:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:18:05 - End Time 2025-04-09 06:18:05
[2025-04-09 06:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867654', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867654', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867654', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867654', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:18:18] Production.INFO: ProcessCDR(1,14867654,1,1,2)
[2025-04-09 06:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867654', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867654', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:18:21] Production.INFO: ==2368== Releasing lock...
[2025-04-09 06:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:18:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:19:01] Production.INFO: ==2425== Lock acquired, processing the job...
[2025-04-09 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:19:01] Production.INFO: neon service started
[2025-04-09 11:19:01] Production.INFO: neon service started
[2025-04-09 11:19:01] Production.INFO: ==2425== Releasing lock...
[2025-04-09 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:19:01] Production.INFO: ==2427== Lock acquired, processing the job...
[2025-04-09 06:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:19:02] Production.INFO: ==2427== Releasing lock...
[2025-04-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:19:02] Production.INFO: ==2429== Lock acquired, processing the job...
[2025-04-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:19:02] Production.INFO: ==2429== Releasing lock...
[2025-04-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:19:03] Production.INFO: ==2433== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:19:03] Production.INFO: ==2437== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:19:03] Production.INFO: Account Balance Start.
[2025-04-09 06:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:19:03] Production.INFO: 117
[2025-04-09 06:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:19:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:19:03] Production.INFO: Total Charge 0
[2025-04-09 06:19:03] Production.INFO: CreateAllLog End
[2025-04-09 06:19:03] Production.INFO: ==2431== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:19:03] Production.INFO: ==2435== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:19:03] Production.INFO: Account Balance End.
[2025-04-09 06:19:03] Production.INFO: ==2439== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:19:03] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-04-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:19:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:19:03] Production.INFO: ==2437== Releasing lock...
[2025-04-09 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:19:03] Production.INFO: ==2433== Releasing lock...
[2025-04-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:19:03] Production.INFO: count ==12
[2025-04-09 06:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:19:03] Production.INFO: count ==23
[2025-04-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867658') start
[2025-04-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867658') end
[2025-04-09 06:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:19:03] Production.INFO: 1
[2025-04-09 06:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:19:03] Production.INFO: ==2441== Releasing lock...
[2025-04-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:19:03] Production.ERROR: done
[2025-04-09 06:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:19:04] Production.ERROR: done
[2025-04-09 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:19:05
[end_date_ymd] => 2025-04-09 06:19:05
[RateCDR] => 1
)
[2025-04-09 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:19:05' and `end` < '2025-04-09 06:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:19:11] Production.ERROR: CronJobId end10
[2025-04-09 06:19:11] Production.INFO: ==2435== Releasing lock...
[2025-04-09 06:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:19:14] Production.INFO: call_cost start
[2025-04-09 06:19:14] Production.INFO: call_cost end
[2025-04-09 06:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:19:15] Production.INFO: ==2431== Releasing lock...
[2025-04-09 06:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:19:17] Production.INFO: count ==78
[2025-04-09 06:19:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:19:05 - End Time 2025-04-09 06:19:05
[2025-04-09 06:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867659', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867659', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867659', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867659', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:19:17] Production.INFO: ProcessCDR(1,14867659,1,1,2)
[2025-04-09 06:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867659', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867659', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:19:21] Production.INFO: ==2439== Releasing lock...
[2025-04-09 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:19:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:20:01] Production.INFO: ==2500== Lock acquired, processing the job...
[2025-04-09 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:20:01] Production.INFO: neon service started
[2025-04-09 11:20:01] Production.INFO: neon service started
[2025-04-09 11:20:01] Production.INFO: ==2500== Releasing lock...
[2025-04-09 11:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:20:02] Production.INFO: ==2502== Lock acquired, processing the job...
[2025-04-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:20:02] Production.INFO: ==2502== Releasing lock...
[2025-04-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:20:02] Production.INFO: ==2504== Lock acquired, processing the job...
[2025-04-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:20:02] Production.INFO: ==2504== Releasing lock...
[2025-04-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:20:03] Production.INFO: ==2506== Lock acquired, processing the job...
[2025-04-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:20:03] Production.INFO: ==2508== Lock acquired, processing the job...
[2025-04-09 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 06:20:03] Production.ERROR: CronJob PID - 2508
[2025-04-09 06:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 06:20:03] Production.ERROR: CronJob ID - 5
[2025-04-09 06:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 06:20:00
[2025-04-09 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:20:03] Production.INFO: ==2506== Releasing lock...
[2025-04-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:20:04] Production.INFO: ==2510== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:20:04] Production.INFO: ==2521== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:20:04] Production.INFO: ==2513== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:20:04] Production.INFO: ==2515== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:20:04] Production.INFO: count ==12
[2025-04-09 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:20:04] Production.INFO: ==2517== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:20:04] Production.INFO: count ==23
[2025-04-09 06:20:04] Production.INFO: ==2519== Lock acquired, processing the job...
[2025-04-09 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:20:04] Production.INFO: ==2510== Releasing lock...
[2025-04-09 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867662') start
[2025-04-09 06:20:04] Production.INFO: Account Balance Start.
[2025-04-09 06:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:20:04] Production.INFO: 117
[2025-04-09 06:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867662') end
[2025-04-09 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:20:04] Production.INFO: 1
[2025-04-09 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:20:04] Production.INFO: Total Charge 0
[2025-04-09 06:20:04] Production.INFO: CreateAllLog End
[2025-04-09 06:20:04] Production.INFO: ==2521== Releasing lock...
[2025-04-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:20:04] Production.ERROR: done
[2025-04-09 06:20:04] Production.ERROR: done
[2025-04-09 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867664', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:20:05] Production.ERROR: done
[2025-04-09 06:20:05] Production.INFO: Account Balance End.
[2025-04-09 06:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 06:20:05] Production.INFO: ==2515== Releasing lock...
[2025-04-09 06:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:20:06
[end_date_ymd] => 2025-04-09 06:20:06
[RateCDR] => 1
)
[2025-04-09 06:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:20:06' and `end` < '2025-04-09 06:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867664', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:20:09] Production.INFO: ProcessCDR(1,14867664,1,1,2)
[2025-04-09 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867664,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867664,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:20:10] Production.INFO: ==2519== Releasing lock...
[2025-04-09 06:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:20:15] Production.ERROR: CronJobId end10
[2025-04-09 06:20:15] Production.INFO: ==2513== Releasing lock...
[2025-04-09 06:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:20:17] Production.INFO: call_cost start
[2025-04-09 06:20:17] Production.INFO: call_cost end
[2025-04-09 06:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:20:18] Production.INFO: ==2508== Releasing lock...
[2025-04-09 06:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:20:19] Production.INFO: count ==78
[2025-04-09 06:20:19] Production.ERROR: pbx CDR StartTime 2025-04-09 03:20:06 - End Time 2025-04-09 06:20:06
[2025-04-09 06:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867665', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867665', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867665', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867665', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:20:19] Production.INFO: ProcessCDR(1,14867665,1,1,2)
[2025-04-09 06:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867665', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867665', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:20:22] Production.INFO: ==2517== Releasing lock...
[2025-04-09 06:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:20:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:21:01] Production.INFO: ==2576== Lock acquired, processing the job...
[2025-04-09 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:21:01] Production.INFO: neon service started
[2025-04-09 11:21:01] Production.INFO: neon service started
[2025-04-09 11:21:01] Production.INFO: ==2576== Releasing lock...
[2025-04-09 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:21:02] Production.INFO: ==2579== Lock acquired, processing the job...
[2025-04-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:21:02] Production.INFO: ==2581== Lock acquired, processing the job...
[2025-04-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:21:02] Production.INFO: ==2581== Releasing lock...
[2025-04-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:21:02] Production.INFO: ==2579== Releasing lock...
[2025-04-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:21:03] Production.INFO: ==2583== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:21:03] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:21:03] Production.INFO: ==2591== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:21:03] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:21:03] Production.INFO: ==2585== Releasing lock...
[2025-04-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:21:03] Production.INFO: ==2589== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:21:03] Production.INFO: ==2593== Lock acquired, processing the job...
[2025-04-09 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:21:03] Production.INFO: Account Balance Start.
[2025-04-09 06:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:21:03] Production.INFO: 117
[2025-04-09 06:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:21:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 06:21:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:21:03] Production.INFO: Total Charge 0
[2025-04-09 06:21:03] Production.INFO: count ==23
[2025-04-09 06:21:03] Production.INFO: CreateAllLog End
[2025-04-09 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867669') start
[2025-04-09 06:21:03] Production.ERROR: done
[2025-04-09 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:21:04] Production.INFO: Account Balance End.
[2025-04-09 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867669') end
[2025-04-09 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:21:04] Production.INFO: 1
[2025-04-09 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:21:04] Production.INFO: ==2589== Releasing lock...
[2025-04-09 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:21:04] Production.ERROR: done
[2025-04-09 06:21:04] Production.INFO: ==2593== Releasing lock...
[2025-04-09 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:21:05
[end_date_ymd] => 2025-04-09 06:21:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:21:05' and `end` < '2025-04-09 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-04-09 06:21:11] Production.ERROR: CronJobId end10
[2025-04-09 06:21:11] Production.INFO: ==2587== Releasing lock...
[2025-04-09 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:21:14] Production.INFO: call_cost start
[2025-04-09 06:21:14] Production.INFO: call_cost end
[2025-04-09 06:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:21:15] Production.INFO: ==2583== Releasing lock...
[2025-04-09 06:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:21:18] Production.INFO: count ==78
[2025-04-09 06:21:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:21:05 - End Time 2025-04-09 06:21:05
[2025-04-09 06:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867670', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867670', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867670', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867670', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:21:18] Production.INFO: ProcessCDR(1,14867670,1,1,2)
[2025-04-09 06:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867670', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867670', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:21:21] Production.INFO: ==2591== Releasing lock...
[2025-04-09 06:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:21:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:22:01] Production.INFO: ==2647== Lock acquired, processing the job...
[2025-04-09 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:22:01] Production.INFO: neon service started
[2025-04-09 11:22:01] Production.INFO: neon service started
[2025-04-09 11:22:01] Production.INFO: ==2647== Releasing lock...
[2025-04-09 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:22:02] Production.INFO: ==2651== Lock acquired, processing the job...
[2025-04-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:22:02] Production.INFO: ==2651== Releasing lock...
[2025-04-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:22:02] Production.INFO: ==2649== Lock acquired, processing the job...
[2025-04-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:22:02] Production.INFO: ==2649== Releasing lock...
[2025-04-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:22:03] Production.INFO: ==2656== Lock acquired, processing the job...
[2025-04-09 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:22:03] Production.INFO: ==2662== Lock acquired, processing the job...
[2025-04-09 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:22:03] Production.INFO: ==2654== Lock acquired, processing the job...
[2025-04-09 06:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:22:03] Production.INFO: ==2658== Lock acquired, processing the job...
[2025-04-09 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:22:03] Production.INFO: ==2660== Lock acquired, processing the job...
[2025-04-09 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:22:04] Production.INFO: ==2664== Lock acquired, processing the job...
[2025-04-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:22:04] Production.INFO: ==2656== Releasing lock...
[2025-04-09 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:22:04] Production.INFO: Account Balance Start.
[2025-04-09 06:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:22:04] Production.INFO: 117
[2025-04-09 06:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:22:04] Production.INFO: count ==12
[2025-04-09 06:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:22:04] Production.INFO: count ==23
[2025-04-09 06:22:04] Production.INFO: Total Charge 0
[2025-04-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867673') start
[2025-04-09 06:22:04] Production.INFO: CreateAllLog End
[2025-04-09 06:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:22:04] Production.ERROR: done
[2025-04-09 06:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:22:04] Production.INFO: Account Balance End.
[2025-04-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867673') end
[2025-04-09 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:22:04] Production.INFO: 1
[2025-04-09 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:22:04] Production.INFO: ==2664== Releasing lock...
[2025-04-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:22:04] Production.ERROR: done
[2025-04-09 06:22:04] Production.INFO: ==2660== Releasing lock...
[2025-04-09 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:22:05
[end_date_ymd] => 2025-04-09 06:22:05
[RateCDR] => 1
)
[2025-04-09 06:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:22:05' and `end` < '2025-04-09 06:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:22:13] Production.ERROR: CronJobId end10
[2025-04-09 06:22:13] Production.INFO: ==2658== Releasing lock...
[2025-04-09 06:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:22:15] Production.INFO: call_cost start
[2025-04-09 06:22:15] Production.INFO: call_cost end
[2025-04-09 06:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:22:16] Production.INFO: ==2654== Releasing lock...
[2025-04-09 06:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:22:18] Production.INFO: count ==78
[2025-04-09 06:22:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:22:05 - End Time 2025-04-09 06:22:05
[2025-04-09 06:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867675', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867675', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867675', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867675', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:22:18] Production.INFO: ProcessCDR(1,14867675,1,1,2)
[2025-04-09 06:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867675', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867675', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:22:22] Production.INFO: ==2662== Releasing lock...
[2025-04-09 06:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:22:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:23:02] Production.INFO: ==2725== Lock acquired, processing the job...
[2025-04-09 11:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:23:02] Production.INFO: neon service started
[2025-04-09 11:23:02] Production.INFO: neon service started
[2025-04-09 11:23:02] Production.INFO: ==2725== Releasing lock...
[2025-04-09 11:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:23:02] Production.INFO: ==2727== Lock acquired, processing the job...
[2025-04-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:23:02] Production.INFO: ==2727== Releasing lock...
[2025-04-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:23:03] Production.INFO: ==2729== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:23:03] Production.INFO: ==2729== Releasing lock...
[2025-04-09 10:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:23:03] Production.INFO: ==2734== Lock acquired, processing the job...
[2025-04-09 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:23:03] Production.INFO: ==2740== Lock acquired, processing the job...
[2025-04-09 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:23:04] Production.INFO: ==2732== Lock acquired, processing the job...
[2025-04-09 06:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:23:04] Production.INFO: ==2738== Lock acquired, processing the job...
[2025-04-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:23:04] Production.INFO: ==2736== Lock acquired, processing the job...
[2025-04-09 06:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:23:04] Production.INFO: ==2742== Lock acquired, processing the job...
[2025-04-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:23:04] Production.INFO: ==2734== Releasing lock...
[2025-04-09 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:23:04] Production.ERROR: done
[2025-04-09 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:23:04] Production.INFO: Account Balance Start.
[2025-04-09 06:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:23:04] Production.INFO: 117
[2025-04-09 06:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:23:04] Production.INFO: count ==12
[2025-04-09 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:23:04] Production.INFO: count ==23
[2025-04-09 06:23:04] Production.INFO: Total Charge 0
[2025-04-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867679') start
[2025-04-09 06:23:04] Production.INFO: CreateAllLog End
[2025-04-09 06:23:04] Production.ERROR: done
[2025-04-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867679') end
[2025-04-09 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:23:04] Production.INFO: 1
[2025-04-09 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:23:04] Production.INFO: ==2742== Releasing lock...
[2025-04-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:23:04] Production.INFO: Account Balance End.
[2025-04-09 06:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:23:04] Production.INFO: ==2738== Releasing lock...
[2025-04-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:23:05
[end_date_ymd] => 2025-04-09 06:23:05
[RateCDR] => 1
)
[2025-04-09 06:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:23:05' and `end` < '2025-04-09 06:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:23:13] Production.ERROR: CronJobId end10
[2025-04-09 06:23:13] Production.INFO: ==2736== Releasing lock...
[2025-04-09 06:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:23:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:23:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:23:16] Production.INFO: call_cost start
[2025-04-09 06:23:16] Production.INFO: call_cost end
[2025-04-09 06:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:23:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:23:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:23:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:23:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:23:17] Production.INFO: ==2732== Releasing lock...
[2025-04-09 06:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:23:18] Production.INFO: count ==78
[2025-04-09 06:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:23:05 - End Time 2025-04-09 06:23:05
[2025-04-09 06:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867680', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867680', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867680', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867680', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:23:18] Production.INFO: ProcessCDR(1,14867680,1,1,2)
[2025-04-09 06:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867680', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867680', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:23:22] Production.INFO: ==2740== Releasing lock...
[2025-04-09 06:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:23:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:24:01] Production.INFO: ==2838== Lock acquired, processing the job...
[2025-04-09 11:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:24:01] Production.INFO: neon service started
[2025-04-09 11:24:01] Production.INFO: neon service started
[2025-04-09 11:24:01] Production.INFO: ==2838== Releasing lock...
[2025-04-09 11:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:24:02] Production.INFO: ==2840== Lock acquired, processing the job...
[2025-04-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:24:02] Production.INFO: ==2842== Lock acquired, processing the job...
[2025-04-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:24:02] Production.INFO: ==2842== Releasing lock...
[2025-04-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:24:02] Production.INFO: ==2840== Releasing lock...
[2025-04-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:24:03] Production.INFO: ==2853== Lock acquired, processing the job...
[2025-04-09 06:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:24:03] Production.INFO: ==2855== Lock acquired, processing the job...
[2025-04-09 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 06:24:04] Production.INFO: count ==12
[2025-04-09 06:24:04] Production.INFO: ==2847== Lock acquired, processing the job...
[2025-04-09 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 06:24:04] Production.INFO: count ==23
[2025-04-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867681') start
[2025-04-09 06:24:04] Production.INFO: ==2845== Lock acquired, processing the job...
[2025-04-09 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:24:04] Production.INFO: ==2849== Lock acquired, processing the job...
[2025-04-09 06:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:24:04] Production.INFO: ==2851== Lock acquired, processing the job...
[2025-04-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867681') end
[2025-04-09 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:24:04] Production.INFO: 1
[2025-04-09 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:24:04] Production.INFO: ==2855== Releasing lock...
[2025-04-09 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:24:04] Production.INFO: Account Balance Start.
[2025-04-09 06:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:24:04] Production.INFO: 117
[2025-04-09 06:24:04] Production.ERROR: done
[2025-04-09 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:24:04] Production.INFO: Total Charge 0
[2025-04-09 06:24:04] Production.INFO: CreateAllLog End
[2025-04-09 06:24:04] Production.INFO: ==2847== Releasing lock...
[2025-04-09 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:24:04] Production.ERROR: done
[2025-04-09 06:24:04] Production.INFO: Account Balance End.
[2025-04-09 06:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:24:04] Production.INFO: ==2851== Releasing lock...
[2025-04-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:24:05
[end_date_ymd] => 2025-04-09 06:24:05
[RateCDR] => 1
)
[2025-04-09 06:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:24:05' and `end` < '2025-04-09 06:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:24:12] Production.ERROR: CronJobId end10
[2025-04-09 06:24:12] Production.INFO: ==2849== Releasing lock...
[2025-04-09 06:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:24:14] Production.INFO: call_cost start
[2025-04-09 06:24:14] Production.INFO: call_cost end
[2025-04-09 06:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:24:15] Production.INFO: ==2845== Releasing lock...
[2025-04-09 06:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:24:18] Production.INFO: count ==78
[2025-04-09 06:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:24:05 - End Time 2025-04-09 06:24:05
[2025-04-09 06:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867685', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867685', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867685', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867685', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:24:18] Production.INFO: ProcessCDR(1,14867685,1,1,2)
[2025-04-09 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867685', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867685', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:24:22] Production.INFO: ==2853== Releasing lock...
[2025-04-09 06:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:24:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:25:02] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-04-09 11:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:25:02] Production.INFO: neon service started
[2025-04-09 11:25:02] Production.INFO: neon service started
[2025-04-09 11:25:02] Production.INFO: ==2913== Releasing lock...
[2025-04-09 11:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:25:02] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-04-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:25:02] Production.INFO: ==2917== Lock acquired, processing the job...
[2025-04-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:25:03] Production.INFO: ==2917== Releasing lock...
[2025-04-09 10:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:25:03] Production.INFO: ==2915== Releasing lock...
[2025-04-09 06:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:25:04] Production.INFO: ==2920== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:25:04] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:25:04] Production.INFO: ==2928== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:25:04] Production.INFO: ==2924== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:25:04] Production.INFO: ==2926== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:25:04] Production.INFO: ==2922== Releasing lock...
[2025-04-09 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:25:04] Production.INFO: ==2930== Lock acquired, processing the job...
[2025-04-09 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:25:04] Production.INFO: Account Balance Start.
[2025-04-09 06:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:25:04] Production.INFO: 117
[2025-04-09 06:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:25:04] Production.INFO: Total Charge 0
[2025-04-09 06:25:04] Production.INFO: CreateAllLog End
[2025-04-09 06:25:04] Production.ERROR: done
[2025-04-09 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06: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-04-09 06:25:04] Production.INFO: Account Balance End.
[2025-04-09 06:25:04] Production.INFO: count ==12
[2025-04-09 06:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:25:04] Production.INFO: ==2926== Releasing lock...
[2025-04-09 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:25:04] Production.INFO: count ==23
[2025-04-09 06:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867689') start
[2025-04-09 06:25:05] Production.ERROR: done
[2025-04-09 06:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867689') end
[2025-04-09 06:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:25:05] Production.INFO: 1
[2025-04-09 06:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:25:05] Production.INFO: ==2930== Releasing lock...
[2025-04-09 06:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:25:06
[end_date_ymd] => 2025-04-09 06:25:06
[RateCDR] => 1
)
[2025-04-09 06:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:25:06' and `end` < '2025-04-09 06:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:25:13] Production.ERROR: CronJobId end10
[2025-04-09 06:25:13] Production.INFO: ==2924== Releasing lock...
[2025-04-09 06:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:25:15] Production.INFO: call_cost start
[2025-04-09 06:25:15] Production.INFO: call_cost end
[2025-04-09 06:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:25:16] Production.INFO: ==2920== Releasing lock...
[2025-04-09 06:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:25:19] Production.INFO: count ==78
[2025-04-09 06:25:19] Production.ERROR: pbx CDR StartTime 2025-04-09 03:25:06 - End Time 2025-04-09 06:25:06
[2025-04-09 06:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867690', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867690', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867690', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867690', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:25:19] Production.INFO: ProcessCDR(1,14867690,1,1,2)
[2025-04-09 06:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867690', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867690', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:25:22] Production.INFO: ==2928== Releasing lock...
[2025-04-09 06:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:25:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:26:01] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-04-09 11:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:26:01] Production.INFO: neon service started
[2025-04-09 11:26:01] Production.INFO: neon service started
[2025-04-09 11:26:01] Production.INFO: ==2983== Releasing lock...
[2025-04-09 11:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:26:02] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-04-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:26:02] Production.INFO: ==2985== Releasing lock...
[2025-04-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:26:02] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-04-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:26:02] Production.INFO: ==2987== Releasing lock...
[2025-04-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:26:03] Production.INFO: ==2992== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:26:03] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:26:03] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:26:03] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:26:03] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:26:03] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-04-09 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:26:03] Production.INFO: ==2992== Releasing lock...
[2025-04-09 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:26:03] Production.INFO: Account Balance Start.
[2025-04-09 06:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:26:03] Production.INFO: 117
[2025-04-09 06:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:26:03] Production.INFO: count ==12
[2025-04-09 06:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:26:03] Production.INFO: count ==23
[2025-04-09 06:26:03] Production.INFO: Total Charge 0
[2025-04-09 06:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867693') start
[2025-04-09 06:26:03] Production.INFO: CreateAllLog End
[2025-04-09 06:26:04] Production.ERROR: done
[2025-04-09 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867693') end
[2025-04-09 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:26:04] Production.INFO: 1
[2025-04-09 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:26:04] Production.INFO: ==3000== Releasing lock...
[2025-04-09 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:26:04] Production.ERROR: done
[2025-04-09 06:26:04] Production.INFO: Account Balance End.
[2025-04-09 06:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:26:04] Production.INFO: ==2996== Releasing lock...
[2025-04-09 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:26:05
[end_date_ymd] => 2025-04-09 06:26:05
[RateCDR] => 1
)
[2025-04-09 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:26:05' and `end` < '2025-04-09 06:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:26:12] Production.ERROR: CronJobId end10
[2025-04-09 06:26:12] Production.INFO: ==2994== Releasing lock...
[2025-04-09 06:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:26:15] Production.INFO: call_cost start
[2025-04-09 06:26:15] Production.INFO: call_cost end
[2025-04-09 06:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:26:16] Production.INFO: ==2989== Releasing lock...
[2025-04-09 06:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:26:17] Production.INFO: count ==78
[2025-04-09 06:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:26:05 - End Time 2025-04-09 06:26:05
[2025-04-09 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867695', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867695', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867695', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867695', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:26:18] Production.INFO: ProcessCDR(1,14867695,1,1,2)
[2025-04-09 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867695', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867695', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:26:21] Production.INFO: ==2998== Releasing lock...
[2025-04-09 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:26:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:27:02] Production.INFO: ==3059== Lock acquired, processing the job...
[2025-04-09 11:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:27:02] Production.INFO: neon service started
[2025-04-09 11:27:02] Production.INFO: neon service started
[2025-04-09 11:27:02] Production.INFO: ==3059== Releasing lock...
[2025-04-09 11:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:27:02] Production.INFO: ==3061== Lock acquired, processing the job...
[2025-04-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:27:02] Production.INFO: ==3063== Lock acquired, processing the job...
[2025-04-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:27:02] Production.INFO: ==3061== Releasing lock...
[2025-04-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:27:02] Production.INFO: ==3063== Releasing lock...
[2025-04-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:27:03] Production.INFO: ==3065== Lock acquired, processing the job...
[2025-04-09 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:27:03] Production.INFO: ==3073== Lock acquired, processing the job...
[2025-04-09 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:27:03] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-04-09 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:27:03] Production.INFO: ==3067== Lock acquired, processing the job...
[2025-04-09 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:27:04] Production.INFO: ==3069== Lock acquired, processing the job...
[2025-04-09 06:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:27:04] Production.INFO: ==3071== Lock acquired, processing the job...
[2025-04-09 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:27:04] Production.INFO: count ==12
[2025-04-09 06:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:27:04] Production.INFO: count ==23
[2025-04-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867697') start
[2025-04-09 06:27:04] Production.INFO: Account Balance Start.
[2025-04-09 06:27:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:27:04] Production.INFO: 117
[2025-04-09 06:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867697') end
[2025-04-09 06:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:27:04] Production.INFO: 1
[2025-04-09 06:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:27:04] Production.INFO: ==3075== Releasing lock...
[2025-04-09 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:27:04] Production.INFO: Total Charge 0
[2025-04-09 06:27:04] Production.INFO: CreateAllLog End
[2025-04-09 06:27:04] Production.INFO: ==3067== Releasing lock...
[2025-04-09 06:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:27:04] Production.ERROR: done
[2025-04-09 06:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:27:04] Production.ERROR: done
[2025-04-09 06:27:04] Production.INFO: Account Balance End.
[2025-04-09 06:27:05] Production.ERROR: CronJobId end 12
[2025-04-09 06:27:05] Production.INFO: ==3071== Releasing lock...
[2025-04-09 06:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:27:05
[end_date_ymd] => 2025-04-09 06:27:05
[RateCDR] => 1
)
[2025-04-09 06:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:27:05' and `end` < '2025-04-09 06:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:27:13] Production.ERROR: CronJobId end10
[2025-04-09 06:27:13] Production.INFO: ==3069== Releasing lock...
[2025-04-09 06:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:27:15] Production.INFO: call_cost start
[2025-04-09 06:27:15] Production.INFO: call_cost end
[2025-04-09 06:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:27:16] Production.INFO: ==3065== Releasing lock...
[2025-04-09 06:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:27:18] Production.INFO: count ==78
[2025-04-09 06:27:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:27:05 - End Time 2025-04-09 06:27:05
[2025-04-09 06:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867700', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867700', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867700', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867700', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:27:18] Production.INFO: ProcessCDR(1,14867700,1,1,2)
[2025-04-09 06:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867700', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867700', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:27:22] Production.INFO: ==3073== Releasing lock...
[2025-04-09 06:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:27:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:28:01] Production.INFO: ==3133== Lock acquired, processing the job...
[2025-04-09 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:28:01] Production.INFO: neon service started
[2025-04-09 11:28:01] Production.INFO: neon service started
[2025-04-09 11:28:01] Production.INFO: ==3133== Releasing lock...
[2025-04-09 11:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:28:02] Production.INFO: ==3137== Lock acquired, processing the job...
[2025-04-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:28:02] Production.INFO: ==3135== Lock acquired, processing the job...
[2025-04-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:28:02] Production.INFO: ==3137== Releasing lock...
[2025-04-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:28:02] Production.INFO: ==3135== Releasing lock...
[2025-04-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:28:03] Production.INFO: ==3140== Lock acquired, processing the job...
[2025-04-09 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:28:03] Production.INFO: ==3142== Lock acquired, processing the job...
[2025-04-09 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:28:03] Production.INFO: ==3146== Lock acquired, processing the job...
[2025-04-09 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:28:03] Production.INFO: Account Balance Start.
[2025-04-09 06:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:28:03] Production.INFO: 117
[2025-04-09 06:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:28:03] Production.INFO: ==3144== Lock acquired, processing the job...
[2025-04-09 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:28:03] Production.INFO: ==3148== Lock acquired, processing the job...
[2025-04-09 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:28:03] Production.INFO: Total Charge 0
[2025-04-09 06:28:04] Production.INFO: CreateAllLog End
[2025-04-09 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:28:04] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-04-09 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:28:04] Production.INFO: ==3142== Releasing lock...
[2025-04-09 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:28:04] Production.INFO: count ==12
[2025-04-09 06:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:28:04] Production.INFO: count ==23
[2025-04-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867704') start
[2025-04-09 06:28:04] Production.INFO: Account Balance End.
[2025-04-09 06:28:04] Production.ERROR: done
[2025-04-09 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867704') end
[2025-04-09 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:28:04] Production.INFO: 1
[2025-04-09 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:28:04] Production.INFO: ==3150== Releasing lock...
[2025-04-09 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:28:04] Production.INFO: ==3146== Releasing lock...
[2025-04-09 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:28:04] Production.ERROR: done
[2025-04-09 06:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:28:05
[end_date_ymd] => 2025-04-09 06:28:05
[RateCDR] => 1
)
[2025-04-09 06:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:28:05' and `end` < '2025-04-09 06:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:28:11] Production.ERROR: CronJobId end10
[2025-04-09 06:28:11] Production.INFO: ==3144== Releasing lock...
[2025-04-09 06:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:28:13] Production.INFO: call_cost start
[2025-04-09 06:28:13] Production.INFO: call_cost end
[2025-04-09 06:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:28:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:28:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:28:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:28:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:28:14] Production.INFO: ==3140== Releasing lock...
[2025-04-09 06:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:28:18] Production.INFO: count ==78
[2025-04-09 06:28:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:28:05 - End Time 2025-04-09 06:28:05
[2025-04-09 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867705', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867705', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867705', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867705', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:28:18] Production.INFO: ProcessCDR(1,14867705,1,1,2)
[2025-04-09 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867705', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867705', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:28:21] Production.INFO: ==3148== Releasing lock...
[2025-04-09 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:28:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:29:02] Production.INFO: ==3203== Lock acquired, processing the job...
[2025-04-09 11:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:29:02] Production.INFO: neon service started
[2025-04-09 11:29:02] Production.INFO: neon service started
[2025-04-09 11:29:02] Production.INFO: ==3203== Releasing lock...
[2025-04-09 11:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:29:02] Production.INFO: ==3205== Lock acquired, processing the job...
[2025-04-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:29:02] Production.INFO: ==3205== Releasing lock...
[2025-04-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:29:02] Production.INFO: ==3207== Lock acquired, processing the job...
[2025-04-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:29:03] Production.INFO: ==3207== Releasing lock...
[2025-04-09 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:29:03] Production.INFO: ==3209== Lock acquired, processing the job...
[2025-04-09 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:29:03] Production.INFO: ==3211== Lock acquired, processing the job...
[2025-04-09 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:29:03] Production.INFO: ==3215== Lock acquired, processing the job...
[2025-04-09 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:29:03] Production.INFO: Account Balance Start.
[2025-04-09 06:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:29:03] Production.INFO: 117
[2025-04-09 06:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:29:04] Production.INFO: ==3213== Lock acquired, processing the job...
[2025-04-09 06:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:29:04] Production.INFO: ==3217== Lock acquired, processing the job...
[2025-04-09 06:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:29:04] Production.INFO: ==3219== Lock acquired, processing the job...
[2025-04-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:29:04] Production.INFO: Total Charge 0
[2025-04-09 06:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:29:04] Production.INFO: CreateAllLog End
[2025-04-09 06:29:04] Production.INFO: ==3211== Releasing lock...
[2025-04-09 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:29:04] Production.INFO: count ==12
[2025-04-09 06:29:04] Production.ERROR: done
[2025-04-09 06:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:29:04] Production.INFO: count ==23
[2025-04-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867709') start
[2025-04-09 06:29:04] Production.INFO: Account Balance End.
[2025-04-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867709') end
[2025-04-09 06:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:29:04] Production.INFO: 1
[2025-04-09 06:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:29:04] Production.INFO: ==3215== Releasing lock...
[2025-04-09 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:29:04] Production.ERROR: done
[2025-04-09 06:29:04] Production.INFO: ==3219== Releasing lock...
[2025-04-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:29:05
[end_date_ymd] => 2025-04-09 06:29:05
[RateCDR] => 1
)
[2025-04-09 06:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:29:05' and `end` < '2025-04-09 06:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:29:12] Production.ERROR: CronJobId end10
[2025-04-09 06:29:12] Production.INFO: ==3213== Releasing lock...
[2025-04-09 06:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:29:15] Production.INFO: call_cost start
[2025-04-09 06:29:15] Production.INFO: call_cost end
[2025-04-09 06:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:29:16] Production.INFO: ==3209== Releasing lock...
[2025-04-09 06:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:29:18] Production.INFO: count ==78
[2025-04-09 06:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:29:05 - End Time 2025-04-09 06:29:05
[2025-04-09 06:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867710', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867710', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867710', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867710', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:29:18] Production.INFO: ProcessCDR(1,14867710,1,1,2)
[2025-04-09 06:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867710', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867710', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:29:21] Production.INFO: ==3217== Releasing lock...
[2025-04-09 06:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:29:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:30:01] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-04-09 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:30:01] Production.INFO: neon service started
[2025-04-09 11:30:01] Production.INFO: neon service started
[2025-04-09 11:30:01] Production.INFO: ==3278== Releasing lock...
[2025-04-09 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:30:02] Production.INFO: ==3280== Lock acquired, processing the job...
[2025-04-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:30:02] Production.INFO: ==3280== Releasing lock...
[2025-04-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:30:02] Production.INFO: ==3282== Lock acquired, processing the job...
[2025-04-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:30:02] Production.INFO: ==3282== Releasing lock...
[2025-04-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:30:03] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-04-09 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:30:03] Production.INFO: ==3293== Lock acquired, processing the job...
[2025-04-09 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:30:03] Production.INFO: Account Balance Start.
[2025-04-09 06:30:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:30:03] Production.INFO: 117
[2025-04-09 06:30:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:30:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:30:03] Production.INFO: Total Charge 0
[2025-04-09 06:30:03] Production.INFO: CreateAllLog End
[2025-04-09 06:30:03] Production.INFO: ==3288== Releasing lock...
[2025-04-09 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:30:03] Production.INFO: Account Balance End.
[2025-04-09 06:30:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:30:03] Production.INFO: ==3293== Releasing lock...
[2025-04-09 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:30:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:30:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-04-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:30:03] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-04-09 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:30:03] Production.INFO: ==3284== Releasing lock...
[2025-04-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:30:04] Production.INFO: ==3290== Lock acquired, processing the job...
[2025-04-09 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:30:04] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-04-09 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:30:04] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-04-09 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:30:04] Production.INFO: ==3299== Lock acquired, processing the job...
[2025-04-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:30:04] Production.INFO: count ==12
[2025-04-09 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:30:04] Production.INFO: count ==23
[2025-04-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867714') start
[2025-04-09 06:30:04] Production.ERROR: done
[2025-04-09 06:30:04] Production.ERROR: done
[2025-04-09 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867715', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:30:04] Production.ERROR: done
[2025-04-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867714') end
[2025-04-09 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:30:04] Production.INFO: 1
[2025-04-09 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:30:04] Production.INFO: ==3299== Releasing lock...
[2025-04-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:30:05
[end_date_ymd] => 2025-04-09 06:30:05
[RateCDR] => 1
)
[2025-04-09 06: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-04-09 03:30:05' and `end` < '2025-04-09 06: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-04-09 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867715', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:30:09] Production.INFO: ProcessCDR(1,14867715,1,1,2)
[2025-04-09 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867715,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867715,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:30:09] Production.INFO: ==3297== Releasing lock...
[2025-04-09 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:30:13] Production.ERROR: CronJobId end10
[2025-04-09 06:30:13] Production.INFO: ==3290== Releasing lock...
[2025-04-09 06:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:30:17] Production.INFO: call_cost start
[2025-04-09 06:30:17] Production.INFO: call_cost end
[2025-04-09 06:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:30:18] Production.INFO: ==3286== Releasing lock...
[2025-04-09 06:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:30:18] Production.INFO: count ==80
[2025-04-09 06:30:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:30:05 - End Time 2025-04-09 06:30:05
[2025-04-09 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867716', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867716', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867716', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867716', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:30:18] Production.INFO: ProcessCDR(1,14867716,1,1,2)
[2025-04-09 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867716', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867716', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:30:22] Production.INFO: ==3295== Releasing lock...
[2025-04-09 06:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:31:02] Production.INFO: ==3352== Lock acquired, processing the job...
[2025-04-09 11:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:31:02] Production.INFO: neon service started
[2025-04-09 11:31:02] Production.INFO: neon service started
[2025-04-09 11:31:02] Production.INFO: ==3352== Releasing lock...
[2025-04-09 11:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:31:02] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-04-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:31:02] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-04-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:31:02] Production.INFO: ==3356== Releasing lock...
[2025-04-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:31:02] Production.INFO: ==3354== Releasing lock...
[2025-04-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:31:03] Production.INFO: ==3359== Lock acquired, processing the job...
[2025-04-09 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:31:03] Production.INFO: ==3361== Lock acquired, processing the job...
[2025-04-09 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:31:03] Production.INFO: ==3369== Lock acquired, processing the job...
[2025-04-09 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:31:03] Production.INFO: ==3363== Lock acquired, processing the job...
[2025-04-09 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:31:04] Production.INFO: ==3365== Lock acquired, processing the job...
[2025-04-09 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:31:04] Production.INFO: ==3367== Lock acquired, processing the job...
[2025-04-09 06:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:31:04] Production.INFO: ==3361== Releasing lock...
[2025-04-09 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:31:04] Production.INFO: Account Balance Start.
[2025-04-09 06:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:31:04] Production.INFO: 117
[2025-04-09 06:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:31:04] Production.INFO: count ==12
[2025-04-09 06:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:31:04] Production.INFO: count ==23
[2025-04-09 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867719') start
[2025-04-09 06:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:31:04] Production.INFO: Total Charge 0
[2025-04-09 06:31:04] Production.INFO: CreateAllLog End
[2025-04-09 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867719') end
[2025-04-09 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:31:04] Production.INFO: 1
[2025-04-09 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:31:04] Production.INFO: ==3369== Releasing lock...
[2025-04-09 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:31:04] Production.ERROR: done
[2025-04-09 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:31:04] Production.INFO: Account Balance End.
[2025-04-09 06:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:31:04] Production.INFO: ==3365== Releasing lock...
[2025-04-09 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:31:04] Production.ERROR: done
[2025-04-09 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:31:05
[end_date_ymd] => 2025-04-09 06:31:05
[RateCDR] => 1
)
[2025-04-09 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:31:05' and `end` < '2025-04-09 06:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:31:12] Production.ERROR: CronJobId end10
[2025-04-09 06:31:12] Production.INFO: ==3363== Releasing lock...
[2025-04-09 06:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:31:15] Production.INFO: call_cost start
[2025-04-09 06:31:15] Production.INFO: call_cost end
[2025-04-09 06:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:31:16] Production.INFO: ==3359== Releasing lock...
[2025-04-09 06:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:31:18] Production.INFO: count ==80
[2025-04-09 06:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:31:05 - End Time 2025-04-09 06:31:05
[2025-04-09 06:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867721', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867721', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867721', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867721', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:31:18] Production.INFO: ProcessCDR(1,14867721,1,1,2)
[2025-04-09 06:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867721', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867721', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:31:22] Production.INFO: ==3367== Releasing lock...
[2025-04-09 06:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:31:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:32:01] Production.INFO: ==3428== Lock acquired, processing the job...
[2025-04-09 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:32:01] Production.INFO: neon service started
[2025-04-09 11:32:01] Production.INFO: neon service started
[2025-04-09 11:32:01] Production.INFO: ==3428== Releasing lock...
[2025-04-09 11:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:32:01] Production.INFO: ==3430== Lock acquired, processing the job...
[2025-04-09 06:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:32:02] Production.INFO: ==3430== Releasing lock...
[2025-04-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:32:02] Production.INFO: ==3432== Lock acquired, processing the job...
[2025-04-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:32:02] Production.INFO: ==3432== Releasing lock...
[2025-04-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:32:03] Production.INFO: ==3437== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:32:03] Production.INFO: ==3435== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:32:03] Production.INFO: ==3443== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:32:03] Production.INFO: ==3439== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:32:03] Production.INFO: ==3437== Releasing lock...
[2025-04-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:32:03] Production.INFO: ==3445== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:32:03] Production.INFO: ==3441== Lock acquired, processing the job...
[2025-04-09 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:32:03] Production.ERROR: done
[2025-04-09 06:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:32:03] Production.INFO: Account Balance Start.
[2025-04-09 06:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:32:03] Production.INFO: 117
[2025-04-09 06:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 06: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-04-09 06:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:32:03] Production.INFO: count ==12
[2025-04-09 06: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-04-09 06:32:03] Production.INFO: count ==23
[2025-04-09 06:32:03] Production.INFO: Total Charge 0
[2025-04-09 06:32:03] Production.ERROR: done
[2025-04-09 06:32:03] Production.INFO: CreateAllLog End
[2025-04-09 06:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867725') start
[2025-04-09 06:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867725') end
[2025-04-09 06:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:32:03] Production.INFO: 1
[2025-04-09 06:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:32:04] Production.INFO: ==3445== Releasing lock...
[2025-04-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:32:04] Production.INFO: Account Balance End.
[2025-04-09 06:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:32:04] Production.INFO: ==3441== Releasing lock...
[2025-04-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:32:05
[end_date_ymd] => 2025-04-09 06:32:05
[RateCDR] => 1
)
[2025-04-09 06:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:32:05' and `end` < '2025-04-09 06:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:32:11] Production.ERROR: CronJobId end10
[2025-04-09 06:32:11] Production.INFO: ==3439== Releasing lock...
[2025-04-09 06:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:32:14] Production.INFO: call_cost start
[2025-04-09 06:32:14] Production.INFO: call_cost end
[2025-04-09 06:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:32:15] Production.INFO: ==3435== Releasing lock...
[2025-04-09 06:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:32:17] Production.INFO: count ==80
[2025-04-09 06:32:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:32:05 - End Time 2025-04-09 06:32:05
[2025-04-09 06:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867726', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867726', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867726', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867726', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:32:17] Production.INFO: ProcessCDR(1,14867726,1,1,2)
[2025-04-09 06:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867726', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867726', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:32:21] Production.INFO: ==3443== Releasing lock...
[2025-04-09 06:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:32:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:33:02] Production.INFO: ==3502== Lock acquired, processing the job...
[2025-04-09 11:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:33:02] Production.INFO: neon service started
[2025-04-09 11:33:02] Production.INFO: neon service started
[2025-04-09 11:33:02] Production.INFO: ==3502== Releasing lock...
[2025-04-09 11:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:33:02] Production.INFO: ==3504== Lock acquired, processing the job...
[2025-04-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:33:02] Production.INFO: ==3506== Lock acquired, processing the job...
[2025-04-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:33:02] Production.INFO: ==3506== Releasing lock...
[2025-04-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:33:02] Production.INFO: ==3504== Releasing lock...
[2025-04-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:33:03] Production.INFO: ==3515== Lock acquired, processing the job...
[2025-04-09 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:33:03] Production.INFO: ==3519== Lock acquired, processing the job...
[2025-04-09 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:33:03] Production.INFO: ==3517== Lock acquired, processing the job...
[2025-04-09 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:33:03] Production.INFO: Account Balance Start.
[2025-04-09 06:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:33:03] Production.INFO: 117
[2025-04-09 06:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 06:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:33:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:33:03] Production.INFO: count ==23
[2025-04-09 06:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867728') start
[2025-04-09 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:33:04] Production.INFO: ==3511== Lock acquired, processing the job...
[2025-04-09 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:33:04] Production.INFO: Total Charge 0
[2025-04-09 06:33:04] Production.INFO: CreateAllLog End
[2025-04-09 06:33:04] Production.INFO: ==3513== Lock acquired, processing the job...
[2025-04-09 06:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:33:04] Production.INFO: ==3509== Lock acquired, processing the job...
[2025-04-09 06:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867728') end
[2025-04-09 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:33:04] Production.INFO: 1
[2025-04-09 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:33:04] Production.INFO: ==3519== Releasing lock...
[2025-04-09 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:33:04] Production.ERROR: done
[2025-04-09 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:33:04] Production.INFO: Account Balance End.
[2025-04-09 06:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:33:04] Production.INFO: ==3515== Releasing lock...
[2025-04-09 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:33:04] Production.ERROR: done
[2025-04-09 06:33:04] Production.INFO: ==3511== Releasing lock...
[2025-04-09 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:33:05
[end_date_ymd] => 2025-04-09 06:33:05
[RateCDR] => 1
)
[2025-04-09 06:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:33:05' and `end` < '2025-04-09 06:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:33:12] Production.ERROR: CronJobId end10
[2025-04-09 06:33:12] Production.INFO: ==3513== Releasing lock...
[2025-04-09 06:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:33:14] Production.INFO: call_cost start
[2025-04-09 06:33:14] Production.INFO: call_cost end
[2025-04-09 06:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:33:15] Production.INFO: ==3509== Releasing lock...
[2025-04-09 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:33:18] Production.INFO: count ==80
[2025-04-09 06:33:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:33:05 - End Time 2025-04-09 06:33:05
[2025-04-09 06:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867731', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867731', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867731', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867731', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:33:18] Production.INFO: ProcessCDR(1,14867731,1,1,2)
[2025-04-09 06:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867731', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867731', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:33:21] Production.INFO: ==3517== Releasing lock...
[2025-04-09 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:33:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:34:01] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-04-09 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:34:01] Production.INFO: neon service started
[2025-04-09 11:34:01] Production.INFO: neon service started
[2025-04-09 11:34:01] Production.INFO: ==3575== Releasing lock...
[2025-04-09 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:34:01] Production.INFO: ==3577== Lock acquired, processing the job...
[2025-04-09 06:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:34:02] Production.INFO: ==3579== Lock acquired, processing the job...
[2025-04-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:34:02] Production.INFO: ==3577== Releasing lock...
[2025-04-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:34:02] Production.INFO: ==3579== Releasing lock...
[2025-04-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:34:03] Production.INFO: ==3582== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:34:03] Production.INFO: ==3584== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:34:03] Production.INFO: ==3586== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:34:03] Production.INFO: ==3588== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:34:03] Production.INFO: ==3584== Releasing lock...
[2025-04-09 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:34:03] Production.INFO: Account Balance Start.
[2025-04-09 06:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:34:03] Production.INFO: 117
[2025-04-09 06:34:03] Production.INFO: ==3590== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:34:03] Production.INFO: ==3593== Lock acquired, processing the job...
[2025-04-09 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:34:03] Production.INFO: Total Charge 0
[2025-04-09 06:34:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 06:34:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:34:03] Production.INFO: count ==23
[2025-04-09 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867735') start
[2025-04-09 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867735') end
[2025-04-09 06:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:34:03] Production.INFO: 1
[2025-04-09 06:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:34:03] Production.INFO: ==3593== Releasing lock...
[2025-04-09 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:34:03] Production.INFO: Account Balance End.
[2025-04-09 06:34:03] Production.ERROR: done
[2025-04-09 06:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:34:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:34:03] Production.INFO: ==3588== Releasing lock...
[2025-04-09 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:34:04] Production.ERROR: done
[2025-04-09 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:34:05
[end_date_ymd] => 2025-04-09 06:34:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:34:05' and `end` < '2025-04-09 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-04-09 06:34:11] Production.ERROR: CronJobId end10
[2025-04-09 06:34:11] Production.INFO: ==3586== Releasing lock...
[2025-04-09 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:34:14] Production.INFO: call_cost start
[2025-04-09 06:34:14] Production.INFO: call_cost end
[2025-04-09 06:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:34:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:34:15] Production.INFO: ==3582== Releasing lock...
[2025-04-09 06:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:34:17] Production.INFO: count ==80
[2025-04-09 06:34:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:34:05 - End Time 2025-04-09 06:34:05
[2025-04-09 06:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867736', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867736', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867736', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867736', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:34:17] Production.INFO: ProcessCDR(1,14867736,1,1,2)
[2025-04-09 06:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867736', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867736', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:34:21] Production.INFO: ==3590== Releasing lock...
[2025-04-09 06:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:34:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:35:01] Production.INFO: ==3647== Lock acquired, processing the job...
[2025-04-09 11:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:35:01] Production.INFO: neon service started
[2025-04-09 11:35:02] Production.INFO: neon service started
[2025-04-09 11:35:02] Production.INFO: ==3647== Releasing lock...
[2025-04-09 11:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:35:02] Production.INFO: ==3649== Lock acquired, processing the job...
[2025-04-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:35:02] Production.INFO: ==3649== Releasing lock...
[2025-04-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:35:02] Production.INFO: ==3651== Lock acquired, processing the job...
[2025-04-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:35:02] Production.INFO: ==3651== Releasing lock...
[2025-04-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:35:03] Production.INFO: ==3662== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:35:03] Production.INFO: ==3664== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:35:03] Production.INFO: ==3653== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:35:03] Production.INFO: ==3655== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:35:03] Production.INFO: ==3658== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:35:03] Production.INFO: count ==12
[2025-04-09 06:35:03] Production.INFO: ==3660== Lock acquired, processing the job...
[2025-04-09 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:35:03] Production.INFO: count ==23
[2025-04-09 06:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867737') start
[2025-04-09 06:35:04] Production.INFO: Account Balance Start.
[2025-04-09 06:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:35:04] Production.INFO: 117
[2025-04-09 06:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:35:04] Production.ERROR: done
[2025-04-09 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:35:04] Production.INFO: Total Charge 0
[2025-04-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867737') end
[2025-04-09 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:35:04] Production.INFO: 1
[2025-04-09 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:35:04] Production.INFO: CreateAllLog End
[2025-04-09 06:35:04] Production.INFO: ==3664== Releasing lock...
[2025-04-09 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:35:04] Production.INFO: ==3655== Releasing lock...
[2025-04-09 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:35:04] Production.ERROR: done
[2025-04-09 06:35:04] Production.INFO: Account Balance End.
[2025-04-09 06:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:35:04] Production.INFO: ==3660== Releasing lock...
[2025-04-09 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:35:05
[end_date_ymd] => 2025-04-09 06:35:05
[RateCDR] => 1
)
[2025-04-09 06:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:35:05' and `end` < '2025-04-09 06:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:35:12] Production.ERROR: CronJobId end10
[2025-04-09 06:35:12] Production.INFO: ==3658== Releasing lock...
[2025-04-09 06:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:35:15] Production.INFO: call_cost start
[2025-04-09 06:35:15] Production.INFO: call_cost end
[2025-04-09 06:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:35:16] Production.INFO: ==3653== Releasing lock...
[2025-04-09 06:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:35:18] Production.INFO: count ==80
[2025-04-09 06:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:35:05 - End Time 2025-04-09 06:35:05
[2025-04-09 06:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867741', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867741', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867741', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867741', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:35:18] Production.INFO: ProcessCDR(1,14867741,1,1,2)
[2025-04-09 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867741', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867741', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:35:21] Production.INFO: ==3662== Releasing lock...
[2025-04-09 06:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:35:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:36:01] Production.INFO: ==3719== Lock acquired, processing the job...
[2025-04-09 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:36:01] Production.INFO: neon service started
[2025-04-09 11:36:01] Production.INFO: neon service started
[2025-04-09 11:36:01] Production.INFO: ==3719== Releasing lock...
[2025-04-09 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:36:01] Production.INFO: ==3721== Lock acquired, processing the job...
[2025-04-09 06:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:36:02] Production.INFO: ==3721== Releasing lock...
[2025-04-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:36:02] Production.INFO: ==3723== Lock acquired, processing the job...
[2025-04-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:36:02] Production.INFO: ==3723== Releasing lock...
[2025-04-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:36:03] Production.INFO: ==3733== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:36:03] Production.INFO: ==3735== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06: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-04-09 06:36:03] Production.INFO: count ==12
[2025-04-09 06: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-04-09 06:36:03] Production.INFO: count ==23
[2025-04-09 06:36:03] Production.INFO: ==3727== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:36:03] Production.INFO: ==3725== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:36:03] Production.INFO: ==3729== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867742') start
[2025-04-09 06:36:03] Production.INFO: ==3731== Lock acquired, processing the job...
[2025-04-09 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867742') end
[2025-04-09 06:36:03] Production.ERROR: done
[2025-04-09 06:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:36:03] Production.INFO: 1
[2025-04-09 06:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:36:03] Production.INFO: Account Balance Start.
[2025-04-09 06:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:36:03] Production.INFO: 117
[2025-04-09 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:36:03] Production.INFO: ==3735== Releasing lock...
[2025-04-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:36:03] Production.ERROR: done
[2025-04-09 06:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:36:03] Production.INFO: ==3727== Releasing lock...
[2025-04-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:36:03] Production.INFO: Total Charge 0
[2025-04-09 06:36:03] Production.INFO: CreateAllLog End
[2025-04-09 06:36:03] Production.INFO: Account Balance End.
[2025-04-09 06:36:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:36:03] Production.INFO: ==3731== Releasing lock...
[2025-04-09 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:36:04
[end_date_ymd] => 2025-04-09 06:36:04
[RateCDR] => 1
)
[2025-04-09 06: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-04-09 03:36:04' and `end` < '2025-04-09 06: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-04-09 06:36:11] Production.ERROR: CronJobId end10
[2025-04-09 06:36:11] Production.INFO: ==3729== Releasing lock...
[2025-04-09 06:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:36:15] Production.INFO: call_cost start
[2025-04-09 06:36:15] Production.INFO: call_cost end
[2025-04-09 06:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:36:16] Production.INFO: ==3725== Releasing lock...
[2025-04-09 06:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:36:17] Production.INFO: count ==76
[2025-04-09 06:36:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:36:04 - End Time 2025-04-09 06:36:04
[2025-04-09 06:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867746', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867746', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867746', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867746', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:36:17] Production.INFO: ProcessCDR(1,14867746,1,1,2)
[2025-04-09 06:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867746', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867746', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:36:21] Production.INFO: ==3733== Releasing lock...
[2025-04-09 06:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:36:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:37:01] Production.INFO: ==3793== Lock acquired, processing the job...
[2025-04-09 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:37:01] Production.INFO: neon service started
[2025-04-09 11:37:01] Production.INFO: neon service started
[2025-04-09 11:37:01] Production.INFO: ==3793== Releasing lock...
[2025-04-09 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:37:02] Production.INFO: ==3795== Lock acquired, processing the job...
[2025-04-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:37:02] Production.INFO: ==3797== Lock acquired, processing the job...
[2025-04-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:37:02] Production.INFO: ==3795== Releasing lock...
[2025-04-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:37:02] Production.INFO: ==3797== Releasing lock...
[2025-04-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:37:03] Production.INFO: ==3808== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:37:03] Production.INFO: ==3810== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:37:03] Production.INFO: ==3800== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:37:03] Production.INFO: ==3802== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:37:03] Production.INFO: ==3804== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:37:03] Production.INFO: ==3806== Lock acquired, processing the job...
[2025-04-09 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:37:03] Production.INFO: count ==12
[2025-04-09 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:37:03] Production.INFO: count ==23
[2025-04-09 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867747') start
[2025-04-09 06:37:03] Production.INFO: Account Balance Start.
[2025-04-09 06:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:37:03] Production.INFO: 117
[2025-04-09 06:37:03] Production.ERROR: done
[2025-04-09 06:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867747') end
[2025-04-09 06:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:37:04] Production.INFO: 1
[2025-04-09 06:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:37:04] Production.INFO: Total Charge 0
[2025-04-09 06:37:04] Production.INFO: CreateAllLog End
[2025-04-09 06:37:04] Production.INFO: ==3810== Releasing lock...
[2025-04-09 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:37:04] Production.ERROR: done
[2025-04-09 06:37:04] Production.INFO: ==3802== Releasing lock...
[2025-04-09 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:37:04] Production.INFO: Account Balance End.
[2025-04-09 06:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:37:04] Production.INFO: ==3806== Releasing lock...
[2025-04-09 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:37:05
[end_date_ymd] => 2025-04-09 06:37:05
[RateCDR] => 1
)
[2025-04-09 06:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:37:05' and `end` < '2025-04-09 06:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:37:11] Production.ERROR: CronJobId end10
[2025-04-09 06:37:11] Production.INFO: ==3804== Releasing lock...
[2025-04-09 06:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:37:15] Production.INFO: call_cost start
[2025-04-09 06:37:15] Production.INFO: call_cost end
[2025-04-09 06:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:37:15] Production.INFO: ==3800== Releasing lock...
[2025-04-09 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:37:18] Production.INFO: count ==76
[2025-04-09 06:37:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:37:05 - End Time 2025-04-09 06:37:05
[2025-04-09 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867751', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867751', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867751', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867751', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:37:18] Production.INFO: ProcessCDR(1,14867751,1,1,2)
[2025-04-09 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867751', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867751', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:37:21] Production.INFO: ==3808== Releasing lock...
[2025-04-09 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:37:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:38:02] Production.INFO: ==3869== Lock acquired, processing the job...
[2025-04-09 11:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:38:02] Production.INFO: neon service started
[2025-04-09 11:38:02] Production.INFO: neon service started
[2025-04-09 11:38:02] Production.INFO: ==3869== Releasing lock...
[2025-04-09 11:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:38:02] Production.INFO: ==3872== Lock acquired, processing the job...
[2025-04-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:38:02] Production.INFO: ==3874== Lock acquired, processing the job...
[2025-04-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 06:38:02] Production.INFO: ==3872== Releasing lock...
[2025-04-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:38:03] Production.INFO: ==3874== Releasing lock...
[2025-04-09 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:38:03] Production.INFO: ==3882== Lock acquired, processing the job...
[2025-04-09 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:38:03] Production.INFO: ==3876== Lock acquired, processing the job...
[2025-04-09 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:38:03] Production.INFO: ==3884== Lock acquired, processing the job...
[2025-04-09 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:38:03] Production.INFO: Account Balance Start.
[2025-04-09 06:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:38:03] Production.INFO: 117
[2025-04-09 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:38:04] Production.INFO: ==3880== Lock acquired, processing the job...
[2025-04-09 06:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:38:04] Production.INFO: ==3878== Lock acquired, processing the job...
[2025-04-09 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:38:04] Production.INFO: Total Charge 0
[2025-04-09 06:38:04] Production.INFO: ==3886== Lock acquired, processing the job...
[2025-04-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:38:04] Production.INFO: CreateAllLog End
[2025-04-09 06:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:38:04] Production.INFO: count ==12
[2025-04-09 06:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:38:04] Production.INFO: count ==23
[2025-04-09 06:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867754') start
[2025-04-09 06:38:04] Production.INFO: ==3878== Releasing lock...
[2025-04-09 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:38:04] Production.ERROR: done
[2025-04-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867754') end
[2025-04-09 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:38:04] Production.INFO: 1
[2025-04-09 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:38:04] Production.INFO: ==3886== Releasing lock...
[2025-04-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:38:04] Production.ERROR: done
[2025-04-09 06:38:04] Production.INFO: Account Balance End.
[2025-04-09 06:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:38:04] Production.INFO: ==3882== Releasing lock...
[2025-04-09 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:38:05
[end_date_ymd] => 2025-04-09 06:38:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:38:05' and `end` < '2025-04-09 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-04-09 06:38:11] Production.ERROR: CronJobId end10
[2025-04-09 06:38:11] Production.INFO: ==3880== Releasing lock...
[2025-04-09 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:38:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:38:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:38:14] Production.INFO: call_cost start
[2025-04-09 06:38:14] Production.INFO: call_cost end
[2025-04-09 06:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:38:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:38:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:38:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:38:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:38:14] Production.INFO: ==3876== Releasing lock...
[2025-04-09 06:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:38:18] Production.INFO: count ==76
[2025-04-09 06:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:38:05 - End Time 2025-04-09 06:38:05
[2025-04-09 06:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867756', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867756', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867756', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867756', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:38:18] Production.INFO: ProcessCDR(1,14867756,1,1,2)
[2025-04-09 06:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867756', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867756', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:38:21] Production.INFO: ==3884== Releasing lock...
[2025-04-09 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:38:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:39:01] Production.INFO: ==3942== Lock acquired, processing the job...
[2025-04-09 11:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:39:01] Production.INFO: neon service started
[2025-04-09 11:39:01] Production.INFO: neon service started
[2025-04-09 11:39:01] Production.INFO: ==3942== Releasing lock...
[2025-04-09 11:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:39:02] Production.INFO: ==3946== Lock acquired, processing the job...
[2025-04-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:39:02] Production.INFO: ==3946== Releasing lock...
[2025-04-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:39:02] Production.INFO: ==3944== Lock acquired, processing the job...
[2025-04-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:39:02] Production.INFO: ==3944== Releasing lock...
[2025-04-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:39:03] Production.INFO: ==3955== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:39:03] Production.INFO: ==3959== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:39:03] Production.INFO: Account Balance Start.
[2025-04-09 06:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:39:03] Production.INFO: 117
[2025-04-09 06:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:39:03] Production.INFO: count ==12
[2025-04-09 06:39:03] Production.INFO: Total Charge 0
[2025-04-09 06:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:39:03] Production.INFO: count ==23
[2025-04-09 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867758') start
[2025-04-09 06:39:03] Production.INFO: CreateAllLog End
[2025-04-09 06:39:03] Production.INFO: ==3949== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867758') end
[2025-04-09 06:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:39:03] Production.INFO: 1
[2025-04-09 06:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:39:03] Production.INFO: ==3951== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:39:03] Production.INFO: ==3959== Releasing lock...
[2025-04-09 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:39:03] Production.INFO: Account Balance End.
[2025-04-09 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:39:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:39:03] Production.INFO: ==3955== Releasing lock...
[2025-04-09 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:39:03] Production.INFO: ==3953== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:39:03] Production.INFO: ==3957== Lock acquired, processing the job...
[2025-04-09 06:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:39:04] Production.INFO: ==3951== Releasing lock...
[2025-04-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:39:04] Production.ERROR: done
[2025-04-09 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:39:04] Production.ERROR: done
[2025-04-09 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:39:05
[end_date_ymd] => 2025-04-09 06:39:05
[RateCDR] => 1
)
[2025-04-09 06:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:39:05' and `end` < '2025-04-09 06:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:39:11] Production.ERROR: CronJobId end10
[2025-04-09 06:39:11] Production.INFO: ==3953== Releasing lock...
[2025-04-09 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:39:13] Production.INFO: call_cost start
[2025-04-09 06:39:13] Production.INFO: call_cost end
[2025-04-09 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:39:14] Production.INFO: ==3949== Releasing lock...
[2025-04-09 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:39:18] Production.INFO: count ==74
[2025-04-09 06:39:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:39:05 - End Time 2025-04-09 06:39:05
[2025-04-09 06:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867761', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867761', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867761', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867761', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:39:18] Production.INFO: ProcessCDR(1,14867761,1,1,2)
[2025-04-09 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867761', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867761', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:39:21] Production.INFO: ==3957== Releasing lock...
[2025-04-09 06:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:39:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:40:02] Production.INFO: ==4056== Lock acquired, processing the job...
[2025-04-09 11:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:40:02] Production.INFO: neon service started
[2025-04-09 11:40:02] Production.INFO: neon service started
[2025-04-09 11:40:02] Production.INFO: ==4056== Releasing lock...
[2025-04-09 11:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:40:02] Production.INFO: ==4058== Lock acquired, processing the job...
[2025-04-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:40:03] Production.INFO: ==4058== Releasing lock...
[2025-04-09 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:40:03] Production.INFO: ==4060== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:40:03] Production.INFO: ==4060== Releasing lock...
[2025-04-09 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:40:04] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:40:04] Production.INFO: ==4065== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 06:40:04] Production.ERROR: CronJob PID - 4065
[2025-04-09 06:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 06:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 06:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 06:40:00
[2025-04-09 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:40:04] Production.INFO: ==4067== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:40:04] Production.INFO: ==4063== Releasing lock...
[2025-04-09 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:40:04] Production.INFO: ==4071== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:40:04] Production.INFO: ==4075== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:40:04] Production.INFO: ==4069== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:40:04] Production.INFO: Account Balance Start.
[2025-04-09 06:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:40:04] Production.INFO: 117
[2025-04-09 06:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:40:04] Production.INFO: ==4073== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:40:04] Production.INFO: Total Charge 0
[2025-04-09 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:40:04] Production.INFO: ==4077== Lock acquired, processing the job...
[2025-04-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:40:04] Production.INFO: CreateAllLog End
[2025-04-09 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:40:04] Production.INFO: ==4067== Releasing lock...
[2025-04-09 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:40:04] Production.INFO: count ==12
[2025-04-09 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:40:04] Production.INFO: count ==23
[2025-04-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867765') start
[2025-04-09 06:40:04] Production.ERROR: done
[2025-04-09 06:40:04] Production.INFO: Account Balance End.
[2025-04-09 06:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 06:40:05] Production.INFO: ==4071== Releasing lock...
[2025-04-09 06:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867765') end
[2025-04-09 06:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:40:05] Production.INFO: 1
[2025-04-09 06:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867766', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:40:05] Production.INFO: ==4077== Releasing lock...
[2025-04-09 06:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:40:05] Production.ERROR: done
[2025-04-09 06:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:40:05] Production.ERROR: done
[2025-04-09 06:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:40:06
[end_date_ymd] => 2025-04-09 06:40:06
[RateCDR] => 1
)
[2025-04-09 06:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:40:06' and `end` < '2025-04-09 06:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867766', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:40:09] Production.INFO: ProcessCDR(1,14867766,1,1,2)
[2025-04-09 06:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867766,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867766,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:40:09] Production.INFO: ==4075== Releasing lock...
[2025-04-09 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:40:13] Production.ERROR: CronJobId end10
[2025-04-09 06:40:13] Production.INFO: ==4069== Releasing lock...
[2025-04-09 06:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:40:16] Production.INFO: call_cost start
[2025-04-09 06:40:16] Production.INFO: call_cost end
[2025-04-09 06:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:40:17] Production.INFO: ==4065== Releasing lock...
[2025-04-09 06:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:40:19] Production.INFO: count ==74
[2025-04-09 06:40:19] Production.ERROR: pbx CDR StartTime 2025-04-09 03:40:06 - End Time 2025-04-09 06:40:06
[2025-04-09 06:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867767', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867767', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867767', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867767', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:40:19] Production.INFO: ProcessCDR(1,14867767,1,1,2)
[2025-04-09 06:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867767', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867767', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:40:23] Production.INFO: ==4073== Releasing lock...
[2025-04-09 06:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:40:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:41:01] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-04-09 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:41:01] Production.INFO: neon service started
[2025-04-09 11:41:01] Production.INFO: neon service started
[2025-04-09 11:41:01] Production.INFO: ==4137== Releasing lock...
[2025-04-09 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:41:01] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-04-09 06:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:41:02] Production.INFO: ==4139== Releasing lock...
[2025-04-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:41:02] Production.INFO: ==4141== Lock acquired, processing the job...
[2025-04-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:41:02] Production.INFO: ==4141== Releasing lock...
[2025-04-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:41:03] Production.INFO: ==4147== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:41:03] Production.INFO: ==4143== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:41:03] Production.INFO: ==4145== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:41:03] Production.INFO: ==4151== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:41:03] Production.INFO: ==4149== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:41:03] Production.INFO: ==4153== Lock acquired, processing the job...
[2025-04-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:41:03] Production.INFO: Account Balance Start.
[2025-04-09 06:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:41:03] Production.INFO: 117
[2025-04-09 06:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:41:03] Production.INFO: count ==12
[2025-04-09 06:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:41:03] Production.INFO: count ==23
[2025-04-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867771') start
[2025-04-09 06:41:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:41:03] Production.INFO: Total Charge 0
[2025-04-09 06:41:03] Production.INFO: CreateAllLog End
[2025-04-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867771') end
[2025-04-09 06:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:41:03] Production.INFO: 1
[2025-04-09 06:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:41:03] Production.INFO: ==4153== Releasing lock...
[2025-04-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:41:03] Production.INFO: ==4145== Releasing lock...
[2025-04-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:41:03] Production.ERROR: done
[2025-04-09 06:41:04] Production.INFO: Account Balance End.
[2025-04-09 06:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:41:04] Production.INFO: ==4149== Releasing lock...
[2025-04-09 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:41:04] Production.ERROR: done
[2025-04-09 06:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:41:05
[end_date_ymd] => 2025-04-09 06:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:41:05' and `end` < '2025-04-09 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-04-09 06:41:11] Production.ERROR: CronJobId end10
[2025-04-09 06:41:11] Production.INFO: ==4147== Releasing lock...
[2025-04-09 06:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:41:14] Production.INFO: call_cost start
[2025-04-09 06:41:14] Production.INFO: call_cost end
[2025-04-09 06:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:41:15] Production.INFO: ==4143== Releasing lock...
[2025-04-09 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:41:17] Production.INFO: count ==74
[2025-04-09 06:41:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:41:05 - End Time 2025-04-09 06:41:05
[2025-04-09 06:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867772', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867772', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867772', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867772', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:41:17] Production.INFO: ProcessCDR(1,14867772,1,1,2)
[2025-04-09 06:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867772', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867772', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:41:21] Production.INFO: ==4151== Releasing lock...
[2025-04-09 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:42:02] Production.INFO: ==4206== Lock acquired, processing the job...
[2025-04-09 11:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:42:02] Production.INFO: neon service started
[2025-04-09 11:42:02] Production.INFO: neon service started
[2025-04-09 11:42:02] Production.INFO: ==4206== Releasing lock...
[2025-04-09 11:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:42:02] Production.INFO: ==4208== Lock acquired, processing the job...
[2025-04-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:42:02] Production.INFO: ==4210== Lock acquired, processing the job...
[2025-04-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:42:02] Production.INFO: ==4210== Releasing lock...
[2025-04-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:42:03] Production.INFO: ==4208== Releasing lock...
[2025-04-09 06:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:42:03] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-04-09 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:42:04] Production.INFO: ==4219== Lock acquired, processing the job...
[2025-04-09 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:42:04] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-04-09 06:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:42:04] Production.INFO: Account Balance Start.
[2025-04-09 06:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:42:04] Production.INFO: 117
[2025-04-09 06:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:42:04] Production.INFO: ==4215== Releasing lock...
[2025-04-09 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:42:04] Production.INFO: Total Charge 0
[2025-04-09 06:42:04] Production.INFO: ==4217== Lock acquired, processing the job...
[2025-04-09 06:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:42:04] Production.INFO: CreateAllLog End
[2025-04-09 06:42:04] Production.INFO: ==4221== Lock acquired, processing the job...
[2025-04-09 06:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:42:04] Production.INFO: ==4223== Lock acquired, processing the job...
[2025-04-09 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:42:04] Production.INFO: count ==12
[2025-04-09 06:42:04] Production.ERROR: done
[2025-04-09 06:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:42:04] Production.INFO: count ==23
[2025-04-09 06:42:04] Production.INFO: Account Balance End.
[2025-04-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867776') start
[2025-04-09 06:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:42:04] Production.INFO: ==4219== Releasing lock...
[2025-04-09 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:42:04] Production.ERROR: done
[2025-04-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867776') end
[2025-04-09 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:42:04] Production.INFO: 1
[2025-04-09 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:42:04] Production.INFO: ==4223== Releasing lock...
[2025-04-09 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:42:05
[end_date_ymd] => 2025-04-09 06:42:05
[RateCDR] => 1
)
[2025-04-09 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:42:05' and `end` < '2025-04-09 06:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:42:12] Production.ERROR: CronJobId end10
[2025-04-09 06:42:12] Production.INFO: ==4217== Releasing lock...
[2025-04-09 06:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:42:14] Production.INFO: call_cost start
[2025-04-09 06:42:14] Production.INFO: call_cost end
[2025-04-09 06:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:42:15] Production.INFO: ==4213== Releasing lock...
[2025-04-09 06:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:42:18] Production.INFO: count ==74
[2025-04-09 06:42:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:42:05 - End Time 2025-04-09 06:42:05
[2025-04-09 06:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867777', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867777', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867777', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867777', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:42:18] Production.INFO: ProcessCDR(1,14867777,1,1,2)
[2025-04-09 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867777', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867777', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:42:21] Production.INFO: ==4221== Releasing lock...
[2025-04-09 06:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:43:01] Production.INFO: ==4275== Lock acquired, processing the job...
[2025-04-09 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:43:01] Production.INFO: neon service started
[2025-04-09 11:43:01] Production.INFO: neon service started
[2025-04-09 11:43:01] Production.INFO: ==4275== Releasing lock...
[2025-04-09 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:43:02] Production.INFO: ==4279== Lock acquired, processing the job...
[2025-04-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:43:02] Production.INFO: ==4279== Releasing lock...
[2025-04-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:43:02] Production.INFO: ==4277== Lock acquired, processing the job...
[2025-04-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:43:02] Production.INFO: ==4277== Releasing lock...
[2025-04-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:43:03] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:43:03] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:43:03] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:43:03] Production.INFO: ==4292== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:43:03] Production.INFO: ==4290== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:43:03] Production.INFO: ==4288== Lock acquired, processing the job...
[2025-04-09 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:43:03] Production.INFO: count ==12
[2025-04-09 06:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:43:03] Production.INFO: count ==23
[2025-04-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867780') start
[2025-04-09 06:43:03] Production.INFO: Account Balance Start.
[2025-04-09 06:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:43:03] Production.INFO: 117
[2025-04-09 06:43:03] Production.INFO: ==4284== Releasing lock...
[2025-04-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867780') end
[2025-04-09 06:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:43:03] Production.INFO: 1
[2025-04-09 06:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:43:03] Production.INFO: Total Charge 0
[2025-04-09 06:43:03] Production.INFO: CreateAllLog End
[2025-04-09 06:43:03] Production.INFO: ==4292== Releasing lock...
[2025-04-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:43:04] Production.ERROR: done
[2025-04-09 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:43:04] Production.INFO: Account Balance End.
[2025-04-09 06:43:04] Production.ERROR: done
[2025-04-09 06:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:43:04] Production.INFO: ==4288== Releasing lock...
[2025-04-09 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:43:05
[end_date_ymd] => 2025-04-09 06:43:05
[RateCDR] => 1
)
[2025-04-09 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:43:05' and `end` < '2025-04-09 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:43:12] Production.ERROR: CronJobId end10
[2025-04-09 06:43:12] Production.INFO: ==4286== Releasing lock...
[2025-04-09 06:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:43:14] Production.INFO: call_cost start
[2025-04-09 06:43:14] Production.INFO: call_cost end
[2025-04-09 06:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:43:15] Production.INFO: ==4282== Releasing lock...
[2025-04-09 06:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:43:18] Production.INFO: count ==73
[2025-04-09 06:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:43:05 - End Time 2025-04-09 06:43:05
[2025-04-09 06:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867782', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867782', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867782', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867782', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:43:18] Production.INFO: ProcessCDR(1,14867782,1,1,2)
[2025-04-09 06:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867782', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867782', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:43:21] Production.INFO: ==4290== Releasing lock...
[2025-04-09 06:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:43:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:44:02] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-04-09 11:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:44:02] Production.INFO: neon service started
[2025-04-09 11:44:02] Production.INFO: neon service started
[2025-04-09 11:44:02] Production.INFO: ==4350== Releasing lock...
[2025-04-09 11:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:44:02] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-04-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:44:02] Production.INFO: ==4352== Releasing lock...
[2025-04-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:44:02] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-04-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:44:02] Production.INFO: ==4354== Releasing lock...
[2025-04-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:44:03] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-04-09 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:44:03] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-04-09 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:44:03] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-04-09 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:44:03] Production.INFO: ==4363== Lock acquired, processing the job...
[2025-04-09 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:44:04] Production.INFO: ==4365== Lock acquired, processing the job...
[2025-04-09 06:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:44:04] Production.INFO: ==4359== Releasing lock...
[2025-04-09 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:44:04] Production.INFO: Account Balance Start.
[2025-04-09 06:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:44:04] Production.INFO: 117
[2025-04-09 06:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:44:04] Production.INFO: ==4367== Lock acquired, processing the job...
[2025-04-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:44:04] Production.INFO: Total Charge 0
[2025-04-09 06:44:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 06:44:04] Production.INFO: count ==12
[2025-04-09 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:44:04] Production.INFO: count ==23
[2025-04-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867786') start
[2025-04-09 06:44:04] Production.ERROR: done
[2025-04-09 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:44:04] Production.INFO: Account Balance End.
[2025-04-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867786') end
[2025-04-09 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:44:04] Production.INFO: 1
[2025-04-09 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:44:04] Production.INFO: ==4363== Releasing lock...
[2025-04-09 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:44:04] Production.INFO: ==4367== Releasing lock...
[2025-04-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:44:04] Production.ERROR: done
[2025-04-09 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:44:05
[end_date_ymd] => 2025-04-09 06:44:05
[RateCDR] => 1
)
[2025-04-09 06:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:44:05' and `end` < '2025-04-09 06:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:44:11] Production.ERROR: CronJobId end10
[2025-04-09 06:44:11] Production.INFO: ==4361== Releasing lock...
[2025-04-09 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:44:14] Production.INFO: call_cost start
[2025-04-09 06:44:14] Production.INFO: call_cost end
[2025-04-09 06:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:44:15] Production.INFO: ==4357== Releasing lock...
[2025-04-09 06:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:44:18] Production.INFO: count ==72
[2025-04-09 06:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:44:05 - End Time 2025-04-09 06:44:05
[2025-04-09 06:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867787', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867787', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867787', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867787', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:44:18] Production.INFO: ProcessCDR(1,14867787,1,1,2)
[2025-04-09 06:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867787', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867787', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:44:22] Production.INFO: ==4365== Releasing lock...
[2025-04-09 06:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:44:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:45:01] Production.INFO: ==4420== Lock acquired, processing the job...
[2025-04-09 11:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:45:01] Production.INFO: neon service started
[2025-04-09 11:45:01] Production.INFO: neon service started
[2025-04-09 11:45:01] Production.INFO: ==4420== Releasing lock...
[2025-04-09 11:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:45:01] Production.INFO: ==4424== Lock acquired, processing the job...
[2025-04-09 10:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:45:01] Production.INFO: ==4424== Releasing lock...
[2025-04-09 10:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:45:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:45:02] Production.INFO: ==4422== Lock acquired, processing the job...
[2025-04-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:45:02] Production.INFO: ==4422== Releasing lock...
[2025-04-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:45:03] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:45:03] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:45:03] Production.INFO: ==4427== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:45:03] Production.INFO: Account Balance Start.
[2025-04-09 06:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:45:03] Production.INFO: 117
[2025-04-09 06:45:03] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:45:03] Production.INFO: ==4435== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:45:03] Production.INFO: ==4429== Releasing lock...
[2025-04-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:45:03] Production.INFO: ==4437== Lock acquired, processing the job...
[2025-04-09 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:45:03] Production.INFO: Total Charge 0
[2025-04-09 06:45:03] Production.INFO: CreateAllLog End
[2025-04-09 06:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:45:03] Production.INFO: count ==12
[2025-04-09 06:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:45:03] Production.INFO: count ==23
[2025-04-09 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867791') start
[2025-04-09 06:45:03] Production.INFO: Account Balance End.
[2025-04-09 06:45:03] Production.ERROR: done
[2025-04-09 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867791') end
[2025-04-09 06:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:45:03] Production.INFO: 1
[2025-04-09 06:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:45:03] Production.ERROR: CronJobId end 12
[2025-04-09 06:45:03] Production.INFO: ==4433== Releasing lock...
[2025-04-09 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:45:04] Production.INFO: ==4437== Releasing lock...
[2025-04-09 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:45:04] Production.ERROR: done
[2025-04-09 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:45:05
[end_date_ymd] => 2025-04-09 06:45:05
[RateCDR] => 1
)
[2025-04-09 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:45:05' and `end` < '2025-04-09 06:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:45:12] Production.ERROR: CronJobId end10
[2025-04-09 06:45:12] Production.INFO: ==4431== Releasing lock...
[2025-04-09 06:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:45:14] Production.INFO: call_cost start
[2025-04-09 06:45:14] Production.INFO: call_cost end
[2025-04-09 06:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:45:15] Production.INFO: ==4427== Releasing lock...
[2025-04-09 06:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:45:18] Production.INFO: count ==72
[2025-04-09 06:45:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:45:05 - End Time 2025-04-09 06:45:05
[2025-04-09 06:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867792', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867792', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867792', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867792', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:45:18] Production.INFO: ProcessCDR(1,14867792,1,1,2)
[2025-04-09 06:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867792', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867792', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:45:21] Production.INFO: ==4435== Releasing lock...
[2025-04-09 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:45:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:46:01] Production.INFO: ==4494== Lock acquired, processing the job...
[2025-04-09 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:46:02] Production.INFO: neon service started
[2025-04-09 11:46:02] Production.INFO: neon service started
[2025-04-09 11:46:02] Production.INFO: ==4494== Releasing lock...
[2025-04-09 11:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:46:02] Production.INFO: ==4498== Lock acquired, processing the job...
[2025-04-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:46:02] Production.INFO: ==4498== Releasing lock...
[2025-04-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:46:02] Production.INFO: ==4496== Lock acquired, processing the job...
[2025-04-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:46:02] Production.INFO: ==4496== Releasing lock...
[2025-04-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:46:03] Production.INFO: ==4501== Lock acquired, processing the job...
[2025-04-09 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:46:03] Production.INFO: ==4511== Lock acquired, processing the job...
[2025-04-09 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:46:04] Production.INFO: count ==12
[2025-04-09 06:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:46:04] Production.INFO: count ==23
[2025-04-09 06:46:04] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-04-09 06:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867794') start
[2025-04-09 06:46:04] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-04-09 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:46:04] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-04-09 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:46:04] Production.INFO: ==4509== Lock acquired, processing the job...
[2025-04-09 06:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867794') end
[2025-04-09 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:46:04] Production.INFO: 1
[2025-04-09 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:46:04] Production.INFO: Account Balance Start.
[2025-04-09 06:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:46:04] Production.INFO: 117
[2025-04-09 06:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:46:04] Production.INFO: ==4511== Releasing lock...
[2025-04-09 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:46:04] Production.INFO: Total Charge 0
[2025-04-09 06:46:04] Production.INFO: CreateAllLog End
[2025-04-09 06:46:04] Production.INFO: ==4503== Releasing lock...
[2025-04-09 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:46:04] Production.ERROR: done
[2025-04-09 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:46:04] Production.ERROR: done
[2025-04-09 06:46:04] Production.INFO: Account Balance End.
[2025-04-09 06:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:46:04] Production.INFO: ==4507== Releasing lock...
[2025-04-09 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:46:05
[end_date_ymd] => 2025-04-09 06:46:05
[RateCDR] => 1
)
[2025-04-09 06:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:46:05' and `end` < '2025-04-09 06:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:46:13] Production.ERROR: CronJobId end10
[2025-04-09 06:46:13] Production.INFO: ==4505== Releasing lock...
[2025-04-09 06:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:46:15] Production.INFO: call_cost start
[2025-04-09 06:46:15] Production.INFO: call_cost end
[2025-04-09 06:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:46:16] Production.INFO: ==4501== Releasing lock...
[2025-04-09 06:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:46:18] Production.INFO: count ==72
[2025-04-09 06:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:46:05 - End Time 2025-04-09 06:46:05
[2025-04-09 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867797', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867797', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867797', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867797', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:46:18] Production.INFO: ProcessCDR(1,14867797,1,1,2)
[2025-04-09 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867797', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867797', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:46:22] Production.INFO: ==4509== Releasing lock...
[2025-04-09 06:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:46:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:47:01] Production.INFO: ==4566== Lock acquired, processing the job...
[2025-04-09 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:47:01] Production.INFO: neon service started
[2025-04-09 11:47:01] Production.INFO: neon service started
[2025-04-09 11:47:01] Production.INFO: ==4566== Releasing lock...
[2025-04-09 11:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:47:01] Production.INFO: ==4568== Lock acquired, processing the job...
[2025-04-09 06:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:47:02] Production.INFO: ==4568== Releasing lock...
[2025-04-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:47:02] Production.INFO: ==4570== Lock acquired, processing the job...
[2025-04-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:47:02] Production.INFO: ==4570== Releasing lock...
[2025-04-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:47:02] Production.INFO: ==4584== Lock acquired, processing the job...
[2025-04-09 06:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:47:02] Production.INFO: ==4588== Lock acquired, processing the job...
[2025-04-09 06:47:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:47:03] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-04-09 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:47:03] Production.INFO: ==4582== Lock acquired, processing the job...
[2025-04-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:47:03] Production.INFO: ==4586== Lock acquired, processing the job...
[2025-04-09 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:47:03] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-04-09 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:47:03] Production.ERROR: done
[2025-04-09 06:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:47:03] Production.INFO: ==4582== Releasing lock...
[2025-04-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:47:03] Production.INFO: count ==12
[2025-04-09 06:47:03] Production.INFO: Account Balance Start.
[2025-04-09 06:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:47:03] Production.INFO: 117
[2025-04-09 06:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:47:03] Production.INFO: count ==23
[2025-04-09 06:47:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867800') start
[2025-04-09 06:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:47:03] Production.INFO: Total Charge 0
[2025-04-09 06:47:03] Production.ERROR: done
[2025-04-09 06:47:03] Production.INFO: CreateAllLog End
[2025-04-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867800') end
[2025-04-09 06:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:47:03] Production.INFO: 1
[2025-04-09 06:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:47:03] Production.INFO: ==4590== Releasing lock...
[2025-04-09 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:47:03] Production.INFO: Account Balance End.
[2025-04-09 06:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:47:04] Production.INFO: ==4586== Releasing lock...
[2025-04-09 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:47:04
[end_date_ymd] => 2025-04-09 06:47:04
[RateCDR] => 1
)
[2025-04-09 06:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:47:04' and `end` < '2025-04-09 06:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:47:10] Production.ERROR: CronJobId end10
[2025-04-09 06:47:10] Production.INFO: ==4584== Releasing lock...
[2025-04-09 06:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:47:14] Production.INFO: call_cost start
[2025-04-09 06:47:14] Production.INFO: call_cost end
[2025-04-09 06:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:47:15] Production.INFO: ==4578== Releasing lock...
[2025-04-09 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:47:17] Production.INFO: count ==72
[2025-04-09 06:47:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:47:04 - End Time 2025-04-09 06:47:04
[2025-04-09 06:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867802', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867802', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867802', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867802', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:47:17] Production.INFO: ProcessCDR(1,14867802,1,1,2)
[2025-04-09 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867802', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867802', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:47:20] Production.INFO: ==4588== Releasing lock...
[2025-04-09 06:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:47:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:48:01] Production.INFO: ==4649== Lock acquired, processing the job...
[2025-04-09 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:48:01] Production.INFO: neon service started
[2025-04-09 11:48:01] Production.INFO: neon service started
[2025-04-09 11:48:01] Production.INFO: ==4649== Releasing lock...
[2025-04-09 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:48:02] Production.INFO: ==4651== Lock acquired, processing the job...
[2025-04-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:48:02] Production.INFO: ==4651== Releasing lock...
[2025-04-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:48:02] Production.INFO: ==4653== Lock acquired, processing the job...
[2025-04-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:48:02] Production.INFO: ==4653== Releasing lock...
[2025-04-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:48:03] Production.INFO: ==4656== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:48:03] Production.INFO: ==4660== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:48:03] Production.INFO: ==4662== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:48:03] Production.INFO: ==4658== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:48:03] Production.INFO: Account Balance Start.
[2025-04-09 06:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:48:03] Production.INFO: ==4664== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:48:03] Production.INFO: 117
[2025-04-09 06:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:48:03] Production.INFO: ==4666== Lock acquired, processing the job...
[2025-04-09 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:48:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:48:03] Production.INFO: Total Charge 0
[2025-04-09 06:48:03] Production.INFO: CreateAllLog End
[2025-04-09 06:48:04] Production.INFO: Account Balance End.
[2025-04-09 06:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:48:04] Production.INFO: count ==12
[2025-04-09 06:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:48:04] Production.INFO: ==4662== Releasing lock...
[2025-04-09 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:48:04] Production.INFO: ==4658== Releasing lock...
[2025-04-09 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:48:04] Production.INFO: count ==23
[2025-04-09 06:48:04] Production.ERROR: done
[2025-04-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867806') start
[2025-04-09 06:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867806') end
[2025-04-09 06:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:48:04] Production.INFO: 1
[2025-04-09 06:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:48:04] Production.INFO: ==4666== Releasing lock...
[2025-04-09 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:48:04] Production.ERROR: done
[2025-04-09 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:48:05
[end_date_ymd] => 2025-04-09 06:48:05
[RateCDR] => 1
)
[2025-04-09 06:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:48:05' and `end` < '2025-04-09 06:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:48:11] Production.ERROR: CronJobId end10
[2025-04-09 06:48:11] Production.INFO: ==4660== Releasing lock...
[2025-04-09 06:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:48:14] Production.INFO: call_cost start
[2025-04-09 06:48:14] Production.INFO: call_cost end
[2025-04-09 06:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:48:15] Production.INFO: ==4656== Releasing lock...
[2025-04-09 06:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:48:18] Production.INFO: count ==72
[2025-04-09 06:48:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:48:05 - End Time 2025-04-09 06:48:05
[2025-04-09 06:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867807', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867807', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867807', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867807', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:48:18] Production.INFO: ProcessCDR(1,14867807,1,1,2)
[2025-04-09 06:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867807', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867807', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:48:21] Production.INFO: ==4664== Releasing lock...
[2025-04-09 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:48:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:49:02] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-04-09 11:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:49:02] Production.INFO: neon service started
[2025-04-09 11:49:02] Production.INFO: neon service started
[2025-04-09 11:49:02] Production.INFO: ==4725== Releasing lock...
[2025-04-09 11:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:49:02] Production.INFO: ==4729== Lock acquired, processing the job...
[2025-04-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:49:02] Production.INFO: ==4729== Releasing lock...
[2025-04-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:49:02] Production.INFO: ==4727== Lock acquired, processing the job...
[2025-04-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:49:03] Production.INFO: ==4727== Releasing lock...
[2025-04-09 06:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:49:03] Production.INFO: ==4736== Lock acquired, processing the job...
[2025-04-09 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:49:04] Production.INFO: ==4732== Lock acquired, processing the job...
[2025-04-09 06:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:49:04] Production.INFO: ==4734== Lock acquired, processing the job...
[2025-04-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:49:04] Production.INFO: ==4742== Lock acquired, processing the job...
[2025-04-09 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:49:04] Production.INFO: ==4738== Lock acquired, processing the job...
[2025-04-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06: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-04-09 06:49:04] Production.INFO: ==4740== Lock acquired, processing the job...
[2025-04-09 06:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:49:04] Production.INFO: count ==12
[2025-04-09 06:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06: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-04-09 06:49:04] Production.INFO: count ==23
[2025-04-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867809') start
[2025-04-09 06:49:04] Production.INFO: Account Balance Start.
[2025-04-09 06:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:49:04] Production.INFO: 117
[2025-04-09 06:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867809') end
[2025-04-09 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:49:04] Production.INFO: 1
[2025-04-09 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:49:04] Production.INFO: Total Charge 0
[2025-04-09 06:49:04] Production.INFO: ==4734== Releasing lock...
[2025-04-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:49:04] Production.INFO: CreateAllLog End
[2025-04-09 06:49:04] Production.INFO: ==4742== Releasing lock...
[2025-04-09 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:49:04] Production.ERROR: done
[2025-04-09 06:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:49:04] Production.ERROR: done
[2025-04-09 06:49:04] Production.INFO: Account Balance End.
[2025-04-09 06:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:49:04] Production.INFO: ==4738== Releasing lock...
[2025-04-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:49:05
[end_date_ymd] => 2025-04-09 06:49:05
[RateCDR] => 1
)
[2025-04-09 06:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:49:05' and `end` < '2025-04-09 06:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:49:11] Production.ERROR: CronJobId end10
[2025-04-09 06:49:11] Production.INFO: ==4736== Releasing lock...
[2025-04-09 06:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:49:14] Production.INFO: call_cost start
[2025-04-09 06:49:14] Production.INFO: call_cost end
[2025-04-09 06:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:49:15] Production.INFO: ==4732== Releasing lock...
[2025-04-09 06:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:49:18] Production.INFO: count ==72
[2025-04-09 06:49:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:49:05 - End Time 2025-04-09 06:49:05
[2025-04-09 06:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867812', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867812', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867812', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867812', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:49:18] Production.INFO: ProcessCDR(1,14867812,1,1,2)
[2025-04-09 06:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867812', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867812', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:49:21] Production.INFO: ==4740== Releasing lock...
[2025-04-09 06:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:49:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:50:01] Production.INFO: ==4794== Lock acquired, processing the job...
[2025-04-09 11:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:50:01] Production.INFO: neon service started
[2025-04-09 11:50:01] Production.INFO: neon service started
[2025-04-09 11:50:01] Production.INFO: ==4794== Releasing lock...
[2025-04-09 11:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:50:02] Production.INFO: ==4796== Lock acquired, processing the job...
[2025-04-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:50:02] Production.INFO: ==4796== Releasing lock...
[2025-04-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:50:02] Production.INFO: ==4798== Lock acquired, processing the job...
[2025-04-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:50:02] Production.INFO: ==4798== Releasing lock...
[2025-04-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:50:03] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 06:50:03] Production.INFO: ==4801== Releasing lock...
[2025-04-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 06:50:03] Production.INFO: ==4805== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:50:03] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:50:03] Production.INFO: ==4807== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:50:03] Production.INFO: ==4809== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:50:03] Production.INFO: ==4813== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:50:03] Production.INFO: ==4811== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:50:03] Production.INFO: ==4815== Lock acquired, processing the job...
[2025-04-09 06:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:50:03] Production.INFO: Account Balance Start.
[2025-04-09 06:50:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:50:03] Production.INFO: 117
[2025-04-09 06:50:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:50:03] Production.INFO: ==4805== Releasing lock...
[2025-04-09 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:50:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:50:04] Production.INFO: count ==12
[2025-04-09 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:50:04] Production.INFO: count ==23
[2025-04-09 06:50:04] Production.ERROR: done
[2025-04-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867816') start
[2025-04-09 06:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:50:04] Production.INFO: Total Charge 0
[2025-04-09 06:50:04] Production.INFO: CreateAllLog End
[2025-04-09 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867817', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 06:50:04] Production.ERROR: done
[2025-04-09 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867816') end
[2025-04-09 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:50:04] Production.INFO: 1
[2025-04-09 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:50:04] Production.INFO: ==4815== Releasing lock...
[2025-04-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:50:04] Production.ERROR: done
[2025-04-09 06:50:04] Production.INFO: Account Balance End.
[2025-04-09 06:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:50:04] Production.INFO: ==4809== Releasing lock...
[2025-04-09 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:50:05
[end_date_ymd] => 2025-04-09 06:50:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:50:05' and `end` < '2025-04-09 06:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867817', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 06:50:09] Production.INFO: ProcessCDR(1,14867817,1,1,2)
[2025-04-09 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867817,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867817,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:50:09] Production.INFO: ==4813== Releasing lock...
[2025-04-09 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 06:50:12] Production.ERROR: CronJobId end10
[2025-04-09 06:50:12] Production.INFO: ==4807== Releasing lock...
[2025-04-09 06:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:50:16] Production.INFO: call_cost start
[2025-04-09 06:50:16] Production.INFO: call_cost end
[2025-04-09 06:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:50:17] Production.INFO: ==4803== Releasing lock...
[2025-04-09 06:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:50:18] Production.INFO: count ==72
[2025-04-09 06:50:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:50:05 - End Time 2025-04-09 06:50:05
[2025-04-09 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867818', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867818', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867818', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867818', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:50:18] Production.INFO: ProcessCDR(1,14867818,1,1,2)
[2025-04-09 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867818', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867818', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:50:22] Production.INFO: ==4811== Releasing lock...
[2025-04-09 06:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:50:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:51:02] Production.INFO: ==4881== Lock acquired, processing the job...
[2025-04-09 11:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:51:02] Production.INFO: neon service started
[2025-04-09 11:51:02] Production.INFO: neon service started
[2025-04-09 11:51:02] Production.INFO: ==4881== Releasing lock...
[2025-04-09 11:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:51:02] Production.INFO: ==4885== Lock acquired, processing the job...
[2025-04-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:51:02] Production.INFO: ==4885== Releasing lock...
[2025-04-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:51:02] Production.INFO: ==4883== Lock acquired, processing the job...
[2025-04-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:51:02] Production.INFO: ==4883== Releasing lock...
[2025-04-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:51:03] Production.INFO: ==4891== Lock acquired, processing the job...
[2025-04-09 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:51:03] Production.INFO: ==4897== Lock acquired, processing the job...
[2025-04-09 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:51:03] Production.INFO: ==4893== Lock acquired, processing the job...
[2025-04-09 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:51:03] Production.INFO: Account Balance Start.
[2025-04-09 06:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:51:03] Production.INFO: 117
[2025-04-09 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-04-09 06:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:51:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:51:03] Production.INFO: count ==23
[2025-04-09 06:51:04] Production.INFO: ==4887== Lock acquired, processing the job...
[2025-04-09 06:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867819') start
[2025-04-09 06:51:04] Production.INFO: ==4889== Lock acquired, processing the job...
[2025-04-09 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:51:04] Production.INFO: ==4895== Lock acquired, processing the job...
[2025-04-09 06:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:51:04] Production.INFO: Total Charge 0
[2025-04-09 06:51:04] Production.INFO: CreateAllLog End
[2025-04-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867819') end
[2025-04-09 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:51:04] Production.INFO: 1
[2025-04-09 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:51:04] Production.INFO: ==4897== Releasing lock...
[2025-04-09 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:51:04] Production.INFO: Account Balance End.
[2025-04-09 06:51:04] Production.INFO: ==4889== Releasing lock...
[2025-04-09 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:51:04] Production.INFO: ==4893== Releasing lock...
[2025-04-09 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:51:04] Production.ERROR: done
[2025-04-09 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:51:04] Production.ERROR: done
[2025-04-09 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:51:05
[end_date_ymd] => 2025-04-09 06:51:05
[RateCDR] => 1
)
[2025-04-09 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:51:05' and `end` < '2025-04-09 06:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:51:12] Production.ERROR: CronJobId end10
[2025-04-09 06:51:12] Production.INFO: ==4891== Releasing lock...
[2025-04-09 06:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:51:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:51:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:51:15] Production.INFO: call_cost start
[2025-04-09 06:51:15] Production.INFO: call_cost end
[2025-04-09 06:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:51:16] Production.INFO: ==4887== Releasing lock...
[2025-04-09 06:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:51:18] Production.INFO: count ==72
[2025-04-09 06:51:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:51:05 - End Time 2025-04-09 06:51:05
[2025-04-09 06:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867823', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867823', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867823', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867823', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:51:18] Production.INFO: ProcessCDR(1,14867823,1,1,2)
[2025-04-09 06:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867823', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867823', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:51:22] Production.INFO: ==4895== Releasing lock...
[2025-04-09 06:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:51:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:52:01] Production.INFO: ==4960== Lock acquired, processing the job...
[2025-04-09 11:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:52:01] Production.INFO: neon service started
[2025-04-09 11:52:01] Production.INFO: neon service started
[2025-04-09 11:52:01] Production.INFO: ==4960== Releasing lock...
[2025-04-09 11:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:52:01] Production.INFO: ==4962== Lock acquired, processing the job...
[2025-04-09 06:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:52:02] Production.INFO: ==4964== Lock acquired, processing the job...
[2025-04-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:52:02] Production.INFO: ==4964== Releasing lock...
[2025-04-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:52:02] Production.INFO: ==4962== Releasing lock...
[2025-04-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:52:03] Production.INFO: ==4972== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:52:03] Production.INFO: ==4966== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:52:03] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:52:03] Production.INFO: Account Balance Start.
[2025-04-09 06:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:52:03] Production.INFO: 117
[2025-04-09 06:52:03] Production.INFO: ==4968== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:52:03] Production.INFO: ==4970== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:52:03] Production.INFO: count ==12
[2025-04-09 06:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:52:03] Production.INFO: count ==23
[2025-04-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867825') start
[2025-04-09 06:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:52:03] Production.INFO: Total Charge 0
[2025-04-09 06:52:03] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-04-09 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:52:03] Production.INFO: CreateAllLog End
[2025-04-09 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867825') end
[2025-04-09 06:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:52:03] Production.INFO: 1
[2025-04-09 06:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:52:03] Production.INFO: ==4977== Releasing lock...
[2025-04-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:52:03] Production.INFO: ==4968== Releasing lock...
[2025-04-09 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:52:03] Production.ERROR: done
[2025-04-09 06:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:52:03] Production.INFO: Account Balance End.
[2025-04-09 06:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:52:04] Production.INFO: ==4972== Releasing lock...
[2025-04-09 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:52:04] Production.ERROR: done
[2025-04-09 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:52:05
[end_date_ymd] => 2025-04-09 06:52:05
[RateCDR] => 1
)
[2025-04-09 06:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:52:05' and `end` < '2025-04-09 06:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:52:11] Production.ERROR: CronJobId end10
[2025-04-09 06:52:11] Production.INFO: ==4970== Releasing lock...
[2025-04-09 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:52:14] Production.INFO: call_cost start
[2025-04-09 06:52:14] Production.INFO: call_cost end
[2025-04-09 06:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:52:15] Production.INFO: ==4966== Releasing lock...
[2025-04-09 06:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:52:18] Production.INFO: count ==74
[2025-04-09 06:52:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:52:05 - End Time 2025-04-09 06:52:05
[2025-04-09 06:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867828', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867828', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867828', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867828', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:52:18] Production.INFO: ProcessCDR(1,14867828,1,1,2)
[2025-04-09 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867828', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867828', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:52:21] Production.INFO: ==4975== Releasing lock...
[2025-04-09 06:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:52:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:53:01] Production.INFO: ==5033== Lock acquired, processing the job...
[2025-04-09 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:53:02] Production.INFO: neon service started
[2025-04-09 11:53:02] Production.INFO: neon service started
[2025-04-09 11:53:02] Production.INFO: ==5033== Releasing lock...
[2025-04-09 11:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:53:02] Production.INFO: ==5037== Lock acquired, processing the job...
[2025-04-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:53:02] Production.INFO: ==5037== Releasing lock...
[2025-04-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:53:02] Production.INFO: ==5035== Lock acquired, processing the job...
[2025-04-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:53:02] Production.INFO: ==5035== Releasing lock...
[2025-04-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:53:03] Production.INFO: ==5042== Lock acquired, processing the job...
[2025-04-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:53:03] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-04-09 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:53:03] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-04-09 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:53:03] Production.INFO: Account Balance Start.
[2025-04-09 06:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:53:03] Production.INFO: 117
[2025-04-09 06:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:53:03] Production.INFO: ==5040== Lock acquired, processing the job...
[2025-04-09 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:53:03] Production.INFO: Total Charge 0
[2025-04-09 06:53:03] Production.INFO: CreateAllLog End
[2025-04-09 06:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:53:04] Production.INFO: ==5042== Releasing lock...
[2025-04-09 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:53:04] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-04-09 06:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:53:04] Production.INFO: Account Balance End.
[2025-04-09 06:53:04] Production.INFO: ==5050== Lock acquired, processing the job...
[2025-04-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:53:04] Production.INFO: ==5046== Releasing lock...
[2025-04-09 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:53:04] Production.INFO: count ==12
[2025-04-09 06:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:53:04] Production.INFO: count ==23
[2025-04-09 06:53:04] Production.ERROR: done
[2025-04-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867832') start
[2025-04-09 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867832') end
[2025-04-09 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:53:04] Production.INFO: 1
[2025-04-09 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:53:04] Production.ERROR: done
[2025-04-09 06:53:04] Production.INFO: ==5050== Releasing lock...
[2025-04-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:53:05
[end_date_ymd] => 2025-04-09 06:53:05
[RateCDR] => 1
)
[2025-04-09 06:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:53:05' and `end` < '2025-04-09 06:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:53:12] Production.ERROR: CronJobId end10
[2025-04-09 06:53:12] Production.INFO: ==5044== Releasing lock...
[2025-04-09 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:53:14] Production.INFO: call_cost start
[2025-04-09 06:53:14] Production.INFO: call_cost end
[2025-04-09 06:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:53:15] Production.INFO: ==5040== Releasing lock...
[2025-04-09 06:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:53:18] Production.INFO: count ==77
[2025-04-09 06:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:53:05 - End Time 2025-04-09 06:53:05
[2025-04-09 06:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867833', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867833', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867833', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867833', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:53:18] Production.INFO: ProcessCDR(1,14867833,1,1,2)
[2025-04-09 06:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867833', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867833', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:53:23] Production.INFO: ==5048== Releasing lock...
[2025-04-09 06:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:53:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:54:01] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-04-09 11:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:54:01] Production.INFO: neon service started
[2025-04-09 11:54:01] Production.INFO: neon service started
[2025-04-09 11:54:01] Production.INFO: ==5125== Releasing lock...
[2025-04-09 11:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:54:01] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-04-09 10:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:54:01] Production.INFO: ==5129== Releasing lock...
[2025-04-09 10:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:54:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:54:01] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-04-09 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:54:02] Production.INFO: ==5127== Releasing lock...
[2025-04-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:54:03] Production.INFO: ==5135== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:54:03] Production.INFO: ==5131== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:54:03] Production.INFO: ==5133== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:54:03] Production.INFO: ==5139== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:54:03] Production.INFO: ==5137== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:54:03] Production.INFO: Account Balance Start.
[2025-04-09 06:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:54:03] Production.INFO: 117
[2025-04-09 06:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:54:03] Production.INFO: ==5141== Lock acquired, processing the job...
[2025-04-09 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:54:03] Production.INFO: Total Charge 0
[2025-04-09 06:54:03] Production.INFO: CreateAllLog End
[2025-04-09 06:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:54:03] Production.INFO: count ==12
[2025-04-09 06:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:54:03] Production.INFO: count ==23
[2025-04-09 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867837') start
[2025-04-09 06:54:03] Production.ERROR: done
[2025-04-09 06:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:54:03] Production.ERROR: done
[2025-04-09 06:54:03] Production.INFO: ==5133== Releasing lock...
[2025-04-09 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867837') end
[2025-04-09 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:54:04] Production.INFO: 1
[2025-04-09 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:54:04] Production.INFO: Account Balance End.
[2025-04-09 06:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:54:04] Production.INFO: ==5137== Releasing lock...
[2025-04-09 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:54:04] Production.INFO: ==5141== Releasing lock...
[2025-04-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:54:05
[end_date_ymd] => 2025-04-09 06:54:05
[RateCDR] => 1
)
[2025-04-09 06:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:54:05' and `end` < '2025-04-09 06:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:54:11] Production.ERROR: CronJobId end10
[2025-04-09 06:54:11] Production.INFO: ==5135== Releasing lock...
[2025-04-09 06:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:54:14] Production.INFO: call_cost start
[2025-04-09 06:54:14] Production.INFO: call_cost end
[2025-04-09 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:54:15] Production.INFO: ==5131== Releasing lock...
[2025-04-09 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:54:17] Production.INFO: count ==78
[2025-04-09 06:54:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:54:05 - End Time 2025-04-09 06:54:05
[2025-04-09 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867838', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867838', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867838', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867838', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:54:18] Production.INFO: ProcessCDR(1,14867838,1,1,2)
[2025-04-09 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867838', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867838', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:54:22] Production.INFO: ==5139== Releasing lock...
[2025-04-09 06:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:54:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:55:01] Production.INFO: ==5237== Lock acquired, processing the job...
[2025-04-09 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:55:01] Production.INFO: neon service started
[2025-04-09 11:55:01] Production.INFO: neon service started
[2025-04-09 11:55:01] Production.INFO: ==5237== Releasing lock...
[2025-04-09 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:55:02] Production.INFO: ==5239== Lock acquired, processing the job...
[2025-04-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:55:02] Production.INFO: ==5241== Lock acquired, processing the job...
[2025-04-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:55:02] Production.INFO: ==5241== Releasing lock...
[2025-04-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:55:02] Production.INFO: ==5239== Releasing lock...
[2025-04-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 06:55:03] Production.INFO: ==5244== Lock acquired, processing the job...
[2025-04-09 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:55:03] Production.INFO: ==5246== Lock acquired, processing the job...
[2025-04-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:55:03] Production.INFO: ==5254== Lock acquired, processing the job...
[2025-04-09 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:55:03] Production.INFO: ==5250== Lock acquired, processing the job...
[2025-04-09 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:55:04] Production.INFO: count ==12
[2025-04-09 06:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:55:04] Production.INFO: count ==23
[2025-04-09 06:55:04] Production.INFO: ==5252== Lock acquired, processing the job...
[2025-04-09 06:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:55:04] Production.INFO: ==5248== Lock acquired, processing the job...
[2025-04-09 06:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867841') start
[2025-04-09 06:55:04] Production.INFO: Account Balance Start.
[2025-04-09 06:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:55:04] Production.INFO: 117
[2025-04-09 06:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:55:04] Production.INFO: ==5246== Releasing lock...
[2025-04-09 06:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867841') end
[2025-04-09 06:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:55:04] Production.INFO: 1
[2025-04-09 06:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:55:04] Production.INFO: ==5254== Releasing lock...
[2025-04-09 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:55:04] Production.INFO: Total Charge 0
[2025-04-09 06:55:04] Production.INFO: CreateAllLog End
[2025-04-09 06:55:04] Production.ERROR: done
[2025-04-09 06:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:55:04] Production.ERROR: done
[2025-04-09 06:55:04] Production.INFO: Account Balance End.
[2025-04-09 06:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:55:04] Production.INFO: ==5250== Releasing lock...
[2025-04-09 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:55:05
[end_date_ymd] => 2025-04-09 06:55:05
[RateCDR] => 1
)
[2025-04-09 06:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:55:05' and `end` < '2025-04-09 06:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:55:12] Production.ERROR: CronJobId end10
[2025-04-09 06:55:12] Production.INFO: ==5248== Releasing lock...
[2025-04-09 06:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:55:15] Production.INFO: call_cost start
[2025-04-09 06:55:15] Production.INFO: call_cost end
[2025-04-09 06:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:55:16] Production.INFO: ==5244== Releasing lock...
[2025-04-09 06:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:55:18] Production.INFO: count ==78
[2025-04-09 06:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:55:05 - End Time 2025-04-09 06:55:05
[2025-04-09 06:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867843', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867843', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867843', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867843', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:55:18] Production.INFO: ProcessCDR(1,14867843,1,1,2)
[2025-04-09 06:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867843', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867843', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:55:22] Production.INFO: ==5252== Releasing lock...
[2025-04-09 06:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:55:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:56:02] Production.INFO: ==5317== Lock acquired, processing the job...
[2025-04-09 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:56:02] Production.INFO: neon service started
[2025-04-09 11:56:02] Production.INFO: neon service started
[2025-04-09 11:56:02] Production.INFO: ==5317== Releasing lock...
[2025-04-09 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:56:02] Production.INFO: ==5319== Lock acquired, processing the job...
[2025-04-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:56:02] Production.INFO: ==5319== Releasing lock...
[2025-04-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:56:03] Production.INFO: ==5321== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:56:03] Production.INFO: ==5321== Releasing lock...
[2025-04-09 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:56:03] Production.INFO: ==5323== Lock acquired, processing the job...
[2025-04-09 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:56:03] Production.INFO: ==5325== Lock acquired, processing the job...
[2025-04-09 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:56:03] Production.INFO: ==5331== Lock acquired, processing the job...
[2025-04-09 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:56:03] Production.INFO: ==5327== Lock acquired, processing the job...
[2025-04-09 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:56:04] Production.INFO: ==5329== Lock acquired, processing the job...
[2025-04-09 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:56:04] Production.INFO: ==5325== Releasing lock...
[2025-04-09 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:56:04] Production.INFO: ==5333== Lock acquired, processing the job...
[2025-04-09 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:56:04] Production.INFO: Account Balance Start.
[2025-04-09 06:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:56:04] Production.INFO: 117
[2025-04-09 06:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 06: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-04-09 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:56:04] Production.INFO: count ==12
[2025-04-09 06:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 06: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-04-09 06:56:04] Production.INFO: count ==23
[2025-04-09 06:56:04] Production.ERROR: done
[2025-04-09 06:56:04] Production.INFO: Total Charge 0
[2025-04-09 06:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:56:04] Production.INFO: CreateAllLog End
[2025-04-09 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867847') start
[2025-04-09 06:56:04] Production.ERROR: done
[2025-04-09 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867847') end
[2025-04-09 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:56:04] Production.INFO: 1
[2025-04-09 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:56:04] Production.INFO: Account Balance End.
[2025-04-09 06:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:56:04] Production.INFO: ==5329== Releasing lock...
[2025-04-09 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:56:04] Production.INFO: ==5333== Releasing lock...
[2025-04-09 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:56:05
[end_date_ymd] => 2025-04-09 06:56:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 03:56:05' and `end` < '2025-04-09 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-04-09 06:56:13] Production.ERROR: CronJobId end10
[2025-04-09 06:56:13] Production.INFO: ==5327== Releasing lock...
[2025-04-09 06:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:56:15] Production.INFO: call_cost start
[2025-04-09 06:56:15] Production.INFO: call_cost end
[2025-04-09 06:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:56:16] Production.INFO: ==5323== Releasing lock...
[2025-04-09 06:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:56:18] Production.INFO: count ==78
[2025-04-09 06:56:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:56:05 - End Time 2025-04-09 06:56:05
[2025-04-09 06:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867848', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867848', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867848', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867848', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:56:18] Production.INFO: ProcessCDR(1,14867848,1,1,2)
[2025-04-09 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867848', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867848', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:56:21] Production.INFO: ==5331== Releasing lock...
[2025-04-09 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:56:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:57:01] Production.INFO: ==5387== Lock acquired, processing the job...
[2025-04-09 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:57:01] Production.INFO: neon service started
[2025-04-09 11:57:01] Production.INFO: neon service started
[2025-04-09 11:57:01] Production.INFO: ==5387== Releasing lock...
[2025-04-09 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:57:02] Production.INFO: ==5389== Lock acquired, processing the job...
[2025-04-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:57:02] Production.INFO: ==5389== Releasing lock...
[2025-04-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:57:02] Production.INFO: ==5391== Lock acquired, processing the job...
[2025-04-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:57:02] Production.INFO: ==5391== Releasing lock...
[2025-04-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:57:03] Production.INFO: ==5393== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:57:03] Production.INFO: ==5397== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:57:03] Production.INFO: ==5403== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:57:03] Production.INFO: ==5395== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 06:57:03] Production.INFO: ==5399== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:57:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:57:03] Production.INFO: count ==23
[2025-04-09 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867849') start
[2025-04-09 06:57:03] Production.INFO: ==5401== Lock acquired, processing the job...
[2025-04-09 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:57:03] Production.INFO: Account Balance Start.
[2025-04-09 06:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:57:03] Production.INFO: 117
[2025-04-09 06:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867849') end
[2025-04-09 06:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:57:03] Production.INFO: 1
[2025-04-09 06:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:57:03] Production.INFO: Total Charge 0
[2025-04-09 06:57:03] Production.INFO: CreateAllLog End
[2025-04-09 06:57:03] Production.INFO: ==5403== Releasing lock...
[2025-04-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:57:03] Production.INFO: ==5395== Releasing lock...
[2025-04-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:57:04] Production.ERROR: done
[2025-04-09 06:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:57:04] Production.ERROR: done
[2025-04-09 06:57:04] Production.INFO: Account Balance End.
[2025-04-09 06:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:57:04] Production.INFO: ==5399== Releasing lock...
[2025-04-09 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:57:05
[end_date_ymd] => 2025-04-09 06:57:05
[RateCDR] => 1
)
[2025-04-09 06:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:57:05' and `end` < '2025-04-09 06:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:57:11] Production.ERROR: CronJobId end10
[2025-04-09 06:57:11] Production.INFO: ==5397== Releasing lock...
[2025-04-09 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:57:14] Production.INFO: call_cost start
[2025-04-09 06:57:14] Production.INFO: call_cost end
[2025-04-09 06:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:57:15] Production.INFO: ==5393== Releasing lock...
[2025-04-09 06:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:57:18] Production.INFO: count ==78
[2025-04-09 06:57:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:57:05 - End Time 2025-04-09 06:57:05
[2025-04-09 06:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867853', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867853', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867853', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867853', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:57:18] Production.INFO: ProcessCDR(1,14867853,1,1,2)
[2025-04-09 06:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867853', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867853', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:57:21] Production.INFO: ==5401== Releasing lock...
[2025-04-09 06:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:58:02] Production.INFO: ==5465== Lock acquired, processing the job...
[2025-04-09 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:58:02] Production.INFO: neon service started
[2025-04-09 11:58:02] Production.INFO: neon service started
[2025-04-09 11:58:02] Production.INFO: ==5465== Releasing lock...
[2025-04-09 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:58:02] Production.INFO: ==5467== Lock acquired, processing the job...
[2025-04-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:58:02] Production.INFO: ==5467== Releasing lock...
[2025-04-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:58:02] Production.INFO: ==5469== Lock acquired, processing the job...
[2025-04-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:58:03] Production.INFO: ==5469== Releasing lock...
[2025-04-09 10:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:58:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:58:03] Production.INFO: ==5475== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:58:03] Production.INFO: ==5471== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:58:03] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:58:03] Production.INFO: ==5473== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:58:03] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:58:03] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-04-09 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:58:03] Production.INFO: count ==12
[2025-04-09 06:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 06:58:04] Production.INFO: count ==23
[2025-04-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867855') start
[2025-04-09 06:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:58:04] Production.INFO: Account Balance Start.
[2025-04-09 06:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 06:58:04] Production.INFO: 117
[2025-04-09 06:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867855') end
[2025-04-09 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:58:04] Production.INFO: 1
[2025-04-09 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 06:58:04] Production.INFO: Total Charge 0
[2025-04-09 06:58:04] Production.INFO: CreateAllLog End
[2025-04-09 06:58:04] Production.INFO: ==5481== Releasing lock...
[2025-04-09 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:58:04] Production.INFO: ==5473== Releasing lock...
[2025-04-09 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:58:04] Production.ERROR: done
[2025-04-09 06:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:58:04] Production.INFO: Account Balance End.
[2025-04-09 06:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:58:04] Production.INFO: ==5477== Releasing lock...
[2025-04-09 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:58:04] Production.ERROR: done
[2025-04-09 06:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:58:06
[end_date_ymd] => 2025-04-09 06:58:06
[RateCDR] => 1
)
[2025-04-09 06:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:58:06' and `end` < '2025-04-09 06:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:58:11] Production.ERROR: CronJobId end10
[2025-04-09 06:58:11] Production.INFO: ==5475== Releasing lock...
[2025-04-09 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:58:14] Production.INFO: call_cost start
[2025-04-09 06:58:14] Production.INFO: call_cost end
[2025-04-09 06:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:58:15] Production.INFO: ==5471== Releasing lock...
[2025-04-09 06:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:58:18] Production.INFO: count ==78
[2025-04-09 06:58:18] Production.ERROR: pbx CDR StartTime 2025-04-09 03:58:06 - End Time 2025-04-09 06:58:06
[2025-04-09 06:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867858', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867858', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867858', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867858', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:58:18] Production.INFO: ProcessCDR(1,14867858,1,1,2)
[2025-04-09 06:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867858', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867858', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:58:22] Production.INFO: ==5479== Releasing lock...
[2025-04-09 06:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:58:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 11:59:01] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-04-09 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 11:59:01] Production.INFO: neon service started
[2025-04-09 11:59:01] Production.INFO: neon service started
[2025-04-09 11:59:01] Production.INFO: ==5536== Releasing lock...
[2025-04-09 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 06:59:01] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-04-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 06:59:02] Production.INFO: ==5538== Releasing lock...
[2025-04-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:59:02] Production.INFO: ==5540== Lock acquired, processing the job...
[2025-04-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:59:02] Production.INFO: ==5540== Releasing lock...
[2025-04-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 06:59:03] Production.INFO: ==5542== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 06:59:03] Production.INFO: ==5548== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 06:59:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 06:59:03] Production.INFO: Account Balance Start.
[2025-04-09 06:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 06:59:03] Production.INFO: 117
[2025-04-09 06:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 06:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 06:59:03] Production.INFO: ==5544== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 06:59:03] Production.INFO: Total Charge 0
[2025-04-09 06:59:03] Production.INFO: CreateAllLog End
[2025-04-09 06:59:03] Production.INFO: ==5546== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 06:59:03] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-04-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 06:59:03] Production.INFO: count ==12
[2025-04-09 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-04-09 06:59:03] Production.INFO: count ==23
[2025-04-09 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867861') start
[2025-04-09 06:59:03] Production.INFO: ==5544== Releasing lock...
[2025-04-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 06:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 06:59:03] Production.ERROR: done
[2025-04-09 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 06:59:04] Production.INFO: Account Balance End.
[2025-04-09 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867861') end
[2025-04-09 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 06:59:04] Production.INFO: 1
[2025-04-09 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 06:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 06:59:04] Production.INFO: ==5548== Releasing lock...
[2025-04-09 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 06:59:04] Production.ERROR: done
[2025-04-09 06:59:04] Production.INFO: ==5553== Releasing lock...
[2025-04-09 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 03:59:05
[end_date_ymd] => 2025-04-09 06:59:05
[RateCDR] => 1
)
[2025-04-09 06:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 03:59:05' and `end` < '2025-04-09 06:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 06:59:12] Production.ERROR: CronJobId end10
[2025-04-09 06:59:12] Production.INFO: ==5546== Releasing lock...
[2025-04-09 06:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 06:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 06:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 06:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 06:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 06:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 06:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 06:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 06:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 06:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 06:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 06:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 06:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 06:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 06:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 06:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 06:59:15] Production.INFO: call_cost start
[2025-04-09 06:59:15] Production.INFO: call_cost end
[2025-04-09 06:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 06:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 06:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 06:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 06:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 06:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 06:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 06:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 06:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 06:59:16] Production.INFO: ==5542== Releasing lock...
[2025-04-09 06:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 06:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 06:59:17] Production.INFO: count ==78
[2025-04-09 06:59:17] Production.ERROR: pbx CDR StartTime 2025-04-09 03:59:05 - End Time 2025-04-09 06:59:05
[2025-04-09 06:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867863', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867863', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867863', 'tblTempVendorCDR_20' ) start
[2025-04-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867863', 'tblTempVendorCDR_20' ) end
[2025-04-09 06:59:17] Production.INFO: ProcessCDR(1,14867863,1,1,2)
[2025-04-09 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867863', 'tblTempUsageDetail_20' ) start
[2025-04-09 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867863', 'tblTempUsageDetail_20' ) end
[2025-04-09 06:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 06:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 06:59:21] Production.INFO: ==5551== Releasing lock...
[2025-04-09 06:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 06:59:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:00:02] Production.INFO: ==5608== Lock acquired, processing the job...
[2025-04-09 12:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:00:02] Production.INFO: neon service started
[2025-04-09 12:00:02] Production.INFO: neon service started
[2025-04-09 12:00:02] Production.INFO: ==5608== Releasing lock...
[2025-04-09 12:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:00:02] Production.INFO: ==5611== Lock acquired, processing the job...
[2025-04-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:00:02] Production.INFO: ==5613== Lock acquired, processing the job...
[2025-04-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:00:02] Production.INFO: ==5611== Releasing lock...
[2025-04-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:00:02] Production.INFO: ==5613== Releasing lock...
[2025-04-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:00:03] Production.INFO: ==5615== Lock acquired, processing the job...
[2025-04-09 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:00:03] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-04-09 07:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:00:04] Production.INFO: ==5615== Releasing lock...
[2025-04-09 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:00:04] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:00:04] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:00:04] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:00:04] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:00:04] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:00:04] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-04-09 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:00:04] Production.INFO: Account Balance Start.
[2025-04-09 07:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:00:04] Production.INFO: 117
[2025-04-09 07:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:00:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:00:04] Production.INFO: count ==23
[2025-04-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867867') start
[2025-04-09 07:00:04] Production.ERROR: done
[2025-04-09 07:00:04] Production.INFO: Total Charge 0
[2025-04-09 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:00:04] Production.INFO: CreateAllLog End
[2025-04-09 07:00:04] Production.INFO: ==5619== Releasing lock...
[2025-04-09 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:00:04] Production.ERROR: done
[2025-04-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867867') end
[2025-04-09 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:00:04] Production.INFO: 1
[2025-04-09 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867868', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:00:05] Production.INFO: ==5629== Releasing lock...
[2025-04-09 07:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:00:05] Production.ERROR: done
[2025-04-09 07:00:05] Production.INFO: Account Balance End.
[2025-04-09 07:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:00:05] Production.INFO: ==5623== Releasing lock...
[2025-04-09 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:00:06
[end_date_ymd] => 2025-04-09 07:00:06
[RateCDR] => 1
)
[2025-04-09 07:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:00:06' and `end` < '2025-04-09 07:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867868', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:00:09] Production.INFO: ProcessCDR(1,14867868,1,1,2)
[2025-04-09 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867868,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867868,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:00:09] Production.INFO: ==5627== Releasing lock...
[2025-04-09 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:00:13] Production.ERROR: CronJobId end10
[2025-04-09 07:00:13] Production.INFO: ==5621== Releasing lock...
[2025-04-09 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:00:16] Production.INFO: call_cost start
[2025-04-09 07:00:16] Production.INFO: call_cost end
[2025-04-09 07:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:00:17] Production.INFO: ==5617== Releasing lock...
[2025-04-09 07:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:00:19] Production.INFO: count ==78
[2025-04-09 07:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:00:06 - End Time 2025-04-09 07:00:06
[2025-04-09 07:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867869', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867869', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867869', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867869', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:00:19] Production.INFO: ProcessCDR(1,14867869,1,1,2)
[2025-04-09 07:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867869', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867869', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:00:22] Production.INFO: ==5625== Releasing lock...
[2025-04-09 07:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:00:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:01:01] Production.INFO: ==5694== Lock acquired, processing the job...
[2025-04-09 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:01:01] Production.INFO: neon service started
[2025-04-09 12:01:01] Production.INFO: neon service started
[2025-04-09 12:01:01] Production.INFO: ==5694== Releasing lock...
[2025-04-09 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:01:02] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-04-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:01:02] Production.INFO: ==5708== Releasing lock...
[2025-04-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:01:02] Production.INFO: ==5706== Lock acquired, processing the job...
[2025-04-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:01:02] Production.INFO: ==5706== Releasing lock...
[2025-04-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:01:03] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:01:03] Production.INFO: ==5717== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:01:03] Production.INFO: ==5721== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:01:03] Production.INFO: Account Balance Start.
[2025-04-09 07:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:01:03] Production.INFO: 117
[2025-04-09 07:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:01:03] Production.INFO: ==5715== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:01:03] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 07:01:03] Production.INFO: Total Charge 0
[2025-04-09 07:01:03] Production.INFO: count ==12
[2025-04-09 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-04-09 07:01:03] Production.INFO: count ==23
[2025-04-09 07:01:03] Production.INFO: ==5719== Lock acquired, processing the job...
[2025-04-09 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:01:03] Production.INFO: CreateAllLog End
[2025-04-09 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867872') start
[2025-04-09 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:01:03] Production.INFO: Account Balance End.
[2025-04-09 07:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:01:04] Production.INFO: ==5717== Releasing lock...
[2025-04-09 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867872') end
[2025-04-09 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:01:04] Production.INFO: 1
[2025-04-09 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:01:04] Production.INFO: ==5721== Releasing lock...
[2025-04-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:01:04] Production.ERROR: done
[2025-04-09 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:01:04] Production.INFO: ==5713== Releasing lock...
[2025-04-09 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:01:04] Production.ERROR: done
[2025-04-09 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:01:05
[end_date_ymd] => 2025-04-09 07:01:05
[RateCDR] => 1
)
[2025-04-09 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:01:05' and `end` < '2025-04-09 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:01:13] Production.ERROR: CronJobId end10
[2025-04-09 07:01:13] Production.INFO: ==5715== Releasing lock...
[2025-04-09 07:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:01:14] Production.INFO: call_cost start
[2025-04-09 07:01:14] Production.INFO: call_cost end
[2025-04-09 07:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:01:15] Production.INFO: ==5711== Releasing lock...
[2025-04-09 07:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:01:18] Production.INFO: count ==78
[2025-04-09 07:01:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:01:05 - End Time 2025-04-09 07:01:05
[2025-04-09 07:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867874', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867874', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867874', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867874', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:01:18] Production.INFO: ProcessCDR(1,14867874,1,1,2)
[2025-04-09 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867874', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867874', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:01:22] Production.INFO: ==5719== Releasing lock...
[2025-04-09 07:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:01:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:02:02] Production.INFO: ==5858== Lock acquired, processing the job...
[2025-04-09 12:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:02:02] Production.INFO: neon service started
[2025-04-09 12:02:02] Production.INFO: neon service started
[2025-04-09 12:02:02] Production.INFO: ==5858== Releasing lock...
[2025-04-09 12:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:02:02] Production.INFO: ==5862== Lock acquired, processing the job...
[2025-04-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:02:02] Production.INFO: ==5862== Releasing lock...
[2025-04-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:02:02] Production.INFO: ==5860== Lock acquired, processing the job...
[2025-04-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:02:02] Production.INFO: ==5860== Releasing lock...
[2025-04-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:02:03] Production.INFO: ==5871== Lock acquired, processing the job...
[2025-04-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:02:03] Production.INFO: ==5875== Lock acquired, processing the job...
[2025-04-09 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:02:03] Production.INFO: Account Balance Start.
[2025-04-09 07:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:02:03] Production.INFO: 117
[2025-04-09 07:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:02:04] Production.INFO: ==5865== Lock acquired, processing the job...
[2025-04-09 07:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:02:04] Production.INFO: ==5867== Lock acquired, processing the job...
[2025-04-09 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:02:04] Production.INFO: ==5873== Lock acquired, processing the job...
[2025-04-09 07:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:02:04] Production.INFO: count ==12
[2025-04-09 07:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:02:04] Production.INFO: count ==23
[2025-04-09 07:02:04] Production.INFO: Total Charge 0
[2025-04-09 07:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:02:04] Production.INFO: ==5869== Lock acquired, processing the job...
[2025-04-09 07:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:02:04] Production.INFO: CreateAllLog End
[2025-04-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867876') start
[2025-04-09 07:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867876') end
[2025-04-09 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:02:04] Production.INFO: 1
[2025-04-09 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:02:04] Production.INFO: Account Balance End.
[2025-04-09 07:02:04] Production.INFO: ==5875== Releasing lock...
[2025-04-09 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:02:04] Production.INFO: ==5871== Releasing lock...
[2025-04-09 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:02:04] Production.INFO: ==5867== Releasing lock...
[2025-04-09 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:02:04] Production.ERROR: done
[2025-04-09 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:02:04] Production.ERROR: done
[2025-04-09 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:02:05
[end_date_ymd] => 2025-04-09 07:02:05
[RateCDR] => 1
)
[2025-04-09 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:02:05' and `end` < '2025-04-09 07:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:02:11] Production.ERROR: CronJobId end10
[2025-04-09 07:02:11] Production.INFO: ==5869== Releasing lock...
[2025-04-09 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:02:14] Production.INFO: call_cost start
[2025-04-09 07:02:14] Production.INFO: call_cost end
[2025-04-09 07:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:02:15] Production.INFO: ==5865== Releasing lock...
[2025-04-09 07:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:02:20] Production.INFO: count ==78
[2025-04-09 07:02:20] Production.ERROR: pbx CDR StartTime 2025-04-09 04:02:05 - End Time 2025-04-09 07:02:05
[2025-04-09 07:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867879', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867879', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867879', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867879', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:02:20] Production.INFO: ProcessCDR(1,14867879,1,1,2)
[2025-04-09 07:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867879', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867879', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:02:23] Production.INFO: ==5873== Releasing lock...
[2025-04-09 07:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:02:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:03:01] Production.INFO: ==5934== Lock acquired, processing the job...
[2025-04-09 12:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:03:01] Production.INFO: neon service started
[2025-04-09 12:03:01] Production.INFO: neon service started
[2025-04-09 12:03:01] Production.INFO: ==5934== Releasing lock...
[2025-04-09 12:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:03:01] Production.INFO: ==5936== Lock acquired, processing the job...
[2025-04-09 07:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:03:02] Production.INFO: ==5936== Releasing lock...
[2025-04-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:03:02] Production.INFO: ==5938== Lock acquired, processing the job...
[2025-04-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:03:02] Production.INFO: ==5938== Releasing lock...
[2025-04-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:03:03] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:03:03] Production.INFO: ==5951== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:03:03] Production.INFO: ==5940== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:03:03] Production.INFO: ==5942== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:03:03] Production.INFO: ==5946== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 07:03:03] Production.INFO: ==5948== Lock acquired, processing the job...
[2025-04-09 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:03:03] Production.INFO: count ==12
[2025-04-09 07:03:03] Production.INFO: Account Balance Start.
[2025-04-09 07:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:03:03] Production.INFO: 117
[2025-04-09 07:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 07:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:03:03] Production.INFO: count ==23
[2025-04-09 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867880') start
[2025-04-09 07:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:03:03] Production.INFO: Total Charge 0
[2025-04-09 07:03:03] Production.INFO: CreateAllLog End
[2025-04-09 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867880') end
[2025-04-09 07:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:03:03] Production.INFO: 1
[2025-04-09 07:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:03:03] Production.INFO: ==5951== Releasing lock...
[2025-04-09 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:03:03] Production.INFO: ==5942== Releasing lock...
[2025-04-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:03:03] Production.ERROR: done
[2025-04-09 07:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:03:04] Production.INFO: Account Balance End.
[2025-04-09 07:03:04] Production.ERROR: done
[2025-04-09 07:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:03:04] Production.INFO: ==5946== Releasing lock...
[2025-04-09 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:03:05
[end_date_ymd] => 2025-04-09 07:03:05
[RateCDR] => 1
)
[2025-04-09 07:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:03:05' and `end` < '2025-04-09 07:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:03:12] Production.ERROR: CronJobId end10
[2025-04-09 07:03:12] Production.INFO: ==5944== Releasing lock...
[2025-04-09 07:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:03:15] Production.INFO: call_cost start
[2025-04-09 07:03:15] Production.INFO: call_cost end
[2025-04-09 07:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:03:16] Production.INFO: ==5940== Releasing lock...
[2025-04-09 07:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:03:18] Production.INFO: count ==80
[2025-04-09 07:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:03:05 - End Time 2025-04-09 07:03:05
[2025-04-09 07:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867884', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867884', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867884', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867884', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:03:18] Production.INFO: ProcessCDR(1,14867884,1,1,2)
[2025-04-09 07:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867884', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867884', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:03:21] Production.INFO: ==5948== Releasing lock...
[2025-04-09 07:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:03:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:04:02] Production.INFO: ==6013== Lock acquired, processing the job...
[2025-04-09 12:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:04:02] Production.INFO: neon service started
[2025-04-09 12:04:02] Production.INFO: neon service started
[2025-04-09 12:04:02] Production.INFO: ==6013== Releasing lock...
[2025-04-09 12:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:04:02] Production.INFO: ==6017== Lock acquired, processing the job...
[2025-04-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:04:02] Production.INFO: ==6017== Releasing lock...
[2025-04-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:04:02] Production.INFO: ==6015== Lock acquired, processing the job...
[2025-04-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:04:02] Production.INFO: ==6015== Releasing lock...
[2025-04-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:04:03] Production.INFO: ==6026== Lock acquired, processing the job...
[2025-04-09 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:04:03] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-04-09 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:04:03] Production.INFO: Account Balance Start.
[2025-04-09 07:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:04:03] Production.INFO: ==6022== Lock acquired, processing the job...
[2025-04-09 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:04:03] Production.INFO: 117
[2025-04-09 07:04:03] Production.INFO: ==6024== Lock acquired, processing the job...
[2025-04-09 07:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:04:04] Production.INFO: ==6030== Lock acquired, processing the job...
[2025-04-09 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:04:04] Production.INFO: ==6028== Lock acquired, processing the job...
[2025-04-09 07:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:04:04] Production.INFO: Total Charge 0
[2025-04-09 07:04:04] Production.INFO: count ==12
[2025-04-09 07:04:04] Production.INFO: CreateAllLog End
[2025-04-09 07:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:04:04] Production.INFO: count ==23
[2025-04-09 07:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867887') start
[2025-04-09 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867887') end
[2025-04-09 07:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:04:04] Production.INFO: 1
[2025-04-09 07:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:04:04] Production.INFO: ==6030== Releasing lock...
[2025-04-09 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:04:04] Production.INFO: Account Balance End.
[2025-04-09 07:04:04] Production.INFO: ==6022== Releasing lock...
[2025-04-09 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:04:04] Production.INFO: ==6026== Releasing lock...
[2025-04-09 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:04:04] Production.ERROR: done
[2025-04-09 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:04:04] Production.ERROR: done
[2025-04-09 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:04:05
[end_date_ymd] => 2025-04-09 07:04:05
[RateCDR] => 1
)
[2025-04-09 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:04:05' and `end` < '2025-04-09 07:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:04:12] Production.ERROR: CronJobId end10
[2025-04-09 07:04:12] Production.INFO: ==6024== Releasing lock...
[2025-04-09 07:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:04:14] Production.INFO: call_cost start
[2025-04-09 07:04:14] Production.INFO: call_cost end
[2025-04-09 07:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:04:15] Production.INFO: ==6020== Releasing lock...
[2025-04-09 07:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:04:19] Production.INFO: count ==80
[2025-04-09 07:04:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:04:05 - End Time 2025-04-09 07:04:05
[2025-04-09 07:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867889', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867889', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867889', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867889', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:04:19] Production.INFO: ProcessCDR(1,14867889,1,1,2)
[2025-04-09 07:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867889', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867889', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:04:22] Production.INFO: ==6028== Releasing lock...
[2025-04-09 07:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:04:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:05:01] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-04-09 12:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:05:01] Production.INFO: neon service started
[2025-04-09 12:05:01] Production.INFO: neon service started
[2025-04-09 12:05:01] Production.INFO: ==6167== Releasing lock...
[2025-04-09 12:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:05:01] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-04-09 11:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:05:01] Production.INFO: ==6171== Releasing lock...
[2025-04-09 11:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:05:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:05:02] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-04-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:05:02] Production.INFO: ==6169== Releasing lock...
[2025-04-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:05:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:05:03] Production.INFO: ==6182== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:05:03] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:05:03] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:05:03] Production.INFO: ==6175== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:05:03] Production.INFO: Account Balance Start.
[2025-04-09 07:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:05:03] Production.INFO: 117
[2025-04-09 07:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:05:03] Production.INFO: ==6184== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:05:03] Production.INFO: ==6177== Lock acquired, processing the job...
[2025-04-09 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:05:03] Production.INFO: Total Charge 0
[2025-04-09 07:05:03] Production.INFO: CreateAllLog End
[2025-04-09 07:05:03] Production.ERROR: done
[2025-04-09 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:05:03] Production.INFO: count ==12
[2025-04-09 07:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:05:03] Production.INFO: count ==23
[2025-04-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867891') start
[2025-04-09 07:05:04] Production.ERROR: done
[2025-04-09 07:05:04] Production.INFO: ==6175== Releasing lock...
[2025-04-09 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:05:04] Production.INFO: Account Balance End.
[2025-04-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867891') end
[2025-04-09 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:05:04] Production.INFO: 1
[2025-04-09 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:05:04] Production.INFO: ==6180== Releasing lock...
[2025-04-09 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:05:04] Production.INFO: ==6184== Releasing lock...
[2025-04-09 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:05:05
[end_date_ymd] => 2025-04-09 07:05:05
[RateCDR] => 1
)
[2025-04-09 07:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:05:05' and `end` < '2025-04-09 07:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:05:12] Production.ERROR: CronJobId end10
[2025-04-09 07:05:12] Production.INFO: ==6177== Releasing lock...
[2025-04-09 07:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:05:16] Production.INFO: call_cost start
[2025-04-09 07:05:16] Production.INFO: call_cost end
[2025-04-09 07:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:05:17] Production.INFO: ==6173== Releasing lock...
[2025-04-09 07:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:05:18] Production.INFO: count ==80
[2025-04-09 07:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:05:05 - End Time 2025-04-09 07:05:05
[2025-04-09 07:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867894', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867894', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867894', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867894', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:05:18] Production.INFO: ProcessCDR(1,14867894,1,1,2)
[2025-04-09 07:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867894', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867894', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:05:21] Production.INFO: ==6182== Releasing lock...
[2025-04-09 07:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:05:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:06:01] Production.INFO: ==6245== Lock acquired, processing the job...
[2025-04-09 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:06:01] Production.INFO: neon service started
[2025-04-09 12:06:01] Production.INFO: neon service started
[2025-04-09 12:06:01] Production.INFO: ==6245== Releasing lock...
[2025-04-09 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:06:02] Production.INFO: ==6247== Lock acquired, processing the job...
[2025-04-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:06:02] Production.INFO: ==6247== Releasing lock...
[2025-04-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:06:02] Production.INFO: ==6249== Lock acquired, processing the job...
[2025-04-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:06:02] Production.INFO: ==6249== Releasing lock...
[2025-04-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:06:03] Production.INFO: ==6251== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:06:03] Production.INFO: ==6257== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:06:03] Production.INFO: ==6259== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:06:03] Production.INFO: ==6255== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:06:03] Production.INFO: Account Balance Start.
[2025-04-09 07:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:06:03] Production.INFO: 117
[2025-04-09 07:06:03] Production.INFO: ==6253== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:06:03] Production.INFO: Total Charge 0
[2025-04-09 07:06:03] Production.INFO: CreateAllLog End
[2025-04-09 07:06:03] Production.INFO: ==6261== Lock acquired, processing the job...
[2025-04-09 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:06:04] Production.INFO: Account Balance End.
[2025-04-09 07:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:06:04] Production.INFO: count ==12
[2025-04-09 07:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:06:04] Production.INFO: ==6257== Releasing lock...
[2025-04-09 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:06:04] Production.ERROR: done
[2025-04-09 07:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:06:04] Production.INFO: ==6253== Releasing lock...
[2025-04-09 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:06:04] Production.INFO: count ==23
[2025-04-09 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867898') start
[2025-04-09 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867898') end
[2025-04-09 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:06:04] Production.INFO: 1
[2025-04-09 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:06:04] Production.ERROR: done
[2025-04-09 07:06:04] Production.INFO: ==6261== Releasing lock...
[2025-04-09 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:06:05
[end_date_ymd] => 2025-04-09 07:06:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:06:05' and `end` < '2025-04-09 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-04-09 07:06:12] Production.ERROR: CronJobId end10
[2025-04-09 07:06:12] Production.INFO: ==6255== Releasing lock...
[2025-04-09 07:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:06:14] Production.INFO: call_cost start
[2025-04-09 07:06:14] Production.INFO: call_cost end
[2025-04-09 07:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:06:15] Production.INFO: ==6251== Releasing lock...
[2025-04-09 07:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:06:19] Production.INFO: count ==80
[2025-04-09 07:06:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:06:05 - End Time 2025-04-09 07:06:05
[2025-04-09 07:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867899', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867899', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867899', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867899', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:06:19] Production.INFO: ProcessCDR(1,14867899,1,1,2)
[2025-04-09 07:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867899', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867899', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:06:22] Production.INFO: ==6259== Releasing lock...
[2025-04-09 07:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:06:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:07:02] Production.INFO: ==6320== Lock acquired, processing the job...
[2025-04-09 12:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:07:02] Production.INFO: neon service started
[2025-04-09 12:07:02] Production.INFO: neon service started
[2025-04-09 12:07:02] Production.INFO: ==6320== Releasing lock...
[2025-04-09 12:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:07:02] Production.INFO: ==6322== Lock acquired, processing the job...
[2025-04-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:07:03] Production.INFO: ==6322== Releasing lock...
[2025-04-09 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:07:03] Production.INFO: ==6324== Lock acquired, processing the job...
[2025-04-09 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:07:03] Production.INFO: ==6324== Releasing lock...
[2025-04-09 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:07:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:07:04] Production.INFO: ==6332== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:07:04] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:07:04] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:07:04] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:07:04] Production.INFO: Account Balance Start.
[2025-04-09 07:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:07:04] Production.INFO: 117
[2025-04-09 07:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:07:04] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:07:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:07:04] Production.INFO: Total Charge 0
[2025-04-09 07:07:04] Production.INFO: CreateAllLog End
[2025-04-09 07:07:04] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-04-09 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:07:04] Production.INFO: Account Balance End.
[2025-04-09 07:07:04] Production.INFO: count ==12
[2025-04-09 07:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:07:04] Production.INFO: ==6332== Releasing lock...
[2025-04-09 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:07:04] Production.INFO: count ==23
[2025-04-09 07:07:04] Production.INFO: ==6328== Releasing lock...
[2025-04-09 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867901') start
[2025-04-09 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867901') end
[2025-04-09 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:07:04] Production.INFO: 1
[2025-04-09 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:07:04] Production.INFO: ==6336== Releasing lock...
[2025-04-09 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:07:04] Production.ERROR: done
[2025-04-09 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:07:04] Production.ERROR: done
[2025-04-09 07:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:07:05
[end_date_ymd] => 2025-04-09 07:07:05
[RateCDR] => 1
)
[2025-04-09 07: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-04-09 04:07:05' and `end` < '2025-04-09 07: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-04-09 07:07:13] Production.ERROR: CronJobId end10
[2025-04-09 07:07:13] Production.INFO: ==6330== Releasing lock...
[2025-04-09 07:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:07:15] Production.INFO: call_cost start
[2025-04-09 07:07:15] Production.INFO: call_cost end
[2025-04-09 07:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:07:16] Production.INFO: ==6326== Releasing lock...
[2025-04-09 07:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:07:20] Production.INFO: count ==79
[2025-04-09 07:07:20] Production.ERROR: pbx CDR StartTime 2025-04-09 04:07:05 - End Time 2025-04-09 07:07:05
[2025-04-09 07:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867904', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867904', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867904', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867904', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:07:20] Production.INFO: ProcessCDR(1,14867904,1,1,2)
[2025-04-09 07:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867904', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867904', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:07:23] Production.INFO: ==6334== Releasing lock...
[2025-04-09 07:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:07:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:08:01] Production.INFO: ==6438== Lock acquired, processing the job...
[2025-04-09 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:08:01] Production.INFO: neon service started
[2025-04-09 12:08:01] Production.INFO: neon service started
[2025-04-09 12:08:01] Production.INFO: ==6438== Releasing lock...
[2025-04-09 12:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:08:02] Production.INFO: ==6440== Lock acquired, processing the job...
[2025-04-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:08:02] Production.INFO: ==6440== Releasing lock...
[2025-04-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:08:02] Production.INFO: ==6442== Lock acquired, processing the job...
[2025-04-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:08:02] Production.INFO: ==6442== Releasing lock...
[2025-04-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:08:03] Production.INFO: ==6448== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:08:03] Production.INFO: ==6454== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:08:03] Production.INFO: ==6444== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:08:03] Production.INFO: ==6446== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:08:03] Production.INFO: ==6450== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:08:03] Production.INFO: count ==12
[2025-04-09 07:08:03] Production.INFO: ==6452== Lock acquired, processing the job...
[2025-04-09 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:08:03] Production.INFO: Account Balance Start.
[2025-04-09 07:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:08:03] Production.INFO: 117
[2025-04-09 07:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:08:04] Production.INFO: count ==23
[2025-04-09 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867906') start
[2025-04-09 07:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:08:04] Production.INFO: ==6446== Releasing lock...
[2025-04-09 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867906') end
[2025-04-09 07:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:08:04] Production.INFO: 1
[2025-04-09 07:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:08:04] Production.INFO: Total Charge 0
[2025-04-09 07:08:04] Production.INFO: CreateAllLog End
[2025-04-09 07:08:04] Production.INFO: ==6454== Releasing lock...
[2025-04-09 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:08:04] Production.ERROR: done
[2025-04-09 07:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:08:04] Production.INFO: Account Balance End.
[2025-04-09 07:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:08:04] Production.INFO: ==6450== Releasing lock...
[2025-04-09 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:08:04] Production.ERROR: done
[2025-04-09 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:08:05
[end_date_ymd] => 2025-04-09 07:08:05
[RateCDR] => 1
)
[2025-04-09 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:08:05' and `end` < '2025-04-09 07:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:08:11] Production.ERROR: CronJobId end10
[2025-04-09 07:08:11] Production.INFO: ==6448== Releasing lock...
[2025-04-09 07:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:08:14] Production.INFO: call_cost start
[2025-04-09 07:08:14] Production.INFO: call_cost end
[2025-04-09 07:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:08:15] Production.INFO: ==6444== Releasing lock...
[2025-04-09 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:08:18] Production.INFO: count ==75
[2025-04-09 07:08:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:08:05 - End Time 2025-04-09 07:08:05
[2025-04-09 07:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867909', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867909', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867909', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867909', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:08:18] Production.INFO: ProcessCDR(1,14867909,1,1,2)
[2025-04-09 07:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867909', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867909', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:08:22] Production.INFO: ==6452== Releasing lock...
[2025-04-09 07:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:08:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:09:02] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-04-09 12:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:09:02] Production.INFO: neon service started
[2025-04-09 12:09:02] Production.INFO: neon service started
[2025-04-09 12:09:02] Production.INFO: ==6558== Releasing lock...
[2025-04-09 12:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:09:02] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-04-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:09:02] Production.INFO: ==6562== Releasing lock...
[2025-04-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:09:02] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-04-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:09:02] Production.INFO: ==6560== Releasing lock...
[2025-04-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:09:03] Production.INFO: ==6565== Lock acquired, processing the job...
[2025-04-09 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:09:03] Production.INFO: ==6569== Lock acquired, processing the job...
[2025-04-09 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:09:03] Production.INFO: ==6573== Lock acquired, processing the job...
[2025-04-09 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:09:04] Production.INFO: ==6567== Lock acquired, processing the job...
[2025-04-09 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:09:04] Production.INFO: ==6571== Lock acquired, processing the job...
[2025-04-09 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:09:04] Production.INFO: ==6575== Lock acquired, processing the job...
[2025-04-09 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:09:04] Production.INFO: Account Balance Start.
[2025-04-09 07:09:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:09:04] Production.INFO: 117
[2025-04-09 07:09:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:09:04] Production.ERROR: done
[2025-04-09 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:09:04] Production.INFO: Total Charge 0
[2025-04-09 07:09:04] Production.INFO: CreateAllLog End
[2025-04-09 07:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:09:04] Production.ERROR: done
[2025-04-09 07:09:04] Production.INFO: Account Balance End.
[2025-04-09 07:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:09:04] Production.INFO: ==6571== Releasing lock...
[2025-04-09 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:09:04] Production.INFO: ==6567== Releasing lock...
[2025-04-09 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:09:04] Production.INFO: count ==12
[2025-04-09 07:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:09:04] Production.INFO: count ==23
[2025-04-09 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867913') start
[2025-04-09 07:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867913') end
[2025-04-09 07:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:09:05] Production.INFO: 1
[2025-04-09 07:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:09:05] Production.INFO: ==6575== Releasing lock...
[2025-04-09 07:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:09:05
[end_date_ymd] => 2025-04-09 07:09:05
[RateCDR] => 1
)
[2025-04-09 07:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:09:05' and `end` < '2025-04-09 07:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:09:12] Production.ERROR: CronJobId end10
[2025-04-09 07:09:12] Production.INFO: ==6569== Releasing lock...
[2025-04-09 07:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:09:14] Production.INFO: call_cost start
[2025-04-09 07:09:14] Production.INFO: call_cost end
[2025-04-09 07:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:09:15] Production.INFO: ==6565== Releasing lock...
[2025-04-09 07:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:09:18] Production.INFO: count ==72
[2025-04-09 07:09:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:09:05 - End Time 2025-04-09 07:09:05
[2025-04-09 07:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867914', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867914', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867914', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867914', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:09:18] Production.INFO: ProcessCDR(1,14867914,1,1,2)
[2025-04-09 07:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867914', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867914', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:09:22] Production.INFO: ==6573== Releasing lock...
[2025-04-09 07:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:09:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:10:01] Production.INFO: ==6634== Lock acquired, processing the job...
[2025-04-09 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:10:01] Production.INFO: neon service started
[2025-04-09 12:10:01] Production.INFO: neon service started
[2025-04-09 12:10:01] Production.INFO: ==6634== Releasing lock...
[2025-04-09 12:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:10:02] Production.INFO: ==6636== Lock acquired, processing the job...
[2025-04-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:10:02] Production.INFO: ==6638== Lock acquired, processing the job...
[2025-04-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:10:02] Production.INFO: ==6638== Releasing lock...
[2025-04-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:10:02] Production.INFO: ==6636== Releasing lock...
[2025-04-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:10:03] Production.INFO: ==6641== Lock acquired, processing the job...
[2025-04-09 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:10:03] Production.INFO: ==6643== Lock acquired, processing the job...
[2025-04-09 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 07:10:03] Production.ERROR: CronJob PID - 6643
[2025-04-09 07:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 07:10:03] Production.ERROR: CronJob ID - 5
[2025-04-09 07:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 07:10:00
[2025-04-09 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 07:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:10:03] Production.INFO: ==6641== Releasing lock...
[2025-04-09 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:10:03] Production.INFO: ==6645== Lock acquired, processing the job...
[2025-04-09 07:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:10:03] Production.INFO: ==6647== Lock acquired, processing the job...
[2025-04-09 07:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:10:04] Production.INFO: ==6651== Lock acquired, processing the job...
[2025-04-09 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:10:04] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-04-09 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:10:04] Production.INFO: ==6653== Lock acquired, processing the job...
[2025-04-09 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:10:04] Production.INFO: ==6655== Lock acquired, processing the job...
[2025-04-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:10:04] Production.INFO: Account Balance Start.
[2025-04-09 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:10:04] Production.INFO: 117
[2025-04-09 07:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:10:04] Production.INFO: Total Charge 0
[2025-04-09 07:10:04] Production.INFO: CreateAllLog End
[2025-04-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:10:04] Production.INFO: ==6645== Releasing lock...
[2025-04-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:10:04] Production.INFO: count ==12
[2025-04-09 07:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:10:04] Production.INFO: count ==23
[2025-04-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867918') start
[2025-04-09 07:10:04] Production.ERROR: done
[2025-04-09 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867918') end
[2025-04-09 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:10:04] Production.INFO: 1
[2025-04-09 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:10:04] Production.INFO: ==6655== Releasing lock...
[2025-04-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:10:04] Production.ERROR: done
[2025-04-09 07:10:04] Production.ERROR: done
[2025-04-09 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867919', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:10:04] Production.INFO: Account Balance End.
[2025-04-09 07:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:10:05] Production.INFO: ==6649== Releasing lock...
[2025-04-09 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:10:06
[end_date_ymd] => 2025-04-09 07:10:06
[RateCDR] => 1
)
[2025-04-09 07:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:10:06' and `end` < '2025-04-09 07:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867919', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:10:09] Production.INFO: ProcessCDR(1,14867919,1,1,2)
[2025-04-09 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867919,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867919,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:10:09] Production.INFO: ==6653== Releasing lock...
[2025-04-09 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:10:13] Production.ERROR: CronJobId end10
[2025-04-09 07:10:13] Production.INFO: ==6647== Releasing lock...
[2025-04-09 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:10:16] Production.INFO: call_cost start
[2025-04-09 07:10:16] Production.INFO: call_cost end
[2025-04-09 07:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:10:17] Production.INFO: ==6643== Releasing lock...
[2025-04-09 07:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:10:19] Production.INFO: count ==61
[2025-04-09 07:10:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:10:06 - End Time 2025-04-09 07:10:06
[2025-04-09 07:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867920', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867920', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867920', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867920', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:10:19] Production.INFO: ProcessCDR(1,14867920,1,1,2)
[2025-04-09 07:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867920', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867920', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:10:22] Production.INFO: ==6651== Releasing lock...
[2025-04-09 07:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:10:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:11:02] Production.INFO: ==6761== Lock acquired, processing the job...
[2025-04-09 12:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:11:02] Production.INFO: neon service started
[2025-04-09 12:11:02] Production.INFO: neon service started
[2025-04-09 12:11:02] Production.INFO: ==6761== Releasing lock...
[2025-04-09 12:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:11:02] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-04-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:11:02] Production.INFO: ==6764== Releasing lock...
[2025-04-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:11:02] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-04-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:11:03] Production.INFO: ==6766== Releasing lock...
[2025-04-09 11:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:11:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:11:03] Production.INFO: ==6778== Lock acquired, processing the job...
[2025-04-09 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:11:03] Production.INFO: ==6774== Lock acquired, processing the job...
[2025-04-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:11:03] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-04-09 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:11:03] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-04-09 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:11:03] Production.INFO: Account Balance Start.
[2025-04-09 07:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:11:03] Production.INFO: 117
[2025-04-09 07:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:11:03] Production.INFO: count ==12
[2025-04-09 07:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:11:04] Production.INFO: count ==23
[2025-04-09 07:11:04] Production.INFO: Total Charge 0
[2025-04-09 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867921') start
[2025-04-09 07:11:04] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-04-09 07:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:11:04] Production.INFO: ==6776== Lock acquired, processing the job...
[2025-04-09 07:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:11:04] Production.INFO: CreateAllLog End
[2025-04-09 07:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867921') end
[2025-04-09 07:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:11:04] Production.INFO: 1
[2025-04-09 07:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:11:04] Production.INFO: ==6778== Releasing lock...
[2025-04-09 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:11:04] Production.INFO: ==6770== Releasing lock...
[2025-04-09 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:11:04] Production.INFO: Account Balance End.
[2025-04-09 07:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:11:04] Production.INFO: ==6774== Releasing lock...
[2025-04-09 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:11:04] Production.ERROR: done
[2025-04-09 07:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:11:04] Production.ERROR: done
[2025-04-09 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:11:05
[end_date_ymd] => 2025-04-09 07:11:05
[RateCDR] => 1
)
[2025-04-09 07:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:11:05' and `end` < '2025-04-09 07:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:11:12] Production.ERROR: CronJobId end10
[2025-04-09 07:11:12] Production.INFO: ==6772== Releasing lock...
[2025-04-09 07:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:11:15] Production.INFO: call_cost start
[2025-04-09 07:11:15] Production.INFO: call_cost end
[2025-04-09 07:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:11:16] Production.INFO: ==6768== Releasing lock...
[2025-04-09 07:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:11:18] Production.INFO: count ==59
[2025-04-09 07:11:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:11:05 - End Time 2025-04-09 07:11:05
[2025-04-09 07:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867925', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867925', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867925', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867925', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:11:18] Production.INFO: ProcessCDR(1,14867925,1,1,2)
[2025-04-09 07:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867925', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867925', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:11:22] Production.INFO: ==6776== Releasing lock...
[2025-04-09 07:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:11:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:12:01] Production.INFO: ==6918== Lock acquired, processing the job...
[2025-04-09 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:12:01] Production.INFO: neon service started
[2025-04-09 12:12:01] Production.INFO: neon service started
[2025-04-09 12:12:01] Production.INFO: ==6918== Releasing lock...
[2025-04-09 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:12:01] Production.INFO: ==6920== Lock acquired, processing the job...
[2025-04-09 07:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:12:02] Production.INFO: ==6920== Releasing lock...
[2025-04-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:12:02] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-04-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:12:02] Production.INFO: ==6922== Releasing lock...
[2025-04-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:12:03] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:12:03] Production.INFO: ==6935== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:12:03] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 07:12:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:12:03] Production.INFO: count ==12
[2025-04-09 07:12:03] Production.INFO: ==6931== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:12:03] Production.INFO: ==6933== Lock acquired, processing the job...
[2025-04-09 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:12:03] Production.INFO: Account Balance Start.
[2025-04-09 07:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:12:03] Production.INFO: 117
[2025-04-09 07:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:12:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:12:03] Production.INFO: Total Charge 0
[2025-04-09 07:12:03] Production.INFO: count ==23
[2025-04-09 07:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867926') start
[2025-04-09 07:12:03] Production.INFO: CreateAllLog End
[2025-04-09 07:12:03] Production.INFO: ==6926== Releasing lock...
[2025-04-09 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867926') end
[2025-04-09 07:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:12:03] Production.INFO: 1
[2025-04-09 07:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:12:03] Production.INFO: ==6935== Releasing lock...
[2025-04-09 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:12:03] Production.ERROR: done
[2025-04-09 07:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:12:04] Production.ERROR: done
[2025-04-09 07:12:04] Production.INFO: Account Balance End.
[2025-04-09 07:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:12:04] Production.INFO: ==6931== Releasing lock...
[2025-04-09 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:12:05
[end_date_ymd] => 2025-04-09 07:12:05
[RateCDR] => 1
)
[2025-04-09 07:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:12:05' and `end` < '2025-04-09 07:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:12:10] Production.ERROR: CronJobId end10
[2025-04-09 07:12:10] Production.INFO: ==6928== Releasing lock...
[2025-04-09 07:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:12:13] Production.INFO: call_cost start
[2025-04-09 07:12:13] Production.INFO: call_cost end
[2025-04-09 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:12:14] Production.INFO: ==6924== Releasing lock...
[2025-04-09 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:12:18] Production.INFO: count ==59
[2025-04-09 07:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:12:05 - End Time 2025-04-09 07:12:05
[2025-04-09 07:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867930', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867930', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867930', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867930', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:12:18] Production.INFO: ProcessCDR(1,14867930,1,1,2)
[2025-04-09 07:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867930', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867930', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:12:21] Production.INFO: ==6933== Releasing lock...
[2025-04-09 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:12:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:13:01] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-04-09 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:13:01] Production.INFO: neon service started
[2025-04-09 12:13:02] Production.INFO: neon service started
[2025-04-09 12:13:02] Production.INFO: ==6993== Releasing lock...
[2025-04-09 12:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:13:02] Production.INFO: ==6995== Lock acquired, processing the job...
[2025-04-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:13:02] Production.INFO: ==6997== Lock acquired, processing the job...
[2025-04-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:13:02] Production.INFO: ==6997== Releasing lock...
[2025-04-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:13:02] Production.INFO: ==6995== Releasing lock...
[2025-04-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:13:03] Production.INFO: ==6999== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:13:03] Production.INFO: ==7010== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:13:03] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:13:03] Production.INFO: ==7001== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07: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-04-09 07:13:03] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:13:03] Production.INFO: count ==12
[2025-04-09 07:13:03] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-04-09 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07: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-04-09 07:13:03] Production.INFO: count ==23
[2025-04-09 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867932') start
[2025-04-09 07:13:03] Production.INFO: Account Balance Start.
[2025-04-09 07:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:13:03] Production.INFO: 117
[2025-04-09 07:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867932') end
[2025-04-09 07:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:13:03] Production.INFO: 1
[2025-04-09 07:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:13:03] Production.INFO: ==7010== Releasing lock...
[2025-04-09 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:13:03] Production.ERROR: done
[2025-04-09 07:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:13:04] Production.INFO: Total Charge 0
[2025-04-09 07:13:04] Production.INFO: CreateAllLog End
[2025-04-09 07:13:04] Production.ERROR: done
[2025-04-09 07:13:04] Production.INFO: ==7001== Releasing lock...
[2025-04-09 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:13:04] Production.INFO: Account Balance End.
[2025-04-09 07:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:13:04] Production.INFO: ==7006== Releasing lock...
[2025-04-09 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:13:05
[end_date_ymd] => 2025-04-09 07:13:05
[RateCDR] => 1
)
[2025-04-09 07:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:13:05' and `end` < '2025-04-09 07:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:13:13] Production.ERROR: CronJobId end10
[2025-04-09 07:13:13] Production.INFO: ==7004== Releasing lock...
[2025-04-09 07:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:13:15] Production.INFO: call_cost start
[2025-04-09 07:13:15] Production.INFO: call_cost end
[2025-04-09 07:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:13:16] Production.INFO: ==6999== Releasing lock...
[2025-04-09 07:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:13:18] Production.INFO: count ==59
[2025-04-09 07:13:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:13:05 - End Time 2025-04-09 07:13:05
[2025-04-09 07:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867935', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867935', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867935', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867935', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:13:18] Production.INFO: ProcessCDR(1,14867935,1,1,2)
[2025-04-09 07:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867935', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867935', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:13:21] Production.INFO: ==7008== Releasing lock...
[2025-04-09 07:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:13:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:14:01] Production.INFO: ==7072== Lock acquired, processing the job...
[2025-04-09 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:14:01] Production.INFO: neon service started
[2025-04-09 12:14:01] Production.INFO: neon service started
[2025-04-09 12:14:01] Production.INFO: ==7072== Releasing lock...
[2025-04-09 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:14:02] Production.INFO: ==7074== Lock acquired, processing the job...
[2025-04-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:14:02] Production.INFO: ==7076== Lock acquired, processing the job...
[2025-04-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:14:02] Production.INFO: ==7076== Releasing lock...
[2025-04-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:14:02] Production.INFO: ==7074== Releasing lock...
[2025-04-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:14:03] Production.INFO: ==7083== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:14:03] Production.INFO: ==7089== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:14:03] Production.INFO: ==7079== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:14:03] Production.INFO: ==7081== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:14:03] Production.INFO: count ==12
[2025-04-09 07: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-04-09 07:14:03] Production.INFO: count ==23
[2025-04-09 07:14:03] Production.INFO: ==7085== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:14:03] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-04-09 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867936') start
[2025-04-09 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:14:03] Production.INFO: Account Balance Start.
[2025-04-09 07:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:14:03] Production.INFO: 117
[2025-04-09 07:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867936') end
[2025-04-09 07:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:14:03] Production.INFO: 1
[2025-04-09 07:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:14:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:14:03] Production.INFO: Total Charge 0
[2025-04-09 07:14:03] Production.INFO: CreateAllLog End
[2025-04-09 07:14:04] Production.INFO: ==7089== Releasing lock...
[2025-04-09 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:14:04] Production.INFO: ==7081== Releasing lock...
[2025-04-09 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:14:04] Production.ERROR: done
[2025-04-09 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:14:04] Production.INFO: Account Balance End.
[2025-04-09 07:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:14:04] Production.INFO: ==7085== Releasing lock...
[2025-04-09 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:14:04] Production.ERROR: done
[2025-04-09 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:14:05
[end_date_ymd] => 2025-04-09 07:14:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:14:05' and `end` < '2025-04-09 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-04-09 07:14:10] Production.ERROR: CronJobId end10
[2025-04-09 07:14:10] Production.INFO: ==7083== Releasing lock...
[2025-04-09 07:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:14:13] Production.INFO: call_cost start
[2025-04-09 07:14:13] Production.INFO: call_cost end
[2025-04-09 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:14:14] Production.INFO: ==7079== Releasing lock...
[2025-04-09 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:14:18] Production.INFO: count ==59
[2025-04-09 07:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:14:05 - End Time 2025-04-09 07:14:05
[2025-04-09 07:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867940', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867940', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867940', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867940', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:14:18] Production.INFO: ProcessCDR(1,14867940,1,1,2)
[2025-04-09 07:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867940', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867940', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:14:21] Production.INFO: ==7087== Releasing lock...
[2025-04-09 07:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:14:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:15:01] Production.INFO: ==7192== Lock acquired, processing the job...
[2025-04-09 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:15:01] Production.INFO: neon service started
[2025-04-09 12:15:01] Production.INFO: neon service started
[2025-04-09 12:15:01] Production.INFO: ==7192== Releasing lock...
[2025-04-09 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:15:02] Production.INFO: ==7194== Lock acquired, processing the job...
[2025-04-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:15:02] Production.INFO: ==7196== Lock acquired, processing the job...
[2025-04-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:15:02] Production.INFO: ==7196== Releasing lock...
[2025-04-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:15:02] Production.INFO: ==7194== Releasing lock...
[2025-04-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:15:03] Production.INFO: ==7205== Lock acquired, processing the job...
[2025-04-09 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:15:04] Production.INFO: ==7199== Lock acquired, processing the job...
[2025-04-09 07:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:15:04] Production.INFO: ==7207== Lock acquired, processing the job...
[2025-04-09 07:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:15:04] Production.INFO: Account Balance Start.
[2025-04-09 07:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:15:04] Production.INFO: 117
[2025-04-09 07:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:15:04] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-04-09 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:15:04] Production.INFO: ==7203== Lock acquired, processing the job...
[2025-04-09 07:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:15:04] Production.INFO: Total Charge 0
[2025-04-09 07:15:04] Production.INFO: CreateAllLog End
[2025-04-09 07:15:04] Production.INFO: ==7209== Lock acquired, processing the job...
[2025-04-09 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:15:04] Production.INFO: Account Balance End.
[2025-04-09 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:15:04] Production.INFO: ==7205== Releasing lock...
[2025-04-09 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:15:04] Production.ERROR: done
[2025-04-09 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:15:04] Production.INFO: ==7201== Releasing lock...
[2025-04-09 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:15:04] Production.ERROR: done
[2025-04-09 07:15:05] Production.INFO: count ==12
[2025-04-09 07:15: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-04-09 07:15:05] Production.INFO: count ==23
[2025-04-09 07:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867944') start
[2025-04-09 07:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867944') end
[2025-04-09 07:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:15:05] Production.INFO: 1
[2025-04-09 07:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:15:05] Production.INFO: ==7209== Releasing lock...
[2025-04-09 07:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:15:05
[end_date_ymd] => 2025-04-09 07:15:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:15:05' and `end` < '2025-04-09 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-04-09 07:15:13] Production.ERROR: CronJobId end10
[2025-04-09 07:15:13] Production.INFO: ==7203== Releasing lock...
[2025-04-09 07:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:15:14] Production.INFO: call_cost start
[2025-04-09 07:15:14] Production.INFO: call_cost end
[2025-04-09 07:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:15:15] Production.INFO: ==7199== Releasing lock...
[2025-04-09 07:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:15:19] Production.INFO: count ==59
[2025-04-09 07:15:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:15:05 - End Time 2025-04-09 07:15:05
[2025-04-09 07:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867945', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867945', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867945', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867945', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:15:19] Production.INFO: ProcessCDR(1,14867945,1,1,2)
[2025-04-09 07:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867945', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867945', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:15:22] Production.INFO: ==7207== Releasing lock...
[2025-04-09 07:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:15:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:16:02] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-04-09 12:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:16:02] Production.INFO: neon service started
[2025-04-09 12:16:02] Production.INFO: neon service started
[2025-04-09 12:16:02] Production.INFO: ==7306== Releasing lock...
[2025-04-09 12:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:16:02] Production.INFO: ==7308== Lock acquired, processing the job...
[2025-04-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:16:02] Production.INFO: ==7310== Lock acquired, processing the job...
[2025-04-09 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:16:03] Production.INFO: ==7310== Releasing lock...
[2025-04-09 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:16:03] Production.INFO: ==7308== Releasing lock...
[2025-04-09 07:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:16:04] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:16:04] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:16:04] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:16:04] Production.INFO: Account Balance Start.
[2025-04-09 07:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:16:04] Production.INFO: 117
[2025-04-09 07:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:16:04] Production.INFO: Total Charge 0
[2025-04-09 07:16:04] Production.INFO: CreateAllLog End
[2025-04-09 07:16:04] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:16:04] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:16:04] Production.INFO: ==7325== Lock acquired, processing the job...
[2025-04-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:16:04] Production.ERROR: done
[2025-04-09 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:16:04] Production.INFO: Account Balance End.
[2025-04-09 07:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:16:04] Production.INFO: ==7321== Releasing lock...
[2025-04-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:16:04] Production.INFO: count ==12
[2025-04-09 07:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:16:04] Production.INFO: count ==23
[2025-04-09 07:16:04] Production.ERROR: done
[2025-04-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867949') start
[2025-04-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867949') end
[2025-04-09 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:16:04] Production.INFO: 1
[2025-04-09 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:16:05] Production.INFO: ==7325== Releasing lock...
[2025-04-09 07:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:16:05] Production.INFO: ==7317== Releasing lock...
[2025-04-09 07:16:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:16:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:16:06
[end_date_ymd] => 2025-04-09 07:16:06
[RateCDR] => 1
)
[2025-04-09 07:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:16:06' and `end` < '2025-04-09 07:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:16:13] Production.ERROR: CronJobId end10
[2025-04-09 07:16:13] Production.INFO: ==7319== Releasing lock...
[2025-04-09 07:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:16:16] Production.INFO: call_cost start
[2025-04-09 07:16:16] Production.INFO: call_cost end
[2025-04-09 07:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:16:17] Production.INFO: ==7315== Releasing lock...
[2025-04-09 07:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:16:19] Production.INFO: count ==64
[2025-04-09 07:16:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:16:06 - End Time 2025-04-09 07:16:06
[2025-04-09 07:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867950', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867950', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867950', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867950', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:16:19] Production.INFO: ProcessCDR(1,14867950,1,1,2)
[2025-04-09 07:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867950', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867950', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:16:22] Production.INFO: ==7323== Releasing lock...
[2025-04-09 07:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:16:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:17:01] Production.INFO: ==7383== Lock acquired, processing the job...
[2025-04-09 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:17:01] Production.INFO: neon service started
[2025-04-09 12:17:01] Production.INFO: neon service started
[2025-04-09 12:17:01] Production.INFO: ==7383== Releasing lock...
[2025-04-09 12:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:17:02] Production.INFO: ==7387== Lock acquired, processing the job...
[2025-04-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:17:02] Production.INFO: ==7387== Releasing lock...
[2025-04-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:17:02] Production.INFO: ==7385== Lock acquired, processing the job...
[2025-04-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:17:02] Production.INFO: ==7385== Releasing lock...
[2025-04-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:17:03] Production.INFO: ==7394== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:17:03] Production.INFO: ==7390== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:17:03] Production.INFO: ==7400== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:17:03] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:17:03] Production.INFO: count ==12
[2025-04-09 07:17:03] Production.INFO: ==7396== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07: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-04-09 07:17:03] Production.INFO: count ==23
[2025-04-09 07:17:03] Production.INFO: ==7398== Lock acquired, processing the job...
[2025-04-09 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867951') start
[2025-04-09 07:17:03] Production.INFO: Account Balance Start.
[2025-04-09 07:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:17:03] Production.INFO: 117
[2025-04-09 07:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:17:03] Production.INFO: Total Charge 0
[2025-04-09 07:17:03] Production.INFO: CreateAllLog End
[2025-04-09 07:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867951') end
[2025-04-09 07:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:17:03] Production.INFO: 1
[2025-04-09 07:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:17:04] Production.INFO: ==7400== Releasing lock...
[2025-04-09 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:17:04] Production.INFO: ==7392== Releasing lock...
[2025-04-09 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:17:04] Production.ERROR: done
[2025-04-09 07:17:04] Production.INFO: Account Balance End.
[2025-04-09 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:17:04] Production.INFO: ==7396== Releasing lock...
[2025-04-09 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:17:04] Production.ERROR: done
[2025-04-09 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:17:05
[end_date_ymd] => 2025-04-09 07:17:05
[RateCDR] => 1
)
[2025-04-09 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:17:05' and `end` < '2025-04-09 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:17:12] Production.ERROR: CronJobId end10
[2025-04-09 07:17:12] Production.INFO: ==7394== Releasing lock...
[2025-04-09 07:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:17:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:17:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:17:16] Production.INFO: call_cost start
[2025-04-09 07:17:16] Production.INFO: call_cost end
[2025-04-09 07:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:17:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:17:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:17:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:17:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:17:17] Production.INFO: ==7390== Releasing lock...
[2025-04-09 07:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:17:18] Production.INFO: count ==64
[2025-04-09 07:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:17:05 - End Time 2025-04-09 07:17:05
[2025-04-09 07:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867955', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867955', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867955', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867955', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:17:18] Production.INFO: ProcessCDR(1,14867955,1,1,2)
[2025-04-09 07:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867955', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867955', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:17:22] Production.INFO: ==7398== Releasing lock...
[2025-04-09 07:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:17:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:18:02] Production.INFO: ==7464== Lock acquired, processing the job...
[2025-04-09 12:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:18:02] Production.INFO: neon service started
[2025-04-09 12:18:02] Production.INFO: neon service started
[2025-04-09 12:18:02] Production.INFO: ==7464== Releasing lock...
[2025-04-09 12:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:18:02] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-04-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:18:02] Production.INFO: ==7468== Releasing lock...
[2025-04-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:18:02] Production.INFO: ==7466== Lock acquired, processing the job...
[2025-04-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:18:03] Production.INFO: ==7466== Releasing lock...
[2025-04-09 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:18:04] Production.INFO: ==7471== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:18:04] Production.INFO: ==7475== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:18:04] Production.INFO: ==7479== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:18:04] Production.INFO: ==7473== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:18:04] Production.INFO: ==7477== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:18:04] Production.INFO: ==7481== Lock acquired, processing the job...
[2025-04-09 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:18:04] Production.ERROR: done
[2025-04-09 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:18:04] Production.INFO: Account Balance Start.
[2025-04-09 07:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:18:04] Production.INFO: 117
[2025-04-09 07:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:18:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:18:04] Production.INFO: ==7473== Releasing lock...
[2025-04-09 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:18:05] Production.ERROR: done
[2025-04-09 07:18:05] Production.INFO: Date 2025-04-09
[2025-04-09 07:18:05] Production.INFO: Reseller ==> 0
[2025-04-09 07:18:05] Production.INFO: Total Charge 0
[2025-04-09 07:18:05] Production.INFO: CreateAllLog End
[2025-04-09 07:18:05] Production.INFO: count ==23
[2025-04-09 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867959') start
[2025-04-09 07:18:05] Production.INFO: Account Balance End.
[2025-04-09 07:18:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:18:05] Production.INFO: ==7477== Releasing lock...
[2025-04-09 07:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867959') end
[2025-04-09 07:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:18:05] Production.INFO: 1
[2025-04-09 07:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:18:05] Production.INFO: ==7481== Releasing lock...
[2025-04-09 07:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:18:06
[end_date_ymd] => 2025-04-09 07:18:06
[RateCDR] => 1
)
[2025-04-09 07:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:18:06' and `end` < '2025-04-09 07:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:18:13] Production.ERROR: CronJobId end10
[2025-04-09 07:18:13] Production.INFO: ==7475== Releasing lock...
[2025-04-09 07:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:18:15] Production.INFO: call_cost start
[2025-04-09 07:18:15] Production.INFO: call_cost end
[2025-04-09 07:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:18:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:18:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:18:17] Production.INFO: ==7471== Releasing lock...
[2025-04-09 07:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:18:19] Production.INFO: count ==64
[2025-04-09 07:18:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:18:06 - End Time 2025-04-09 07:18:06
[2025-04-09 07:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867960', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867960', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867960', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867960', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:18:19] Production.INFO: ProcessCDR(1,14867960,1,1,2)
[2025-04-09 07:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867960', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867960', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:18:23] Production.INFO: ==7479== Releasing lock...
[2025-04-09 07:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:18:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:19:01] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-04-09 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:19:01] Production.INFO: neon service started
[2025-04-09 12:19:01] Production.INFO: neon service started
[2025-04-09 12:19:01] Production.INFO: ==7541== Releasing lock...
[2025-04-09 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:19:02] Production.INFO: ==7544== Lock acquired, processing the job...
[2025-04-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:19:02] Production.INFO: ==7546== Lock acquired, processing the job...
[2025-04-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:19:02] Production.INFO: ==7546== Releasing lock...
[2025-04-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:19:02] Production.INFO: ==7544== Releasing lock...
[2025-04-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:19:03] Production.INFO: ==7550== Lock acquired, processing the job...
[2025-04-09 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:19:03] Production.INFO: ==7548== Lock acquired, processing the job...
[2025-04-09 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:19:04] Production.INFO: ==7554== Lock acquired, processing the job...
[2025-04-09 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:19:04] Production.INFO: ==7552== Lock acquired, processing the job...
[2025-04-09 07:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:19:04] Production.INFO: Account Balance Start.
[2025-04-09 07:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:19:04] Production.INFO: 117
[2025-04-09 07:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:19:04] Production.INFO: ==7556== Lock acquired, processing the job...
[2025-04-09 07:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:19:04] Production.INFO: ==7550== Releasing lock...
[2025-04-09 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:19:04] Production.INFO: ==7558== Lock acquired, processing the job...
[2025-04-09 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:19:04] Production.INFO: Total Charge 0
[2025-04-09 07:19:04] Production.INFO: CreateAllLog End
[2025-04-09 07: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-04-09 07:19:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:19:04] Production.ERROR: done
[2025-04-09 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:19:04] Production.INFO: count ==23
[2025-04-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867964') start
[2025-04-09 07:19:05] Production.ERROR: done
[2025-04-09 07:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867964') end
[2025-04-09 07:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:19:05] Production.INFO: 1
[2025-04-09 07:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:19:05] Production.INFO: Account Balance End.
[2025-04-09 07:19:05] Production.INFO: ==7558== Releasing lock...
[2025-04-09 07:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:19:05] Production.INFO: ==7554== Releasing lock...
[2025-04-09 07:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:19:06
[end_date_ymd] => 2025-04-09 07:19:06
[RateCDR] => 1
)
[2025-04-09 07:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:19:06' and `end` < '2025-04-09 07:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:19:13] Production.ERROR: CronJobId end10
[2025-04-09 07:19:13] Production.INFO: ==7552== Releasing lock...
[2025-04-09 07:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:19:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:19:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:19:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:19:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:19:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:19:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:19:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:19:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:19:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:19:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:19:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:19:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:19:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:19:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:19:17] Production.INFO: call_cost start
[2025-04-09 07:19:17] Production.INFO: call_cost end
[2025-04-09 07:19:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:19:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:19:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:19:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:19:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:19:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:19:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:19:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:19:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:19:18] Production.INFO: ==7548== Releasing lock...
[2025-04-09 07:19:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:19:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:19:19] Production.INFO: count ==64
[2025-04-09 07:19:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:19:06 - End Time 2025-04-09 07:19:06
[2025-04-09 07:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867965', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867965', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867965', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867965', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:19:19] Production.INFO: ProcessCDR(1,14867965,1,1,2)
[2025-04-09 07:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867965', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867965', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:19:23] Production.INFO: ==7556== Releasing lock...
[2025-04-09 07:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:19:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:20:02] Production.INFO: ==7620== Lock acquired, processing the job...
[2025-04-09 12:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:20:02] Production.INFO: neon service started
[2025-04-09 12:20:02] Production.INFO: neon service started
[2025-04-09 12:20:02] Production.INFO: ==7620== Releasing lock...
[2025-04-09 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:20:02] Production.INFO: ==7624== Lock acquired, processing the job...
[2025-04-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:20:03] Production.INFO: ==7624== Releasing lock...
[2025-04-09 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:20:03] Production.INFO: ==7626== Lock acquired, processing the job...
[2025-04-09 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:20:03] Production.INFO: ==7626== Releasing lock...
[2025-04-09 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:20:04] Production.INFO: ==7628== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:20:04] Production.INFO: ==7628== Releasing lock...
[2025-04-09 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:20:04] Production.INFO: ==7630== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:20:04] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:20:04] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:20:04] Production.INFO: ==7632== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:20:04] Production.INFO: count ==12
[2025-04-09 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:20:04] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:20:04] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:20:04] Production.ERROR: done
[2025-04-09 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:20:04] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-04-09 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:20:05] Production.INFO: Account Balance Start.
[2025-04-09 07:20:05] Production.INFO: CreateAllLog Start
[2025-04-09 07:20:05] Production.INFO: 117
[2025-04-09 07:20:05] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:20:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:20:05] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:20:05] Production.INFO: Date 2025-04-08
[2025-04-09 07:20:05] Production.INFO: count ==23
[2025-04-09 07:20:05] Production.INFO: Reseller ==> 0
[2025-04-09 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867967') start
[2025-04-09 07:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:20:05] Production.ERROR: done
[2025-04-09 07:20:05] Production.INFO: Date 2025-04-09
[2025-04-09 07:20:05] Production.INFO: Reseller ==> 0
[2025-04-09 07:20:05] Production.INFO: Total Charge 0
[2025-04-09 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867967') end
[2025-04-09 07:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:20:05] Production.INFO: 1
[2025-04-09 07:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:20:05] Production.INFO: CreateAllLog End
[2025-04-09 07:20:05] Production.INFO: ==7643== Releasing lock...
[2025-04-09 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:20:05] Production.INFO: ==7632== Releasing lock...
[2025-04-09 07:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:20:05] Production.ERROR: done
[2025-04-09 07:20:05] Production.INFO: Account Balance End.
[2025-04-09 07:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867971', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:20:05] Production.INFO: ==7637== Releasing lock...
[2025-04-09 07:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:20:06
[end_date_ymd] => 2025-04-09 07:20:06
[RateCDR] => 1
)
[2025-04-09 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:20:06' and `end` < '2025-04-09 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14867971', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:20:10] Production.INFO: ProcessCDR(1,14867971,1,1,2)
[2025-04-09 07:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14867971,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14867971,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:20:11] Production.INFO: ==7641== Releasing lock...
[2025-04-09 07:20:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:20:11] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:20:15] Production.ERROR: CronJobId end10
[2025-04-09 07:20:15] Production.INFO: ==7635== Releasing lock...
[2025-04-09 07:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:20:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:20:18] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:20:18] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:20:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:20:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:20:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:20:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:20:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:20:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:20:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:20:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:20:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:20:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:20:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:20:18] Production.INFO: call_cost start
[2025-04-09 07:20:18] Production.INFO: call_cost end
[2025-04-09 07:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:20:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:20:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:20:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:20:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:20:19] Production.INFO: count ==64
[2025-04-09 07:20:19] Production.INFO: ==7630== Releasing lock...
[2025-04-09 07:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:20:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:20:06 - End Time 2025-04-09 07:20:06
[2025-04-09 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867970', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867970', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867970', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867970', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:20:19] Production.INFO: ProcessCDR(1,14867970,1,1,2)
[2025-04-09 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867970', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867970', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:20:23] Production.INFO: ==7639== Releasing lock...
[2025-04-09 07:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:20:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:21:01] Production.INFO: ==7705== Lock acquired, processing the job...
[2025-04-09 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:21:01] Production.INFO: neon service started
[2025-04-09 12:21:01] Production.INFO: neon service started
[2025-04-09 12:21:01] Production.INFO: ==7705== Releasing lock...
[2025-04-09 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:21:02] Production.INFO: ==7707== Lock acquired, processing the job...
[2025-04-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:21:02] Production.INFO: ==7707== Releasing lock...
[2025-04-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:21:02] Production.INFO: ==7709== Lock acquired, processing the job...
[2025-04-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:21:02] Production.INFO: ==7709== Releasing lock...
[2025-04-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:21:03] Production.INFO: ==7716== Lock acquired, processing the job...
[2025-04-09 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:21:03] Production.INFO: ==7722== Lock acquired, processing the job...
[2025-04-09 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:21:03] Production.INFO: ==7712== Lock acquired, processing the job...
[2025-04-09 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:21:03] Production.INFO: ==7714== Lock acquired, processing the job...
[2025-04-09 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:21:03] Production.INFO: ==7718== Lock acquired, processing the job...
[2025-04-09 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:21:04] Production.INFO: ==7720== Lock acquired, processing the job...
[2025-04-09 07:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:21:04] Production.INFO: Account Balance Start.
[2025-04-09 07:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:21:04] Production.INFO: 117
[2025-04-09 07:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:21:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:21:04] Production.INFO: count ==23
[2025-04-09 07:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867972') start
[2025-04-09 07:21:04] Production.INFO: Total Charge 0
[2025-04-09 07:21:04] Production.INFO: CreateAllLog End
[2025-04-09 07:21:04] Production.INFO: ==7714== Releasing lock...
[2025-04-09 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867972') end
[2025-04-09 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:21:04] Production.INFO: 1
[2025-04-09 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:21:04] Production.INFO: ==7722== Releasing lock...
[2025-04-09 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:21:04] Production.ERROR: done
[2025-04-09 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:21:04] Production.INFO: Account Balance End.
[2025-04-09 07:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:21:04] Production.INFO: ==7718== Releasing lock...
[2025-04-09 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:21:04] Production.ERROR: done
[2025-04-09 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:21:05
[end_date_ymd] => 2025-04-09 07:21:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:21:05' and `end` < '2025-04-09 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-04-09 07:21:14] Production.ERROR: CronJobId end10
[2025-04-09 07:21:14] Production.INFO: ==7716== Releasing lock...
[2025-04-09 07:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:21:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:21:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:21:17] Production.INFO: call_cost start
[2025-04-09 07:21:17] Production.INFO: call_cost end
[2025-04-09 07:21:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:21:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:21:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:21:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:21:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:21:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:21:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:21:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:21:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:21:18] Production.INFO: ==7712== Releasing lock...
[2025-04-09 07:21:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:21:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:21:18] Production.INFO: count ==64
[2025-04-09 07:21:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:21:05 - End Time 2025-04-09 07:21:05
[2025-04-09 07:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867976', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867976', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867976', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867976', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:21:18] Production.INFO: ProcessCDR(1,14867976,1,1,2)
[2025-04-09 07:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867976', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867976', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:21:22] Production.INFO: ==7720== Releasing lock...
[2025-04-09 07:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:21:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:22:02] Production.INFO: ==7781== Lock acquired, processing the job...
[2025-04-09 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:22:02] Production.INFO: neon service started
[2025-04-09 12:22:02] Production.INFO: neon service started
[2025-04-09 12:22:02] Production.INFO: ==7781== Releasing lock...
[2025-04-09 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:22:02] Production.INFO: ==7784== Lock acquired, processing the job...
[2025-04-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:22:03] Production.INFO: ==7784== Releasing lock...
[2025-04-09 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:22:03] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-04-09 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:22:03] Production.INFO: ==7786== Releasing lock...
[2025-04-09 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:22:04] Production.INFO: ==7799== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:22:04] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:22:04] Production.INFO: count ==12
[2025-04-09 07:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:22:04] Production.INFO: count ==23
[2025-04-09 07:22:04] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:22:04] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867977') start
[2025-04-09 07:22:04] Production.INFO: ==7791== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:22:04] Production.INFO: ==7789== Lock acquired, processing the job...
[2025-04-09 07:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:22:04] Production.INFO: Account Balance Start.
[2025-04-09 07:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:22:04] Production.INFO: 117
[2025-04-09 07:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867977') end
[2025-04-09 07:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:22:04] Production.INFO: 1
[2025-04-09 07:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:22:04] Production.INFO: Total Charge 0
[2025-04-09 07:22:04] Production.INFO: CreateAllLog End
[2025-04-09 07:22:04] Production.INFO: ==7799== Releasing lock...
[2025-04-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:22:04] Production.INFO: ==7791== Releasing lock...
[2025-04-09 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:22:04] Production.ERROR: done
[2025-04-09 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:22:05] Production.INFO: Account Balance End.
[2025-04-09 07:22:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:22:05] Production.INFO: ==7795== Releasing lock...
[2025-04-09 07:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:22:05] Production.ERROR: done
[2025-04-09 07:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:22:06
[end_date_ymd] => 2025-04-09 07:22:06
[RateCDR] => 1
)
[2025-04-09 07:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:22:06' and `end` < '2025-04-09 07: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-04-09 07:22:13] Production.ERROR: CronJobId end10
[2025-04-09 07:22:13] Production.INFO: ==7793== Releasing lock...
[2025-04-09 07:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:22:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:22:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:22:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:22:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:22:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:22:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:22:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:22:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:22:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:22:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:22:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:22:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:22:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:22:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:22:16] Production.INFO: call_cost start
[2025-04-09 07:22:16] Production.INFO: call_cost end
[2025-04-09 07:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:22:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:22:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:22:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:22:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:22:17] Production.INFO: ==7789== Releasing lock...
[2025-04-09 07:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:22:20] Production.INFO: count ==64
[2025-04-09 07:22:20] Production.ERROR: pbx CDR StartTime 2025-04-09 04:22:06 - End Time 2025-04-09 07:22:06
[2025-04-09 07:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867981', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867981', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867981', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867981', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:22:20] Production.INFO: ProcessCDR(1,14867981,1,1,2)
[2025-04-09 07:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867981', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867981', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:22:24] Production.INFO: ==7797== Releasing lock...
[2025-04-09 07:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:22:24] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:23:01] Production.INFO: ==7865== Lock acquired, processing the job...
[2025-04-09 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:23:01] Production.INFO: neon service started
[2025-04-09 12:23:01] Production.INFO: neon service started
[2025-04-09 12:23:01] Production.INFO: ==7865== Releasing lock...
[2025-04-09 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:23:02] Production.INFO: ==7867== Lock acquired, processing the job...
[2025-04-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:23:02] Production.INFO: ==7867== Releasing lock...
[2025-04-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:23:02] Production.INFO: ==7869== Lock acquired, processing the job...
[2025-04-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:23:02] Production.INFO: ==7869== Releasing lock...
[2025-04-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:23:03] Production.INFO: ==7871== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:23:03] Production.INFO: ==7873== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:23:03] Production.INFO: ==7875== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:23:03] Production.INFO: ==7878== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:23:03] Production.INFO: ==7880== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:23:03] Production.INFO: ==7882== Lock acquired, processing the job...
[2025-04-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:23:04] Production.INFO: ==7873== Releasing lock...
[2025-04-09 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:23:04] Production.INFO: Account Balance Start.
[2025-04-09 07:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:23:04] Production.INFO: 117
[2025-04-09 07:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:23:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:23:04] Production.INFO: count ==23
[2025-04-09 07:23:04] Production.INFO: Total Charge 0
[2025-04-09 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867985') start
[2025-04-09 07:23:04] Production.INFO: CreateAllLog End
[2025-04-09 07:23:04] Production.ERROR: done
[2025-04-09 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867985') end
[2025-04-09 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:23:04] Production.INFO: 1
[2025-04-09 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:23:04] Production.INFO: ==7882== Releasing lock...
[2025-04-09 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:23:04] Production.ERROR: done
[2025-04-09 07:23:04] Production.INFO: Account Balance End.
[2025-04-09 07:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:23:04] Production.INFO: ==7878== Releasing lock...
[2025-04-09 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:23:05
[end_date_ymd] => 2025-04-09 07:23:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:23:05' and `end` < '2025-04-09 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-04-09 07:23:12] Production.ERROR: CronJobId end10
[2025-04-09 07:23:12] Production.INFO: ==7875== Releasing lock...
[2025-04-09 07:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:23:15] Production.INFO: call_cost start
[2025-04-09 07:23:15] Production.INFO: call_cost end
[2025-04-09 07:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:23:16] Production.INFO: ==7871== Releasing lock...
[2025-04-09 07:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:23:18] Production.INFO: count ==66
[2025-04-09 07:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:23:05 - End Time 2025-04-09 07:23:05
[2025-04-09 07:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867986', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867986', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867986', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867986', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:23:18] Production.INFO: ProcessCDR(1,14867986,1,1,2)
[2025-04-09 07:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867986', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867986', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:23:22] Production.INFO: ==7880== Releasing lock...
[2025-04-09 07:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:23:22] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:24:02] Production.INFO: ==7944== Lock acquired, processing the job...
[2025-04-09 12:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:24:02] Production.INFO: neon service started
[2025-04-09 12:24:02] Production.INFO: neon service started
[2025-04-09 12:24:02] Production.INFO: ==7944== Releasing lock...
[2025-04-09 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:24:03] Production.INFO: ==7946== Lock acquired, processing the job...
[2025-04-09 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:24:03] Production.INFO: ==7949== Lock acquired, processing the job...
[2025-04-09 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:24:03] Production.INFO: ==7949== Releasing lock...
[2025-04-09 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:24:03] Production.INFO: ==7946== Releasing lock...
[2025-04-09 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:24:04] Production.INFO: ==7953== Lock acquired, processing the job...
[2025-04-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:24:04] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-04-09 07:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:24:04] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-04-09 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:24:04] Production.INFO: ==7951== Lock acquired, processing the job...
[2025-04-09 07:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:24:04] Production.INFO: ==7961== Lock acquired, processing the job...
[2025-04-09 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:24:04] Production.INFO: Account Balance Start.
[2025-04-09 07:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:24:04] Production.INFO: 117
[2025-04-09 07:24:04] Production.INFO: ==7953== Releasing lock...
[2025-04-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:24:05] Production.INFO: Date 2025-04-08
[2025-04-09 07:24:05] Production.INFO: Reseller ==> 0
[2025-04-09 07:24: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-04-09 07:24:05] Production.INFO: count ==12
[2025-04-09 07:24:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:24:05] Production.INFO: Date 2025-04-09
[2025-04-09 07:24:05] Production.INFO: count ==23
[2025-04-09 07:24:05] Production.INFO: Reseller ==> 0
[2025-04-09 07:24:05] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-04-09 07:24:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867990') start
[2025-04-09 07:24:05] Production.INFO: Total Charge 0
[2025-04-09 07:24:05] Production.INFO: CreateAllLog End
[2025-04-09 07:24:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14867990') end
[2025-04-09 07:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:24:05] Production.INFO: 1
[2025-04-09 07:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:24:05] Production.INFO: ==7961== Releasing lock...
[2025-04-09 07:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:24:05] Production.INFO: Account Balance End.
[2025-04-09 07:24:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:24:05] Production.INFO: ==7957== Releasing lock...
[2025-04-09 07:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:24:05] Production.ERROR: done
[2025-04-09 07:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:24:05] Production.ERROR: done
[2025-04-09 07:24:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:24:07
[end_date_ymd] => 2025-04-09 07:24:07
[RateCDR] => 1
)
[2025-04-09 07:24:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:24:07' and `end` < '2025-04-09 07:24:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:24:14] Production.ERROR: CronJobId end10
[2025-04-09 07:24:14] Production.INFO: ==7955== Releasing lock...
[2025-04-09 07:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:24:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:24:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:24:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:24:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:24:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:24:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:24:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:24:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:24:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:24:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:24:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:24:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:24:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:24:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:24:16] Production.INFO: call_cost start
[2025-04-09 07:24:16] Production.INFO: call_cost end
[2025-04-09 07:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:24:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:24:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:24:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:24:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:24:17] Production.INFO: ==7951== Releasing lock...
[2025-04-09 07:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:24:19] Production.INFO: count ==66
[2025-04-09 07:24:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:24:07 - End Time 2025-04-09 07:24:07
[2025-04-09 07:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867991', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867991', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867991', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867991', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:24:19] Production.INFO: ProcessCDR(1,14867991,1,1,2)
[2025-04-09 07:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867991', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867991', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:24:23] Production.INFO: ==7959== Releasing lock...
[2025-04-09 07:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:24:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:25:02] Production.INFO: ==8023== Lock acquired, processing the job...
[2025-04-09 12:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:25:02] Production.INFO: neon service started
[2025-04-09 12:25:02] Production.INFO: neon service started
[2025-04-09 12:25:02] Production.INFO: ==8023== Releasing lock...
[2025-04-09 12:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:25:02] Production.INFO: ==8025== Lock acquired, processing the job...
[2025-04-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:25:02] Production.INFO: ==8025== Releasing lock...
[2025-04-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:25:02] Production.INFO: ==8027== Lock acquired, processing the job...
[2025-04-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:25:02] Production.INFO: ==8027== Releasing lock...
[2025-04-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:25:03] Production.INFO: ==8029== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:25:03] Production.INFO: ==8037== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:25:03] Production.INFO: ==8031== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:25:03] Production.INFO: ==8035== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:25:03] Production.INFO: ==8033== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:25:03] Production.INFO: ==8039== Lock acquired, processing the job...
[2025-04-09 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:25:03] Production.ERROR: done
[2025-04-09 07:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:25:03] Production.INFO: Account Balance Start.
[2025-04-09 07:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:25:03] Production.INFO: 117
[2025-04-09 07:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:25:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:25:04] Production.INFO: count ==23
[2025-04-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867995') start
[2025-04-09 07:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:25:04] Production.ERROR: done
[2025-04-09 07:25:04] Production.INFO: Total Charge 0
[2025-04-09 07:25:04] Production.INFO: CreateAllLog End
[2025-04-09 07:25:04] Production.INFO: ==8031== Releasing lock...
[2025-04-09 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14867995') end
[2025-04-09 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:25:04] Production.INFO: 1
[2025-04-09 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:25:04] Production.INFO: Account Balance End.
[2025-04-09 07:25:04] Production.INFO: ==8039== Releasing lock...
[2025-04-09 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:25:04] Production.INFO: ==8035== Releasing lock...
[2025-04-09 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:25:05
[end_date_ymd] => 2025-04-09 07:25:05
[RateCDR] => 1
)
[2025-04-09 07:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:25:05' and `end` < '2025-04-09 07:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:25:12] Production.ERROR: CronJobId end10
[2025-04-09 07:25:12] Production.INFO: ==8033== Releasing lock...
[2025-04-09 07:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:25:15] Production.INFO: call_cost start
[2025-04-09 07:25:15] Production.INFO: call_cost end
[2025-04-09 07:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:25:16] Production.INFO: ==8029== Releasing lock...
[2025-04-09 07:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:25:18] Production.INFO: count ==66
[2025-04-09 07:25:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:25:05 - End Time 2025-04-09 07:25:05
[2025-04-09 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867996', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14867996', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867996', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14867996', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:25:18] Production.INFO: ProcessCDR(1,14867996,1,1,2)
[2025-04-09 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14867996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14867996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14867996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14867996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867996', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14867996', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:25:21] Production.INFO: ==8037== Releasing lock...
[2025-04-09 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:26:01] Production.INFO: ==8144== Lock acquired, processing the job...
[2025-04-09 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:26:01] Production.INFO: neon service started
[2025-04-09 12:26:01] Production.INFO: neon service started
[2025-04-09 12:26:01] Production.INFO: ==8144== Releasing lock...
[2025-04-09 12:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:26:01] Production.INFO: ==8146== Lock acquired, processing the job...
[2025-04-09 07:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:26:02] Production.INFO: ==8146== Releasing lock...
[2025-04-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:26:02] Production.INFO: ==8148== Lock acquired, processing the job...
[2025-04-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:26:02] Production.INFO: ==8148== Releasing lock...
[2025-04-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:26:02] Production.INFO: ==8152== Lock acquired, processing the job...
[2025-04-09 07:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:26:03] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:26:03] Production.INFO: count ==12
[2025-04-09 07:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:26:03] Production.INFO: count ==23
[2025-04-09 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867998') start
[2025-04-09 07:26:03] Production.INFO: ==8154== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:26:03] Production.INFO: ==8156== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14867998') end
[2025-04-09 07:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:26:03] Production.INFO: 1
[2025-04-09 07:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:26:03] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:26:03] Production.INFO: ==8160== Lock acquired, processing the job...
[2025-04-09 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:26:03] Production.INFO: Account Balance Start.
[2025-04-09 07:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:26:03] Production.INFO: ==8162== Releasing lock...
[2025-04-09 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:26:03] Production.INFO: 117
[2025-04-09 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:26:03] Production.INFO: Total Charge 0
[2025-04-09 07:26:03] Production.INFO: CreateAllLog End
[2025-04-09 07:26:03] Production.INFO: ==8154== Releasing lock...
[2025-04-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:26:04] Production.ERROR: done
[2025-04-09 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:26:04] Production.INFO: Account Balance End.
[2025-04-09 07:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:26:04] Production.INFO: ==8158== Releasing lock...
[2025-04-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:26:04] Production.ERROR: done
[2025-04-09 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:26:05
[end_date_ymd] => 2025-04-09 07:26:05
[RateCDR] => 1
)
[2025-04-09 07:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:26:05' and `end` < '2025-04-09 07:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:26:12] Production.ERROR: CronJobId end10
[2025-04-09 07:26:12] Production.INFO: ==8156== Releasing lock...
[2025-04-09 07:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:26:14] Production.INFO: call_cost start
[2025-04-09 07:26:14] Production.INFO: call_cost end
[2025-04-09 07:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:26:15] Production.INFO: ==8152== Releasing lock...
[2025-04-09 07:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:26:18] Production.INFO: count ==71
[2025-04-09 07:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:26:05 - End Time 2025-04-09 07:26:05
[2025-04-09 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868001', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868001', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868001', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868001', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:26:18] Production.INFO: ProcessCDR(1,14868001,1,1,2)
[2025-04-09 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868001', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868001', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:26:21] Production.INFO: ==8160== Releasing lock...
[2025-04-09 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:27:01] Production.INFO: ==8224== Lock acquired, processing the job...
[2025-04-09 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:27:01] Production.INFO: neon service started
[2025-04-09 12:27:01] Production.INFO: neon service started
[2025-04-09 12:27:01] Production.INFO: ==8224== Releasing lock...
[2025-04-09 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:27:02] Production.INFO: ==8226== Lock acquired, processing the job...
[2025-04-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:27:02] Production.INFO: ==8228== Lock acquired, processing the job...
[2025-04-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:27:02] Production.INFO: ==8228== Releasing lock...
[2025-04-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:27:02] Production.INFO: ==8226== Releasing lock...
[2025-04-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:27:03] Production.INFO: ==8233== Lock acquired, processing the job...
[2025-04-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:27:03] Production.INFO: ==8237== Lock acquired, processing the job...
[2025-04-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:27:03] Production.INFO: Account Balance Start.
[2025-04-09 07:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:27:03] Production.INFO: 117
[2025-04-09 07:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:27:03] Production.INFO: ==8231== Lock acquired, processing the job...
[2025-04-09 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:27:03] Production.INFO: Total Charge 0
[2025-04-09 07:27:03] Production.INFO: ==8235== Lock acquired, processing the job...
[2025-04-09 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:27:03] Production.INFO: CreateAllLog End
[2025-04-09 07:27:04] Production.INFO: ==8239== Lock acquired, processing the job...
[2025-04-09 07:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:27:04] Production.INFO: ==8241== Lock acquired, processing the job...
[2025-04-09 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:27:04] Production.INFO: Account Balance End.
[2025-04-09 07:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:27:04] Production.INFO: count ==12
[2025-04-09 07:27:04] Production.INFO: ==8233== Releasing lock...
[2025-04-09 07:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:27:04] Production.INFO: count ==23
[2025-04-09 07:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:27:04] Production.INFO: ==8237== Releasing lock...
[2025-04-09 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868005') start
[2025-04-09 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868005') end
[2025-04-09 07:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:27:04] Production.INFO: 1
[2025-04-09 07:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:27:04] Production.INFO: ==8241== Releasing lock...
[2025-04-09 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:27:04] Production.ERROR: done
[2025-04-09 07:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:27:04] Production.ERROR: done
[2025-04-09 07:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:27:05
[end_date_ymd] => 2025-04-09 07:27:05
[RateCDR] => 1
)
[2025-04-09 07:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:27:05' and `end` < '2025-04-09 07:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:27:11] Production.ERROR: CronJobId end10
[2025-04-09 07:27:11] Production.INFO: ==8235== Releasing lock...
[2025-04-09 07:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:27:14] Production.INFO: call_cost start
[2025-04-09 07:27:14] Production.INFO: call_cost end
[2025-04-09 07:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:27:15] Production.INFO: ==8231== Releasing lock...
[2025-04-09 07:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:27:18] Production.INFO: count ==71
[2025-04-09 07:27:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:27:05 - End Time 2025-04-09 07:27:05
[2025-04-09 07:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868006', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868006', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868006', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868006', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:27:18] Production.INFO: ProcessCDR(1,14868006,1,1,2)
[2025-04-09 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868006', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868006', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:27:21] Production.INFO: ==8239== Releasing lock...
[2025-04-09 07:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:27:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:28:02] Production.INFO: ==8304== Lock acquired, processing the job...
[2025-04-09 12:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:28:02] Production.INFO: neon service started
[2025-04-09 12:28:02] Production.INFO: neon service started
[2025-04-09 12:28:02] Production.INFO: ==8304== Releasing lock...
[2025-04-09 12:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:28:02] Production.INFO: ==8308== Lock acquired, processing the job...
[2025-04-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:28:02] Production.INFO: ==8308== Releasing lock...
[2025-04-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:28:02] Production.INFO: ==8306== Lock acquired, processing the job...
[2025-04-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:28:03] Production.INFO: ==8306== Releasing lock...
[2025-04-09 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:28:03] Production.INFO: ==8311== Lock acquired, processing the job...
[2025-04-09 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:28:03] Production.INFO: ==8315== Lock acquired, processing the job...
[2025-04-09 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:28:03] Production.INFO: ==8317== Lock acquired, processing the job...
[2025-04-09 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:28:04] Production.INFO: Account Balance Start.
[2025-04-09 07:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:28:04] Production.INFO: 117
[2025-04-09 07:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:28:04] Production.INFO: ==8313== Lock acquired, processing the job...
[2025-04-09 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:28:04] Production.INFO: Total Charge 0
[2025-04-09 07:28:04] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-04-09 07:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:28:04] Production.INFO: CreateAllLog End
[2025-04-09 07:28:04] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-04-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:28:04] Production.INFO: ==8313== Releasing lock...
[2025-04-09 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:28:04] Production.INFO: count ==12
[2025-04-09 07:28:04] Production.INFO: Account Balance End.
[2025-04-09 07:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:28:04] Production.INFO: ==8317== Releasing lock...
[2025-04-09 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:28:04] Production.INFO: count ==23
[2025-04-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868010') start
[2025-04-09 07:28:04] Production.ERROR: done
[2025-04-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868010') end
[2025-04-09 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:28:04] Production.INFO: 1
[2025-04-09 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:28:04] Production.INFO: ==8321== Releasing lock...
[2025-04-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:28:05] Production.ERROR: done
[2025-04-09 07:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:28:05
[end_date_ymd] => 2025-04-09 07:28:05
[RateCDR] => 1
)
[2025-04-09 07:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:28:05' and `end` < '2025-04-09 07:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:28:11] Production.ERROR: CronJobId end10
[2025-04-09 07:28:11] Production.INFO: ==8315== Releasing lock...
[2025-04-09 07:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:28:13] Production.INFO: call_cost start
[2025-04-09 07:28:13] Production.INFO: call_cost end
[2025-04-09 07:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:28:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:28:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:28:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:28:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:28:14] Production.INFO: ==8311== Releasing lock...
[2025-04-09 07:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:28:18] Production.INFO: count ==71
[2025-04-09 07:28:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:28:05 - End Time 2025-04-09 07:28:05
[2025-04-09 07:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868011', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868011', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868011', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868011', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:28:18] Production.INFO: ProcessCDR(1,14868011,1,1,2)
[2025-04-09 07:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868011', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868011', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:28:21] Production.INFO: ==8319== Releasing lock...
[2025-04-09 07:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:28:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:29:01] Production.INFO: ==8385== Lock acquired, processing the job...
[2025-04-09 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:29:01] Production.INFO: neon service started
[2025-04-09 12:29:01] Production.INFO: neon service started
[2025-04-09 12:29:01] Production.INFO: ==8385== Releasing lock...
[2025-04-09 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:29:02] Production.INFO: ==8389== Lock acquired, processing the job...
[2025-04-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:29:02] Production.INFO: ==8389== Releasing lock...
[2025-04-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:29:02] Production.INFO: ==8387== Lock acquired, processing the job...
[2025-04-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:29:02] Production.INFO: ==8387== Releasing lock...
[2025-04-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:29:03] Production.INFO: ==8394== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:29:03] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:29:03] Production.INFO: ==8398== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:29:03] Production.INFO: ==8396== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:29:03] Production.INFO: ==8400== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:29:03] Production.INFO: Account Balance Start.
[2025-04-09 07:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:29:03] Production.INFO: 117
[2025-04-09 07:29:03] Production.INFO: ==8402== Lock acquired, processing the job...
[2025-04-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:29:03] Production.INFO: ==8394== Releasing lock...
[2025-04-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:29:04] Production.INFO: Total Charge 0
[2025-04-09 07:29:04] Production.INFO: CreateAllLog End
[2025-04-09 07:29:04] Production.INFO: count ==12
[2025-04-09 07:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:29:04] Production.INFO: count ==23
[2025-04-09 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868015') start
[2025-04-09 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868015') end
[2025-04-09 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:29:04] Production.INFO: 1
[2025-04-09 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:29:04] Production.INFO: Account Balance End.
[2025-04-09 07:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:29:04] Production.INFO: ==8398== Releasing lock...
[2025-04-09 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:29:04] Production.INFO: ==8402== Releasing lock...
[2025-04-09 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:29:04] Production.ERROR: done
[2025-04-09 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:29:04] Production.ERROR: done
[2025-04-09 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:29:05
[end_date_ymd] => 2025-04-09 07:29:05
[RateCDR] => 1
)
[2025-04-09 07:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:29:05' and `end` < '2025-04-09 07:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:29:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-09 07:29:12] Production.ERROR: CronJobId end10
[2025-04-09 07:29:12] Production.INFO: ==8396== Releasing lock...
[2025-04-09 07:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:29:14] Production.INFO: call_cost start
[2025-04-09 07:29:14] Production.INFO: call_cost end
[2025-04-09 07:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:29:15] Production.INFO: ==8392== Releasing lock...
[2025-04-09 07:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:29:18] Production.INFO: count ==73
[2025-04-09 07:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:29:05 - End Time 2025-04-09 07:29:05
[2025-04-09 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868016', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868016', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868016', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868016', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:29:18] Production.INFO: ProcessCDR(1,14868016,1,1,2)
[2025-04-09 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868016', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868016', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:29:21] Production.INFO: ==8400== Releasing lock...
[2025-04-09 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:29:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:30:02] Production.INFO: ==8472== Lock acquired, processing the job...
[2025-04-09 12:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:30:02] Production.INFO: neon service started
[2025-04-09 12:30:02] Production.INFO: neon service started
[2025-04-09 12:30:02] Production.INFO: ==8472== Releasing lock...
[2025-04-09 12:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:30:02] Production.INFO: ==8476== Lock acquired, processing the job...
[2025-04-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:30:02] Production.INFO: ==8476== Releasing lock...
[2025-04-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:30:02] Production.INFO: ==8474== Lock acquired, processing the job...
[2025-04-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:30:03] Production.INFO: ==8474== Releasing lock...
[2025-04-09 07:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:30:04] Production.INFO: ==8478== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:30:04] Production.INFO: ==8480== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:30:04] Production.INFO: ==8478== Releasing lock...
[2025-04-09 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:30:04] Production.INFO: ==8484== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:30:04] Production.INFO: ==8482== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:30:04] Production.INFO: ==8486== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:30:04] Production.INFO: Account Balance Start.
[2025-04-09 07:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:30:04] Production.INFO: 117
[2025-04-09 07:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:30:04] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:30:04] Production.INFO: Total Charge 0
[2025-04-09 07:30:04] Production.INFO: ==8493== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:30:04] Production.INFO: CreateAllLog End
[2025-04-09 07:30:04] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-04-09 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:30:04] Production.INFO: ==8482== Releasing lock...
[2025-04-09 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:30:04] Production.INFO: count ==12
[2025-04-09 07:30:04] Production.ERROR: done
[2025-04-09 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:30:04] Production.INFO: count ==23
[2025-04-09 07:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868020') start
[2025-04-09 07:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868020') end
[2025-04-09 07:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:30:05] Production.INFO: 1
[2025-04-09 07:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:30:05] Production.INFO: Account Balance End.
[2025-04-09 07:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:30:05] Production.INFO: ==8486== Releasing lock...
[2025-04-09 07:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:30:05] Production.INFO: ==8493== Releasing lock...
[2025-04-09 07:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:30:05] Production.ERROR: done
[2025-04-09 07:30:05] Production.ERROR: done
[2025-04-09 07:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868022', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:30:06
[end_date_ymd] => 2025-04-09 07:30:06
[RateCDR] => 1
)
[2025-04-09 07:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:30:06' and `end` < '2025-04-09 07:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868022', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:30:10] Production.INFO: ProcessCDR(1,14868022,1,1,2)
[2025-04-09 07:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868022,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868022,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:30:10] Production.INFO: ==8490== Releasing lock...
[2025-04-09 07:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:30:14] Production.ERROR: CronJobId end10
[2025-04-09 07:30:14] Production.INFO: ==8484== Releasing lock...
[2025-04-09 07:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:30:16] Production.INFO: call_cost start
[2025-04-09 07:30:16] Production.INFO: call_cost end
[2025-04-09 07:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:30:17] Production.INFO: ==8480== Releasing lock...
[2025-04-09 07:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:30:19] Production.INFO: count ==76
[2025-04-09 07:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:30:06 - End Time 2025-04-09 07:30:06
[2025-04-09 07:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868021', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868021', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868021', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868021', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:30:19] Production.INFO: ProcessCDR(1,14868021,1,1,2)
[2025-04-09 07:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868021', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868021', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:30:22] Production.INFO: ==8488== Releasing lock...
[2025-04-09 07:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:31:01] Production.INFO: ==8552== Lock acquired, processing the job...
[2025-04-09 12:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:31:01] Production.INFO: neon service started
[2025-04-09 12:31:01] Production.INFO: neon service started
[2025-04-09 12:31:01] Production.INFO: ==8552== Releasing lock...
[2025-04-09 12:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:31:02] Production.INFO: ==8554== Lock acquired, processing the job...
[2025-04-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:31:02] Production.INFO: ==8556== Lock acquired, processing the job...
[2025-04-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:31:02] Production.INFO: ==8556== Releasing lock...
[2025-04-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:31:02] Production.INFO: ==8554== Releasing lock...
[2025-04-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:31:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:31:03] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:31:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:31:03] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:31:03] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:31:03] Production.INFO: ==8569== Lock acquired, processing the job...
[2025-04-09 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:31:03] Production.INFO: ==8561== Releasing lock...
[2025-04-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:31:03] Production.INFO: Account Balance Start.
[2025-04-09 07:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:31:03] Production.INFO: 117
[2025-04-09 07:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:31:03] Production.ERROR: done
[2025-04-09 07:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:31:03] Production.INFO: count ==12
[2025-04-09 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-04-09 07:31:03] Production.INFO: count ==23
[2025-04-09 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868026') start
[2025-04-09 07:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:31:04] Production.INFO: Total Charge 0
[2025-04-09 07:31:04] Production.INFO: CreateAllLog End
[2025-04-09 07:31:04] Production.ERROR: done
[2025-04-09 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868026') end
[2025-04-09 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:31:04] Production.INFO: 1
[2025-04-09 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:31:04] Production.INFO: ==8569== Releasing lock...
[2025-04-09 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:31:04] Production.INFO: Account Balance End.
[2025-04-09 07:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:31:04] Production.INFO: ==8565== Releasing lock...
[2025-04-09 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:31:05
[end_date_ymd] => 2025-04-09 07:31:05
[RateCDR] => 1
)
[2025-04-09 07:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:31:05' and `end` < '2025-04-09 07:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:31:11] Production.ERROR: CronJobId end10
[2025-04-09 07:31:11] Production.INFO: ==8563== Releasing lock...
[2025-04-09 07:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:31:14] Production.INFO: call_cost start
[2025-04-09 07:31:14] Production.INFO: call_cost end
[2025-04-09 07:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:31:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:31:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:31:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:31:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:31:14] Production.INFO: ==8559== Releasing lock...
[2025-04-09 07:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:31:18] Production.INFO: count ==74
[2025-04-09 07:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:31:05 - End Time 2025-04-09 07:31:05
[2025-04-09 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868027', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868027', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868027', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868027', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:31:18] Production.INFO: ProcessCDR(1,14868027,1,1,2)
[2025-04-09 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868027', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868027', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:31:21] Production.INFO: ==8567== Releasing lock...
[2025-04-09 07:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:31:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:32:02] Production.INFO: ==8631== Lock acquired, processing the job...
[2025-04-09 12:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:32:02] Production.INFO: neon service started
[2025-04-09 12:32:02] Production.INFO: neon service started
[2025-04-09 12:32:02] Production.INFO: ==8631== Releasing lock...
[2025-04-09 12:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:32:02] Production.INFO: ==8634== Lock acquired, processing the job...
[2025-04-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:32:02] Production.INFO: ==8634== Releasing lock...
[2025-04-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:32:02] Production.INFO: ==8636== Lock acquired, processing the job...
[2025-04-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:32:02] Production.INFO: ==8636== Releasing lock...
[2025-04-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:32:03] Production.INFO: ==8642== Lock acquired, processing the job...
[2025-04-09 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:32:03] Production.INFO: ==8648== Lock acquired, processing the job...
[2025-04-09 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:32:03] Production.INFO: ==8638== Lock acquired, processing the job...
[2025-04-09 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:32:03] Production.INFO: ==8640== Lock acquired, processing the job...
[2025-04-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:32:03] Production.INFO: count ==12
[2025-04-09 07:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:32:03] Production.INFO: count ==23
[2025-04-09 07:32:03] Production.INFO: ==8644== Lock acquired, processing the job...
[2025-04-09 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868028') start
[2025-04-09 07:32:04] Production.INFO: ==8646== Lock acquired, processing the job...
[2025-04-09 07:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868028') end
[2025-04-09 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:32:04] Production.INFO: 1
[2025-04-09 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:32:04] Production.INFO: Account Balance Start.
[2025-04-09 07:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:32:04] Production.INFO: 117
[2025-04-09 07:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:32:04] Production.INFO: ==8648== Releasing lock...
[2025-04-09 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:32:04] Production.INFO: Total Charge 0
[2025-04-09 07:32:04] Production.INFO: CreateAllLog End
[2025-04-09 07:32:04] Production.ERROR: done
[2025-04-09 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:32:04] Production.INFO: Account Balance End.
[2025-04-09 07:32:04] Production.INFO: ==8640== Releasing lock...
[2025-04-09 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:32:04] Production.ERROR: done
[2025-04-09 07:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:32:04] Production.INFO: ==8644== Releasing lock...
[2025-04-09 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:32:05
[end_date_ymd] => 2025-04-09 07:32:05
[RateCDR] => 1
)
[2025-04-09 07:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:32:05' and `end` < '2025-04-09 07:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:32:12] Production.ERROR: CronJobId end10
[2025-04-09 07:32:12] Production.INFO: ==8642== Releasing lock...
[2025-04-09 07:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:32:14] Production.INFO: call_cost start
[2025-04-09 07:32:14] Production.INFO: call_cost end
[2025-04-09 07:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:32:15] Production.INFO: ==8638== Releasing lock...
[2025-04-09 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:32:18] Production.INFO: count ==74
[2025-04-09 07:32:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:32:05 - End Time 2025-04-09 07:32:05
[2025-04-09 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868032', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868032', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868032', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868032', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:32:18] Production.INFO: ProcessCDR(1,14868032,1,1,2)
[2025-04-09 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868032', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868032', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:32:21] Production.INFO: ==8646== Releasing lock...
[2025-04-09 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:32:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:33:01] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-04-09 12:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:33:01] Production.INFO: neon service started
[2025-04-09 12:33:01] Production.INFO: neon service started
[2025-04-09 12:33:01] Production.INFO: ==8713== Releasing lock...
[2025-04-09 12:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:33:01] Production.INFO: ==8715== Lock acquired, processing the job...
[2025-04-09 07:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:33:02] Production.INFO: ==8715== Releasing lock...
[2025-04-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:33:02] Production.INFO: ==8717== Lock acquired, processing the job...
[2025-04-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:33:02] Production.INFO: ==8717== Releasing lock...
[2025-04-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:33:02] Production.INFO: ==8720== Lock acquired, processing the job...
[2025-04-09 07:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:33:03] Production.INFO: ==8722== Lock acquired, processing the job...
[2025-04-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:33:03] Production.INFO: ==8730== Lock acquired, processing the job...
[2025-04-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:33:03] Production.INFO: ==8724== Lock acquired, processing the job...
[2025-04-09 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:33:03] Production.INFO: ==8726== Lock acquired, processing the job...
[2025-04-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:33:03] Production.INFO: ==8728== Lock acquired, processing the job...
[2025-04-09 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:33:03] Production.INFO: Account Balance Start.
[2025-04-09 07:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:33:03] Production.INFO: count ==12
[2025-04-09 07:33:03] Production.INFO: 117
[2025-04-09 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-04-09 07:33:03] Production.INFO: count ==23
[2025-04-09 07:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868035') start
[2025-04-09 07:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:33:03] Production.INFO: Total Charge 0
[2025-04-09 07:33:03] Production.INFO: CreateAllLog End
[2025-04-09 07:33:03] Production.INFO: ==8722== Releasing lock...
[2025-04-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868035') end
[2025-04-09 07:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:33:03] Production.INFO: 1
[2025-04-09 07:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:33:03] Production.INFO: ==8730== Releasing lock...
[2025-04-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:33:03] Production.ERROR: done
[2025-04-09 07:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:33:03] Production.INFO: Account Balance End.
[2025-04-09 07:33:03] Production.ERROR: done
[2025-04-09 07:33:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:33:03] Production.INFO: ==8726== Releasing lock...
[2025-04-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:33:05
[end_date_ymd] => 2025-04-09 07:33:05
[RateCDR] => 1
)
[2025-04-09 07:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:33:05' and `end` < '2025-04-09 07:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:33:11] Production.ERROR: CronJobId end10
[2025-04-09 07:33:11] Production.INFO: ==8724== Releasing lock...
[2025-04-09 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:33:13] Production.INFO: call_cost start
[2025-04-09 07:33:13] Production.INFO: call_cost end
[2025-04-09 07:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:33:14] Production.INFO: ==8720== Releasing lock...
[2025-04-09 07:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:33:17] Production.INFO: count ==76
[2025-04-09 07:33:17] Production.ERROR: pbx CDR StartTime 2025-04-09 04:33:05 - End Time 2025-04-09 07:33:05
[2025-04-09 07:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868037', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868037', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868037', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868037', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:33:17] Production.INFO: ProcessCDR(1,14868037,1,1,2)
[2025-04-09 07:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868037', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868037', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:33:21] Production.INFO: ==8728== Releasing lock...
[2025-04-09 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:33:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:34:01] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-04-09 12:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:34:01] Production.INFO: neon service started
[2025-04-09 12:34:01] Production.INFO: neon service started
[2025-04-09 12:34:01] Production.INFO: ==8794== Releasing lock...
[2025-04-09 12:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:34:02] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-04-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:34:02] Production.INFO: ==8796== Releasing lock...
[2025-04-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:34:02] Production.INFO: ==8798== Lock acquired, processing the job...
[2025-04-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:34:02] Production.INFO: ==8798== Releasing lock...
[2025-04-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:34:03] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:34:03] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:34:03] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:34:03] Production.INFO: Account Balance Start.
[2025-04-09 07:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:34:03] Production.INFO: 117
[2025-04-09 07:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:34:03] Production.INFO: ==8805== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:34:03] Production.INFO: Total Charge 0
[2025-04-09 07:34:03] Production.INFO: CreateAllLog End
[2025-04-09 07:34:03] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:34:03] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-04-09 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:34:03] Production.INFO: Account Balance End.
[2025-04-09 07:34:03] Production.INFO: ==8803== Releasing lock...
[2025-04-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:34:04] Production.INFO: ==8807== Releasing lock...
[2025-04-09 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:34:04] Production.ERROR: done
[2025-04-09 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:34:04] Production.INFO: count ==12
[2025-04-09 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:34:04] Production.INFO: count ==23
[2025-04-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868041') start
[2025-04-09 07:34:04] Production.ERROR: done
[2025-04-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868041') end
[2025-04-09 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:34:04] Production.INFO: 1
[2025-04-09 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:34:04] Production.INFO: ==8811== Releasing lock...
[2025-04-09 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:34:05
[end_date_ymd] => 2025-04-09 07:34:05
[RateCDR] => 1
)
[2025-04-09 07:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:34:05' and `end` < '2025-04-09 07:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:34:11] Production.ERROR: CronJobId end10
[2025-04-09 07:34:11] Production.INFO: ==8805== Releasing lock...
[2025-04-09 07:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:34:14] Production.INFO: call_cost start
[2025-04-09 07:34:14] Production.INFO: call_cost end
[2025-04-09 07:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:34:15] Production.INFO: ==8801== Releasing lock...
[2025-04-09 07:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:34:17] Production.INFO: count ==81
[2025-04-09 07:34:17] Production.ERROR: pbx CDR StartTime 2025-04-09 04:34:05 - End Time 2025-04-09 07:34:05
[2025-04-09 07:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868042', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868042', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868042', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868042', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:34:17] Production.INFO: ProcessCDR(1,14868042,1,1,2)
[2025-04-09 07:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868042', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868042', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:34:21] Production.INFO: ==8809== Releasing lock...
[2025-04-09 07:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:34:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:35:02] Production.INFO: ==8878== Lock acquired, processing the job...
[2025-04-09 12:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:35:02] Production.INFO: neon service started
[2025-04-09 12:35:02] Production.INFO: neon service started
[2025-04-09 12:35:02] Production.INFO: ==8878== Releasing lock...
[2025-04-09 12:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:35:02] Production.INFO: ==8882== Lock acquired, processing the job...
[2025-04-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:35:02] Production.INFO: ==8882== Releasing lock...
[2025-04-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:35:02] Production.INFO: ==8880== Lock acquired, processing the job...
[2025-04-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:35:03] Production.INFO: ==8880== Releasing lock...
[2025-04-09 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:35:03] Production.INFO: ==8885== Lock acquired, processing the job...
[2025-04-09 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:35:03] Production.INFO: ==8887== Lock acquired, processing the job...
[2025-04-09 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:35:04] Production.INFO: ==8891== Lock acquired, processing the job...
[2025-04-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:35:04] Production.INFO: Account Balance Start.
[2025-04-09 07:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:35:04] Production.INFO: 117
[2025-04-09 07:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:35:04] Production.INFO: ==8893== Lock acquired, processing the job...
[2025-04-09 07:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:35:04] Production.INFO: ==8889== Lock acquired, processing the job...
[2025-04-09 07:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:35:04] Production.INFO: Total Charge 0
[2025-04-09 07:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:35:04] Production.INFO: CreateAllLog End
[2025-04-09 07:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:35:04] Production.INFO: ==8895== Lock acquired, processing the job...
[2025-04-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:35:04] Production.INFO: ==8887== Releasing lock...
[2025-04-09 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:35:04] Production.INFO: count ==12
[2025-04-09 07:35:04] Production.ERROR: done
[2025-04-09 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:35:04] Production.INFO: count ==23
[2025-04-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868046') start
[2025-04-09 07:35:04] Production.INFO: Account Balance End.
[2025-04-09 07:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:35:04] Production.INFO: ==8891== Releasing lock...
[2025-04-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:35:04] Production.ERROR: done
[2025-04-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868046') end
[2025-04-09 07:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:35:04] Production.INFO: 1
[2025-04-09 07:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:35:04] Production.INFO: ==8895== Releasing lock...
[2025-04-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:35:05
[end_date_ymd] => 2025-04-09 07:35:05
[RateCDR] => 1
)
[2025-04-09 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:35:05' and `end` < '2025-04-09 07:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:35:11] Production.ERROR: CronJobId end10
[2025-04-09 07:35:11] Production.INFO: ==8889== Releasing lock...
[2025-04-09 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:35:14] Production.INFO: call_cost start
[2025-04-09 07:35:14] Production.INFO: call_cost end
[2025-04-09 07:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:35:15] Production.INFO: ==8885== Releasing lock...
[2025-04-09 07:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:35:18] Production.INFO: count ==83
[2025-04-09 07:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:35:05 - End Time 2025-04-09 07:35:05
[2025-04-09 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868047', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868047', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868047', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868047', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:35:18] Production.INFO: ProcessCDR(1,14868047,1,1,2)
[2025-04-09 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868047', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868047', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:35:21] Production.INFO: ==8893== Releasing lock...
[2025-04-09 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:35:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:36:01] Production.INFO: ==8955== Lock acquired, processing the job...
[2025-04-09 12:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:36:01] Production.INFO: neon service started
[2025-04-09 12:36:01] Production.INFO: neon service started
[2025-04-09 12:36:01] Production.INFO: ==8955== Releasing lock...
[2025-04-09 12:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:36:02] Production.INFO: ==8957== Lock acquired, processing the job...
[2025-04-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:36:02] Production.INFO: ==8959== Lock acquired, processing the job...
[2025-04-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:36:02] Production.INFO: ==8959== Releasing lock...
[2025-04-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:36:02] Production.INFO: ==8957== Releasing lock...
[2025-04-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:36:03] Production.INFO: ==8962== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:36:03] Production.INFO: ==8966== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:36:03] Production.INFO: ==8968== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:36:03] Production.INFO: ==8964== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:36:03] Production.INFO: Account Balance Start.
[2025-04-09 07:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:36:03] Production.INFO: 117
[2025-04-09 07:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:36:03] Production.INFO: Total Charge 0
[2025-04-09 07:36:03] Production.INFO: CreateAllLog End
[2025-04-09 07:36:03] Production.INFO: Account Balance End.
[2025-04-09 07:36:03] Production.INFO: ==8970== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:36:03] Production.INFO: ==8972== Lock acquired, processing the job...
[2025-04-09 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:36:04] Production.INFO: ==8968== Releasing lock...
[2025-04-09 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:36:04] Production.INFO: count ==12
[2025-04-09 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:36:04] Production.INFO: count ==23
[2025-04-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868051') start
[2025-04-09 07:36:04] Production.INFO: ==8964== Releasing lock...
[2025-04-09 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868051') end
[2025-04-09 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:36:04] Production.INFO: 1
[2025-04-09 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:36:04] Production.INFO: ==8972== Releasing lock...
[2025-04-09 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:36:04] Production.ERROR: done
[2025-04-09 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:36:04] Production.ERROR: done
[2025-04-09 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:36:05
[end_date_ymd] => 2025-04-09 07:36:05
[RateCDR] => 1
)
[2025-04-09 07:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:36:05' and `end` < '2025-04-09 07:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:36:11] Production.ERROR: CronJobId end10
[2025-04-09 07:36:11] Production.INFO: ==8966== Releasing lock...
[2025-04-09 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:36:13] Production.INFO: call_cost start
[2025-04-09 07:36:13] Production.INFO: call_cost end
[2025-04-09 07:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:36:14] Production.INFO: ==8962== Releasing lock...
[2025-04-09 07:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:36:18] Production.INFO: count ==84
[2025-04-09 07:36:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:36:05 - End Time 2025-04-09 07:36:05
[2025-04-09 07:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868052', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868052', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868052', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868052', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:36:18] Production.INFO: ProcessCDR(1,14868052,1,1,2)
[2025-04-09 07:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868052', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868052', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:36:23] Production.INFO: ==8970== Releasing lock...
[2025-04-09 07:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:36:23] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:37:02] Production.INFO: ==9037== Lock acquired, processing the job...
[2025-04-09 12:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:37:02] Production.INFO: neon service started
[2025-04-09 12:37:02] Production.INFO: neon service started
[2025-04-09 12:37:02] Production.INFO: ==9037== Releasing lock...
[2025-04-09 12:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:37:02] Production.INFO: ==9039== Lock acquired, processing the job...
[2025-04-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:37:02] Production.INFO: ==9039== Releasing lock...
[2025-04-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:37:03] Production.INFO: ==9041== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:37:03] Production.INFO: ==9041== Releasing lock...
[2025-04-09 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:37:03] Production.INFO: ==9051== Lock acquired, processing the job...
[2025-04-09 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:37:04] Production.INFO: ==9053== Lock acquired, processing the job...
[2025-04-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:37:04] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-04-09 07:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:37:04] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-04-09 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:37:04] Production.INFO: ==9049== Lock acquired, processing the job...
[2025-04-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:37:04] Production.INFO: ==9047== Lock acquired, processing the job...
[2025-04-09 07:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:37:04] Production.INFO: count ==12
[2025-04-09 07:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:37:04] Production.INFO: count ==23
[2025-04-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868053') start
[2025-04-09 07:37:04] Production.ERROR: done
[2025-04-09 07:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:37:04] Production.INFO: Account Balance Start.
[2025-04-09 07:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:37:04] Production.INFO: 117
[2025-04-09 07:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868053') end
[2025-04-09 07:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:37:04] Production.INFO: 1
[2025-04-09 07:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:37:04] Production.INFO: ==9053== Releasing lock...
[2025-04-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:37:04] Production.ERROR: done
[2025-04-09 07:37:04] Production.INFO: Total Charge 0
[2025-04-09 07:37:04] Production.INFO: CreateAllLog End
[2025-04-09 07:37:04] Production.INFO: ==9045== Releasing lock...
[2025-04-09 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:37:04] Production.INFO: Account Balance End.
[2025-04-09 07:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:37:04] Production.INFO: ==9049== Releasing lock...
[2025-04-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:37:05
[end_date_ymd] => 2025-04-09 07:37:05
[RateCDR] => 1
)
[2025-04-09 07:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:37:05' and `end` < '2025-04-09 07:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:37:12] Production.ERROR: CronJobId end10
[2025-04-09 07:37:12] Production.INFO: ==9047== Releasing lock...
[2025-04-09 07:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:37:15] Production.INFO: call_cost start
[2025-04-09 07:37:15] Production.INFO: call_cost end
[2025-04-09 07:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:37:16] Production.INFO: ==9043== Releasing lock...
[2025-04-09 07:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:37:18] Production.INFO: count ==84
[2025-04-09 07:37:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:37:05 - End Time 2025-04-09 07:37:05
[2025-04-09 07:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868057', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868057', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868057', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868057', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:37:18] Production.INFO: ProcessCDR(1,14868057,1,1,2)
[2025-04-09 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868057', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868057', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:37:21] Production.INFO: ==9051== Releasing lock...
[2025-04-09 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:37:21] Production.INFO: 28.5 MB #Memory Used#
[2025-04-09 12:38:01] Production.INFO: ==9118== Lock acquired, processing the job...
[2025-04-09 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:38:01] Production.INFO: neon service started
[2025-04-09 12:38:01] Production.INFO: neon service started
[2025-04-09 12:38:01] Production.INFO: ==9118== Releasing lock...
[2025-04-09 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:38:02] Production.INFO: ==9120== Lock acquired, processing the job...
[2025-04-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:38:02] Production.INFO: ==9120== Releasing lock...
[2025-04-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:38:02] Production.INFO: ==9122== Lock acquired, processing the job...
[2025-04-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:38:02] Production.INFO: ==9122== Releasing lock...
[2025-04-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:38:03] Production.INFO: ==9130== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:38:03] Production.INFO: ==9124== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:38:03] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:38:03] Production.INFO: Account Balance Start.
[2025-04-09 07:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:38:03] Production.INFO: 117
[2025-04-09 07:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:38:03] Production.INFO: ==9128== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 07:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:38:03] Production.INFO: count ==12
[2025-04-09 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-04-09 07:38:03] Production.INFO: count ==23
[2025-04-09 07:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:38:03] Production.INFO: ==9132== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:38:03] Production.INFO: ==9126== Lock acquired, processing the job...
[2025-04-09 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868059') start
[2025-04-09 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:38:03] Production.INFO: Total Charge 0
[2025-04-09 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:38:03] Production.INFO: CreateAllLog End
[2025-04-09 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868059') end
[2025-04-09 07:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:38:03] Production.INFO: 1
[2025-04-09 07:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:38:03] Production.INFO: ==9134== Releasing lock...
[2025-04-09 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:38:04] Production.ERROR: done
[2025-04-09 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:38:04] Production.INFO: Account Balance End.
[2025-04-09 07:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:38:04] Production.INFO: ==9130== Releasing lock...
[2025-04-09 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:38:04] Production.ERROR: done
[2025-04-09 07:38:04] Production.INFO: ==9126== Releasing lock...
[2025-04-09 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:38:05
[end_date_ymd] => 2025-04-09 07:38:05
[RateCDR] => 1
)
[2025-04-09 07:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:38:05' and `end` < '2025-04-09 07:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:38:11] Production.ERROR: CronJobId end10
[2025-04-09 07:38:11] Production.INFO: ==9128== Releasing lock...
[2025-04-09 07:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:38:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:38:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:38:14] Production.INFO: call_cost start
[2025-04-09 07:38:14] Production.INFO: call_cost end
[2025-04-09 07:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:38:15] Production.INFO: ==9124== Releasing lock...
[2025-04-09 07:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:38:18] Production.INFO: count ==86
[2025-04-09 07:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:38:05 - End Time 2025-04-09 07:38:05
[2025-04-09 07:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868062', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868062', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868062', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868062', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:38:18] Production.INFO: ProcessCDR(1,14868062,1,1,2)
[2025-04-09 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868062', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868062', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:38:23] Production.INFO: ==9132== Releasing lock...
[2025-04-09 07:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:38:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:39:02] Production.INFO: ==9195== Lock acquired, processing the job...
[2025-04-09 12:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:39:02] Production.INFO: neon service started
[2025-04-09 12:39:02] Production.INFO: neon service started
[2025-04-09 12:39:02] Production.INFO: ==9195== Releasing lock...
[2025-04-09 12:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:39:02] Production.INFO: ==9199== Lock acquired, processing the job...
[2025-04-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:39:02] Production.INFO: ==9199== Releasing lock...
[2025-04-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:39:02] Production.INFO: ==9197== Lock acquired, processing the job...
[2025-04-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:39:02] Production.INFO: ==9197== Releasing lock...
[2025-04-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:39:03] Production.INFO: ==9208== Lock acquired, processing the job...
[2025-04-09 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:39:03] Production.INFO: ==9212== Lock acquired, processing the job...
[2025-04-09 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:39:03] Production.INFO: ==9204== Lock acquired, processing the job...
[2025-04-09 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:39:03] Production.INFO: ==9210== Lock acquired, processing the job...
[2025-04-09 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:39:03] Production.INFO: ==9206== Lock acquired, processing the job...
[2025-04-09 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:39:04] Production.INFO: ==9214== Lock acquired, processing the job...
[2025-04-09 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:39:04] Production.INFO: Account Balance Start.
[2025-04-09 07:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:39:04] Production.INFO: 117
[2025-04-09 07:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:39:04] Production.ERROR: done
[2025-04-09 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:39:04] Production.INFO: count ==12
[2025-04-09 07:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:39:04] Production.INFO: count ==23
[2025-04-09 07:39:04] Production.INFO: Total Charge 0
[2025-04-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868066') start
[2025-04-09 07:39:04] Production.INFO: CreateAllLog End
[2025-04-09 07:39:04] Production.ERROR: done
[2025-04-09 07:39:04] Production.INFO: ==9206== Releasing lock...
[2025-04-09 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868066') end
[2025-04-09 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:39:04] Production.INFO: 1
[2025-04-09 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:39:04] Production.INFO: Account Balance End.
[2025-04-09 07:39:04] Production.INFO: ==9214== Releasing lock...
[2025-04-09 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:39:04] Production.INFO: ==9210== Releasing lock...
[2025-04-09 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:39:05
[end_date_ymd] => 2025-04-09 07:39:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:39:05' and `end` < '2025-04-09 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-04-09 07:39:12] Production.ERROR: CronJobId end10
[2025-04-09 07:39:12] Production.INFO: ==9208== Releasing lock...
[2025-04-09 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:39:15] Production.INFO: call_cost start
[2025-04-09 07:39:15] Production.INFO: call_cost end
[2025-04-09 07:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:39:16] Production.INFO: ==9204== Releasing lock...
[2025-04-09 07:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:39:18] Production.INFO: count ==86
[2025-04-09 07:39:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:39:05 - End Time 2025-04-09 07:39:05
[2025-04-09 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868067', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868067', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868067', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868067', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:39:18] Production.INFO: ProcessCDR(1,14868067,1,1,2)
[2025-04-09 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868067', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868067', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:39:21] Production.INFO: ==9212== Releasing lock...
[2025-04-09 07:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:40:01] Production.INFO: ==9283== Lock acquired, processing the job...
[2025-04-09 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:40:01] Production.INFO: neon service started
[2025-04-09 12:40:01] Production.INFO: neon service started
[2025-04-09 12:40:01] Production.INFO: ==9283== Releasing lock...
[2025-04-09 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:40:01] Production.INFO: ==9286== Lock acquired, processing the job...
[2025-04-09 07:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:40:02] Production.INFO: ==9288== Lock acquired, processing the job...
[2025-04-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:40:02] Production.INFO: ==9286== Releasing lock...
[2025-04-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:40:02] Production.INFO: ==9288== Releasing lock...
[2025-04-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:40:03] Production.INFO: ==9290== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:40:03] Production.INFO: ==9296== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:40:03] Production.INFO: ==9292== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 07:40:03] Production.ERROR: CronJob PID - 9296
[2025-04-09 07:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 07:40:03] Production.ERROR: CronJob ID - 10
[2025-04-09 07:40:03] Production.ERROR: CronJob Last Run Time 2025-04-09 07:40:00
[2025-04-09 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 07:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:40:03] Production.INFO: ==9290== Releasing lock...
[2025-04-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:40:03] Production.INFO: ==9300== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:40:03] Production.INFO: ==9294== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:40:03] Production.INFO: ==9302== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:40:03] Production.INFO: ==9298== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:40:03] Production.INFO: ==9304== Lock acquired, processing the job...
[2025-04-09 07:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:40:03] Production.INFO: Account Balance Start.
[2025-04-09 07:40:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:40:03] Production.INFO: 117
[2025-04-09 07:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:40:04] Production.ERROR: done
[2025-04-09 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:40:04] Production.INFO: ==9294== Releasing lock...
[2025-04-09 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:40:04] Production.INFO: count ==12
[2025-04-09 07:40:04] Production.ERROR: done
[2025-04-09 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868072', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:40:04] Production.INFO: count ==23
[2025-04-09 07:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868071') start
[2025-04-09 07:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:40:04] Production.INFO: Total Charge 0
[2025-04-09 07:40:04] Production.INFO: CreateAllLog End
[2025-04-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868071') end
[2025-04-09 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:40:04] Production.INFO: 1
[2025-04-09 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:40:04] Production.ERROR: done
[2025-04-09 07:40:04] Production.INFO: ==9304== Releasing lock...
[2025-04-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:40:04] Production.INFO: Account Balance End.
[2025-04-09 07:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:40:04] Production.INFO: ==9298== Releasing lock...
[2025-04-09 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:40:06
[end_date_ymd] => 2025-04-09 07:40:06
[RateCDR] => 1
)
[2025-04-09 07:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:40:06' and `end` < '2025-04-09 07:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868072', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:40:09] Production.INFO: ProcessCDR(1,14868072,1,1,2)
[2025-04-09 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868072,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868072,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:40:09] Production.INFO: ==9302== Releasing lock...
[2025-04-09 07:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:40:13] Production.ERROR: CronJobId end10
[2025-04-09 07:40:13] Production.INFO: ==9296== Releasing lock...
[2025-04-09 07:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:40:16] Production.INFO: call_cost start
[2025-04-09 07:40:16] Production.INFO: call_cost end
[2025-04-09 07:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:40:17] Production.INFO: ==9292== Releasing lock...
[2025-04-09 07:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:40:18] Production.INFO: count ==86
[2025-04-09 07:40:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:40:06 - End Time 2025-04-09 07:40:06
[2025-04-09 07:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868073', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868073', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868073', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868073', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:40:18] Production.INFO: ProcessCDR(1,14868073,1,1,2)
[2025-04-09 07:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868073', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868073', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:40:22] Production.INFO: ==9300== Releasing lock...
[2025-04-09 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:40:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:41:02] Production.INFO: ==9366== Lock acquired, processing the job...
[2025-04-09 12:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:41:02] Production.INFO: neon service started
[2025-04-09 12:41:02] Production.INFO: neon service started
[2025-04-09 12:41:02] Production.INFO: ==9366== Releasing lock...
[2025-04-09 12:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:41:02] Production.INFO: ==9368== Lock acquired, processing the job...
[2025-04-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:41:02] Production.INFO: ==9368== Releasing lock...
[2025-04-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:41:02] Production.INFO: ==9370== Lock acquired, processing the job...
[2025-04-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:41:03] Production.INFO: ==9370== Releasing lock...
[2025-04-09 11:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:41:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:41:03] Production.INFO: ==9376== Lock acquired, processing the job...
[2025-04-09 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:41:03] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-04-09 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:41:03] Production.INFO: ==9380== Lock acquired, processing the job...
[2025-04-09 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:41:03] Production.INFO: ==9374== Lock acquired, processing the job...
[2025-04-09 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:41:04] Production.INFO: ==9378== Lock acquired, processing the job...
[2025-04-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:41:04] Production.INFO: ==9382== Lock acquired, processing the job...
[2025-04-09 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:41:04] Production.INFO: Account Balance Start.
[2025-04-09 07:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:41:04] Production.INFO: 117
[2025-04-09 07:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:41:04] Production.ERROR: done
[2025-04-09 07:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:41:04] Production.INFO: Total Charge 0
[2025-04-09 07:41:04] Production.INFO: CreateAllLog End
[2025-04-09 07:41:04] Production.INFO: count ==12
[2025-04-09 07:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:41:04] Production.ERROR: done
[2025-04-09 07:41:04] Production.INFO: count ==23
[2025-04-09 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868077') start
[2025-04-09 07:41:04] Production.INFO: ==9374== Releasing lock...
[2025-04-09 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:41:04] Production.INFO: Account Balance End.
[2025-04-09 07:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:41:04] Production.INFO: ==9378== Releasing lock...
[2025-04-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868077') end
[2025-04-09 07:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:41:04] Production.INFO: 1
[2025-04-09 07:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:41:04] Production.INFO: ==9382== Releasing lock...
[2025-04-09 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:41:05
[end_date_ymd] => 2025-04-09 07:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:41:05' and `end` < '2025-04-09 07:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:41:13] Production.ERROR: CronJobId end10
[2025-04-09 07:41:13] Production.INFO: ==9376== Releasing lock...
[2025-04-09 07:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:41:15] Production.INFO: call_cost start
[2025-04-09 07:41:15] Production.INFO: call_cost end
[2025-04-09 07:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:41:16] Production.INFO: ==9372== Releasing lock...
[2025-04-09 07:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:41:18] Production.INFO: count ==86
[2025-04-09 07:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:41:05 - End Time 2025-04-09 07:41:05
[2025-04-09 07:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868078', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868078', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868078', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868078', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:41:18] Production.INFO: ProcessCDR(1,14868078,1,1,2)
[2025-04-09 07:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868078', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868078', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:41:21] Production.INFO: ==9380== Releasing lock...
[2025-04-09 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:41:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:42:01] Production.INFO: ==9481== Lock acquired, processing the job...
[2025-04-09 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:42:01] Production.INFO: neon service started
[2025-04-09 12:42:01] Production.INFO: neon service started
[2025-04-09 12:42:01] Production.INFO: ==9481== Releasing lock...
[2025-04-09 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:42:01] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-04-09 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:42:02] Production.INFO: ==9483== Releasing lock...
[2025-04-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:42:02] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-04-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:42:02] Production.INFO: ==9485== Releasing lock...
[2025-04-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:42:03] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:42:03] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:42:03] Production.INFO: Account Balance Start.
[2025-04-09 07:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:42:03] Production.INFO: 117
[2025-04-09 07:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:42:03] Production.INFO: Total Charge 0
[2025-04-09 07:42:03] Production.INFO: CreateAllLog End
[2025-04-09 07:42:03] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:42:03] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:42:03] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:42:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-04-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:42:03] Production.ERROR: done
[2025-04-09 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:42:03] Production.INFO: Account Balance End.
[2025-04-09 07:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:42:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:42:03] Production.INFO: ==9494== Releasing lock...
[2025-04-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:42:03] Production.INFO: count ==12
[2025-04-09 07:42:03] Production.ERROR: done
[2025-04-09 07:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:42:03] Production.INFO: count ==23
[2025-04-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868082') start
[2025-04-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868082') end
[2025-04-09 07:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:42:03] Production.INFO: 1
[2025-04-09 07:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:42:03] Production.INFO: ==9489== Releasing lock...
[2025-04-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:42:03] Production.INFO: ==9498== Releasing lock...
[2025-04-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:42:04
[end_date_ymd] => 2025-04-09 07:42:04
[RateCDR] => 1
)
[2025-04-09 07:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:42:04' and `end` < '2025-04-09 07:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:42:11] Production.ERROR: CronJobId end10
[2025-04-09 07:42:11] Production.INFO: ==9491== Releasing lock...
[2025-04-09 07:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:42:13] Production.INFO: call_cost start
[2025-04-09 07:42:13] Production.INFO: call_cost end
[2025-04-09 07:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:42:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:42:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:42:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:42:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:42:14] Production.INFO: ==9487== Releasing lock...
[2025-04-09 07:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:42:17] Production.INFO: count ==87
[2025-04-09 07:42:17] Production.ERROR: pbx CDR StartTime 2025-04-09 04:42:04 - End Time 2025-04-09 07:42:04
[2025-04-09 07:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868083', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868083', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868083', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868083', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:42:17] Production.INFO: ProcessCDR(1,14868083,1,1,2)
[2025-04-09 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868083', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868083', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:42:22] Production.INFO: ==9496== Releasing lock...
[2025-04-09 07:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:42:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:43:01] Production.INFO: ==9559== Lock acquired, processing the job...
[2025-04-09 12:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:43:01] Production.INFO: neon service started
[2025-04-09 12:43:01] Production.INFO: neon service started
[2025-04-09 12:43:01] Production.INFO: ==9559== Releasing lock...
[2025-04-09 12:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:43:02] Production.INFO: ==9561== Lock acquired, processing the job...
[2025-04-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:43:02] Production.INFO: ==9561== Releasing lock...
[2025-04-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:43:02] Production.INFO: ==9563== Lock acquired, processing the job...
[2025-04-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:43:02] Production.INFO: ==9563== Releasing lock...
[2025-04-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:43:03] Production.INFO: ==9565== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:43:03] Production.INFO: ==9567== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:43:03] Production.INFO: ==9569== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:43:03] Production.INFO: ==9571== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:43:03] Production.INFO: ==9576== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:43:03] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-04-09 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:43:03] Production.INFO: Account Balance Start.
[2025-04-09 07:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:43:03] Production.INFO: 117
[2025-04-09 07:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:43:04] Production.INFO: count ==12
[2025-04-09 07:43:04] Production.INFO: ==9567== Releasing lock...
[2025-04-09 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 07:43:04] Production.INFO: count ==23
[2025-04-09 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868087') start
[2025-04-09 07:43:04] Production.INFO: Total Charge 0
[2025-04-09 07:43:04] Production.INFO: CreateAllLog End
[2025-04-09 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868087') end
[2025-04-09 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:43:04] Production.INFO: 1
[2025-04-09 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:43:04] Production.INFO: Account Balance End.
[2025-04-09 07:43:04] Production.ERROR: done
[2025-04-09 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:43:04] Production.INFO: ==9576== Releasing lock...
[2025-04-09 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:43:04] Production.INFO: ==9571== Releasing lock...
[2025-04-09 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:43:04] Production.ERROR: done
[2025-04-09 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:43:05
[end_date_ymd] => 2025-04-09 07:43:05
[RateCDR] => 1
)
[2025-04-09 07:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:43:05' and `end` < '2025-04-09 07:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:43:11] Production.ERROR: CronJobId end10
[2025-04-09 07:43:11] Production.INFO: ==9569== Releasing lock...
[2025-04-09 07:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:43:15] Production.INFO: call_cost start
[2025-04-09 07:43:15] Production.INFO: call_cost end
[2025-04-09 07:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:43:16] Production.INFO: ==9565== Releasing lock...
[2025-04-09 07:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:43:18] Production.INFO: count ==88
[2025-04-09 07:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:43:05 - End Time 2025-04-09 07:43:05
[2025-04-09 07:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868088', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868088', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868088', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868088', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:43:18] Production.INFO: ProcessCDR(1,14868088,1,1,2)
[2025-04-09 07:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868088', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868088', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:43:23] Production.INFO: ==9574== Releasing lock...
[2025-04-09 07:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:43:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:44:02] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-04-09 12:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:44:02] Production.INFO: neon service started
[2025-04-09 12:44:02] Production.INFO: neon service started
[2025-04-09 12:44:02] Production.INFO: ==9643== Releasing lock...
[2025-04-09 12:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:44:02] Production.INFO: ==9645== Lock acquired, processing the job...
[2025-04-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:44:02] Production.INFO: ==9647== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:44:03] Production.INFO: ==9647== Releasing lock...
[2025-04-09 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:44:03] Production.INFO: ==9645== Releasing lock...
[2025-04-09 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:44:03] Production.INFO: ==9650== Lock acquired, processing the job...
[2025-04-09 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:44:04] Production.INFO: ==9656== Lock acquired, processing the job...
[2025-04-09 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:44:04] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-04-09 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:44:04] Production.INFO: Account Balance Start.
[2025-04-09 07:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:44:04] Production.INFO: 117
[2025-04-09 07:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 07: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-04-09 07:44:04] Production.INFO: count ==12
[2025-04-09 07: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-04-09 07:44:04] Production.INFO: count ==23
[2025-04-09 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868091') start
[2025-04-09 07:44:04] Production.INFO: Total Charge 0
[2025-04-09 07:44:04] Production.INFO: ==9652== Lock acquired, processing the job...
[2025-04-09 07:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:44:04] Production.INFO: CreateAllLog End
[2025-04-09 07:44:04] Production.INFO: ==9654== Lock acquired, processing the job...
[2025-04-09 07:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:44:04] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-04-09 07:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868091') end
[2025-04-09 07:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:44:04] Production.INFO: 1
[2025-04-09 07:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:44:04] Production.INFO: ==9660== Releasing lock...
[2025-04-09 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:44:04] Production.INFO: ==9652== Releasing lock...
[2025-04-09 07:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:44:04] Production.INFO: Account Balance End.
[2025-04-09 07:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:44:05] Production.INFO: ==9656== Releasing lock...
[2025-04-09 07:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:44:05] Production.ERROR: done
[2025-04-09 07:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:44:05] Production.ERROR: done
[2025-04-09 07:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:44:06
[end_date_ymd] => 2025-04-09 07:44:06
[RateCDR] => 1
)
[2025-04-09 07: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-04-09 04:44:06' and `end` < '2025-04-09 07: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-04-09 07:44:13] Production.ERROR: CronJobId end10
[2025-04-09 07:44:13] Production.INFO: ==9654== Releasing lock...
[2025-04-09 07:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:44:14] Production.INFO: call_cost start
[2025-04-09 07:44:14] Production.INFO: call_cost end
[2025-04-09 07:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:44:15] Production.INFO: ==9650== Releasing lock...
[2025-04-09 07:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:44:18] Production.INFO: count ==88
[2025-04-09 07:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:44:06 - End Time 2025-04-09 07:44:06
[2025-04-09 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868093', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868093', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868093', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868093', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:44:18] Production.INFO: ProcessCDR(1,14868093,1,1,2)
[2025-04-09 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868093', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868093', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:44:22] Production.INFO: ==9658== Releasing lock...
[2025-04-09 07:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:44:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:45:01] Production.INFO: ==9722== Lock acquired, processing the job...
[2025-04-09 12:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:45:01] Production.INFO: neon service started
[2025-04-09 12:45:01] Production.INFO: neon service started
[2025-04-09 12:45:01] Production.INFO: ==9722== Releasing lock...
[2025-04-09 12:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:45:02] Production.INFO: ==9726== Lock acquired, processing the job...
[2025-04-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:45:02] Production.INFO: ==9726== Releasing lock...
[2025-04-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:45:02] Production.INFO: ==9724== Lock acquired, processing the job...
[2025-04-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:45:02] Production.INFO: ==9724== Releasing lock...
[2025-04-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:45:03] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:45:03] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:45:03] Production.INFO: ==9735== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:45:03] Production.INFO: Account Balance Start.
[2025-04-09 07:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:45:03] Production.INFO: 117
[2025-04-09 07:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:45:03] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:45:03] Production.INFO: Total Charge 0
[2025-04-09 07:45:03] Production.INFO: CreateAllLog End
[2025-04-09 07:45:03] Production.INFO: Account Balance End.
[2025-04-09 07:45:03] Production.INFO: ==9737== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:45:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:45:03] Production.INFO: ==9735== Releasing lock...
[2025-04-09 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:45:03] Production.INFO: ==9739== Lock acquired, processing the job...
[2025-04-09 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:45:04] Production.INFO: count ==12
[2025-04-09 07:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:45:04] Production.INFO: count ==23
[2025-04-09 07:45:04] Production.INFO: ==9731== Releasing lock...
[2025-04-09 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868097') start
[2025-04-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868097') end
[2025-04-09 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:45:04] Production.INFO: 1
[2025-04-09 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:45:04] Production.INFO: ==9739== Releasing lock...
[2025-04-09 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:45:04] Production.ERROR: done
[2025-04-09 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:45:04] Production.ERROR: done
[2025-04-09 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:45:05
[end_date_ymd] => 2025-04-09 07:45:05
[RateCDR] => 1
)
[2025-04-09 07:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:45:05' and `end` < '2025-04-09 07:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:45:11] Production.ERROR: CronJobId end10
[2025-04-09 07:45:11] Production.INFO: ==9733== Releasing lock...
[2025-04-09 07:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:45:13] Production.INFO: call_cost start
[2025-04-09 07:45:13] Production.INFO: call_cost end
[2025-04-09 07:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:45:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:45:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:45:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:45:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:45:14] Production.INFO: ==9729== Releasing lock...
[2025-04-09 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:45:18] Production.INFO: count ==88
[2025-04-09 07:45:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:45:05 - End Time 2025-04-09 07:45:05
[2025-04-09 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868098', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868098', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868098', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868098', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:45:18] Production.INFO: ProcessCDR(1,14868098,1,1,2)
[2025-04-09 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868098', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868098', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:45:21] Production.INFO: ==9737== Releasing lock...
[2025-04-09 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:46:02] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-04-09 12:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:46:02] Production.INFO: neon service started
[2025-04-09 12:46:02] Production.INFO: neon service started
[2025-04-09 12:46:02] Production.INFO: ==9795== Releasing lock...
[2025-04-09 12:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:46:02] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-04-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 07:46:02] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-04-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:46:02] Production.INFO: ==9799== Releasing lock...
[2025-04-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:46:03] Production.INFO: ==9797== Releasing lock...
[2025-04-09 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:46:03] Production.INFO: ==9806== Lock acquired, processing the job...
[2025-04-09 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:46:03] Production.INFO: ==9808== Lock acquired, processing the job...
[2025-04-09 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:46:04] Production.INFO: ==9810== Lock acquired, processing the job...
[2025-04-09 07:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:46:04] Production.INFO: Account Balance Start.
[2025-04-09 07:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:46:04] Production.INFO: 117
[2025-04-09 07:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:46:04] Production.INFO: Total Charge 0
[2025-04-09 07:46:04] Production.INFO: ==9802== Lock acquired, processing the job...
[2025-04-09 07:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:46:04] Production.INFO: CreateAllLog End
[2025-04-09 07:46:04] Production.INFO: ==9804== Lock acquired, processing the job...
[2025-04-09 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:46:04] Production.INFO: ==9812== Lock acquired, processing the job...
[2025-04-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:46:04] Production.INFO: Account Balance End.
[2025-04-09 07:46:04] Production.ERROR: done
[2025-04-09 07:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:46:04] Production.INFO: ==9808== Releasing lock...
[2025-04-09 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:46:04] Production.INFO: count ==12
[2025-04-09 07:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:46:04] Production.INFO: count ==23
[2025-04-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868102') start
[2025-04-09 07:46:04] Production.INFO: ==9804== Releasing lock...
[2025-04-09 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:46:04] Production.ERROR: done
[2025-04-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868102') end
[2025-04-09 07:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:46:04] Production.INFO: 1
[2025-04-09 07:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:46:04] Production.INFO: ==9812== Releasing lock...
[2025-04-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:46:05
[end_date_ymd] => 2025-04-09 07:46:05
[RateCDR] => 1
)
[2025-04-09 07:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:46:05' and `end` < '2025-04-09 07:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:46:12] Production.ERROR: CronJobId end10
[2025-04-09 07:46:12] Production.INFO: ==9806== Releasing lock...
[2025-04-09 07:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:46:15] Production.INFO: call_cost start
[2025-04-09 07:46:15] Production.INFO: call_cost end
[2025-04-09 07:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:46:16] Production.INFO: ==9802== Releasing lock...
[2025-04-09 07:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:46:18] Production.INFO: count ==86
[2025-04-09 07:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:46:05 - End Time 2025-04-09 07:46:05
[2025-04-09 07:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868103', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868103', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868103', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868103', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:46:18] Production.INFO: ProcessCDR(1,14868103,1,1,2)
[2025-04-09 07:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868103', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868103', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:46:21] Production.INFO: ==9810== Releasing lock...
[2025-04-09 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:47:01] Production.INFO: ==9873== Lock acquired, processing the job...
[2025-04-09 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:47:01] Production.INFO: neon service started
[2025-04-09 12:47:01] Production.INFO: neon service started
[2025-04-09 12:47:01] Production.INFO: ==9873== Releasing lock...
[2025-04-09 12:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:47:02] Production.INFO: ==9877== Lock acquired, processing the job...
[2025-04-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:47:02] Production.INFO: ==9877== Releasing lock...
[2025-04-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:47:02] Production.INFO: ==9875== Lock acquired, processing the job...
[2025-04-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:47:02] Production.INFO: ==9875== Releasing lock...
[2025-04-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:47:03] Production.INFO: ==9884== Lock acquired, processing the job...
[2025-04-09 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:47:03] Production.INFO: ==9888== Lock acquired, processing the job...
[2025-04-09 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:47:03] Production.INFO: ==9880== Lock acquired, processing the job...
[2025-04-09 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:47:03] Production.INFO: ==9882== Lock acquired, processing the job...
[2025-04-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:47:04] Production.INFO: ==9886== Lock acquired, processing the job...
[2025-04-09 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:47:04] Production.INFO: ==9890== Lock acquired, processing the job...
[2025-04-09 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:47:04] Production.INFO: Account Balance Start.
[2025-04-09 07:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:47:04] Production.INFO: 117
[2025-04-09 07:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:47:04] Production.INFO: count ==12
[2025-04-09 07:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:47:04] Production.ERROR: done
[2025-04-09 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:47:04] Production.INFO: count ==23
[2025-04-09 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868107') start
[2025-04-09 07:47:04] Production.INFO: Total Charge 0
[2025-04-09 07:47:04] Production.INFO: ==9882== Releasing lock...
[2025-04-09 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:47:04] Production.INFO: CreateAllLog End
[2025-04-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868107') end
[2025-04-09 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:47:04] Production.INFO: 1
[2025-04-09 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:47:04] Production.ERROR: done
[2025-04-09 07:47:04] Production.INFO: ==9890== Releasing lock...
[2025-04-09 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:47:04] Production.INFO: Account Balance End.
[2025-04-09 07:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:47:04] Production.INFO: ==9886== Releasing lock...
[2025-04-09 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:47:05
[end_date_ymd] => 2025-04-09 07:47:05
[RateCDR] => 1
)
[2025-04-09 07:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:47:05' and `end` < '2025-04-09 07:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:47:11] Production.ERROR: CronJobId end10
[2025-04-09 07:47:11] Production.INFO: ==9884== Releasing lock...
[2025-04-09 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:47:14] Production.INFO: call_cost start
[2025-04-09 07:47:14] Production.INFO: call_cost end
[2025-04-09 07:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:47:15] Production.INFO: ==9880== Releasing lock...
[2025-04-09 07:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:47:18] Production.INFO: count ==86
[2025-04-09 07:47:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:47:05 - End Time 2025-04-09 07:47:05
[2025-04-09 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868108', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868108', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868108', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868108', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:47:18] Production.INFO: ProcessCDR(1,14868108,1,1,2)
[2025-04-09 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868108', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868108', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:47:22] Production.INFO: ==9888== Releasing lock...
[2025-04-09 07:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:47:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:48:02] Production.INFO: ==9955== Lock acquired, processing the job...
[2025-04-09 12:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:48:02] Production.INFO: neon service started
[2025-04-09 12:48:02] Production.INFO: neon service started
[2025-04-09 12:48:02] Production.INFO: ==9955== Releasing lock...
[2025-04-09 12:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:48:02] Production.INFO: ==9957== Lock acquired, processing the job...
[2025-04-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:48:02] Production.INFO: ==9959== Lock acquired, processing the job...
[2025-04-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:48:02] Production.INFO: ==9959== Releasing lock...
[2025-04-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:48:03] Production.INFO: ==9957== Releasing lock...
[2025-04-09 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:48:04] Production.INFO: ==9968== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:48:04] Production.INFO: ==9970== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:48:04] Production.INFO: ==9962== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:48:04] Production.INFO: ==9964== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:48:04] Production.INFO: Account Balance Start.
[2025-04-09 07:48:04] Production.INFO: ==9966== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:48:04] Production.INFO: 117
[2025-04-09 07:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:48:04] Production.INFO: ==9972== Lock acquired, processing the job...
[2025-04-09 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:48:04] Production.INFO: Total Charge 0
[2025-04-09 07:48:04] Production.INFO: CreateAllLog End
[2025-04-09 07:48:04] Production.ERROR: done
[2025-04-09 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:48:04] Production.INFO: ==9964== Releasing lock...
[2025-04-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 07:48:04] Production.INFO: Account Balance End.
[2025-04-09 07:48:04] Production.INFO: count ==12
[2025-04-09 07:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:48:04] Production.INFO: count ==23
[2025-04-09 07:48:04] Production.ERROR: done
[2025-04-09 07:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:48:04] Production.INFO: ==9968== Releasing lock...
[2025-04-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868112') start
[2025-04-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868112') end
[2025-04-09 07:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:48:04] Production.INFO: 1
[2025-04-09 07:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:48:04] Production.INFO: ==9972== Releasing lock...
[2025-04-09 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:48:05
[end_date_ymd] => 2025-04-09 07:48:05
[RateCDR] => 1
)
[2025-04-09 07:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:48:05' and `end` < '2025-04-09 07:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:48:12] Production.ERROR: CronJobId end10
[2025-04-09 07:48:12] Production.INFO: ==9966== Releasing lock...
[2025-04-09 07:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:48:14] Production.INFO: call_cost start
[2025-04-09 07:48:14] Production.INFO: call_cost end
[2025-04-09 07:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:48:15] Production.INFO: ==9962== Releasing lock...
[2025-04-09 07:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:48:18] Production.INFO: count ==87
[2025-04-09 07:48:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:48:05 - End Time 2025-04-09 07:48:05
[2025-04-09 07:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868113', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868113', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868113', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868113', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:48:18] Production.INFO: ProcessCDR(1,14868113,1,1,2)
[2025-04-09 07:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868113', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868113', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:48:23] Production.INFO: ==9970== Releasing lock...
[2025-04-09 07:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:48:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:49:01] Production.INFO: ==10037== Lock acquired, processing the job...
[2025-04-09 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:49:01] Production.INFO: neon service started
[2025-04-09 12:49:01] Production.INFO: neon service started
[2025-04-09 12:49:01] Production.INFO: ==10037== Releasing lock...
[2025-04-09 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:49:01] Production.INFO: ==10039== Lock acquired, processing the job...
[2025-04-09 07:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:49:02] Production.INFO: ==10039== Releasing lock...
[2025-04-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:49:02] Production.INFO: ==10041== Lock acquired, processing the job...
[2025-04-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:49:02] Production.INFO: ==10041== Releasing lock...
[2025-04-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:49:03] Production.INFO: ==10046== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:49:03] Production.INFO: ==10048== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:49:03] Production.INFO: ==10050== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:49:03] Production.INFO: ==10052== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:49:03] Production.INFO: ==10048== Releasing lock...
[2025-04-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:49:03] Production.INFO: ==10054== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:49:03] Production.INFO: Account Balance Start.
[2025-04-09 07:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:49:03] Production.INFO: 117
[2025-04-09 07:49:03] Production.INFO: ==10056== Lock acquired, processing the job...
[2025-04-09 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:49:03] Production.INFO: count ==12
[2025-04-09 07:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:49:03] Production.INFO: count ==23
[2025-04-09 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868117') start
[2025-04-09 07:49:03] Production.INFO: Total Charge 0
[2025-04-09 07:49:04] Production.INFO: CreateAllLog End
[2025-04-09 07:49:04] Production.ERROR: done
[2025-04-09 07:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868117') end
[2025-04-09 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:49:04] Production.INFO: 1
[2025-04-09 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:49:04] Production.INFO: ==10056== Releasing lock...
[2025-04-09 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:49:04] Production.ERROR: done
[2025-04-09 07:49:04] Production.INFO: Account Balance End.
[2025-04-09 07:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:49:04] Production.INFO: ==10052== Releasing lock...
[2025-04-09 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:49:05
[end_date_ymd] => 2025-04-09 07:49:05
[RateCDR] => 1
)
[2025-04-09 07:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:49:05' and `end` < '2025-04-09 07:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:49:11] Production.ERROR: CronJobId end10
[2025-04-09 07:49:11] Production.INFO: ==10050== Releasing lock...
[2025-04-09 07:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:49:13] Production.INFO: call_cost start
[2025-04-09 07:49:13] Production.INFO: call_cost end
[2025-04-09 07:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:49:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:49:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:49:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:49:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:49:14] Production.INFO: ==10046== Releasing lock...
[2025-04-09 07:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:49:18] Production.INFO: count ==90
[2025-04-09 07:49:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:49:05 - End Time 2025-04-09 07:49:05
[2025-04-09 07:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868118', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868118', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868118', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868118', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:49:18] Production.INFO: ProcessCDR(1,14868118,1,1,2)
[2025-04-09 07:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868118', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868118', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:49:23] Production.INFO: ==10054== Releasing lock...
[2025-04-09 07:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:49:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:50:02] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-04-09 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:50:02] Production.INFO: neon service started
[2025-04-09 12:50:02] Production.INFO: neon service started
[2025-04-09 12:50:02] Production.INFO: ==10114== Releasing lock...
[2025-04-09 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:50:02] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-04-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:50:02] Production.INFO: ==10116== Releasing lock...
[2025-04-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:50:02] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-04-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:50:02] Production.INFO: ==10118== Releasing lock...
[2025-04-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:50:03] Production.INFO: ==10124== Lock acquired, processing the job...
[2025-04-09 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:50:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-04-09 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 07:50:04] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 07:50:04] Production.ERROR: CronJob PID - 10124
[2025-04-09 07:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 07:50:04] Production.ERROR: CronJob ID - 7
[2025-04-09 07:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 07:50:00
[2025-04-09 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 07:50:04] Production.INFO: ==10120== Releasing lock...
[2025-04-09 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 07:50:04] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 07:50:04] Production.INFO: ==10126== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:50:04] Production.INFO: ==10135== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:50:04] Production.INFO: ==10128== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:50:04] Production.INFO: ==10130== Lock acquired, processing the job...
[2025-04-09 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:50:04] Production.INFO: ==10124== Releasing lock...
[2025-04-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:50:04] Production.INFO: Account Balance Start.
[2025-04-09 07:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:50:04] Production.INFO: count ==12
[2025-04-09 07:50:04] Production.INFO: 117
[2025-04-09 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:50:04] Production.INFO: count ==23
[2025-04-09 07:50:04] Production.ERROR: done
[2025-04-09 07:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868121') start
[2025-04-09 07:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868123', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 07:50:04] Production.INFO: Total Charge 0
[2025-04-09 07:50:04] Production.INFO: CreateAllLog End
[2025-04-09 07:50:04] Production.ERROR: done
[2025-04-09 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868121') end
[2025-04-09 07:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:50:04] Production.INFO: 1
[2025-04-09 07:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:50:05] Production.INFO: ==10135== Releasing lock...
[2025-04-09 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:50:05] Production.ERROR: done
[2025-04-09 07:50:05] Production.INFO: Account Balance End.
[2025-04-09 07:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 07:50:05] Production.INFO: ==10128== Releasing lock...
[2025-04-09 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:50:06
[end_date_ymd] => 2025-04-09 07:50:06
[RateCDR] => 1
)
[2025-04-09 07:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:50:06' and `end` < '2025-04-09 07:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868123', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 07:50:09] Production.INFO: ProcessCDR(1,14868123,1,1,2)
[2025-04-09 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868123,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868123,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:50:09] Production.INFO: ==10133== Releasing lock...
[2025-04-09 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 07:50:14] Production.ERROR: CronJobId end10
[2025-04-09 07:50:14] Production.INFO: ==10126== Releasing lock...
[2025-04-09 07:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:50:16] Production.INFO: call_cost start
[2025-04-09 07:50:16] Production.INFO: call_cost end
[2025-04-09 07:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:50:17] Production.INFO: ==10122== Releasing lock...
[2025-04-09 07:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:50:18] Production.INFO: count ==101
[2025-04-09 07:50:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:50:06 - End Time 2025-04-09 07:50:06
[2025-04-09 07:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868124', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868124', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868124', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868124', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:50:19] Production.INFO: ProcessCDR(1,14868124,1,1,2)
[2025-04-09 07:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868124', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868124', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:50:24] Production.INFO: ==10130== Releasing lock...
[2025-04-09 07:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:50:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:51:01] Production.INFO: ==10193== Lock acquired, processing the job...
[2025-04-09 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:51:01] Production.INFO: neon service started
[2025-04-09 12:51:01] Production.INFO: neon service started
[2025-04-09 12:51:01] Production.INFO: ==10193== Releasing lock...
[2025-04-09 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:51:02] Production.INFO: ==10195== Lock acquired, processing the job...
[2025-04-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:51:02] Production.INFO: ==10197== Lock acquired, processing the job...
[2025-04-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:51:02] Production.INFO: ==10197== Releasing lock...
[2025-04-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:51:02] Production.INFO: ==10195== Releasing lock...
[2025-04-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:51:03] Production.INFO: ==10208== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:51:03] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:51:03] Production.INFO: ==10210== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:51:03] Production.INFO: Account Balance Start.
[2025-04-09 07:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:51:03] Production.INFO: 117
[2025-04-09 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:51:03] Production.INFO: Total Charge 0
[2025-04-09 07:51:03] Production.INFO: CreateAllLog End
[2025-04-09 07:51:03] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:51:03] Production.INFO: ==10206== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:51:03] Production.INFO: ==10204== Releasing lock...
[2025-04-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:51:03] Production.INFO: Account Balance End.
[2025-04-09 07:51:03] Production.INFO: ==10212== Lock acquired, processing the job...
[2025-04-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:51:03] Production.ERROR: done
[2025-04-09 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:51:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:51:03] Production.INFO: ==10208== Releasing lock...
[2025-04-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:51:03] Production.ERROR: done
[2025-04-09 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:51:03] Production.INFO: count ==12
[2025-04-09 07:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:51:04] Production.INFO: count ==23
[2025-04-09 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868128') start
[2025-04-09 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868128') end
[2025-04-09 07:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:51:04] Production.INFO: 1
[2025-04-09 07:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:51:04] Production.INFO: ==10212== Releasing lock...
[2025-04-09 07:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:51:05
[end_date_ymd] => 2025-04-09 07:51:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:51:05' and `end` < '2025-04-09 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-04-09 07:51:12] Production.ERROR: CronJobId end10
[2025-04-09 07:51:12] Production.INFO: ==10206== Releasing lock...
[2025-04-09 07:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:51:14] Production.INFO: call_cost start
[2025-04-09 07:51:14] Production.INFO: call_cost end
[2025-04-09 07:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:51:15] Production.INFO: ==10202== Releasing lock...
[2025-04-09 07:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:51:18] Production.INFO: count ==105
[2025-04-09 07:51:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:51:05 - End Time 2025-04-09 07:51:05
[2025-04-09 07:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868129', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868129', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868129', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868129', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:51:18] Production.INFO: ProcessCDR(1,14868129,1,1,2)
[2025-04-09 07:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868129', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868129', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:51:21] Production.INFO: ==10210== Releasing lock...
[2025-04-09 07:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:52:02] Production.INFO: ==10277== Lock acquired, processing the job...
[2025-04-09 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:52:02] Production.INFO: neon service started
[2025-04-09 12:52:02] Production.INFO: neon service started
[2025-04-09 12:52:02] Production.INFO: ==10277== Releasing lock...
[2025-04-09 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:52:02] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-04-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:52:02] Production.INFO: ==10281== Releasing lock...
[2025-04-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:52:02] Production.INFO: ==10279== Lock acquired, processing the job...
[2025-04-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:52:03] Production.INFO: ==10279== Releasing lock...
[2025-04-09 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:52:03] Production.INFO: ==10284== Lock acquired, processing the job...
[2025-04-09 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:52:03] Production.INFO: ==10286== Lock acquired, processing the job...
[2025-04-09 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:52:03] Production.INFO: ==10290== Lock acquired, processing the job...
[2025-04-09 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:52:04] Production.INFO: ==10288== Lock acquired, processing the job...
[2025-04-09 07:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:52:04] Production.INFO: Account Balance Start.
[2025-04-09 07:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:52:04] Production.INFO: 117
[2025-04-09 07:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:52:04] Production.INFO: ==10292== Lock acquired, processing the job...
[2025-04-09 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:52:04] Production.INFO: Total Charge 0
[2025-04-09 07:52:04] Production.INFO: ==10294== Lock acquired, processing the job...
[2025-04-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:52:04] Production.INFO: CreateAllLog End
[2025-04-09 07:52:04] Production.INFO: ==10286== Releasing lock...
[2025-04-09 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:52:04] Production.INFO: count ==12
[2025-04-09 07:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:52:04] Production.INFO: count ==23
[2025-04-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868133') start
[2025-04-09 07:52:04] Production.INFO: Account Balance End.
[2025-04-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868133') end
[2025-04-09 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:52:04] Production.INFO: 1
[2025-04-09 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:52:04] Production.INFO: ==10290== Releasing lock...
[2025-04-09 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:52:04] Production.INFO: ==10294== Releasing lock...
[2025-04-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:52:04] Production.ERROR: done
[2025-04-09 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:52:05] Production.ERROR: done
[2025-04-09 07:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:52:06
[end_date_ymd] => 2025-04-09 07:52:06
[RateCDR] => 1
)
[2025-04-09 07:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:52:06' and `end` < '2025-04-09 07:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:52:12] Production.ERROR: CronJobId end10
[2025-04-09 07:52:12] Production.INFO: ==10288== Releasing lock...
[2025-04-09 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:52:14] Production.INFO: call_cost start
[2025-04-09 07:52:14] Production.INFO: call_cost end
[2025-04-09 07:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:52:15] Production.INFO: ==10284== Releasing lock...
[2025-04-09 07:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:52:18] Production.INFO: count ==106
[2025-04-09 07:52:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:52:06 - End Time 2025-04-09 07:52:06
[2025-04-09 07:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868134', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868134', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868134', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868134', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:52:18] Production.INFO: ProcessCDR(1,14868134,1,1,2)
[2025-04-09 07:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868134', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868134', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:52:24] Production.INFO: ==10292== Releasing lock...
[2025-04-09 07:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:52:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:53:01] Production.INFO: ==10355== Lock acquired, processing the job...
[2025-04-09 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:53:01] Production.INFO: neon service started
[2025-04-09 12:53:01] Production.INFO: neon service started
[2025-04-09 12:53:01] Production.INFO: ==10355== Releasing lock...
[2025-04-09 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:53:01] Production.INFO: ==10357== Lock acquired, processing the job...
[2025-04-09 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:53:02] Production.INFO: ==10357== Releasing lock...
[2025-04-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:53:02] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-04-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:53:02] Production.INFO: ==10359== Releasing lock...
[2025-04-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:53:03] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:53:03] Production.INFO: ==10371== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:53:03] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:53:03] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:53:03] Production.INFO: count ==12
[2025-04-09 07:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:53:03] Production.INFO: count ==23
[2025-04-09 07:53:03] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868135') start
[2025-04-09 07:53:03] Production.INFO: ==10369== Lock acquired, processing the job...
[2025-04-09 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868135') end
[2025-04-09 07:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:53:03] Production.INFO: 1
[2025-04-09 07:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:53:03] Production.INFO: Account Balance Start.
[2025-04-09 07:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:53:03] Production.INFO: 117
[2025-04-09 07:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:53:03] Production.INFO: ==10371== Releasing lock...
[2025-04-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:53:03] Production.INFO: ==10363== Releasing lock...
[2025-04-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:53:03] Production.INFO: Total Charge 0
[2025-04-09 07:53:03] Production.INFO: CreateAllLog End
[2025-04-09 07:53:03] Production.ERROR: done
[2025-04-09 07:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:53:04] Production.ERROR: done
[2025-04-09 07:53:04] Production.INFO: Account Balance End.
[2025-04-09 07:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:53:04] Production.INFO: ==10367== Releasing lock...
[2025-04-09 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:53:05
[end_date_ymd] => 2025-04-09 07:53:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 04:53:05' and `end` < '2025-04-09 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-04-09 07:53:10] Production.ERROR: CronJobId end10
[2025-04-09 07:53:10] Production.INFO: ==10365== Releasing lock...
[2025-04-09 07:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:53:13] Production.INFO: call_cost start
[2025-04-09 07:53:13] Production.INFO: call_cost end
[2025-04-09 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:53:14] Production.INFO: ==10361== Releasing lock...
[2025-04-09 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:53:18] Production.INFO: count ==112
[2025-04-09 07:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:53:05 - End Time 2025-04-09 07:53:05
[2025-04-09 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868139', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868139', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868139', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868139', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:53:18] Production.INFO: ProcessCDR(1,14868139,1,1,2)
[2025-04-09 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868139', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868139', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:53:23] Production.INFO: ==10369== Releasing lock...
[2025-04-09 07:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:53:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:54:01] Production.INFO: ==10429== Lock acquired, processing the job...
[2025-04-09 12:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:54:01] Production.INFO: neon service started
[2025-04-09 12:54:01] Production.INFO: neon service started
[2025-04-09 12:54:01] Production.INFO: ==10429== Releasing lock...
[2025-04-09 12:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:54:02] Production.INFO: ==10433== Lock acquired, processing the job...
[2025-04-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:54:02] Production.INFO: ==10433== Releasing lock...
[2025-04-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:54:02] Production.INFO: ==10431== Lock acquired, processing the job...
[2025-04-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:54:02] Production.INFO: ==10431== Releasing lock...
[2025-04-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:54:03] Production.INFO: ==10436== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:54:03] Production.INFO: ==10438== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:54:03] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:54:03] Production.INFO: ==10446== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:54:03] Production.INFO: ==10442== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:54:03] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-04-09 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:54:04] Production.INFO: Account Balance Start.
[2025-04-09 07:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:54:04] Production.INFO: 117
[2025-04-09 07:54:04] Production.INFO: count ==12
[2025-04-09 07:54:04] Production.INFO: ==10438== Releasing lock...
[2025-04-09 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:54:04] Production.INFO: count ==23
[2025-04-09 07:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868142') start
[2025-04-09 07:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868142') end
[2025-04-09 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:54:04] Production.INFO: 1
[2025-04-09 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:54:04] Production.INFO: Total Charge 0
[2025-04-09 07:54:04] Production.INFO: CreateAllLog End
[2025-04-09 07:54:04] Production.INFO: ==10446== Releasing lock...
[2025-04-09 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:54:04] Production.ERROR: done
[2025-04-09 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:54:04] Production.INFO: Account Balance End.
[2025-04-09 07:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:54:04] Production.INFO: ==10442== Releasing lock...
[2025-04-09 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:54:04] Production.ERROR: done
[2025-04-09 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:54:05
[end_date_ymd] => 2025-04-09 07:54:05
[RateCDR] => 1
)
[2025-04-09 07:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:54:05' and `end` < '2025-04-09 07:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:54:11] Production.ERROR: CronJobId end10
[2025-04-09 07:54:11] Production.INFO: ==10440== Releasing lock...
[2025-04-09 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:54:14] Production.INFO: call_cost start
[2025-04-09 07:54:14] Production.INFO: call_cost end
[2025-04-09 07:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:54:15] Production.INFO: ==10436== Releasing lock...
[2025-04-09 07:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:54:18] Production.INFO: count ==112
[2025-04-09 07:54:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:54:05 - End Time 2025-04-09 07:54:05
[2025-04-09 07:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868144', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868144', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868144', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868144', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:54:18] Production.INFO: ProcessCDR(1,14868144,1,1,2)
[2025-04-09 07:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868144', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868144', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:54:21] Production.INFO: ==10444== Releasing lock...
[2025-04-09 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-09 12:55:02] Production.INFO: ==10507== Lock acquired, processing the job...
[2025-04-09 12:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:55:02] Production.INFO: neon service started
[2025-04-09 12:55:02] Production.INFO: neon service started
[2025-04-09 12:55:02] Production.INFO: ==10507== Releasing lock...
[2025-04-09 12:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:55:02] Production.INFO: ==10509== Lock acquired, processing the job...
[2025-04-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:55:03] Production.INFO: ==10509== Releasing lock...
[2025-04-09 07:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:55:03] Production.INFO: ==10511== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:55:03] Production.INFO: ==10511== Releasing lock...
[2025-04-09 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:55:03] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-04-09 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:55:03] Production.INFO: ==10516== Lock acquired, processing the job...
[2025-04-09 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:55:04] Production.INFO: ==10520== Lock acquired, processing the job...
[2025-04-09 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:55:04] Production.INFO: ==10518== Lock acquired, processing the job...
[2025-04-09 07:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:55:04] Production.INFO: Account Balance Start.
[2025-04-09 07:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:55:04] Production.INFO: 117
[2025-04-09 07:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:55:04] Production.INFO: ==10524== Lock acquired, processing the job...
[2025-04-09 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:55:04] Production.INFO: Total Charge 0
[2025-04-09 07:55:04] Production.INFO: CreateAllLog End
[2025-04-09 07:55:04] Production.INFO: ==10522== Lock acquired, processing the job...
[2025-04-09 07:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:55:04] Production.INFO: ==10516== Releasing lock...
[2025-04-09 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:55:04] Production.INFO: count ==12
[2025-04-09 07:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:55:04] Production.INFO: Account Balance End.
[2025-04-09 07:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:55:04] Production.INFO: count ==23
[2025-04-09 07:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:55:04] Production.INFO: ==10520== Releasing lock...
[2025-04-09 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868148') start
[2025-04-09 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868148') end
[2025-04-09 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:55:04] Production.INFO: 1
[2025-04-09 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:55:04] Production.INFO: ==10524== Releasing lock...
[2025-04-09 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:55:04] Production.ERROR: done
[2025-04-09 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:55:04] Production.ERROR: done
[2025-04-09 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:55:05
[end_date_ymd] => 2025-04-09 07:55:05
[RateCDR] => 1
)
[2025-04-09 07:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:55:05' and `end` < '2025-04-09 07:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:55:12] Production.ERROR: CronJobId end10
[2025-04-09 07:55:12] Production.INFO: ==10518== Releasing lock...
[2025-04-09 07:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:55:15] Production.INFO: call_cost start
[2025-04-09 07:55:15] Production.INFO: call_cost end
[2025-04-09 07:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:55:16] Production.INFO: ==10514== Releasing lock...
[2025-04-09 07:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:55:18] Production.INFO: count ==118
[2025-04-09 07:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:55:05 - End Time 2025-04-09 07:55:05
[2025-04-09 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868149', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868149', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868149', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868149', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:55:18] Production.INFO: ProcessCDR(1,14868149,1,1,2)
[2025-04-09 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868149', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868149', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:55:23] Production.INFO: ==10522== Releasing lock...
[2025-04-09 07:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:55:23] Production.INFO: 29 MB #Memory Used#
[2025-04-09 12:56:01] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-04-09 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:56:01] Production.INFO: neon service started
[2025-04-09 12:56:01] Production.INFO: neon service started
[2025-04-09 12:56:01] Production.INFO: ==10585== Releasing lock...
[2025-04-09 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:56:02] Production.INFO: ==10587== Lock acquired, processing the job...
[2025-04-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:56:02] Production.INFO: ==10589== Lock acquired, processing the job...
[2025-04-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:56:02] Production.INFO: ==10589== Releasing lock...
[2025-04-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:56:02] Production.INFO: ==10587== Releasing lock...
[2025-04-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:56:03] Production.INFO: ==10598== Lock acquired, processing the job...
[2025-04-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:56:03] Production.INFO: ==10602== Lock acquired, processing the job...
[2025-04-09 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:56:03] Production.INFO: Account Balance Start.
[2025-04-09 07:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:56:03] Production.INFO: 117
[2025-04-09 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-04-09 07:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:56:03] Production.INFO: count ==12
[2025-04-09 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-04-09 07:56:03] Production.INFO: count ==23
[2025-04-09 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868150') start
[2025-04-09 07:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:56:03] Production.INFO: Total Charge 0
[2025-04-09 07:56:03] Production.INFO: CreateAllLog End
[2025-04-09 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868150') end
[2025-04-09 07:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:56:03] Production.INFO: 1
[2025-04-09 07:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:56:03] Production.INFO: ==10592== Lock acquired, processing the job...
[2025-04-09 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:56:03] Production.INFO: ==10602== Releasing lock...
[2025-04-09 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:56:03] Production.INFO: ==10594== Lock acquired, processing the job...
[2025-04-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:56:03] Production.INFO: Account Balance End.
[2025-04-09 07:56:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:56:03] Production.INFO: ==10598== Releasing lock...
[2025-04-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:56:04] Production.INFO: ==10600== Lock acquired, processing the job...
[2025-04-09 07:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:56:04] Production.INFO: ==10596== Lock acquired, processing the job...
[2025-04-09 07:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:56:04] Production.ERROR: done
[2025-04-09 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:56:04] Production.INFO: ==10594== Releasing lock...
[2025-04-09 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:56:04] Production.ERROR: done
[2025-04-09 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:56:05
[end_date_ymd] => 2025-04-09 07:56:05
[RateCDR] => 1
)
[2025-04-09 07:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:56:05' and `end` < '2025-04-09 07:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:56:13] Production.ERROR: CronJobId end10
[2025-04-09 07:56:13] Production.INFO: ==10596== Releasing lock...
[2025-04-09 07:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:56:15] Production.INFO: call_cost start
[2025-04-09 07:56:15] Production.INFO: call_cost end
[2025-04-09 07:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:56:16] Production.INFO: ==10592== Releasing lock...
[2025-04-09 07:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:56:18] Production.INFO: count ==122
[2025-04-09 07:56:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:56:05 - End Time 2025-04-09 07:56:05
[2025-04-09 07:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868154', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868154', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868154', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868154', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:56:18] Production.INFO: ProcessCDR(1,14868154,1,1,2)
[2025-04-09 07:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868154', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868154', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:56:22] Production.INFO: ==10600== Releasing lock...
[2025-04-09 07:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:56:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 12:57:02] Production.INFO: ==10697== Lock acquired, processing the job...
[2025-04-09 12:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:57:02] Production.INFO: neon service started
[2025-04-09 12:57:02] Production.INFO: neon service started
[2025-04-09 12:57:02] Production.INFO: ==10697== Releasing lock...
[2025-04-09 12:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:57:02] Production.INFO: ==10699== Lock acquired, processing the job...
[2025-04-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:57:03] Production.INFO: ==10701== Lock acquired, processing the job...
[2025-04-09 11:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:57:03] Production.INFO: ==10701== Releasing lock...
[2025-04-09 11:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:57:03] Production.INFO: ==10699== Releasing lock...
[2025-04-09 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:57:04] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:57:04] Production.INFO: ==10714== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:57:04] Production.INFO: Account Balance Start.
[2025-04-09 07:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:57:04] Production.INFO: 117
[2025-04-09 07:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:57:04] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:57:04] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 07:57:04] Production.INFO: CreateAllLog End
[2025-04-09 07:57:04] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:57:04] Production.INFO: count ==12
[2025-04-09 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-04-09 07:57:04] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:57:04] Production.INFO: count ==23
[2025-04-09 07:57:04] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-04-09 07:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868156') start
[2025-04-09 07:57:04] Production.INFO: Account Balance End.
[2025-04-09 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868156') end
[2025-04-09 07:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:57:04] Production.INFO: 1
[2025-04-09 07:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:57:04] Production.INFO: ==10710== Releasing lock...
[2025-04-09 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:57:04] Production.INFO: ==10714== Releasing lock...
[2025-04-09 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:57:04] Production.INFO: ==10706== Releasing lock...
[2025-04-09 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:57:05] Production.ERROR: done
[2025-04-09 07:57:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:57:05] Production.ERROR: done
[2025-04-09 07:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:57:06
[end_date_ymd] => 2025-04-09 07:57:06
[RateCDR] => 1
)
[2025-04-09 07:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:57:06' and `end` < '2025-04-09 07:57:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:57:12] Production.ERROR: CronJobId end10
[2025-04-09 07:57:12] Production.INFO: ==10708== Releasing lock...
[2025-04-09 07:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:57:15] Production.INFO: call_cost start
[2025-04-09 07:57:15] Production.INFO: call_cost end
[2025-04-09 07:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:57:16] Production.INFO: ==10704== Releasing lock...
[2025-04-09 07:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:57:19] Production.INFO: count ==120
[2025-04-09 07:57:19] Production.ERROR: pbx CDR StartTime 2025-04-09 04:57:06 - End Time 2025-04-09 07:57:06
[2025-04-09 07:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868159', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868159', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868159', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868159', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:57:19] Production.INFO: ProcessCDR(1,14868159,1,1,2)
[2025-04-09 07:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868159', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868159', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:57:22] Production.INFO: ==10712== Releasing lock...
[2025-04-09 07:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:57:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 12:58:01] Production.INFO: ==10771== Lock acquired, processing the job...
[2025-04-09 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:58:01] Production.INFO: neon service started
[2025-04-09 12:58:01] Production.INFO: neon service started
[2025-04-09 12:58:01] Production.INFO: ==10771== Releasing lock...
[2025-04-09 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:58:02] Production.INFO: ==10773== Lock acquired, processing the job...
[2025-04-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:58:02] Production.INFO: ==10775== Lock acquired, processing the job...
[2025-04-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:58:02] Production.INFO: ==10775== Releasing lock...
[2025-04-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:58:02] Production.INFO: ==10773== Releasing lock...
[2025-04-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 07:58:03] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-04-09 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:58:03] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-04-09 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:58:03] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-04-09 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:58:04] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-04-09 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:58:04] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-04-09 07:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:58:04] Production.INFO: ==10780== Releasing lock...
[2025-04-09 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:58:04] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-04-09 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:58:04] Production.INFO: Account Balance Start.
[2025-04-09 07:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 07:58:04] Production.INFO: 117
[2025-04-09 07:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 07:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:58:04] Production.ERROR: done
[2025-04-09 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 07:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 07:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:58:04] Production.INFO: count ==12
[2025-04-09 07:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:58:04] Production.INFO: Total Charge 0
[2025-04-09 07:58:04] Production.INFO: count ==23
[2025-04-09 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868163') start
[2025-04-09 07:58:04] Production.INFO: CreateAllLog End
[2025-04-09 07:58:04] Production.ERROR: done
[2025-04-09 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868163') end
[2025-04-09 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:58:04] Production.INFO: 1
[2025-04-09 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:58:04] Production.INFO: Account Balance End.
[2025-04-09 07:58:04] Production.INFO: ==10788== Releasing lock...
[2025-04-09 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 07:58:04] Production.INFO: ==10784== Releasing lock...
[2025-04-09 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:58:05
[end_date_ymd] => 2025-04-09 07:58:05
[RateCDR] => 1
)
[2025-04-09 07:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 04:58:05' and `end` < '2025-04-09 07:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 07:58:14] Production.ERROR: CronJobId end10
[2025-04-09 07:58:14] Production.INFO: ==10782== Releasing lock...
[2025-04-09 07:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:58:16] Production.INFO: call_cost start
[2025-04-09 07:58:16] Production.INFO: call_cost end
[2025-04-09 07:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:58:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:58:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:58:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:58:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:58:17] Production.INFO: ==10778== Releasing lock...
[2025-04-09 07:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:58:18] Production.INFO: count ==127
[2025-04-09 07:58:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:58:05 - End Time 2025-04-09 07:58:05
[2025-04-09 07:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868164', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868164', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868164', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868164', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:58:18] Production.INFO: ProcessCDR(1,14868164,1,1,2)
[2025-04-09 07:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868164', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868164', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:58:23] Production.INFO: ==10786== Releasing lock...
[2025-04-09 07:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:58:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 12:59:01] Production.INFO: ==10847== Lock acquired, processing the job...
[2025-04-09 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 12:59:01] Production.INFO: neon service started
[2025-04-09 12:59:01] Production.INFO: neon service started
[2025-04-09 12:59:01] Production.INFO: ==10847== Releasing lock...
[2025-04-09 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 07:59:01] Production.INFO: ==10849== Lock acquired, processing the job...
[2025-04-09 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 07:59:02] Production.INFO: ==10849== Releasing lock...
[2025-04-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:59:02] Production.INFO: ==10851== Lock acquired, processing the job...
[2025-04-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:59:02] Production.INFO: ==10851== Releasing lock...
[2025-04-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 07:59:02] Production.INFO: ==10853== Lock acquired, processing the job...
[2025-04-09 07:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 07:59:02] Production.INFO: ==10855== Lock acquired, processing the job...
[2025-04-09 07:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 07:59:02] Production.INFO: ==10857== Lock acquired, processing the job...
[2025-04-09 07:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 07:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 07:59:03] Production.INFO: ==10859== Lock acquired, processing the job...
[2025-04-09 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 07:59:03] Production.INFO: ==10861== Lock acquired, processing the job...
[2025-04-09 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 07:59:03] Production.INFO: Account Balance Start.
[2025-04-09 07:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 07:59:03] Production.INFO: 117
[2025-04-09 07:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 07:59:03] Production.INFO: ==10855== Releasing lock...
[2025-04-09 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 07:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 07:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 07:59:03] Production.INFO: Total Charge 0
[2025-04-09 07:59:03] Production.INFO: CreateAllLog End
[2025-04-09 07:59:03] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-04-09 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 07:59:03] Production.INFO: Account Balance End.
[2025-04-09 07:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:59:03] Production.INFO: count ==12
[2025-04-09 07:59:03] Production.ERROR: CronJobId end 12
[2025-04-09 07:59:03] Production.INFO: ==10859== Releasing lock...
[2025-04-09 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 07:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 07:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 07:59:03] Production.ERROR: done
[2025-04-09 07:59:03] Production.INFO: count ==23
[2025-04-09 07:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868168') start
[2025-04-09 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868168') end
[2025-04-09 07:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 07:59:03] Production.INFO: 1
[2025-04-09 07:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 07:59:03] Production.INFO: ==10864== Releasing lock...
[2025-04-09 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 07:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 07:59:03] Production.ERROR: done
[2025-04-09 07:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 04:59:04
[end_date_ymd] => 2025-04-09 07:59:04
[RateCDR] => 1
)
[2025-04-09 07: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-04-09 04:59:04' and `end` < '2025-04-09 07: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-04-09 07:59:11] Production.ERROR: CronJobId end10
[2025-04-09 07:59:11] Production.INFO: ==10857== Releasing lock...
[2025-04-09 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 07:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 07:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 07:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 07:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 07:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 07:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 07:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 07:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 07:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 07:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 07:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 07:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 07:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 07:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 07:59:14] Production.INFO: call_cost start
[2025-04-09 07:59:14] Production.INFO: call_cost end
[2025-04-09 07:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 07:59:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 07:59:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 07:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 07:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 07:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 07:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 07:59:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 07:59:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 07:59:14] Production.INFO: ==10853== Releasing lock...
[2025-04-09 07:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 07:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 07:59:18] Production.INFO: count ==127
[2025-04-09 07:59:18] Production.ERROR: pbx CDR StartTime 2025-04-09 04:59:04 - End Time 2025-04-09 07:59:04
[2025-04-09 07:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868169', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868169', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868169', 'tblTempVendorCDR_20' ) start
[2025-04-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868169', 'tblTempVendorCDR_20' ) end
[2025-04-09 07:59:18] Production.INFO: ProcessCDR(1,14868169,1,1,2)
[2025-04-09 07:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 07:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868169', 'tblTempUsageDetail_20' ) start
[2025-04-09 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868169', 'tblTempUsageDetail_20' ) end
[2025-04-09 07:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 07:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 07:59:21] Production.INFO: ==10861== Releasing lock...
[2025-04-09 07:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 07:59:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 13:00:01] Production.INFO: ==10922== Lock acquired, processing the job...
[2025-04-09 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:00:01] Production.INFO: neon service started
[2025-04-09 13:00:01] Production.INFO: neon service started
[2025-04-09 13:00:01] Production.INFO: ==10922== Releasing lock...
[2025-04-09 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:00:02] Production.INFO: ==10925== Lock acquired, processing the job...
[2025-04-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:00:02] Production.INFO: ==10927== Lock acquired, processing the job...
[2025-04-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:00:02] Production.INFO: ==10927== Releasing lock...
[2025-04-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:00:03] Production.INFO: ==10925== Releasing lock...
[2025-04-09 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:00:04] Production.INFO: ==10934== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:00:04] Production.INFO: ==10930== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:00:04] Production.ERROR: CronJob PID - 10934
[2025-04-09 08:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 08:00:04] Production.ERROR: CronJob ID - 7
[2025-04-09 08:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:00:00
[2025-04-09 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:00:04] Production.INFO: ==10940== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:00:04] Production.INFO: ==10932== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:00:04] Production.INFO: ==10930== Releasing lock...
[2025-04-09 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:00:04] Production.INFO: ==10942== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:00:04] Production.INFO: ==10936== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:00:04] Production.INFO: ==10938== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:00:04] Production.INFO: ==10944== Lock acquired, processing the job...
[2025-04-09 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:00:04] Production.INFO: ==10934== Releasing lock...
[2025-04-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:00:04] Production.INFO: Account Balance Start.
[2025-04-09 08:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:00:04] Production.INFO: 117
[2025-04-09 08:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:00:04] Production.INFO: count ==12
[2025-04-09 08:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:00:04] Production.INFO: count ==23
[2025-04-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868173') start
[2025-04-09 08:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:00:05] Production.INFO: Total Charge 0
[2025-04-09 08:00:05] Production.INFO: CreateAllLog End
[2025-04-09 08:00:05] Production.ERROR: done
[2025-04-09 08:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868173') end
[2025-04-09 08:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:00:05] Production.INFO: 1
[2025-04-09 08:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:00:05] Production.INFO: ==10944== Releasing lock...
[2025-04-09 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:00:05] Production.ERROR: done
[2025-04-09 08:00:05] Production.ERROR: done
[2025-04-09 08:00:05] Production.INFO: Account Balance End.
[2025-04-09 08:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:00:05] Production.INFO: ==10938== Releasing lock...
[2025-04-09 08:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868175', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:00:06
[end_date_ymd] => 2025-04-09 08:00:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:00:06' and `end` < '2025-04-09 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-04-09 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868175', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:00:09] Production.INFO: ProcessCDR(1,14868175,1,1,2)
[2025-04-09 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:00:09] Production.INFO: ==10942== Releasing lock...
[2025-04-09 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:00:14] Production.ERROR: CronJobId end10
[2025-04-09 08:00:14] Production.INFO: ==10936== Releasing lock...
[2025-04-09 08:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:00:16] Production.INFO: call_cost start
[2025-04-09 08:00:16] Production.INFO: call_cost end
[2025-04-09 08:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:00:17] Production.INFO: ==10932== Releasing lock...
[2025-04-09 08:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:00:19] Production.INFO: count ==136
[2025-04-09 08:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:00:06 - End Time 2025-04-09 08:00:06
[2025-04-09 08:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868174', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868174', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868174', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868174', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:00:19] Production.INFO: ProcessCDR(1,14868174,1,1,2)
[2025-04-09 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868174', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868174', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:00:23] Production.INFO: ==10940== Releasing lock...
[2025-04-09 08:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:00:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 13:01:01] Production.INFO: ==11008== Lock acquired, processing the job...
[2025-04-09 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:01:01] Production.INFO: neon service started
[2025-04-09 13:01:01] Production.INFO: neon service started
[2025-04-09 13:01:01] Production.INFO: ==11008== Releasing lock...
[2025-04-09 13:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:01:02] Production.INFO: ==11021== Lock acquired, processing the job...
[2025-04-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:01:02] Production.INFO: ==11019== Lock acquired, processing the job...
[2025-04-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:01:02] Production.INFO: ==11021== Releasing lock...
[2025-04-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:01:02] Production.INFO: ==11019== Releasing lock...
[2025-04-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:01:03] Production.INFO: ==11024== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:01:03] Production.INFO: ==11028== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:01:03] Production.INFO: ==11030== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:01:03] Production.INFO: Account Balance Start.
[2025-04-09 08:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:01:03] Production.INFO: 117
[2025-04-09 08:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:01:03] Production.INFO: ==11026== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:01:03] Production.INFO: Total Charge 0
[2025-04-09 08:01:03] Production.INFO: ==11034== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:01:03] Production.INFO: CreateAllLog End
[2025-04-09 08:01:03] Production.INFO: ==11032== Lock acquired, processing the job...
[2025-04-09 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:01:03] Production.INFO: ==11026== Releasing lock...
[2025-04-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:01:03] Production.INFO: Account Balance End.
[2025-04-09 08:01:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:01:03] Production.INFO: ==11030== Releasing lock...
[2025-04-09 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:01:03] Production.INFO: count ==12
[2025-04-09 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:01:03] Production.INFO: count ==23
[2025-04-09 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868179') start
[2025-04-09 08:01:04] Production.ERROR: done
[2025-04-09 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868179') end
[2025-04-09 08:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:01:04] Production.INFO: 1
[2025-04-09 08:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:01:04] Production.INFO: ==11034== Releasing lock...
[2025-04-09 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:01:04] Production.ERROR: done
[2025-04-09 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:01:05
[end_date_ymd] => 2025-04-09 08:01:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:01:05' and `end` < '2025-04-09 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-04-09 08:01:12] Production.ERROR: CronJobId end10
[2025-04-09 08:01:12] Production.INFO: ==11028== Releasing lock...
[2025-04-09 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:01:14] Production.INFO: call_cost start
[2025-04-09 08:01:14] Production.INFO: call_cost end
[2025-04-09 08:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:01:15] Production.INFO: ==11024== Releasing lock...
[2025-04-09 08:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:01:18] Production.INFO: count ==148
[2025-04-09 08:01:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:01:05 - End Time 2025-04-09 08:01:05
[2025-04-09 08:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868180', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868180', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868180', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868180', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:01:18] Production.INFO: ProcessCDR(1,14868180,1,1,2)
[2025-04-09 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868180', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868180', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:01:23] Production.INFO: ==11032== Releasing lock...
[2025-04-09 08:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:01:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 13:02:01] Production.INFO: ==11090== Lock acquired, processing the job...
[2025-04-09 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:02:01] Production.INFO: neon service started
[2025-04-09 13:02:01] Production.INFO: neon service started
[2025-04-09 13:02:01] Production.INFO: ==11090== Releasing lock...
[2025-04-09 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:02:02] Production.INFO: ==11093== Lock acquired, processing the job...
[2025-04-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:02:02] Production.INFO: ==11093== Releasing lock...
[2025-04-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:02:02] Production.INFO: ==11096== Lock acquired, processing the job...
[2025-04-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:02:02] Production.INFO: ==11096== Releasing lock...
[2025-04-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:02:03] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:02:03] Production.INFO: ==11104== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:02:03] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:02:03] Production.INFO: ==11108== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:02:03] Production.INFO: Account Balance Start.
[2025-04-09 08:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:02:03] Production.INFO: 117
[2025-04-09 08:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:02:03] Production.INFO: ==11102== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:02:03] Production.INFO: ==11106== Lock acquired, processing the job...
[2025-04-09 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:02:03] Production.INFO: Total Charge 0
[2025-04-09 08:02:03] Production.INFO: count ==12
[2025-04-09 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:02:03] Production.INFO: CreateAllLog End
[2025-04-09 08:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:02:03] Production.INFO: count ==23
[2025-04-09 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868184') start
[2025-04-09 08:02:04] Production.INFO: ==11100== Releasing lock...
[2025-04-09 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868184') end
[2025-04-09 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:02:04] Production.INFO: 1
[2025-04-09 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:02:04] Production.INFO: ==11108== Releasing lock...
[2025-04-09 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:02:04] Production.INFO: Account Balance End.
[2025-04-09 08:02:04] Production.ERROR: done
[2025-04-09 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:02:04] Production.INFO: ==11104== Releasing lock...
[2025-04-09 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:02:04] Production.ERROR: done
[2025-04-09 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:02:05
[end_date_ymd] => 2025-04-09 08:02:05
[RateCDR] => 1
)
[2025-04-09 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:02:05' and `end` < '2025-04-09 08:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:02:12] Production.ERROR: CronJobId end10
[2025-04-09 08:02:12] Production.INFO: ==11102== Releasing lock...
[2025-04-09 08:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:02:14] Production.INFO: call_cost start
[2025-04-09 08:02:14] Production.INFO: call_cost end
[2025-04-09 08:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:02:15] Production.INFO: ==11098== Releasing lock...
[2025-04-09 08:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:02:18] Production.INFO: count ==153
[2025-04-09 08:02:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:02:05 - End Time 2025-04-09 08:02:05
[2025-04-09 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868185', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868185', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868185', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868185', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:02:18] Production.INFO: ProcessCDR(1,14868185,1,1,2)
[2025-04-09 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868185', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868185', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:02:22] Production.INFO: ==11106== Releasing lock...
[2025-04-09 08:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:02:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 13:03:02] Production.INFO: ==11166== Lock acquired, processing the job...
[2025-04-09 13:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:03:02] Production.INFO: neon service started
[2025-04-09 13:03:02] Production.INFO: neon service started
[2025-04-09 13:03:02] Production.INFO: ==11166== Releasing lock...
[2025-04-09 13:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:03:02] Production.INFO: ==11169== Lock acquired, processing the job...
[2025-04-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:03:02] Production.INFO: ==11169== Releasing lock...
[2025-04-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:03:03] Production.INFO: ==11171== Lock acquired, processing the job...
[2025-04-09 12:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:03:03] Production.INFO: ==11171== Releasing lock...
[2025-04-09 12:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:03:03] Production.INFO: ==11177== Lock acquired, processing the job...
[2025-04-09 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:03:04] Production.INFO: ==11183== Lock acquired, processing the job...
[2025-04-09 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:03:04] Production.INFO: ==11173== Lock acquired, processing the job...
[2025-04-09 08:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:03:04] Production.INFO: ==11175== Lock acquired, processing the job...
[2025-04-09 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:03:04] Production.INFO: ==11179== Lock acquired, processing the job...
[2025-04-09 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:03:04] Production.INFO: ==11181== Lock acquired, processing the job...
[2025-04-09 08:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:03:04] Production.INFO: count ==12
[2025-04-09 08:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:03:04] Production.INFO: count ==23
[2025-04-09 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868186') start
[2025-04-09 08:03:04] Production.INFO: Account Balance Start.
[2025-04-09 08:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:03:04] Production.INFO: 117
[2025-04-09 08:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868186') end
[2025-04-09 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:03:04] Production.INFO: 1
[2025-04-09 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:03:04] Production.INFO: ==11183== Releasing lock...
[2025-04-09 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:03:04] Production.INFO: ==11175== Releasing lock...
[2025-04-09 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:03:04] Production.INFO: Total Charge 0
[2025-04-09 08:03:04] Production.INFO: CreateAllLog End
[2025-04-09 08:03:04] Production.INFO: Account Balance End.
[2025-04-09 08:03:04] Production.ERROR: done
[2025-04-09 08:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:03:04] Production.INFO: ==11179== Releasing lock...
[2025-04-09 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:03:04] Production.ERROR: done
[2025-04-09 08:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:03:06
[end_date_ymd] => 2025-04-09 08:03:06
[RateCDR] => 1
)
[2025-04-09 08:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:03:06' and `end` < '2025-04-09 08:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:03:11] Production.ERROR: CronJobId end10
[2025-04-09 08:03:11] Production.INFO: ==11177== Releasing lock...
[2025-04-09 08:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:03:15] Production.INFO: call_cost start
[2025-04-09 08:03:15] Production.INFO: call_cost end
[2025-04-09 08:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:03:16] Production.INFO: ==11173== Releasing lock...
[2025-04-09 08:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:03:18] Production.INFO: count ==153
[2025-04-09 08:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:03:06 - End Time 2025-04-09 08:03:06
[2025-04-09 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868190', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868190', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868190', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868190', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:03:18] Production.INFO: ProcessCDR(1,14868190,1,1,2)
[2025-04-09 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868190', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868190', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:03:22] Production.INFO: ==11181== Releasing lock...
[2025-04-09 08:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:03:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 13:04:01] Production.INFO: ==11245== Lock acquired, processing the job...
[2025-04-09 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:04:01] Production.INFO: neon service started
[2025-04-09 13:04:01] Production.INFO: neon service started
[2025-04-09 13:04:01] Production.INFO: ==11245== Releasing lock...
[2025-04-09 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:04:02] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-04-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:04:02] Production.INFO: ==11249== Releasing lock...
[2025-04-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:04:02] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-04-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:04:02] Production.INFO: ==11247== Releasing lock...
[2025-04-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:04:03] Production.INFO: ==11258== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:04:03] Production.INFO: ==11262== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:04:03] Production.INFO: Account Balance Start.
[2025-04-09 08:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:04:03] Production.INFO: 117
[2025-04-09 08:04:03] Production.INFO: ==11254== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:04:03] Production.INFO: ==11252== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 08:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:04:03] Production.INFO: count ==12
[2025-04-09 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-04-09 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:04:03] Production.INFO: count ==23
[2025-04-09 08:04:03] Production.INFO: Total Charge 0
[2025-04-09 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868192') start
[2025-04-09 08:04:03] Production.INFO: ==11256== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:04:03] Production.INFO: CreateAllLog End
[2025-04-09 08:04:03] Production.INFO: ==11260== Lock acquired, processing the job...
[2025-04-09 08:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868192') end
[2025-04-09 08:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:04:03] Production.INFO: 1
[2025-04-09 08:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:04:03] Production.INFO: ==11262== Releasing lock...
[2025-04-09 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:04:03] Production.INFO: Account Balance End.
[2025-04-09 08:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:04:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:04:03] Production.INFO: ==11258== Releasing lock...
[2025-04-09 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:04:04] Production.INFO: ==11254== Releasing lock...
[2025-04-09 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:04:04] Production.ERROR: done
[2025-04-09 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:04:04] Production.ERROR: done
[2025-04-09 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:04:05
[end_date_ymd] => 2025-04-09 08:04:05
[RateCDR] => 1
)
[2025-04-09 08:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:04:05' and `end` < '2025-04-09 08:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:04:12] Production.ERROR: CronJobId end10
[2025-04-09 08:04:12] Production.INFO: ==11256== Releasing lock...
[2025-04-09 08:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:04:15] Production.INFO: call_cost start
[2025-04-09 08:04:15] Production.INFO: call_cost end
[2025-04-09 08:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:04:16] Production.INFO: ==11252== Releasing lock...
[2025-04-09 08:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:04:18] Production.INFO: count ==156
[2025-04-09 08:04:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:04:05 - End Time 2025-04-09 08:04:05
[2025-04-09 08:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868195', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868195', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868195', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868195', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:04:18] Production.INFO: ProcessCDR(1,14868195,1,1,2)
[2025-04-09 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868195', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868195', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:04:23] Production.INFO: ==11260== Releasing lock...
[2025-04-09 08:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:04:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 13:05:02] Production.INFO: ==11323== Lock acquired, processing the job...
[2025-04-09 13:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:05:02] Production.INFO: neon service started
[2025-04-09 13:05:02] Production.INFO: neon service started
[2025-04-09 13:05:02] Production.INFO: ==11323== Releasing lock...
[2025-04-09 13:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:05:02] Production.INFO: ==11325== Lock acquired, processing the job...
[2025-04-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:05:02] Production.INFO: ==11327== Lock acquired, processing the job...
[2025-04-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:05:02] Production.INFO: ==11327== Releasing lock...
[2025-04-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:05:02] Production.INFO: ==11325== Releasing lock...
[2025-04-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:05:03] Production.INFO: ==11333== Lock acquired, processing the job...
[2025-04-09 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:05:03] Production.INFO: ==11329== Lock acquired, processing the job...
[2025-04-09 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:05:03] Production.INFO: ==11339== Lock acquired, processing the job...
[2025-04-09 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:05:03] Production.INFO: ==11331== Lock acquired, processing the job...
[2025-04-09 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:05:04] Production.INFO: count ==12
[2025-04-09 08:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:05:04] Production.INFO: count ==23
[2025-04-09 08:05:04] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-04-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868196') start
[2025-04-09 08:05:04] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-04-09 08:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:05:04] Production.INFO: Account Balance Start.
[2025-04-09 08:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:05:04] Production.INFO: 117
[2025-04-09 08:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868196') end
[2025-04-09 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:05:04] Production.INFO: 1
[2025-04-09 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:05:04] Production.INFO: Total Charge 0
[2025-04-09 08:05:04] Production.INFO: CreateAllLog End
[2025-04-09 08:05:04] Production.INFO: ==11339== Releasing lock...
[2025-04-09 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:05:04] Production.INFO: ==11331== Releasing lock...
[2025-04-09 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:05:04] Production.INFO: Account Balance End.
[2025-04-09 08:05:04] Production.ERROR: done
[2025-04-09 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:05:04] Production.INFO: ==11335== Releasing lock...
[2025-04-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:05:04] Production.ERROR: done
[2025-04-09 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:05:05
[end_date_ymd] => 2025-04-09 08:05:05
[RateCDR] => 1
)
[2025-04-09 08:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:05:05' and `end` < '2025-04-09 08:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:05:11] Production.ERROR: CronJobId end10
[2025-04-09 08:05:11] Production.INFO: ==11333== Releasing lock...
[2025-04-09 08:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:05:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:05:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:05:13] Production.INFO: call_cost start
[2025-04-09 08:05:13] Production.INFO: call_cost end
[2025-04-09 08:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:05:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:05:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:05:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:05:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:05:14] Production.INFO: ==11329== Releasing lock...
[2025-04-09 08:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:05:18] Production.INFO: count ==162
[2025-04-09 08:05:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:05:05 - End Time 2025-04-09 08:05:05
[2025-04-09 08:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868200', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868200', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868200', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868200', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:05:18] Production.INFO: ProcessCDR(1,14868200,1,1,2)
[2025-04-09 08:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868200', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868200', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:05:23] Production.INFO: ==11337== Releasing lock...
[2025-04-09 08:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:05:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-09 13:06:01] Production.INFO: ==11396== Lock acquired, processing the job...
[2025-04-09 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:06:01] Production.INFO: neon service started
[2025-04-09 13:06:01] Production.INFO: neon service started
[2025-04-09 13:06:01] Production.INFO: ==11396== Releasing lock...
[2025-04-09 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:06:01] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-04-09 08:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:06:02] Production.INFO: ==11398== Releasing lock...
[2025-04-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:06:02] Production.INFO: ==11400== Lock acquired, processing the job...
[2025-04-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:06:02] Production.INFO: ==11400== Releasing lock...
[2025-04-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:06:03] Production.INFO: ==11402== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:06:03] Production.INFO: ==11406== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:06:03] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:06:03] Production.INFO: ==11404== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:06:03] Production.INFO: ==11408== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:06:03] Production.INFO: ==11413== Lock acquired, processing the job...
[2025-04-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:06:03] Production.INFO: Account Balance Start.
[2025-04-09 08:06:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:06:03] Production.INFO: 117
[2025-04-09 08:06:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:06:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:06:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:06:03] Production.INFO: count ==12
[2025-04-09 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:06:03] Production.INFO: count ==23
[2025-04-09 08:06:03] Production.INFO: Total Charge 0
[2025-04-09 08:06:03] Production.INFO: CreateAllLog End
[2025-04-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868204') start
[2025-04-09 08:06:03] Production.ERROR: done
[2025-04-09 08:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868204') end
[2025-04-09 08:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:06:03] Production.INFO: 1
[2025-04-09 08:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:06:03] Production.INFO: ==11413== Releasing lock...
[2025-04-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:06:04] Production.INFO: ==11404== Releasing lock...
[2025-04-09 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:06:04] Production.ERROR: done
[2025-04-09 08:06:04] Production.INFO: Account Balance End.
[2025-04-09 08:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:06:04] Production.INFO: ==11408== Releasing lock...
[2025-04-09 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:06:05
[end_date_ymd] => 2025-04-09 08:06:05
[RateCDR] => 1
)
[2025-04-09 08:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:06:05' and `end` < '2025-04-09 08:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:06:12] Production.ERROR: CronJobId end10
[2025-04-09 08:06:12] Production.INFO: ==11406== Releasing lock...
[2025-04-09 08:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:06:14] Production.INFO: call_cost start
[2025-04-09 08:06:14] Production.INFO: call_cost end
[2025-04-09 08:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:06:15] Production.INFO: ==11402== Releasing lock...
[2025-04-09 08:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:06:17] Production.INFO: count ==165
[2025-04-09 08:06:17] Production.ERROR: pbx CDR StartTime 2025-04-09 05:06:05 - End Time 2025-04-09 08:06:05
[2025-04-09 08:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868205', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868205', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868205', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868205', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:06:17] Production.INFO: ProcessCDR(1,14868205,1,1,2)
[2025-04-09 08:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868205', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868205', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:06:22] Production.INFO: ==11410== Releasing lock...
[2025-04-09 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:06:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-09 13:07:01] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-04-09 13:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:07:02] Production.INFO: neon service started
[2025-04-09 13:07:02] Production.INFO: neon service started
[2025-04-09 13:07:02] Production.INFO: ==11475== Releasing lock...
[2025-04-09 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:07:02] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-04-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:07:02] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-04-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:07:02] Production.INFO: ==11479== Releasing lock...
[2025-04-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:07:02] Production.INFO: ==11477== Releasing lock...
[2025-04-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:07:03] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:07:03] Production.INFO: ==11487== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:07:03] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:07:03] Production.INFO: Account Balance Start.
[2025-04-09 08:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:07:03] Production.INFO: 117
[2025-04-09 08:07:03] Production.INFO: ==11489== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:07:03] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:07:03] Production.INFO: Total Charge 0
[2025-04-09 08:07:03] Production.INFO: CreateAllLog End
[2025-04-09 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:07:03] Production.INFO: ==11492== Lock acquired, processing the job...
[2025-04-09 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:07:03] Production.INFO: ==11483== Releasing lock...
[2025-04-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:07:04] Production.INFO: count ==12
[2025-04-09 08:07:04] Production.INFO: Account Balance End.
[2025-04-09 08:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:07:04] Production.INFO: count ==23
[2025-04-09 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868209') start
[2025-04-09 08:07:04] Production.ERROR: done
[2025-04-09 08:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:07:04] Production.INFO: ==11487== Releasing lock...
[2025-04-09 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868209') end
[2025-04-09 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:07:04] Production.INFO: 1
[2025-04-09 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:07:04] Production.ERROR: done
[2025-04-09 08:07:04] Production.INFO: ==11492== Releasing lock...
[2025-04-09 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:07:05
[end_date_ymd] => 2025-04-09 08:07:05
[RateCDR] => 1
)
[2025-04-09 08:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:07:05' and `end` < '2025-04-09 08:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:07:11] Production.ERROR: CronJobId end10
[2025-04-09 08:07:11] Production.INFO: ==11485== Releasing lock...
[2025-04-09 08:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:07:13] Production.INFO: call_cost start
[2025-04-09 08:07:13] Production.INFO: call_cost end
[2025-04-09 08:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:07:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:07:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:07:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:07:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:07:14] Production.INFO: ==11481== Releasing lock...
[2025-04-09 08:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:07:18] Production.INFO: count ==169
[2025-04-09 08:07:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:07:05 - End Time 2025-04-09 08:07:05
[2025-04-09 08:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868210', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868210', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868210', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868210', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:07:18] Production.INFO: ProcessCDR(1,14868210,1,1,2)
[2025-04-09 08:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868210', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868210', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:07:23] Production.INFO: ==11489== Releasing lock...
[2025-04-09 08:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:07:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 13:08:01] Production.INFO: ==11554== Lock acquired, processing the job...
[2025-04-09 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:08:01] Production.INFO: neon service started
[2025-04-09 13:08:01] Production.INFO: neon service started
[2025-04-09 13:08:01] Production.INFO: ==11554== Releasing lock...
[2025-04-09 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:08:01] Production.INFO: ==11556== Lock acquired, processing the job...
[2025-04-09 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:08:02] Production.INFO: ==11556== Releasing lock...
[2025-04-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:08:02] Production.INFO: ==11558== Lock acquired, processing the job...
[2025-04-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:08:02] Production.INFO: ==11558== Releasing lock...
[2025-04-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:08:03] Production.INFO: ==11563== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:08:03] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:08:03] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:08:03] Production.INFO: ==11565== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:08:03] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:08:03] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-04-09 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:08:03] Production.INFO: Account Balance Start.
[2025-04-09 08:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:08:03] Production.INFO: 117
[2025-04-09 08:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:08:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:08:03] Production.INFO: Total Charge 0
[2025-04-09 08:08:03] Production.INFO: CreateAllLog End
[2025-04-09 08:08:03] Production.INFO: ==11563== Releasing lock...
[2025-04-09 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:08:03] Production.INFO: count ==12
[2025-04-09 08:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:08:03] Production.INFO: count ==23
[2025-04-09 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868214') start
[2025-04-09 08:08:03] Production.ERROR: done
[2025-04-09 08:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:08:03] Production.INFO: Account Balance End.
[2025-04-09 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868214') end
[2025-04-09 08:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:08:03] Production.INFO: 1
[2025-04-09 08:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:08:03] Production.INFO: ==11571== Releasing lock...
[2025-04-09 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:08:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:08:03] Production.INFO: ==11567== Releasing lock...
[2025-04-09 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:08:04] Production.ERROR: done
[2025-04-09 08:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:08:05
[end_date_ymd] => 2025-04-09 08:08:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:08:05' and `end` < '2025-04-09 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-04-09 08:08:10] Production.ERROR: CronJobId end10
[2025-04-09 08:08:10] Production.INFO: ==11565== Releasing lock...
[2025-04-09 08:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:08:13] Production.INFO: call_cost start
[2025-04-09 08:08:13] Production.INFO: call_cost end
[2025-04-09 08:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:08:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:08:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:08:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:08:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:08:14] Production.INFO: ==11561== Releasing lock...
[2025-04-09 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:08:18] Production.INFO: count ==170
[2025-04-09 08:08:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:08:05 - End Time 2025-04-09 08:08:05
[2025-04-09 08:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868215', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868215', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868215', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868215', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:08:18] Production.INFO: ProcessCDR(1,14868215,1,1,2)
[2025-04-09 08:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868215', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868215', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:08:22] Production.INFO: ==11569== Releasing lock...
[2025-04-09 08:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:08:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 13:09:01] Production.INFO: ==11629== Lock acquired, processing the job...
[2025-04-09 13:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:09:01] Production.INFO: neon service started
[2025-04-09 13:09:01] Production.INFO: neon service started
[2025-04-09 13:09:01] Production.INFO: ==11629== Releasing lock...
[2025-04-09 13:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:09:02] Production.INFO: ==11633== Lock acquired, processing the job...
[2025-04-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:09:02] Production.INFO: ==11633== Releasing lock...
[2025-04-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:09:02] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-04-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:09:02] Production.INFO: ==11631== Releasing lock...
[2025-04-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:09:03] Production.INFO: ==11636== Lock acquired, processing the job...
[2025-04-09 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:09:03] Production.INFO: ==11642== Lock acquired, processing the job...
[2025-04-09 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:09:03] Production.INFO: ==11638== Lock acquired, processing the job...
[2025-04-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:09:03] Production.INFO: Account Balance Start.
[2025-04-09 08:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:09:03] Production.INFO: 117
[2025-04-09 08:09:03] Production.INFO: ==11644== Lock acquired, processing the job...
[2025-04-09 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:09:03] Production.INFO: ==11640== Lock acquired, processing the job...
[2025-04-09 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:09:03] Production.INFO: Total Charge 0
[2025-04-09 08:09:03] Production.INFO: CreateAllLog End
[2025-04-09 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:09:04] Production.INFO: ==11646== Lock acquired, processing the job...
[2025-04-09 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:09:04] Production.INFO: Account Balance End.
[2025-04-09 08:09:04] Production.INFO: ==11638== Releasing lock...
[2025-04-09 08:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:09:04] Production.INFO: ==11642== Releasing lock...
[2025-04-09 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:09:04] Production.ERROR: done
[2025-04-09 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-04-09 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:09:04] Production.INFO: count ==12
[2025-04-09 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-04-09 08:09:04] Production.INFO: count ==23
[2025-04-09 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868219') start
[2025-04-09 08:09:04] Production.ERROR: done
[2025-04-09 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868219') end
[2025-04-09 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:09:04] Production.INFO: 1
[2025-04-09 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:09:04] Production.INFO: ==11646== Releasing lock...
[2025-04-09 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:09:05
[end_date_ymd] => 2025-04-09 08:09:05
[RateCDR] => 1
)
[2025-04-09 08:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:09:05' and `end` < '2025-04-09 08:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:09:12] Production.ERROR: CronJobId end10
[2025-04-09 08:09:12] Production.INFO: ==11640== Releasing lock...
[2025-04-09 08:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:09:14] Production.INFO: call_cost start
[2025-04-09 08:09:14] Production.INFO: call_cost end
[2025-04-09 08:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:09:15] Production.INFO: ==11636== Releasing lock...
[2025-04-09 08:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:09:18] Production.INFO: count ==178
[2025-04-09 08:09:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:09:05 - End Time 2025-04-09 08:09:05
[2025-04-09 08:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868220', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868220', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868220', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868220', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:09:18] Production.INFO: ProcessCDR(1,14868220,1,1,2)
[2025-04-09 08:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868220', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868220', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:09:21] Production.INFO: ==11644== Releasing lock...
[2025-04-09 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:09:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 13:10:01] Production.INFO: ==11707== Lock acquired, processing the job...
[2025-04-09 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:10:01] Production.INFO: neon service started
[2025-04-09 13:10:01] Production.INFO: neon service started
[2025-04-09 13:10:01] Production.INFO: ==11707== Releasing lock...
[2025-04-09 13:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:10:01] Production.INFO: ==11709== Lock acquired, processing the job...
[2025-04-09 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:10:02] Production.INFO: ==11709== Releasing lock...
[2025-04-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:10:02] Production.INFO: ==11711== Lock acquired, processing the job...
[2025-04-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:10:02] Production.INFO: ==11711== Releasing lock...
[2025-04-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:10:03] Production.INFO: ==11718== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:10:03] Production.INFO: ==11720== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:10:03] Production.INFO: ==11714== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:10:03] Production.INFO: ==11728== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:10:03] Production.INFO: ==11716== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:10:03] Production.INFO: ==11718== Releasing lock...
[2025-04-09 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:10:03] Production.ERROR: CronJob PID - 11716
[2025-04-09 08:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 08:10:03] Production.ERROR: CronJob ID - 5
[2025-04-09 08:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 08:10:00
[2025-04-09 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:10:03] Production.ERROR: CronJob PID - 11720
[2025-04-09 08:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 08:10:03] Production.ERROR: CronJob ID - 10
[2025-04-09 08:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 08:10:00
[2025-04-09 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:10:03] Production.ERROR: CronJob PID - 11728
[2025-04-09 08:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 08:10:03] Production.ERROR: CronJob ID - 19
[2025-04-09 08:10:03] Production.ERROR: CronJob Last Run Time 2025-04-09 08:10:00
[2025-04-09 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08: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-04-09 08:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:10:03] Production.INFO: ==11714== Releasing lock...
[2025-04-09 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:10:03] Production.INFO: ==11722== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:10:03] Production.INFO: count ==12
[2025-04-09 08: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-04-09 08:10:03] Production.INFO: count ==23
[2025-04-09 08:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868222') start
[2025-04-09 08:10:03] Production.INFO: ==11724== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:10:03] Production.INFO: ==11726== Lock acquired, processing the job...
[2025-04-09 08:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:10:03] Production.INFO: Account Balance Start.
[2025-04-09 08:10:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:10:03] Production.INFO: 117
[2025-04-09 08:10:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:10:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868222') end
[2025-04-09 08:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:10:03] Production.INFO: 1
[2025-04-09 08:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:10:03] Production.INFO: ==11728== Releasing lock...
[2025-04-09 08:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:10:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:10:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:10:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:10:04] Production.INFO: Total Charge 0
[2025-04-09 08:10:04] Production.INFO: CreateAllLog End
[2025-04-09 08:10:04] Production.ERROR: done
[2025-04-09 08:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:10:04] Production.ERROR: done
[2025-04-09 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868225', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:10:04] Production.INFO: Account Balance End.
[2025-04-09 08:10:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:10:04] Production.INFO: ==11722== Releasing lock...
[2025-04-09 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:10:04] Production.ERROR: done
[2025-04-09 08:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:10:05
[end_date_ymd] => 2025-04-09 08:10:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:10:05' and `end` < '2025-04-09 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-04-09 08:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868225', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:10:09] Production.INFO: ProcessCDR(1,14868225,1,1,2)
[2025-04-09 08:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868225,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868225,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:10:09] Production.INFO: ==11726== Releasing lock...
[2025-04-09 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:10:12] Production.ERROR: CronJobId end10
[2025-04-09 08:10:12] Production.INFO: ==11720== Releasing lock...
[2025-04-09 08:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:10:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:10:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:10:15] Production.INFO: call_cost start
[2025-04-09 08:10:15] Production.INFO: call_cost end
[2025-04-09 08:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:10:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:10:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:10:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:10:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:10:16] Production.INFO: ==11716== Releasing lock...
[2025-04-09 08:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:10:18] Production.INFO: count ==186
[2025-04-09 08:10:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:10:05 - End Time 2025-04-09 08:10:05
[2025-04-09 08:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868226', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868226', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868226', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868226', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:10:18] Production.INFO: ProcessCDR(1,14868226,1,1,2)
[2025-04-09 08:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868226', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868226', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:10:21] Production.INFO: ==11724== Releasing lock...
[2025-04-09 08:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:10:21] Production.INFO: 30 MB #Memory Used#
[2025-04-09 13:11:01] Production.INFO: ==11787== Lock acquired, processing the job...
[2025-04-09 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:11:01] Production.INFO: neon service started
[2025-04-09 13:11:01] Production.INFO: neon service started
[2025-04-09 13:11:01] Production.INFO: ==11787== Releasing lock...
[2025-04-09 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:11:02] Production.INFO: ==11789== Lock acquired, processing the job...
[2025-04-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:11:02] Production.INFO: ==11789== Releasing lock...
[2025-04-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:11:02] Production.INFO: ==11791== Lock acquired, processing the job...
[2025-04-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:11:02] Production.INFO: ==11791== Releasing lock...
[2025-04-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:11:03] Production.INFO: ==11804== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:11:03] Production.INFO: ==11802== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:11:03] Production.INFO: ==11794== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:11:03] Production.INFO: ==11796== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:11:03] Production.INFO: count ==12
[2025-04-09 08:11:03] Production.INFO: ==11800== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:11:03] Production.INFO: ==11798== Lock acquired, processing the job...
[2025-04-09 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:11:03] Production.INFO: count ==23
[2025-04-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868227') start
[2025-04-09 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:11:03] Production.INFO: Account Balance Start.
[2025-04-09 08:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:11:03] Production.INFO: 117
[2025-04-09 08:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868227') end
[2025-04-09 08:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:11:03] Production.INFO: 1
[2025-04-09 08:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:11:03] Production.INFO: Total Charge 0
[2025-04-09 08:11:03] Production.INFO: CreateAllLog End
[2025-04-09 08:11:03] Production.INFO: ==11804== Releasing lock...
[2025-04-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:11:03] Production.ERROR: done
[2025-04-09 08:11:03] Production.INFO: ==11796== Releasing lock...
[2025-04-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:11:04] Production.ERROR: done
[2025-04-09 08:11:04] Production.INFO: Account Balance End.
[2025-04-09 08:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:11:04] Production.INFO: ==11800== Releasing lock...
[2025-04-09 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:11:05
[end_date_ymd] => 2025-04-09 08:11:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:11:05' and `end` < '2025-04-09 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-04-09 08:11:11] Production.ERROR: CronJobId end10
[2025-04-09 08:11:11] Production.INFO: ==11798== Releasing lock...
[2025-04-09 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:11:14] Production.INFO: call_cost start
[2025-04-09 08:11:14] Production.INFO: call_cost end
[2025-04-09 08:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:11:15] Production.INFO: ==11794== Releasing lock...
[2025-04-09 08:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:11:18] Production.INFO: count ==204
[2025-04-09 08:11:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:11:05 - End Time 2025-04-09 08:11:05
[2025-04-09 08:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868231', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868231', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868231', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868231', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:11:18] Production.INFO: ProcessCDR(1,14868231,1,1,2)
[2025-04-09 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868231', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868231', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:11:21] Production.INFO: ==11802== Releasing lock...
[2025-04-09 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:11:21] Production.INFO: 30 MB #Memory Used#
[2025-04-09 13:12:02] Production.INFO: ==11862== Lock acquired, processing the job...
[2025-04-09 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:12:02] Production.INFO: neon service started
[2025-04-09 13:12:02] Production.INFO: neon service started
[2025-04-09 13:12:02] Production.INFO: ==11862== Releasing lock...
[2025-04-09 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:12:02] Production.INFO: ==11864== Lock acquired, processing the job...
[2025-04-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:12:02] Production.INFO: ==11864== Releasing lock...
[2025-04-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:12:03] Production.INFO: ==11866== Lock acquired, processing the job...
[2025-04-09 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:12:03] Production.INFO: ==11866== Releasing lock...
[2025-04-09 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:12:03] Production.INFO: ==11878== Lock acquired, processing the job...
[2025-04-09 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:12:03] Production.INFO: ==11889== Lock acquired, processing the job...
[2025-04-09 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:12:03] Production.INFO: ==11882== Lock acquired, processing the job...
[2025-04-09 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:12:03] Production.INFO: ==11894== Lock acquired, processing the job...
[2025-04-09 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:12:04] Production.INFO: ==11885== Lock acquired, processing the job...
[2025-04-09 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:12:04] Production.INFO: Account Balance Start.
[2025-04-09 08:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:12:04] Production.INFO: 117
[2025-04-09 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:12:04] Production.INFO: ==11896== Lock acquired, processing the job...
[2025-04-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:12:04] Production.INFO: Total Charge 0
[2025-04-09 08:12:04] Production.INFO: CreateAllLog End
[2025-04-09 08:12:04] Production.INFO: ==11882== Releasing lock...
[2025-04-09 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:12:04] Production.INFO: Account Balance End.
[2025-04-09 08:12:04] Production.INFO: count ==12
[2025-04-09 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:12:04] Production.INFO: count ==23
[2025-04-09 08:12:04] Production.ERROR: done
[2025-04-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868235') start
[2025-04-09 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:12:04] Production.INFO: ==11889== Releasing lock...
[2025-04-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:12:04] Production.ERROR: done
[2025-04-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868235') end
[2025-04-09 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:12:04] Production.INFO: 1
[2025-04-09 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:12:04] Production.INFO: ==11896== Releasing lock...
[2025-04-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:12:05
[end_date_ymd] => 2025-04-09 08:12:05
[RateCDR] => 1
)
[2025-04-09 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:12:05' and `end` < '2025-04-09 08:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:12:11] Production.ERROR: CronJobId end10
[2025-04-09 08:12:11] Production.INFO: ==11885== Releasing lock...
[2025-04-09 08:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:12:14] Production.INFO: call_cost start
[2025-04-09 08:12:14] Production.INFO: call_cost end
[2025-04-09 08:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:12:15] Production.INFO: ==11878== Releasing lock...
[2025-04-09 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:12:18] Production.INFO: count ==205
[2025-04-09 08:12:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:12:05 - End Time 2025-04-09 08:12:05
[2025-04-09 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868236', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868236', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868236', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868236', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:12:18] Production.INFO: ProcessCDR(1,14868236,1,1,2)
[2025-04-09 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868236', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868236', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:12:23] Production.INFO: ==11894== Releasing lock...
[2025-04-09 08:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:12:23] Production.INFO: 30 MB #Memory Used#
[2025-04-09 13:13:01] Production.INFO: ==11978== Lock acquired, processing the job...
[2025-04-09 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:13:01] Production.INFO: neon service started
[2025-04-09 13:13:01] Production.INFO: neon service started
[2025-04-09 13:13:01] Production.INFO: ==11978== Releasing lock...
[2025-04-09 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:13:02] Production.INFO: ==11982== Lock acquired, processing the job...
[2025-04-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:13:02] Production.INFO: ==11982== Releasing lock...
[2025-04-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:13:02] Production.INFO: ==11980== Lock acquired, processing the job...
[2025-04-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:13:02] Production.INFO: ==11980== Releasing lock...
[2025-04-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:13:03] Production.INFO: ==11989== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:13:03] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:13:03] Production.INFO: Account Balance Start.
[2025-04-09 08:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:13:03] Production.INFO: 117
[2025-04-09 08:13:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:13:03] Production.INFO: ==11987== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:13:03] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:13:03] Production.INFO: ==11993== Lock acquired, processing the job...
[2025-04-09 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:13:03] Production.INFO: Total Charge 0
[2025-04-09 08:13:03] Production.INFO: CreateAllLog End
[2025-04-09 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:13:04] Production.INFO: count ==12
[2025-04-09 08:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:13:04] Production.INFO: count ==23
[2025-04-09 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868240') start
[2025-04-09 08:13:04] Production.INFO: ==11987== Releasing lock...
[2025-04-09 08:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:13:04] Production.INFO: Account Balance End.
[2025-04-09 08:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:13:04] Production.INFO: ==11991== Releasing lock...
[2025-04-09 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868240') end
[2025-04-09 08:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:13:04] Production.INFO: 1
[2025-04-09 08:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:13:04] Production.INFO: ==11995== Releasing lock...
[2025-04-09 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:13:04] Production.ERROR: done
[2025-04-09 08:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:13:04] Production.ERROR: done
[2025-04-09 08:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:13:05
[end_date_ymd] => 2025-04-09 08:13:05
[RateCDR] => 1
)
[2025-04-09 08:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:13:05' and `end` < '2025-04-09 08:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:13:11] Production.ERROR: CronJobId end10
[2025-04-09 08:13:11] Production.INFO: ==11989== Releasing lock...
[2025-04-09 08:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:13:13] Production.INFO: call_cost start
[2025-04-09 08:13:13] Production.INFO: call_cost end
[2025-04-09 08:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:13:14] Production.INFO: ==11985== Releasing lock...
[2025-04-09 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:13:18] Production.INFO: count ==215
[2025-04-09 08:13:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:13:05 - End Time 2025-04-09 08:13:05
[2025-04-09 08:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868241', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868241', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868241', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868241', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:13:18] Production.INFO: ProcessCDR(1,14868241,1,1,2)
[2025-04-09 08:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868241', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868241', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:13:21] Production.INFO: ==11993== Releasing lock...
[2025-04-09 08:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:13:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 13:14:02] Production.INFO: ==12050== Lock acquired, processing the job...
[2025-04-09 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:14:02] Production.INFO: neon service started
[2025-04-09 13:14:02] Production.INFO: neon service started
[2025-04-09 13:14:02] Production.INFO: ==12050== Releasing lock...
[2025-04-09 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:14:02] Production.INFO: ==12052== Lock acquired, processing the job...
[2025-04-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:14:02] Production.INFO: ==12052== Releasing lock...
[2025-04-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:14:03] Production.INFO: ==12054== Lock acquired, processing the job...
[2025-04-09 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:14:03] Production.INFO: ==12054== Releasing lock...
[2025-04-09 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:14:03] Production.INFO: ==12059== Lock acquired, processing the job...
[2025-04-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:14:03] Production.INFO: ==12057== Lock acquired, processing the job...
[2025-04-09 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:14:03] Production.INFO: ==12063== Lock acquired, processing the job...
[2025-04-09 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:14:03] Production.INFO: ==12067== Lock acquired, processing the job...
[2025-04-09 08:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:14:03] Production.INFO: ==12059== Releasing lock...
[2025-04-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:14:03] Production.INFO: Account Balance Start.
[2025-04-09 08:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:14:03] Production.INFO: 117
[2025-04-09 08:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:14:03] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-04-09 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08: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-04-09 08:14:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:14:04] Production.INFO: count ==12
[2025-04-09 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:14:04] Production.INFO: count ==23
[2025-04-09 08:14:04] Production.INFO: Total Charge 0
[2025-04-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868245') start
[2025-04-09 08:14:04] Production.INFO: ==12065== Lock acquired, processing the job...
[2025-04-09 08:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:14:04] Production.INFO: CreateAllLog End
[2025-04-09 08:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868245') end
[2025-04-09 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:14:04] Production.INFO: 1
[2025-04-09 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:14:04] Production.INFO: ==12067== Releasing lock...
[2025-04-09 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:14:04] Production.ERROR: done
[2025-04-09 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:14:04] Production.INFO: Account Balance End.
[2025-04-09 08:14:04] Production.ERROR: done
[2025-04-09 08:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:14:04] Production.INFO: ==12063== Releasing lock...
[2025-04-09 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:14:05
[end_date_ymd] => 2025-04-09 08:14:05
[RateCDR] => 1
)
[2025-04-09 08:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:14:05' and `end` < '2025-04-09 08:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:14:12] Production.ERROR: CronJobId end10
[2025-04-09 08:14:12] Production.INFO: ==12061== Releasing lock...
[2025-04-09 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:14:14] Production.INFO: call_cost start
[2025-04-09 08:14:14] Production.INFO: call_cost end
[2025-04-09 08:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:14:15] Production.INFO: ==12057== Releasing lock...
[2025-04-09 08:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:14:18] Production.INFO: count ==217
[2025-04-09 08:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:14:05 - End Time 2025-04-09 08:14:05
[2025-04-09 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868246', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868246', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868246', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868246', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:14:18] Production.INFO: ProcessCDR(1,14868246,1,1,2)
[2025-04-09 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868246', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868246', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:14:22] Production.INFO: ==12065== Releasing lock...
[2025-04-09 08:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:14:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 13:15:01] Production.INFO: ==12126== Lock acquired, processing the job...
[2025-04-09 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:15:01] Production.INFO: neon service started
[2025-04-09 13:15:01] Production.INFO: neon service started
[2025-04-09 13:15:01] Production.INFO: ==12126== Releasing lock...
[2025-04-09 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:15:01] Production.INFO: ==12128== Lock acquired, processing the job...
[2025-04-09 08:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:15:02] Production.INFO: ==12128== Releasing lock...
[2025-04-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:15:02] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-04-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:15:02] Production.INFO: ==12130== Releasing lock...
[2025-04-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:15:03] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:15:03] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:15:03] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:15:03] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:15:03] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:15:03] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-04-09 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:15:03] Production.INFO: Account Balance Start.
[2025-04-09 08:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:15:03] Production.INFO: 117
[2025-04-09 08:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 08:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:15:03] Production.INFO: Total Charge 0
[2025-04-09 08:15:03] Production.INFO: count ==12
[2025-04-09 08:15:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 08:15:03] Production.INFO: count ==23
[2025-04-09 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868249') start
[2025-04-09 08:15:03] Production.ERROR: done
[2025-04-09 08:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868249') end
[2025-04-09 08:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:15:03] Production.INFO: 1
[2025-04-09 08:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:15:04] Production.INFO: ==12143== Releasing lock...
[2025-04-09 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:15:04] Production.INFO: Account Balance End.
[2025-04-09 08:15:04] Production.INFO: ==12135== Releasing lock...
[2025-04-09 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:15:04] Production.ERROR: done
[2025-04-09 08:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:15:04] Production.INFO: ==12139== Releasing lock...
[2025-04-09 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:15:05
[end_date_ymd] => 2025-04-09 08:15:05
[RateCDR] => 1
)
[2025-04-09 08:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:15:05' and `end` < '2025-04-09 08:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:15:11] Production.ERROR: CronJobId end10
[2025-04-09 08:15:11] Production.INFO: ==12137== Releasing lock...
[2025-04-09 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:15:14] Production.INFO: call_cost start
[2025-04-09 08:15:14] Production.INFO: call_cost end
[2025-04-09 08:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:15:15] Production.INFO: ==12133== Releasing lock...
[2025-04-09 08:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:15:18] Production.INFO: count ==217
[2025-04-09 08:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:15:05 - End Time 2025-04-09 08:15:05
[2025-04-09 08:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868251', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868251', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868251', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868251', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:15:18] Production.INFO: ProcessCDR(1,14868251,1,1,2)
[2025-04-09 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868251', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868251', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:15:22] Production.INFO: ==12141== Releasing lock...
[2025-04-09 08:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:15:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-09 13:16:01] Production.INFO: ==12198== Lock acquired, processing the job...
[2025-04-09 13:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:16:02] Production.INFO: neon service started
[2025-04-09 13:16:02] Production.INFO: neon service started
[2025-04-09 13:16:02] Production.INFO: ==12198== Releasing lock...
[2025-04-09 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:16:02] Production.INFO: ==12200== Lock acquired, processing the job...
[2025-04-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:16:02] Production.INFO: ==12202== Lock acquired, processing the job...
[2025-04-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:16:02] Production.INFO: ==12202== Releasing lock...
[2025-04-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:16:02] Production.INFO: ==12200== Releasing lock...
[2025-04-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:16:03] Production.INFO: ==12211== Lock acquired, processing the job...
[2025-04-09 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:16:03] Production.INFO: ==12209== Lock acquired, processing the job...
[2025-04-09 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:16:03] Production.INFO: Account Balance Start.
[2025-04-09 08:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:16:03] Production.INFO: 117
[2025-04-09 08:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:16:03] Production.INFO: ==12205== Lock acquired, processing the job...
[2025-04-09 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:16:03] Production.INFO: ==12207== Lock acquired, processing the job...
[2025-04-09 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:16:04] Production.INFO: Total Charge 0
[2025-04-09 08:16:04] Production.INFO: CreateAllLog End
[2025-04-09 08:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:16:04] Production.INFO: ==12213== Lock acquired, processing the job...
[2025-04-09 08:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:16:04] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-04-09 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:16:04] Production.INFO: Account Balance End.
[2025-04-09 08:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:16:04] Production.INFO: ==12211== Releasing lock...
[2025-04-09 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:16:04] Production.INFO: ==12207== Releasing lock...
[2025-04-09 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:16:04] Production.ERROR: done
[2025-04-09 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 08:16:04] Production.INFO: count ==12
[2025-04-09 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-04-09 08:16:04] Production.INFO: count ==23
[2025-04-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868255') start
[2025-04-09 08:16:04] Production.ERROR: done
[2025-04-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868255') end
[2025-04-09 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:16:04] Production.INFO: 1
[2025-04-09 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:16:05] Production.INFO: ==12215== Releasing lock...
[2025-04-09 08:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:16:05
[end_date_ymd] => 2025-04-09 08:16:05
[RateCDR] => 1
)
[2025-04-09 08:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:16:05' and `end` < '2025-04-09 08:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:16:12] Production.ERROR: CronJobId end10
[2025-04-09 08:16:12] Production.INFO: ==12209== Releasing lock...
[2025-04-09 08:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:16:14] Production.INFO: call_cost start
[2025-04-09 08:16:14] Production.INFO: call_cost end
[2025-04-09 08:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:16:15] Production.INFO: ==12205== Releasing lock...
[2025-04-09 08:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:16:18] Production.INFO: count ==224
[2025-04-09 08:16:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:16:05 - End Time 2025-04-09 08:16:05
[2025-04-09 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868256', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868256', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868256', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868256', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:16:18] Production.INFO: ProcessCDR(1,14868256,1,1,2)
[2025-04-09 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868256', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868256', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:16:24] Production.INFO: ==12213== Releasing lock...
[2025-04-09 08:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:16:24] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 13:17:01] Production.INFO: ==12270== Lock acquired, processing the job...
[2025-04-09 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:17:01] Production.INFO: neon service started
[2025-04-09 13:17:01] Production.INFO: neon service started
[2025-04-09 13:17:01] Production.INFO: ==12270== Releasing lock...
[2025-04-09 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:17:01] Production.INFO: ==12274== Lock acquired, processing the job...
[2025-04-09 12:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:17:01] Production.INFO: ==12274== Releasing lock...
[2025-04-09 12:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:17:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:17:02] Production.INFO: ==12272== Lock acquired, processing the job...
[2025-04-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:17:02] Production.INFO: ==12272== Releasing lock...
[2025-04-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:17:03] Production.INFO: ==12277== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:17:03] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:17:03] Production.INFO: ==12281== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:17:03] Production.INFO: ==12283== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:17:03] Production.INFO: ==12279== Releasing lock...
[2025-04-09 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:17:03] Production.INFO: ==12287== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:17:03] Production.INFO: ==12285== Lock acquired, processing the job...
[2025-04-09 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:17:03] Production.INFO: Account Balance Start.
[2025-04-09 08:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:17:03] Production.INFO: 117
[2025-04-09 08:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:17:03] Production.INFO: count ==12
[2025-04-09 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:17:03] Production.INFO: count ==23
[2025-04-09 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868260') start
[2025-04-09 08:17:03] Production.INFO: Total Charge 0
[2025-04-09 08:17:03] Production.INFO: CreateAllLog End
[2025-04-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868260') end
[2025-04-09 08:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:17:04] Production.INFO: 1
[2025-04-09 08:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:17:04] Production.INFO: ==12287== Releasing lock...
[2025-04-09 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:17:04] Production.ERROR: done
[2025-04-09 08:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:17:04] Production.INFO: Account Balance End.
[2025-04-09 08:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:17:04] Production.INFO: ==12283== Releasing lock...
[2025-04-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:17:04] Production.ERROR: done
[2025-04-09 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:17:05
[end_date_ymd] => 2025-04-09 08:17:05
[RateCDR] => 1
)
[2025-04-09 08:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:17:05' and `end` < '2025-04-09 08:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:17:11] Production.ERROR: CronJobId end10
[2025-04-09 08:17:11] Production.INFO: ==12281== Releasing lock...
[2025-04-09 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:17:14] Production.INFO: call_cost start
[2025-04-09 08:17:14] Production.INFO: call_cost end
[2025-04-09 08:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:17:15] Production.INFO: ==12277== Releasing lock...
[2025-04-09 08:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:17:18] Production.INFO: count ==233
[2025-04-09 08:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:17:05 - End Time 2025-04-09 08:17:05
[2025-04-09 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868261', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868261', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868261', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868261', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:17:18] Production.INFO: ProcessCDR(1,14868261,1,1,2)
[2025-04-09 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868261', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868261', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:17:23] Production.INFO: ==12285== Releasing lock...
[2025-04-09 08:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:17:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 13:18:01] Production.INFO: ==12348== Lock acquired, processing the job...
[2025-04-09 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:18:01] Production.INFO: neon service started
[2025-04-09 13:18:01] Production.INFO: neon service started
[2025-04-09 13:18:01] Production.INFO: ==12348== Releasing lock...
[2025-04-09 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:18:02] Production.INFO: ==12350== Lock acquired, processing the job...
[2025-04-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:18:02] Production.INFO: ==12350== Releasing lock...
[2025-04-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:18:02] Production.INFO: ==12352== Lock acquired, processing the job...
[2025-04-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:18:02] Production.INFO: ==12352== Releasing lock...
[2025-04-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:18:03] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:18:03] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:18:03] Production.INFO: ==12356== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:18:03] Production.INFO: ==12354== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:18:03] Production.INFO: ==12358== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:18:03] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-04-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08: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-04-09 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:18:03] Production.INFO: count ==12
[2025-04-09 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08: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-04-09 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:18:03] Production.INFO: count ==23
[2025-04-09 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868262') start
[2025-04-09 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868262') end
[2025-04-09 08:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:18:03] Production.INFO: 1
[2025-04-09 08:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:18:03] Production.INFO: Account Balance Start.
[2025-04-09 08:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:18:03] Production.INFO: 117
[2025-04-09 08:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:18:04] Production.INFO: ==12364== Releasing lock...
[2025-04-09 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:18:04] Production.INFO: ==12356== Releasing lock...
[2025-04-09 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:18:04] Production.INFO: Total Charge 0
[2025-04-09 08:18:04] Production.ERROR: done
[2025-04-09 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:18:04] Production.INFO: CreateAllLog End
[2025-04-09 08:18:04] Production.ERROR: done
[2025-04-09 08:18:04] Production.INFO: Account Balance End.
[2025-04-09 08:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:18:04] Production.INFO: ==12360== Releasing lock...
[2025-04-09 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:18:05
[end_date_ymd] => 2025-04-09 08:18:05
[RateCDR] => 1
)
[2025-04-09 08:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:18:05' and `end` < '2025-04-09 08:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:18:11] Production.ERROR: CronJobId end10
[2025-04-09 08:18:11] Production.INFO: ==12358== Releasing lock...
[2025-04-09 08:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:18:14] Production.INFO: call_cost start
[2025-04-09 08:18:14] Production.INFO: call_cost end
[2025-04-09 08:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:18:15] Production.INFO: ==12354== Releasing lock...
[2025-04-09 08:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:18:18] Production.INFO: count ==234
[2025-04-09 08:18:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:18:05 - End Time 2025-04-09 08:18:05
[2025-04-09 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868266', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868266', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868266', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868266', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:18:18] Production.INFO: ProcessCDR(1,14868266,1,1,2)
[2025-04-09 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868266', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868266', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:18:23] Production.INFO: ==12362== Releasing lock...
[2025-04-09 08:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:18:23] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 13:19:02] Production.INFO: ==12429== Lock acquired, processing the job...
[2025-04-09 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:19:02] Production.INFO: neon service started
[2025-04-09 13:19:02] Production.INFO: neon service started
[2025-04-09 13:19:02] Production.INFO: ==12429== Releasing lock...
[2025-04-09 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:19:02] Production.INFO: ==12434== Lock acquired, processing the job...
[2025-04-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:19:02] Production.INFO: ==12434== Releasing lock...
[2025-04-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:19:02] Production.INFO: ==12432== Lock acquired, processing the job...
[2025-04-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:19:03] Production.INFO: ==12432== Releasing lock...
[2025-04-09 08:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:19:04] Production.INFO: ==12436== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:19:04] Production.INFO: ==12440== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:19:04] Production.INFO: ==12438== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:19:04] Production.INFO: ==12442== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:19:04] Production.INFO: ==12444== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:19:04] Production.INFO: Account Balance Start.
[2025-04-09 08:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:19:04] Production.INFO: 117
[2025-04-09 08:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:19:04] Production.INFO: ==12446== Lock acquired, processing the job...
[2025-04-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:19:04] Production.INFO: Total Charge 0
[2025-04-09 08:19:04] Production.INFO: CreateAllLog End
[2025-04-09 08:19:04] Production.INFO: ==12438== Releasing lock...
[2025-04-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:19:04] Production.INFO: Account Balance End.
[2025-04-09 08:19:04] Production.INFO: count ==12
[2025-04-09 08:19:04] Production.ERROR: done
[2025-04-09 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:19:05] Production.INFO: count ==23
[2025-04-09 08:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868270') start
[2025-04-09 08:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:19:05] Production.INFO: ==12442== Releasing lock...
[2025-04-09 08:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:19:05] Production.ERROR: done
[2025-04-09 08:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868270') end
[2025-04-09 08:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:19:05] Production.INFO: 1
[2025-04-09 08:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:19:05] Production.INFO: ==12446== Releasing lock...
[2025-04-09 08:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:19:06
[end_date_ymd] => 2025-04-09 08:19:06
[RateCDR] => 1
)
[2025-04-09 08:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:19:06' and `end` < '2025-04-09 08:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:19:12] Production.ERROR: CronJobId end10
[2025-04-09 08:19:12] Production.INFO: ==12440== Releasing lock...
[2025-04-09 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:19:15] Production.INFO: call_cost start
[2025-04-09 08:19:15] Production.INFO: call_cost end
[2025-04-09 08:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:19:16] Production.INFO: ==12436== Releasing lock...
[2025-04-09 08:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:19:18] Production.INFO: count ==235
[2025-04-09 08:19:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:19:06 - End Time 2025-04-09 08:19:06
[2025-04-09 08:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868271', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868271', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868271', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868271', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:19:18] Production.INFO: ProcessCDR(1,14868271,1,1,2)
[2025-04-09 08:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868271', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868271', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:19:23] Production.INFO: ==12444== Releasing lock...
[2025-04-09 08:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:19:23] Production.INFO: 30 MB #Memory Used#
[2025-04-09 13:20:01] Production.INFO: ==12501== Lock acquired, processing the job...
[2025-04-09 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:20:01] Production.INFO: neon service started
[2025-04-09 13:20:01] Production.INFO: neon service started
[2025-04-09 13:20:01] Production.INFO: ==12501== Releasing lock...
[2025-04-09 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:20:02] Production.INFO: ==12503== Lock acquired, processing the job...
[2025-04-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:20:02] Production.INFO: ==12503== Releasing lock...
[2025-04-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:20:02] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-04-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:20:02] Production.INFO: ==12505== Releasing lock...
[2025-04-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:20:03] Production.INFO: ==12515== Lock acquired, processing the job...
[2025-04-09 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:20:03] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-04-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:20:03] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-04-09 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:20:03] Production.INFO: Account Balance Start.
[2025-04-09 08:20:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:20:03] Production.INFO: 117
[2025-04-09 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:20:03] Production.ERROR: CronJob PID - 12515
[2025-04-09 08:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 08:20:03] Production.ERROR: CronJob ID - 12
[2025-04-09 08:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 08:20:00
[2025-04-09 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:20:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:20:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:20:03] Production.INFO: ==12507== Releasing lock...
[2025-04-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:20:04] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-04-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:20:04] Production.INFO: ==12520== Lock acquired, processing the job...
[2025-04-09 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:20:04] Production.INFO: Total Charge 0
[2025-04-09 08:20:04] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-04-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:20:04] Production.INFO: CreateAllLog End
[2025-04-09 08:20:04] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-04-09 08:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:20:04] Production.INFO: ==12518== Lock acquired, processing the job...
[2025-04-09 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:20:04] Production.INFO: count ==12
[2025-04-09 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:20:04] Production.INFO: count ==23
[2025-04-09 08:20:04] Production.INFO: ==12511== Releasing lock...
[2025-04-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868274') start
[2025-04-09 08:20:04] Production.ERROR: done
[2025-04-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868274') end
[2025-04-09 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:20:04] Production.INFO: 1
[2025-04-09 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:20:04] Production.INFO: Account Balance End.
[2025-04-09 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868276', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:20:04] Production.INFO: ==12522== Releasing lock...
[2025-04-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:20:04] Production.INFO: ==12515== Releasing lock...
[2025-04-09 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:20:04] Production.ERROR: done
[2025-04-09 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:20:05] Production.ERROR: done
[2025-04-09 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:20:06
[end_date_ymd] => 2025-04-09 08:20:06
[RateCDR] => 1
)
[2025-04-09 08:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:20:06' and `end` < '2025-04-09 08:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868276', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:20:08] Production.INFO: ProcessCDR(1,14868276,1,1,2)
[2025-04-09 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868276,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868276,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:20:09] Production.INFO: ==12520== Releasing lock...
[2025-04-09 08:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:20:13] Production.ERROR: CronJobId end10
[2025-04-09 08:20:13] Production.INFO: ==12513== Releasing lock...
[2025-04-09 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:20:17] Production.INFO: call_cost start
[2025-04-09 08:20:17] Production.INFO: call_cost end
[2025-04-09 08:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:20:18] Production.INFO: ==12509== Releasing lock...
[2025-04-09 08:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:20:19] Production.INFO: count ==250
[2025-04-09 08:20:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:20:06 - End Time 2025-04-09 08:20:06
[2025-04-09 08:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868277', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868277', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868277', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868277', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:20:19] Production.INFO: ProcessCDR(1,14868277,1,1,2)
[2025-04-09 08:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868277', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868277', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:20:22] Production.INFO: ==12518== Releasing lock...
[2025-04-09 08:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:20:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-09 13:21:02] Production.INFO: ==12581== Lock acquired, processing the job...
[2025-04-09 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:21:02] Production.INFO: neon service started
[2025-04-09 13:21:02] Production.INFO: neon service started
[2025-04-09 13:21:02] Production.INFO: ==12581== Releasing lock...
[2025-04-09 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:21:02] Production.INFO: ==12583== Lock acquired, processing the job...
[2025-04-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:21:02] Production.INFO: ==12583== Releasing lock...
[2025-04-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:21:03] Production.INFO: ==12585== Lock acquired, processing the job...
[2025-04-09 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:21:03] Production.INFO: ==12585== Releasing lock...
[2025-04-09 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:21:03] Production.INFO: ==12588== Lock acquired, processing the job...
[2025-04-09 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:21:03] Production.INFO: ==12598== Lock acquired, processing the job...
[2025-04-09 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:21:04] Production.INFO: ==12590== Lock acquired, processing the job...
[2025-04-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:21:04] Production.INFO: count ==12
[2025-04-09 08:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:21:04] Production.INFO: ==12594== Lock acquired, processing the job...
[2025-04-09 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:21:04] Production.INFO: count ==23
[2025-04-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868279') start
[2025-04-09 08:21:04] Production.INFO: ==12592== Lock acquired, processing the job...
[2025-04-09 08:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:21:04] Production.INFO: ==12596== Lock acquired, processing the job...
[2025-04-09 08:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:21:04] Production.INFO: Account Balance Start.
[2025-04-09 08:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:21:04] Production.INFO: 117
[2025-04-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868279') end
[2025-04-09 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:21:04] Production.INFO: 1
[2025-04-09 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:21:04] Production.INFO: ==12598== Releasing lock...
[2025-04-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:21:04] Production.INFO: ==12590== Releasing lock...
[2025-04-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:21:04] Production.INFO: Total Charge 0
[2025-04-09 08:21:04] Production.INFO: CreateAllLog End
[2025-04-09 08:21:04] Production.ERROR: done
[2025-04-09 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:21:04] Production.INFO: Account Balance End.
[2025-04-09 08:21:04] Production.ERROR: done
[2025-04-09 08:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:21:04] Production.INFO: ==12594== Releasing lock...
[2025-04-09 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:21:05
[end_date_ymd] => 2025-04-09 08:21:05
[RateCDR] => 1
)
[2025-04-09 08:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:21:05' and `end` < '2025-04-09 08:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:21:13] Production.ERROR: CronJobId end10
[2025-04-09 08:21:13] Production.INFO: ==12592== Releasing lock...
[2025-04-09 08:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:21:16] Production.INFO: call_cost start
[2025-04-09 08:21:16] Production.INFO: call_cost end
[2025-04-09 08:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:21:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:21:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:21:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:21:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:21:17] Production.INFO: ==12588== Releasing lock...
[2025-04-09 08:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:21:18] Production.INFO: count ==275
[2025-04-09 08:21:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:21:05 - End Time 2025-04-09 08:21:05
[2025-04-09 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868282', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868282', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868282', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868282', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:21:18] Production.INFO: ProcessCDR(1,14868282,1,1,2)
[2025-04-09 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868282', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868282', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:21:22] Production.INFO: ==12596== Releasing lock...
[2025-04-09 08:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:21:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-09 13:22:01] Production.INFO: ==12658== Lock acquired, processing the job...
[2025-04-09 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:22:01] Production.INFO: neon service started
[2025-04-09 13:22:01] Production.INFO: neon service started
[2025-04-09 13:22:01] Production.INFO: ==12658== Releasing lock...
[2025-04-09 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:22:02] Production.INFO: ==12660== Lock acquired, processing the job...
[2025-04-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:22:02] Production.INFO: ==12660== Releasing lock...
[2025-04-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:22:02] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-04-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:22:02] Production.INFO: ==12662== Releasing lock...
[2025-04-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:22:03] Production.INFO: ==12668== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:22:03] Production.INFO: ==12664== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:22:03] Production.INFO: ==12670== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:22:03] Production.INFO: ==12666== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:22:03] Production.INFO: Account Balance Start.
[2025-04-09 08:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:22:03] Production.INFO: 117
[2025-04-09 08:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:22:03] Production.INFO: Total Charge 0
[2025-04-09 08:22:03] Production.INFO: ==12672== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:22:03] Production.INFO: ==12674== Lock acquired, processing the job...
[2025-04-09 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:22:03] Production.INFO: CreateAllLog End
[2025-04-09 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:22:03] Production.INFO: Account Balance End.
[2025-04-09 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:22:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:22:03] Production.INFO: ==12670== Releasing lock...
[2025-04-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:22:03] Production.INFO: count ==12
[2025-04-09 08:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:22:04] Production.INFO: count ==23
[2025-04-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868286') start
[2025-04-09 08:22:04] Production.INFO: ==12666== Releasing lock...
[2025-04-09 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868286') end
[2025-04-09 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:22:04] Production.INFO: 1
[2025-04-09 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:22:04] Production.ERROR: done
[2025-04-09 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:22:04] Production.INFO: ==12674== Releasing lock...
[2025-04-09 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:22:04] Production.ERROR: done
[2025-04-09 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:22:05
[end_date_ymd] => 2025-04-09 08:22:05
[RateCDR] => 1
)
[2025-04-09 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:22:05' and `end` < '2025-04-09 08:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:22:11] Production.ERROR: CronJobId end10
[2025-04-09 08:22:11] Production.INFO: ==12668== Releasing lock...
[2025-04-09 08:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:22:14] Production.INFO: call_cost start
[2025-04-09 08:22:14] Production.INFO: call_cost end
[2025-04-09 08:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:22:15] Production.INFO: ==12664== Releasing lock...
[2025-04-09 08:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:22:18] Production.INFO: count ==285
[2025-04-09 08:22:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:22:05 - End Time 2025-04-09 08:22:05
[2025-04-09 08:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868287', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868287', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868287', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868287', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:22:18] Production.INFO: ProcessCDR(1,14868287,1,1,2)
[2025-04-09 08:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868287', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868287', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:22:23] Production.INFO: ==12672== Releasing lock...
[2025-04-09 08:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:22:23] Production.INFO: 31 MB #Memory Used#
[2025-04-09 13:23:02] Production.INFO: ==12732== Lock acquired, processing the job...
[2025-04-09 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:23:02] Production.INFO: neon service started
[2025-04-09 13:23:02] Production.INFO: neon service started
[2025-04-09 13:23:02] Production.INFO: ==12732== Releasing lock...
[2025-04-09 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:23:02] Production.INFO: ==12734== Lock acquired, processing the job...
[2025-04-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:23:02] Production.INFO: ==12734== Releasing lock...
[2025-04-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:23:03] Production.INFO: ==12736== Lock acquired, processing the job...
[2025-04-09 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:23:03] Production.INFO: ==12736== Releasing lock...
[2025-04-09 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:23:03] Production.INFO: ==12742== Lock acquired, processing the job...
[2025-04-09 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:23:03] Production.INFO: ==12746== Lock acquired, processing the job...
[2025-04-09 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:23:04] Production.INFO: ==12740== Lock acquired, processing the job...
[2025-04-09 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:23:04] Production.INFO: ==12744== Lock acquired, processing the job...
[2025-04-09 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:23:04] Production.INFO: ==12738== Lock acquired, processing the job...
[2025-04-09 08:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:23:04] Production.INFO: ==12748== Lock acquired, processing the job...
[2025-04-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:23:04] Production.INFO: Account Balance Start.
[2025-04-09 08:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:23:04] Production.INFO: 117
[2025-04-09 08:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:23:04] Production.INFO: count ==12
[2025-04-09 08:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:23:04] Production.INFO: count ==23
[2025-04-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868289') start
[2025-04-09 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:23:04] Production.ERROR: done
[2025-04-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868289') end
[2025-04-09 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:23:04] Production.INFO: 1
[2025-04-09 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:23:04] Production.INFO: ==12740== Releasing lock...
[2025-04-09 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:23:04] Production.INFO: ==12748== Releasing lock...
[2025-04-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:23:04] Production.INFO: Total Charge 0
[2025-04-09 08:23:04] Production.INFO: CreateAllLog End
[2025-04-09 08:23:04] Production.ERROR: done
[2025-04-09 08:23:04] Production.INFO: Account Balance End.
[2025-04-09 08:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:23:04] Production.INFO: ==12744== Releasing lock...
[2025-04-09 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:23:05
[end_date_ymd] => 2025-04-09 08:23:05
[RateCDR] => 1
)
[2025-04-09 08:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:23:05' and `end` < '2025-04-09 08:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:23:12] Production.ERROR: CronJobId end10
[2025-04-09 08:23:12] Production.INFO: ==12742== Releasing lock...
[2025-04-09 08:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:23:15] Production.INFO: call_cost start
[2025-04-09 08:23:15] Production.INFO: call_cost end
[2025-04-09 08:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:23:16] Production.INFO: ==12738== Releasing lock...
[2025-04-09 08:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:23:18] Production.INFO: count ==295
[2025-04-09 08:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:23:05 - End Time 2025-04-09 08:23:05
[2025-04-09 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868292', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868292', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868292', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868292', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:23:18] Production.INFO: ProcessCDR(1,14868292,1,1,2)
[2025-04-09 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868292', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868292', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:23:22] Production.INFO: ==12746== Releasing lock...
[2025-04-09 08:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:23:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:24:01] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-04-09 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:24:01] Production.INFO: neon service started
[2025-04-09 13:24:01] Production.INFO: neon service started
[2025-04-09 13:24:01] Production.INFO: ==12808== Releasing lock...
[2025-04-09 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:24:02] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-04-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:24:02] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-04-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:24:02] Production.INFO: ==12812== Releasing lock...
[2025-04-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:24:02] Production.INFO: ==12810== Releasing lock...
[2025-04-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:24:03] Production.INFO: ==12821== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:24:03] Production.INFO: Account Balance Start.
[2025-04-09 08:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:24:03] Production.INFO: 117
[2025-04-09 08:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:24:03] Production.INFO: Total Charge 0
[2025-04-09 08:24:03] Production.INFO: CreateAllLog End
[2025-04-09 08:24:03] Production.INFO: ==12815== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:24:03] Production.INFO: Account Balance End.
[2025-04-09 08:24:03] Production.INFO: ==12825== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:24:03] Production.INFO: ==12817== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:24:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:24:03] Production.INFO: ==12821== Releasing lock...
[2025-04-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:24:03] Production.INFO: ==12819== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:24:03] Production.INFO: ==12823== Lock acquired, processing the job...
[2025-04-09 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:24:04] Production.INFO: count ==12
[2025-04-09 08:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:24:04] Production.INFO: count ==23
[2025-04-09 08:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868295') start
[2025-04-09 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868295') end
[2025-04-09 08:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:24:04] Production.INFO: 1
[2025-04-09 08:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:24:04] Production.INFO: ==12825== Releasing lock...
[2025-04-09 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:24:04] Production.ERROR: done
[2025-04-09 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:24:04] Production.INFO: ==12817== Releasing lock...
[2025-04-09 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:24:04] Production.ERROR: done
[2025-04-09 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:24:05
[end_date_ymd] => 2025-04-09 08:24:05
[RateCDR] => 1
)
[2025-04-09 08:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:24:05' and `end` < '2025-04-09 08:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:24:12] Production.ERROR: CronJobId end10
[2025-04-09 08:24:12] Production.INFO: ==12819== Releasing lock...
[2025-04-09 08:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:24:13] Production.INFO: call_cost start
[2025-04-09 08:24:13] Production.INFO: call_cost end
[2025-04-09 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:24:14] Production.INFO: ==12815== Releasing lock...
[2025-04-09 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:24:18] Production.INFO: count ==295
[2025-04-09 08:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:24:05 - End Time 2025-04-09 08:24:05
[2025-04-09 08:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868297', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868297', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868297', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868297', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:24:18] Production.INFO: ProcessCDR(1,14868297,1,1,2)
[2025-04-09 08:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868297', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868297', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:24:21] Production.INFO: ==12823== Releasing lock...
[2025-04-09 08:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:24:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:25:02] Production.INFO: ==12884== Lock acquired, processing the job...
[2025-04-09 13:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:25:02] Production.INFO: neon service started
[2025-04-09 13:25:02] Production.INFO: neon service started
[2025-04-09 13:25:02] Production.INFO: ==12884== Releasing lock...
[2025-04-09 13:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:25:02] Production.INFO: ==12886== Lock acquired, processing the job...
[2025-04-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:25:02] Production.INFO: ==12886== Releasing lock...
[2025-04-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:25:02] Production.INFO: ==12888== Lock acquired, processing the job...
[2025-04-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:25:03] Production.INFO: ==12888== Releasing lock...
[2025-04-09 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:25:03] Production.INFO: ==12897== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:25:03] Production.INFO: ==12891== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:25:03] Production.INFO: ==12893== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:25:03] Production.INFO: ==12899== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:25:03] Production.INFO: ==12895== Lock acquired, processing the job...
[2025-04-09 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:25:04] Production.INFO: Account Balance Start.
[2025-04-09 08:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:25:04] Production.INFO: 117
[2025-04-09 08:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:25:04] Production.INFO: ==12901== Lock acquired, processing the job...
[2025-04-09 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 08:25:04] Production.INFO: Total Charge 0
[2025-04-09 08:25:04] Production.INFO: count ==12
[2025-04-09 08:25:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 08:25:04] Production.INFO: count ==23
[2025-04-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868301') start
[2025-04-09 08:25:04] Production.INFO: ==12893== Releasing lock...
[2025-04-09 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:25:04] Production.ERROR: done
[2025-04-09 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868301') end
[2025-04-09 08:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:25:04] Production.INFO: 1
[2025-04-09 08:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:25:04] Production.INFO: ==12901== Releasing lock...
[2025-04-09 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:25:04] Production.ERROR: done
[2025-04-09 08:25:04] Production.INFO: Account Balance End.
[2025-04-09 08:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:25:04] Production.INFO: ==12897== Releasing lock...
[2025-04-09 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:25:05
[end_date_ymd] => 2025-04-09 08:25:05
[RateCDR] => 1
)
[2025-04-09 08:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:25:05' and `end` < '2025-04-09 08:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:25:12] Production.ERROR: CronJobId end10
[2025-04-09 08:25:12] Production.INFO: ==12895== Releasing lock...
[2025-04-09 08:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:25:15] Production.INFO: call_cost start
[2025-04-09 08:25:15] Production.INFO: call_cost end
[2025-04-09 08:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:25:16] Production.INFO: ==12891== Releasing lock...
[2025-04-09 08:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:25:18] Production.INFO: count ==305
[2025-04-09 08:25:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:25:05 - End Time 2025-04-09 08:25:05
[2025-04-09 08:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868302', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868302', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868302', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868302', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:25:18] Production.INFO: ProcessCDR(1,14868302,1,1,2)
[2025-04-09 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868302', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868302', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:25:22] Production.INFO: ==12899== Releasing lock...
[2025-04-09 08:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:25:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:26:01] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-04-09 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:26:01] Production.INFO: neon service started
[2025-04-09 13:26:01] Production.INFO: neon service started
[2025-04-09 13:26:01] Production.INFO: ==12962== Releasing lock...
[2025-04-09 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:26:02] Production.INFO: ==12964== Lock acquired, processing the job...
[2025-04-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:26:02] Production.INFO: ==12966== Lock acquired, processing the job...
[2025-04-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:26:02] Production.INFO: ==12966== Releasing lock...
[2025-04-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:26:02] Production.INFO: ==12964== Releasing lock...
[2025-04-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:26:03] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:26:03] Production.INFO: ==12973== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:26:03] Production.INFO: ==12977== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:26:03] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:26:03] Production.INFO: ==12975== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:26:03] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-04-09 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:26:03] Production.INFO: ==12971== Releasing lock...
[2025-04-09 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:26:03] Production.INFO: Account Balance Start.
[2025-04-09 08:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:26:03] Production.INFO: 117
[2025-04-09 08:26:03] Production.ERROR: done
[2025-04-09 08:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:26:03] Production.INFO: count ==12
[2025-04-09 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-04-09 08:26:03] Production.INFO: count ==23
[2025-04-09 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868306') start
[2025-04-09 08:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:26:04] Production.INFO: Total Charge 0
[2025-04-09 08:26:04] Production.INFO: CreateAllLog End
[2025-04-09 08:26:04] Production.ERROR: done
[2025-04-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868306') end
[2025-04-09 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:26:04] Production.INFO: 1
[2025-04-09 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:26:04] Production.INFO: ==12979== Releasing lock...
[2025-04-09 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:26:04] Production.INFO: Account Balance End.
[2025-04-09 08:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:26:04] Production.INFO: ==12975== Releasing lock...
[2025-04-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:26:05
[end_date_ymd] => 2025-04-09 08:26:05
[RateCDR] => 1
)
[2025-04-09 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:26:05' and `end` < '2025-04-09 08:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:26:11] Production.ERROR: CronJobId end10
[2025-04-09 08:26:11] Production.INFO: ==12973== Releasing lock...
[2025-04-09 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:26:14] Production.INFO: call_cost start
[2025-04-09 08:26:14] Production.INFO: call_cost end
[2025-04-09 08:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:26:15] Production.INFO: ==12969== Releasing lock...
[2025-04-09 08:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:26:18] Production.INFO: count ==305
[2025-04-09 08:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:26:05 - End Time 2025-04-09 08:26:05
[2025-04-09 08:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868307', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868307', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868307', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868307', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:26:18] Production.INFO: ProcessCDR(1,14868307,1,1,2)
[2025-04-09 08:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868307', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868307', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:26:21] Production.INFO: ==12977== Releasing lock...
[2025-04-09 08:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:26:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:27:01] Production.INFO: ==13034== Lock acquired, processing the job...
[2025-04-09 13:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:27:01] Production.INFO: neon service started
[2025-04-09 13:27:02] Production.INFO: neon service started
[2025-04-09 13:27:02] Production.INFO: ==13034== Releasing lock...
[2025-04-09 13:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:27:02] Production.INFO: ==13036== Lock acquired, processing the job...
[2025-04-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:27:02] Production.INFO: ==13038== Lock acquired, processing the job...
[2025-04-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:27:02] Production.INFO: ==13036== Releasing lock...
[2025-04-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:27:02] Production.INFO: ==13038== Releasing lock...
[2025-04-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:27:03] Production.INFO: ==13046== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:27:03] Production.INFO: ==13040== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:27:03] Production.INFO: ==13050== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:27:03] Production.INFO: Account Balance Start.
[2025-04-09 08:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:27:03] Production.INFO: 117
[2025-04-09 08:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:27:03] Production.INFO: ==13042== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:27:03] Production.INFO: Total Charge 0
[2025-04-09 08:27:03] Production.INFO: CreateAllLog End
[2025-04-09 08:27:03] Production.INFO: count ==12
[2025-04-09 08:27:03] Production.INFO: ==13044== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:27:03] Production.INFO: count ==23
[2025-04-09 08:27:03] Production.INFO: ==13048== Lock acquired, processing the job...
[2025-04-09 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868310') start
[2025-04-09 08:27:04] Production.INFO: Account Balance End.
[2025-04-09 08:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868310') end
[2025-04-09 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:27:04] Production.INFO: 1
[2025-04-09 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:27:04] Production.INFO: ==13050== Releasing lock...
[2025-04-09 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:27:04] Production.INFO: ==13046== Releasing lock...
[2025-04-09 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:27:04] Production.ERROR: done
[2025-04-09 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:27:04] Production.INFO: ==13042== Releasing lock...
[2025-04-09 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:27:04] Production.ERROR: done
[2025-04-09 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:27:05
[end_date_ymd] => 2025-04-09 08:27:05
[RateCDR] => 1
)
[2025-04-09 08:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:27:05' and `end` < '2025-04-09 08:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:27:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-09 08:27:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:27:10] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:27:10] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:27:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:27:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:27:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:27:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:27:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:27:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:27:10] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:27:10] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:27:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:27:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:27:10] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:27:11] Production.INFO: call_cost start
[2025-04-09 08:27:11] Production.INFO: call_cost end
[2025-04-09 08:27:11] Production.ERROR: CronJobId end10
[2025-04-09 08:27:11] Production.INFO: ==13044== Releasing lock...
[2025-04-09 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:27:12] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:27:12] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:27:12] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:27:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:27:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:27:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:27:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:27:12] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:27:12] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:27:12] Production.INFO: ==13040== Releasing lock...
[2025-04-09 08:27:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:27:12] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:27:18] Production.INFO: count ==306
[2025-04-09 08:27:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:27:05 - End Time 2025-04-09 08:27:05
[2025-04-09 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868312', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868312', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868312', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868312', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:27:18] Production.INFO: ProcessCDR(1,14868312,1,1,2)
[2025-04-09 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868312', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868312', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:27:22] Production.INFO: ==13048== Releasing lock...
[2025-04-09 08:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:27:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:28:01] Production.INFO: ==13151== Lock acquired, processing the job...
[2025-04-09 13:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:28:01] Production.INFO: neon service started
[2025-04-09 13:28:01] Production.INFO: neon service started
[2025-04-09 13:28:01] Production.INFO: ==13151== Releasing lock...
[2025-04-09 13:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:28:01] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-04-09 12:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:28:01] Production.INFO: ==13155== Releasing lock...
[2025-04-09 12:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:28:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:28:01] Production.INFO: ==13153== Lock acquired, processing the job...
[2025-04-09 08:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:28:02] Production.INFO: ==13153== Releasing lock...
[2025-04-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:28:03] Production.INFO: ==13158== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:28:03] Production.INFO: ==13166== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:28:03] Production.INFO: ==13168== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:28:03] Production.INFO: ==13160== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:28:03] Production.INFO: ==13162== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:28:03] Production.INFO: ==13164== Lock acquired, processing the job...
[2025-04-09 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:28:03] Production.INFO: count ==12
[2025-04-09 08:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:28:03] Production.INFO: count ==23
[2025-04-09 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868314') start
[2025-04-09 08:28:03] Production.INFO: Account Balance Start.
[2025-04-09 08:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:28:03] Production.INFO: 117
[2025-04-09 08:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:28:03] Production.ERROR: done
[2025-04-09 08:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:28:03] Production.INFO: ==13160== Releasing lock...
[2025-04-09 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868314') end
[2025-04-09 08:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:28:03] Production.INFO: 1
[2025-04-09 08:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:28:03] Production.INFO: Total Charge 0
[2025-04-09 08:28:03] Production.INFO: CreateAllLog End
[2025-04-09 08:28:03] Production.INFO: ==13168== Releasing lock...
[2025-04-09 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:28:03] Production.ERROR: done
[2025-04-09 08:28:04] Production.INFO: Account Balance End.
[2025-04-09 08:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:28:04] Production.INFO: ==13164== Releasing lock...
[2025-04-09 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:28:04
[end_date_ymd] => 2025-04-09 08:28:04
[RateCDR] => 1
)
[2025-04-09 08: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-04-09 05:28:04' and `end` < '2025-04-09 08: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-04-09 08:28:11] Production.ERROR: CronJobId end10
[2025-04-09 08:28:11] Production.INFO: ==13162== Releasing lock...
[2025-04-09 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:28:13] Production.INFO: call_cost start
[2025-04-09 08:28:13] Production.INFO: call_cost end
[2025-04-09 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:28:14] Production.INFO: ==13158== Releasing lock...
[2025-04-09 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:28:17] Production.INFO: count ==308
[2025-04-09 08:28:17] Production.ERROR: pbx CDR StartTime 2025-04-09 05:28:04 - End Time 2025-04-09 08:28:04
[2025-04-09 08:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868317', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868317', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868317', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868317', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:28:18] Production.INFO: ProcessCDR(1,14868317,1,1,2)
[2025-04-09 08:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868317', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868317', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:28:23] Production.INFO: ==13166== Releasing lock...
[2025-04-09 08:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:28:23] Production.INFO: 30.75 MB #Memory Used#
[2025-04-09 13:29:01] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-04-09 13:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:29:01] Production.INFO: neon service started
[2025-04-09 13:29:01] Production.INFO: neon service started
[2025-04-09 13:29:01] Production.INFO: ==13228== Releasing lock...
[2025-04-09 13:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:29:02] Production.INFO: ==13230== Lock acquired, processing the job...
[2025-04-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:29:02] Production.INFO: ==13230== Releasing lock...
[2025-04-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:29:02] Production.INFO: ==13232== Lock acquired, processing the job...
[2025-04-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:29:02] Production.INFO: ==13232== Releasing lock...
[2025-04-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:29:03] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:29:03] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:29:03] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:29:03] Production.INFO: ==13245== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:29:03] Production.INFO: ==13241== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:29:03] Production.INFO: ==13243== Lock acquired, processing the job...
[2025-04-09 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:29:03] Production.INFO: ==13237== Releasing lock...
[2025-04-09 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:29:03] Production.INFO: count ==12
[2025-04-09 08:29:03] Production.INFO: Account Balance Start.
[2025-04-09 08:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:29:03] Production.INFO: 117
[2025-04-09 08:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:29:03] Production.INFO: count ==23
[2025-04-09 08:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868320') start
[2025-04-09 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868320') end
[2025-04-09 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:29:04] Production.INFO: 1
[2025-04-09 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:29:04] Production.INFO: Total Charge 0
[2025-04-09 08:29:04] Production.INFO: CreateAllLog End
[2025-04-09 08:29:04] Production.INFO: ==13245== Releasing lock...
[2025-04-09 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:29:04] Production.ERROR: done
[2025-04-09 08:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:29:04] Production.ERROR: done
[2025-04-09 08:29:04] Production.INFO: Account Balance End.
[2025-04-09 08:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:29:04] Production.INFO: ==13241== Releasing lock...
[2025-04-09 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:29:05
[end_date_ymd] => 2025-04-09 08:29:05
[RateCDR] => 1
)
[2025-04-09 08:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:29:05' and `end` < '2025-04-09 08:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:29:11] Production.ERROR: CronJobId end10
[2025-04-09 08:29:11] Production.INFO: ==13239== Releasing lock...
[2025-04-09 08:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:29:14] Production.INFO: call_cost start
[2025-04-09 08:29:14] Production.INFO: call_cost end
[2025-04-09 08:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:29:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:29:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:29:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:29:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:29:14] Production.INFO: ==13235== Releasing lock...
[2025-04-09 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:29:18] Production.INFO: count ==310
[2025-04-09 08:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:29:05 - End Time 2025-04-09 08:29:05
[2025-04-09 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868322', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868322', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868322', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868322', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:29:18] Production.INFO: ProcessCDR(1,14868322,1,1,2)
[2025-04-09 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868322', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868322', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:29:23] Production.INFO: ==13243== Releasing lock...
[2025-04-09 08:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:29:23] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 13:30:02] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-04-09 13:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:30:02] Production.INFO: neon service started
[2025-04-09 13:30:02] Production.INFO: neon service started
[2025-04-09 13:30:02] Production.INFO: ==13300== Releasing lock...
[2025-04-09 13:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:30:02] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-04-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:30:03] Production.INFO: ==13302== Releasing lock...
[2025-04-09 08:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:30:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-04-09 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:30:03] Production.INFO: ==13304== Releasing lock...
[2025-04-09 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:30:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:30:04] Production.INFO: ==13311== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:30:04] Production.INFO: ==13307== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:30:04] Production.INFO: ==13315== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:30:04] Production.INFO: ==13309== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:30:04] Production.ERROR: CronJob PID - 13311
[2025-04-09 08:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 08:30:04] Production.ERROR: CronJob ID - 7
[2025-04-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:30:00
[2025-04-09 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:30:04] Production.INFO: ==13319== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:30:04] Production.INFO: ==13307== Releasing lock...
[2025-04-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:30:04] Production.INFO: ==13313== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:30:04] Production.INFO: Account Balance Start.
[2025-04-09 08:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:30:04] Production.INFO: ==13317== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:30:04] Production.INFO: 117
[2025-04-09 08:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:30:04] Production.INFO: ==13321== Lock acquired, processing the job...
[2025-04-09 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:30:04] Production.INFO: ==13311== Releasing lock...
[2025-04-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:30:04] Production.INFO: Total Charge 0
[2025-04-09 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:30:04] Production.INFO: CreateAllLog End
[2025-04-09 08:30:04] Production.INFO: count ==12
[2025-04-09 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:30:04] Production.INFO: count ==23
[2025-04-09 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868326') start
[2025-04-09 08:30:04] Production.ERROR: done
[2025-04-09 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:30:05] Production.ERROR: done
[2025-04-09 08:30:05] Production.INFO: Account Balance End.
[2025-04-09 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868327', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868326') end
[2025-04-09 08:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:30:05] Production.INFO: 1
[2025-04-09 08:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:30:05] Production.INFO: ==13315== Releasing lock...
[2025-04-09 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:30:05] Production.INFO: ==13321== Releasing lock...
[2025-04-09 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:30:05] Production.ERROR: done
[2025-04-09 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:30:06
[end_date_ymd] => 2025-04-09 08:30:06
[RateCDR] => 1
)
[2025-04-09 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:30:06' and `end` < '2025-04-09 08:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868327', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:30:09] Production.INFO: ProcessCDR(1,14868327,1,1,2)
[2025-04-09 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:30:09] Production.INFO: ==13319== Releasing lock...
[2025-04-09 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:30:14] Production.ERROR: CronJobId end10
[2025-04-09 08:30:14] Production.INFO: ==13313== Releasing lock...
[2025-04-09 08:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:30:16] Production.INFO: call_cost start
[2025-04-09 08:30:16] Production.INFO: call_cost end
[2025-04-09 08:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:30:17] Production.INFO: ==13309== Releasing lock...
[2025-04-09 08:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:30:19] Production.INFO: count ==328
[2025-04-09 08:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:30:06 - End Time 2025-04-09 08:30:06
[2025-04-09 08:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868328', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868328', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868328', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868328', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:30:19] Production.INFO: ProcessCDR(1,14868328,1,1,2)
[2025-04-09 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868328', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868328', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:30:24] Production.INFO: ==13317== Releasing lock...
[2025-04-09 08:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:30:24] Production.INFO: 31 MB #Memory Used#
[2025-04-09 13:31:01] Production.INFO: ==13383== Lock acquired, processing the job...
[2025-04-09 13:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:31:01] Production.INFO: neon service started
[2025-04-09 13:31:01] Production.INFO: neon service started
[2025-04-09 13:31:01] Production.INFO: ==13383== Releasing lock...
[2025-04-09 13:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:31:02] Production.INFO: ==13385== Lock acquired, processing the job...
[2025-04-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:31:02] Production.INFO: ==13385== Releasing lock...
[2025-04-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:31:02] Production.INFO: ==13387== Lock acquired, processing the job...
[2025-04-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:31:02] Production.INFO: ==13387== Releasing lock...
[2025-04-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:31:03] Production.INFO: ==13393== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:31:03] Production.INFO: ==13389== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:31:03] Production.INFO: ==13391== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:31:03] Production.INFO: ==13395== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:31:03] Production.INFO: ==13397== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:31:03] Production.INFO: ==13399== Lock acquired, processing the job...
[2025-04-09 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:31:03] Production.INFO: Account Balance Start.
[2025-04-09 08:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:31:03] Production.INFO: 117
[2025-04-09 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:31:03] Production.INFO: Total Charge 0
[2025-04-09 08:31:03] Production.INFO: CreateAllLog End
[2025-04-09 08:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:31:03] Production.INFO: ==13391== Releasing lock...
[2025-04-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:31:03] Production.INFO: count ==12
[2025-04-09 08:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:31:03] Production.INFO: count ==23
[2025-04-09 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868332') start
[2025-04-09 08:31:04] Production.ERROR: done
[2025-04-09 08:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868332') end
[2025-04-09 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:31:04] Production.INFO: 1
[2025-04-09 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:31:04] Production.INFO: Account Balance End.
[2025-04-09 08:31:04] Production.INFO: ==13399== Releasing lock...
[2025-04-09 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:31:04] Production.ERROR: done
[2025-04-09 08:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:31:04] Production.INFO: ==13395== Releasing lock...
[2025-04-09 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:31:05
[end_date_ymd] => 2025-04-09 08:31:05
[RateCDR] => 1
)
[2025-04-09 08:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:31:05' and `end` < '2025-04-09 08:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:31:11] Production.ERROR: CronJobId end10
[2025-04-09 08:31:11] Production.INFO: ==13393== Releasing lock...
[2025-04-09 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:31:15] Production.INFO: call_cost start
[2025-04-09 08:31:15] Production.INFO: call_cost end
[2025-04-09 08:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:31:16] Production.INFO: ==13389== Releasing lock...
[2025-04-09 08:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:31:18] Production.INFO: count ==340
[2025-04-09 08:31:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:31:05 - End Time 2025-04-09 08:31:05
[2025-04-09 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868333', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868333', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868333', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868333', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:31:18] Production.INFO: ProcessCDR(1,14868333,1,1,2)
[2025-04-09 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868333', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868333', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:31:21] Production.INFO: ==13397== Releasing lock...
[2025-04-09 08:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:31:21] Production.INFO: 31.25 MB #Memory Used#
[2025-04-09 13:32:02] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-04-09 13:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:32:02] Production.INFO: neon service started
[2025-04-09 13:32:02] Production.INFO: neon service started
[2025-04-09 13:32:02] Production.INFO: ==13457== Releasing lock...
[2025-04-09 13:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:32:02] Production.INFO: ==13459== Lock acquired, processing the job...
[2025-04-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:32:02] Production.INFO: ==13459== Releasing lock...
[2025-04-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:32:03] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:32:03] Production.INFO: ==13461== Releasing lock...
[2025-04-09 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:32:03] Production.INFO: ==13471== Lock acquired, processing the job...
[2025-04-09 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:32:04] Production.INFO: ==13473== Lock acquired, processing the job...
[2025-04-09 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:32:04] Production.INFO: ==13463== Lock acquired, processing the job...
[2025-04-09 08:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:32:04] Production.INFO: ==13465== Lock acquired, processing the job...
[2025-04-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:32:04] Production.INFO: ==13467== Lock acquired, processing the job...
[2025-04-09 08:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 08:32:04] Production.INFO: ==13469== Lock acquired, processing the job...
[2025-04-09 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:32:04] Production.INFO: count ==12
[2025-04-09 08:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:32:04] Production.INFO: count ==23
[2025-04-09 08:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868334') start
[2025-04-09 08:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:32:04] Production.INFO: Account Balance Start.
[2025-04-09 08:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:32:04] Production.INFO: 117
[2025-04-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868334') end
[2025-04-09 08:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:32:04] Production.INFO: 1
[2025-04-09 08:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:32:04] Production.INFO: ==13473== Releasing lock...
[2025-04-09 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:32:04] Production.ERROR: done
[2025-04-09 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:32:04] Production.INFO: ==13465== Releasing lock...
[2025-04-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:32:04] Production.ERROR: done
[2025-04-09 08:32:04] Production.INFO: Total Charge 0
[2025-04-09 08:32:04] Production.INFO: CreateAllLog End
[2025-04-09 08:32:05] Production.INFO: Account Balance End.
[2025-04-09 08:32:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:32:05] Production.INFO: ==13469== Releasing lock...
[2025-04-09 08:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:32:05
[end_date_ymd] => 2025-04-09 08:32:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:32:05' and `end` < '2025-04-09 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-04-09 08:32:12] Production.ERROR: CronJobId end10
[2025-04-09 08:32:12] Production.INFO: ==13467== Releasing lock...
[2025-04-09 08:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:32:15] Production.INFO: call_cost start
[2025-04-09 08:32:15] Production.INFO: call_cost end
[2025-04-09 08:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:32:16] Production.INFO: ==13463== Releasing lock...
[2025-04-09 08:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:32:18] Production.INFO: count ==350
[2025-04-09 08:32:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:32:05 - End Time 2025-04-09 08:32:05
[2025-04-09 08:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868338', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868338', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868338', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868338', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:32:18] Production.INFO: ProcessCDR(1,14868338,1,1,2)
[2025-04-09 08:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868338', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868338', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:32:22] Production.INFO: ==13471== Releasing lock...
[2025-04-09 08:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:32:22] Production.INFO: 31 MB #Memory Used#
[2025-04-09 13:33:01] Production.INFO: ==13528== Lock acquired, processing the job...
[2025-04-09 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:33:01] Production.INFO: neon service started
[2025-04-09 13:33:01] Production.INFO: neon service started
[2025-04-09 13:33:01] Production.INFO: ==13528== Releasing lock...
[2025-04-09 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:33:02] Production.INFO: ==13530== Lock acquired, processing the job...
[2025-04-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:33:02] Production.INFO: ==13532== Lock acquired, processing the job...
[2025-04-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:33:02] Production.INFO: ==13532== Releasing lock...
[2025-04-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:33:02] Production.INFO: ==13530== Releasing lock...
[2025-04-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:33:03] Production.INFO: ==13535== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:33:03] Production.INFO: ==13541== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:33:03] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:33:03] Production.INFO: ==13543== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:33:03] Production.INFO: ==13539== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:33:03] Production.INFO: Account Balance Start.
[2025-04-09 08:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:33:03] Production.INFO: 117
[2025-04-09 08:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:33:03] Production.INFO: Total Charge 0
[2025-04-09 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:33:03] Production.INFO: CreateAllLog End
[2025-04-09 08:33:03] Production.INFO: ==13545== Lock acquired, processing the job...
[2025-04-09 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08: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-04-09 08:33:04] Production.INFO: ==13537== Releasing lock...
[2025-04-09 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:33:04] Production.INFO: count ==12
[2025-04-09 08:33:04] Production.ERROR: done
[2025-04-09 08: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-04-09 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:33:04] Production.INFO: count ==23
[2025-04-09 08:33:04] Production.INFO: Account Balance End.
[2025-04-09 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868342') start
[2025-04-09 08:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:33:04] Production.INFO: ==13541== Releasing lock...
[2025-04-09 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:33:04] Production.ERROR: done
[2025-04-09 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868342') end
[2025-04-09 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:33:04] Production.INFO: 1
[2025-04-09 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:33:04] Production.INFO: ==13545== Releasing lock...
[2025-04-09 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:33:05
[end_date_ymd] => 2025-04-09 08:33:05
[RateCDR] => 1
)
[2025-04-09 08:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:33:05' and `end` < '2025-04-09 08:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:33:11] Production.ERROR: CronJobId end10
[2025-04-09 08:33:11] Production.INFO: ==13539== Releasing lock...
[2025-04-09 08:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:33:14] Production.INFO: call_cost start
[2025-04-09 08:33:14] Production.INFO: call_cost end
[2025-04-09 08:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:33:15] Production.INFO: ==13535== Releasing lock...
[2025-04-09 08:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:33:18] Production.INFO: count ==352
[2025-04-09 08:33:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:33:05 - End Time 2025-04-09 08:33:05
[2025-04-09 08:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868343', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868343', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868343', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868343', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:33:18] Production.INFO: ProcessCDR(1,14868343,1,1,2)
[2025-04-09 08:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868343', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868343', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:33:23] Production.INFO: ==13543== Releasing lock...
[2025-04-09 08:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:33:23] Production.INFO: 31 MB #Memory Used#
[2025-04-09 13:34:02] Production.INFO: ==13604== Lock acquired, processing the job...
[2025-04-09 13:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:34:02] Production.INFO: neon service started
[2025-04-09 13:34:02] Production.INFO: neon service started
[2025-04-09 13:34:02] Production.INFO: ==13604== Releasing lock...
[2025-04-09 13:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:34:02] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-04-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:34:02] Production.INFO: ==13608== Releasing lock...
[2025-04-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:34:02] Production.INFO: ==13606== Lock acquired, processing the job...
[2025-04-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:34:02] Production.INFO: ==13606== Releasing lock...
[2025-04-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:34:03] Production.INFO: ==13616== Lock acquired, processing the job...
[2025-04-09 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:34:03] Production.INFO: ==13618== Lock acquired, processing the job...
[2025-04-09 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:34:03] Production.INFO: ==13620== Lock acquired, processing the job...
[2025-04-09 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:34:04] Production.INFO: Account Balance Start.
[2025-04-09 08:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:34:04] Production.INFO: 117
[2025-04-09 08:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:34:04] Production.INFO: ==13622== Lock acquired, processing the job...
[2025-04-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:34:04] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-04-09 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:34:04] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-04-09 08:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:34:04] Production.INFO: Total Charge 0
[2025-04-09 08:34:04] Production.INFO: CreateAllLog End
[2025-04-09 08:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:34:04] Production.INFO: count ==12
[2025-04-09 08:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:34:04] Production.INFO: count ==23
[2025-04-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868345') start
[2025-04-09 08:34:04] Production.INFO: Account Balance End.
[2025-04-09 08:34:04] Production.ERROR: done
[2025-04-09 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:34:04] Production.INFO: ==13618== Releasing lock...
[2025-04-09 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868345') end
[2025-04-09 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:34:04] Production.INFO: 1
[2025-04-09 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:34:04] Production.INFO: ==13614== Releasing lock...
[2025-04-09 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:34:04] Production.ERROR: done
[2025-04-09 08:34:04] Production.INFO: ==13622== Releasing lock...
[2025-04-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:34:05
[end_date_ymd] => 2025-04-09 08:34:05
[RateCDR] => 1
)
[2025-04-09 08:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:34:05' and `end` < '2025-04-09 08:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:34:13] Production.ERROR: CronJobId end10
[2025-04-09 08:34:13] Production.INFO: ==13616== Releasing lock...
[2025-04-09 08:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:34:15] Production.INFO: call_cost start
[2025-04-09 08:34:15] Production.INFO: call_cost end
[2025-04-09 08:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:34:16] Production.INFO: ==13612== Releasing lock...
[2025-04-09 08:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:34:18] Production.INFO: count ==374
[2025-04-09 08:34:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:34:05 - End Time 2025-04-09 08:34:05
[2025-04-09 08:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868348', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868348', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868348', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868348', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:34:18] Production.INFO: ProcessCDR(1,14868348,1,1,2)
[2025-04-09 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868348', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868348', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:34:23] Production.INFO: ==13620== Releasing lock...
[2025-04-09 08:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:34:23] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 13:35:01] Production.INFO: ==13683== Lock acquired, processing the job...
[2025-04-09 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:35:01] Production.INFO: neon service started
[2025-04-09 13:35:01] Production.INFO: neon service started
[2025-04-09 13:35:01] Production.INFO: ==13683== Releasing lock...
[2025-04-09 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:35:01] Production.INFO: ==13685== Lock acquired, processing the job...
[2025-04-09 08:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:35:02] Production.INFO: ==13685== Releasing lock...
[2025-04-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:35:02] Production.INFO: ==13687== Lock acquired, processing the job...
[2025-04-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:35:02] Production.INFO: ==13687== Releasing lock...
[2025-04-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:35:03] Production.INFO: ==13689== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:35:03] Production.INFO: ==13691== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:35:03] Production.INFO: ==13699== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:35:03] Production.INFO: ==13693== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:35:03] Production.INFO: ==13691== Releasing lock...
[2025-04-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:35:03] Production.INFO: ==13695== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:35:03] Production.INFO: ==13697== Lock acquired, processing the job...
[2025-04-09 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:35:03] Production.INFO: count ==12
[2025-04-09 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:35:03] Production.INFO: count ==23
[2025-04-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868351') start
[2025-04-09 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:35:03] Production.INFO: Account Balance Start.
[2025-04-09 08:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:35:03] Production.INFO: 117
[2025-04-09 08:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868351') end
[2025-04-09 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:35:03] Production.INFO: 1
[2025-04-09 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:35:03] Production.INFO: Total Charge 0
[2025-04-09 08:35:03] Production.INFO: CreateAllLog End
[2025-04-09 08:35:03] Production.INFO: ==13699== Releasing lock...
[2025-04-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:35:03] Production.INFO: Account Balance End.
[2025-04-09 08:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:35:04] Production.INFO: ==13695== Releasing lock...
[2025-04-09 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:35:04] Production.ERROR: done
[2025-04-09 08:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:35:04] Production.ERROR: done
[2025-04-09 08:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:35:05
[end_date_ymd] => 2025-04-09 08:35:05
[RateCDR] => 1
)
[2025-04-09 08: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-04-09 05:35:05' and `end` < '2025-04-09 08: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-04-09 08:35:11] Production.ERROR: CronJobId end10
[2025-04-09 08:35:11] Production.INFO: ==13693== Releasing lock...
[2025-04-09 08:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:35:14] Production.INFO: call_cost start
[2025-04-09 08:35:14] Production.INFO: call_cost end
[2025-04-09 08:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:35:15] Production.INFO: ==13689== Releasing lock...
[2025-04-09 08:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:35:17] Production.INFO: count ==377
[2025-04-09 08:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:35:05 - End Time 2025-04-09 08:35:05
[2025-04-09 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868353', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868353', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868353', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868353', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:35:18] Production.INFO: ProcessCDR(1,14868353,1,1,2)
[2025-04-09 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868353', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868353', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:35:23] Production.INFO: ==13697== Releasing lock...
[2025-04-09 08:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:35:23] Production.INFO: 31 MB #Memory Used#
[2025-04-09 13:36:02] Production.INFO: ==13757== Lock acquired, processing the job...
[2025-04-09 13:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:36:02] Production.INFO: neon service started
[2025-04-09 13:36:02] Production.INFO: neon service started
[2025-04-09 13:36:02] Production.INFO: ==13757== Releasing lock...
[2025-04-09 13:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:36:02] Production.INFO: ==13759== Lock acquired, processing the job...
[2025-04-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:36:02] Production.INFO: ==13761== Lock acquired, processing the job...
[2025-04-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:36:02] Production.INFO: ==13759== Releasing lock...
[2025-04-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:36:02] Production.INFO: ==13761== Releasing lock...
[2025-04-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:36:03] Production.INFO: ==13763== Lock acquired, processing the job...
[2025-04-09 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:36:03] Production.INFO: ==13765== Lock acquired, processing the job...
[2025-04-09 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:36:03] Production.INFO: ==13767== Lock acquired, processing the job...
[2025-04-09 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:36:03] Production.INFO: ==13769== Lock acquired, processing the job...
[2025-04-09 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:36:04] Production.INFO: ==13765== Releasing lock...
[2025-04-09 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:36:04] Production.INFO: ==13772== Lock acquired, processing the job...
[2025-04-09 08:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:36:04] Production.INFO: Account Balance Start.
[2025-04-09 08:36:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:36:04] Production.INFO: 117
[2025-04-09 08:36:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:36:04] Production.INFO: ==13774== Lock acquired, processing the job...
[2025-04-09 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:36:04] Production.INFO: Total Charge 0
[2025-04-09 08:36:04] Production.INFO: CreateAllLog End
[2025-04-09 08:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:36:04] Production.INFO: count ==12
[2025-04-09 08:36:04] Production.ERROR: done
[2025-04-09 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:36:04] Production.INFO: Account Balance End.
[2025-04-09 08:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:36:04] Production.INFO: count ==23
[2025-04-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868357') start
[2025-04-09 08:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:36:04] Production.INFO: ==13769== Releasing lock...
[2025-04-09 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:36:04] Production.ERROR: done
[2025-04-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868357') end
[2025-04-09 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:36:04] Production.INFO: 1
[2025-04-09 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:36:05] Production.INFO: ==13774== Releasing lock...
[2025-04-09 08:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:36:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:36:06
[end_date_ymd] => 2025-04-09 08:36:06
[RateCDR] => 1
)
[2025-04-09 08:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:36:06' and `end` < '2025-04-09 08:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:36:12] Production.ERROR: CronJobId end10
[2025-04-09 08:36:12] Production.INFO: ==13767== Releasing lock...
[2025-04-09 08:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:36:14] Production.INFO: call_cost start
[2025-04-09 08:36:14] Production.INFO: call_cost end
[2025-04-09 08:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:36:15] Production.INFO: ==13763== Releasing lock...
[2025-04-09 08:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:36:18] Production.INFO: count ==385
[2025-04-09 08:36:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:36:06 - End Time 2025-04-09 08:36:06
[2025-04-09 08:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868358', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868358', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868358', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868358', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:36:19] Production.INFO: ProcessCDR(1,14868358,1,1,2)
[2025-04-09 08:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868358', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868358', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:36:24] Production.INFO: ==13772== Releasing lock...
[2025-04-09 08:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:36:24] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 13:37:01] Production.INFO: ==13831== Lock acquired, processing the job...
[2025-04-09 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:37:01] Production.INFO: neon service started
[2025-04-09 13:37:01] Production.INFO: neon service started
[2025-04-09 13:37:01] Production.INFO: ==13831== Releasing lock...
[2025-04-09 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:37:01] Production.INFO: ==13833== Lock acquired, processing the job...
[2025-04-09 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:37:02] Production.INFO: ==13833== Releasing lock...
[2025-04-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:37:02] Production.INFO: ==13835== Lock acquired, processing the job...
[2025-04-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:37:02] Production.INFO: ==13835== Releasing lock...
[2025-04-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:37:03] Production.INFO: ==13837== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:37:03] Production.INFO: ==13841== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:37:03] Production.INFO: ==13843== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:37:03] Production.INFO: Account Balance Start.
[2025-04-09 08:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:37:03] Production.INFO: 117
[2025-04-09 08:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:37:03] Production.INFO: ==13839== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:37:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:37:03] Production.INFO: Total Charge 0
[2025-04-09 08:37:03] Production.INFO: ==13845== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:37:03] Production.INFO: CreateAllLog End
[2025-04-09 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:37:03] Production.INFO: ==13847== Lock acquired, processing the job...
[2025-04-09 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:37:03] Production.INFO: Account Balance End.
[2025-04-09 08:37:03] Production.INFO: ==13839== Releasing lock...
[2025-04-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:37:03] Production.INFO: count ==12
[2025-04-09 08:37:03] Production.ERROR: CronJobId end 12
[2025-04-09 08:37:03] Production.INFO: ==13843== Releasing lock...
[2025-04-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:37:03] Production.INFO: count ==23
[2025-04-09 08:37:03] Production.ERROR: done
[2025-04-09 08:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868362') start
[2025-04-09 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868362') end
[2025-04-09 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:37:04] Production.INFO: 1
[2025-04-09 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:37:04] Production.INFO: ==13847== Releasing lock...
[2025-04-09 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:37:04] Production.ERROR: done
[2025-04-09 08:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:37:04
[end_date_ymd] => 2025-04-09 08:37:04
[RateCDR] => 1
)
[2025-04-09 08: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-04-09 05:37:04' and `end` < '2025-04-09 08: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-04-09 08:37:11] Production.ERROR: CronJobId end10
[2025-04-09 08:37:11] Production.INFO: ==13841== Releasing lock...
[2025-04-09 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:37:14] Production.INFO: call_cost start
[2025-04-09 08:37:14] Production.INFO: call_cost end
[2025-04-09 08:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:37:15] Production.INFO: ==13837== Releasing lock...
[2025-04-09 08:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:37:17] Production.INFO: count ==385
[2025-04-09 08:37:17] Production.ERROR: pbx CDR StartTime 2025-04-09 05:37:04 - End Time 2025-04-09 08:37:04
[2025-04-09 08:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868363', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868363', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868363', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868363', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:37:17] Production.INFO: ProcessCDR(1,14868363,1,1,2)
[2025-04-09 08:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868363', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868363', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:37:21] Production.INFO: ==13845== Releasing lock...
[2025-04-09 08:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:37:21] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 13:38:02] Production.INFO: ==13903== Lock acquired, processing the job...
[2025-04-09 13:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:38:02] Production.INFO: neon service started
[2025-04-09 13:38:02] Production.INFO: neon service started
[2025-04-09 13:38:02] Production.INFO: ==13903== Releasing lock...
[2025-04-09 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:38:02] Production.INFO: ==13905== Lock acquired, processing the job...
[2025-04-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:38:02] Production.INFO: ==13905== Releasing lock...
[2025-04-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:38:03] Production.INFO: ==13907== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:38:03] Production.INFO: ==13907== Releasing lock...
[2025-04-09 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:38:03] Production.INFO: ==13920== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:38:03] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 08:38:03] Production.INFO: count ==12
[2025-04-09 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-04-09 08:38:03] Production.INFO: count ==23
[2025-04-09 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868364') start
[2025-04-09 08:38:03] Production.INFO: ==13910== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:38:03] Production.INFO: ==13914== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:38:03] Production.INFO: ==13916== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:38:03] Production.INFO: ==13918== Lock acquired, processing the job...
[2025-04-09 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868364') end
[2025-04-09 08:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:38:03] Production.INFO: 1
[2025-04-09 08:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:38:03] Production.INFO: ==13920== Releasing lock...
[2025-04-09 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:38:03] Production.INFO: Account Balance Start.
[2025-04-09 08:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:38:03] Production.INFO: 117
[2025-04-09 08:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:38:04] Production.INFO: Total Charge 0
[2025-04-09 08:38:04] Production.INFO: ==13912== Releasing lock...
[2025-04-09 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:38:04] Production.INFO: CreateAllLog End
[2025-04-09 08:38:04] Production.ERROR: done
[2025-04-09 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:38:04] Production.INFO: Account Balance End.
[2025-04-09 08:38:04] Production.ERROR: done
[2025-04-09 08:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:38:04] Production.INFO: ==13916== Releasing lock...
[2025-04-09 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:38:05
[end_date_ymd] => 2025-04-09 08:38:05
[RateCDR] => 1
)
[2025-04-09 08:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:38:05' and `end` < '2025-04-09 08:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:38:11] Production.ERROR: CronJobId end10
[2025-04-09 08:38:11] Production.INFO: ==13914== Releasing lock...
[2025-04-09 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:38:14] Production.INFO: call_cost start
[2025-04-09 08:38:14] Production.INFO: call_cost end
[2025-04-09 08:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:38:15] Production.INFO: ==13910== Releasing lock...
[2025-04-09 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:38:18] Production.INFO: count ==390
[2025-04-09 08:38:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:38:05 - End Time 2025-04-09 08:38:05
[2025-04-09 08:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868368', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868368', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868368', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868368', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:38:18] Production.INFO: ProcessCDR(1,14868368,1,1,2)
[2025-04-09 08:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868368', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868368', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:38:23] Production.INFO: ==13918== Releasing lock...
[2025-04-09 08:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:38:23] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 13:39:01] Production.INFO: ==13975== Lock acquired, processing the job...
[2025-04-09 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:39:01] Production.INFO: neon service started
[2025-04-09 13:39:01] Production.INFO: neon service started
[2025-04-09 13:39:01] Production.INFO: ==13975== Releasing lock...
[2025-04-09 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:39:01] Production.INFO: ==13977== Lock acquired, processing the job...
[2025-04-09 08:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:39:02] Production.INFO: ==13977== Releasing lock...
[2025-04-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:39:02] Production.INFO: ==13979== Lock acquired, processing the job...
[2025-04-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:39:02] Production.INFO: ==13979== Releasing lock...
[2025-04-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:39:03] Production.INFO: ==13985== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:39:03] Production.INFO: ==13991== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:39:03] Production.INFO: ==13981== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:39:03] Production.INFO: ==13983== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:39:03] Production.INFO: ==13987== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:39:03] Production.INFO: count ==12
[2025-04-09 08:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:39:03] Production.INFO: count ==23
[2025-04-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868369') start
[2025-04-09 08:39:03] Production.INFO: ==13989== Lock acquired, processing the job...
[2025-04-09 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868369') end
[2025-04-09 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:39:03] Production.INFO: 1
[2025-04-09 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:39:03] Production.INFO: Account Balance Start.
[2025-04-09 08:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:39:03] Production.INFO: 117
[2025-04-09 08:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:39:03] Production.INFO: ==13991== Releasing lock...
[2025-04-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:39:03] Production.INFO: Total Charge 0
[2025-04-09 08:39:03] Production.INFO: CreateAllLog End
[2025-04-09 08:39:03] Production.ERROR: done
[2025-04-09 08:39:03] Production.INFO: ==13983== Releasing lock...
[2025-04-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:39:03] Production.INFO: Account Balance End.
[2025-04-09 08:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:39:04] Production.INFO: ==13987== Releasing lock...
[2025-04-09 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:39:04] Production.ERROR: done
[2025-04-09 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:39:05
[end_date_ymd] => 2025-04-09 08:39:05
[RateCDR] => 1
)
[2025-04-09 08:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:39:05' and `end` < '2025-04-09 08:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:39:11] Production.ERROR: CronJobId end10
[2025-04-09 08:39:11] Production.INFO: ==13985== Releasing lock...
[2025-04-09 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:39:14] Production.INFO: call_cost start
[2025-04-09 08:39:14] Production.INFO: call_cost end
[2025-04-09 08:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:39:15] Production.INFO: ==13981== Releasing lock...
[2025-04-09 08:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:39:18] Production.INFO: count ==398
[2025-04-09 08:39:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:39:05 - End Time 2025-04-09 08:39:05
[2025-04-09 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868373', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868373', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868373', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868373', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:39:18] Production.INFO: ProcessCDR(1,14868373,1,1,2)
[2025-04-09 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868373', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868373', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:39:21] Production.INFO: ==13989== Releasing lock...
[2025-04-09 08:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:39:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-09 13:40:02] Production.INFO: ==14053== Lock acquired, processing the job...
[2025-04-09 13:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:40:02] Production.INFO: neon service started
[2025-04-09 13:40:02] Production.INFO: neon service started
[2025-04-09 13:40:02] Production.INFO: ==14053== Releasing lock...
[2025-04-09 13:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:40:02] Production.INFO: ==14055== Lock acquired, processing the job...
[2025-04-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:40:02] Production.INFO: ==14055== Releasing lock...
[2025-04-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:40:02] Production.INFO: ==14057== Lock acquired, processing the job...
[2025-04-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:40:02] Production.INFO: ==14057== Releasing lock...
[2025-04-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:40:03] Production.INFO: ==14063== Lock acquired, processing the job...
[2025-04-09 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14059== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14061== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:40:04] Production.ERROR: CronJob PID - 14061
[2025-04-09 08:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 08:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:40:00
[2025-04-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:40:04] Production.ERROR: CronJob PID - 14063
[2025-04-09 08:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 08:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:40:00
[2025-04-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:40:04] Production.ERROR: CronJob PID - 14065
[2025-04-09 08:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 08:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:40:00
[2025-04-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:40:04] Production.ERROR: CronJob PID - 14071
[2025-04-09 08:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 08:40:04] Production.ERROR: CronJob ID - 17
[2025-04-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:40:00
[2025-04-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:40:04] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:40:04] Production.INFO: ==14074== Lock acquired, processing the job...
[2025-04-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:40:04] Production.INFO: ==14059== Releasing lock...
[2025-04-09 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:40:04] Production.INFO: ==14063== Releasing lock...
[2025-04-09 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:40:04] Production.INFO: Account Balance Start.
[2025-04-09 08:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:40:04] Production.INFO: 117
[2025-04-09 08:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:40:04] Production.INFO: count ==12
[2025-04-09 08:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:40:04] Production.INFO: count ==23
[2025-04-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868377') start
[2025-04-09 08:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:40:04] Production.INFO: Total Charge 0
[2025-04-09 08:40:04] Production.INFO: CreateAllLog End
[2025-04-09 08:40:04] Production.ERROR: done
[2025-04-09 08:40:04] Production.ERROR: done
[2025-04-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868377') end
[2025-04-09 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:40:04] Production.INFO: 1
[2025-04-09 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868378', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:40:04] Production.INFO: ==14074== Releasing lock...
[2025-04-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:40:05] Production.INFO: Account Balance End.
[2025-04-09 08:40:05] Production.ERROR: done
[2025-04-09 08:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:40:05] Production.INFO: ==14067== Releasing lock...
[2025-04-09 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:40:06
[end_date_ymd] => 2025-04-09 08:40:06
[RateCDR] => 1
)
[2025-04-09 08:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:40:06' and `end` < '2025-04-09 08:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868378', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:40:09] Production.INFO: ProcessCDR(1,14868378,1,1,2)
[2025-04-09 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868378,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868378,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:40:09] Production.INFO: ==14071== Releasing lock...
[2025-04-09 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:40:14] Production.ERROR: CronJobId end10
[2025-04-09 08:40:14] Production.INFO: ==14065== Releasing lock...
[2025-04-09 08:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:40:17] Production.INFO: call_cost start
[2025-04-09 08:40:17] Production.INFO: call_cost end
[2025-04-09 08:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:40:17] Production.INFO: ==14061== Releasing lock...
[2025-04-09 08:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:40:19] Production.INFO: count ==413
[2025-04-09 08:40:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:40:06 - End Time 2025-04-09 08:40:06
[2025-04-09 08:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868379', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868379', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868379', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868379', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:40:19] Production.INFO: ProcessCDR(1,14868379,1,1,2)
[2025-04-09 08:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868379', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868379', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:40:23] Production.INFO: ==14069== Releasing lock...
[2025-04-09 08:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:40:23] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 13:41:01] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-04-09 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:41:01] Production.INFO: neon service started
[2025-04-09 13:41:01] Production.INFO: neon service started
[2025-04-09 13:41:01] Production.INFO: ==14130== Releasing lock...
[2025-04-09 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:41:02] Production.INFO: ==14132== Lock acquired, processing the job...
[2025-04-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:41:02] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-04-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:41:02] Production.INFO: ==14134== Releasing lock...
[2025-04-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:41:02] Production.INFO: ==14132== Releasing lock...
[2025-04-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:41:03] Production.INFO: ==14137== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:41:03] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:41:03] Production.INFO: ==14139== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:41:03] Production.INFO: Account Balance Start.
[2025-04-09 08:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:41:03] Production.INFO: 117
[2025-04-09 08:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:41:03] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:41:03] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:41:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:41:03] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-04-09 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:41:03] Production.INFO: Total Charge 0
[2025-04-09 08:41:03] Production.INFO: CreateAllLog End
[2025-04-09 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:41:03] Production.INFO: ==14139== Releasing lock...
[2025-04-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:41:03] Production.INFO: count ==12
[2025-04-09 08:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:41:03] Production.INFO: count ==23
[2025-04-09 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868383') start
[2025-04-09 08:41:04] Production.INFO: Account Balance End.
[2025-04-09 08:41:04] Production.ERROR: done
[2025-04-09 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:41:04] Production.INFO: ==14143== Releasing lock...
[2025-04-09 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868383') end
[2025-04-09 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:41:04] Production.INFO: 1
[2025-04-09 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:41:04] Production.INFO: ==14147== Releasing lock...
[2025-04-09 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:41:04] Production.ERROR: done
[2025-04-09 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:41:05
[end_date_ymd] => 2025-04-09 08:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:41:05' and `end` < '2025-04-09 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-04-09 08:41:11] Production.ERROR: CronJobId end10
[2025-04-09 08:41:11] Production.INFO: ==14141== Releasing lock...
[2025-04-09 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:41:13] Production.INFO: call_cost start
[2025-04-09 08:41:13] Production.INFO: call_cost end
[2025-04-09 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:41:14] Production.INFO: ==14137== Releasing lock...
[2025-04-09 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:41:18] Production.INFO: count ==453
[2025-04-09 08:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:41:05 - End Time 2025-04-09 08:41:05
[2025-04-09 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868384', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868384', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868384', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868384', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:41:18] Production.INFO: ProcessCDR(1,14868384,1,1,2)
[2025-04-09 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868384', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868384', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:41:23] Production.INFO: ==14145== Releasing lock...
[2025-04-09 08:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:41:23] Production.INFO: 31.75 MB #Memory Used#
[2025-04-09 13:42:01] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-04-09 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:42:01] Production.INFO: neon service started
[2025-04-09 13:42:01] Production.INFO: neon service started
[2025-04-09 13:42:01] Production.INFO: ==14203== Releasing lock...
[2025-04-09 13:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:42:02] Production.INFO: ==14205== Lock acquired, processing the job...
[2025-04-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:42:02] Production.INFO: ==14205== Releasing lock...
[2025-04-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:42:02] Production.INFO: ==14207== Lock acquired, processing the job...
[2025-04-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:42:02] Production.INFO: ==14207== Releasing lock...
[2025-04-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:42:03] Production.INFO: ==14215== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:42:03] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:42:03] Production.INFO: Account Balance Start.
[2025-04-09 08:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:42:03] Production.INFO: 117
[2025-04-09 08:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:42:03] Production.INFO: ==14211== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:42:03] Production.INFO: ==14209== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:42:03] Production.INFO: Total Charge 0
[2025-04-09 08:42:03] Production.INFO: CreateAllLog End
[2025-04-09 08:42:03] Production.INFO: ==14213== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:42:03] Production.INFO: ==14220== Lock acquired, processing the job...
[2025-04-09 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:42:03] Production.INFO: Account Balance End.
[2025-04-09 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:42:04] Production.INFO: ==14215== Releasing lock...
[2025-04-09 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:42:04] Production.ERROR: done
[2025-04-09 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:42:04] Production.INFO: count ==12
[2025-04-09 08:42:04] Production.ERROR: done
[2025-04-09 08:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:42:04] Production.INFO: count ==23
[2025-04-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868388') start
[2025-04-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868388') end
[2025-04-09 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:42:04] Production.INFO: 1
[2025-04-09 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:42:04] Production.INFO: ==14211== Releasing lock...
[2025-04-09 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:42:04] Production.INFO: ==14220== Releasing lock...
[2025-04-09 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:42:05
[end_date_ymd] => 2025-04-09 08:42:05
[RateCDR] => 1
)
[2025-04-09 08:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:42:05' and `end` < '2025-04-09 08:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:42:12] Production.ERROR: CronJobId end10
[2025-04-09 08:42:12] Production.INFO: ==14213== Releasing lock...
[2025-04-09 08:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:42:14] Production.INFO: call_cost start
[2025-04-09 08:42:14] Production.INFO: call_cost end
[2025-04-09 08:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:42:15] Production.INFO: ==14209== Releasing lock...
[2025-04-09 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:42:17] Production.INFO: count ==474
[2025-04-09 08:42:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:42:05 - End Time 2025-04-09 08:42:05
[2025-04-09 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868389', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868389', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868389', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868389', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:42:18] Production.INFO: ProcessCDR(1,14868389,1,1,2)
[2025-04-09 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868389', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868389', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:42:23] Production.INFO: ==14217== Releasing lock...
[2025-04-09 08:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:42:23] Production.INFO: 32 MB #Memory Used#
[2025-04-09 13:43:01] Production.INFO: ==14318== Lock acquired, processing the job...
[2025-04-09 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:43:01] Production.INFO: neon service started
[2025-04-09 13:43:01] Production.INFO: neon service started
[2025-04-09 13:43:01] Production.INFO: ==14318== Releasing lock...
[2025-04-09 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:43:01] Production.INFO: ==14320== Lock acquired, processing the job...
[2025-04-09 08:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:43:02] Production.INFO: ==14320== Releasing lock...
[2025-04-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:43:02] Production.INFO: ==14322== Lock acquired, processing the job...
[2025-04-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:43:02] Production.INFO: ==14322== Releasing lock...
[2025-04-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:43:03] Production.INFO: ==14333== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:43:03] Production.INFO: ==14326== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:43:03] Production.INFO: ==14324== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:43:03] Production.INFO: ==14328== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:43:03] Production.INFO: ==14331== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:43:03] Production.INFO: ==14335== Lock acquired, processing the job...
[2025-04-09 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:43:03] Production.INFO: Account Balance Start.
[2025-04-09 08:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:43:03] Production.INFO: 117
[2025-04-09 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 08:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:43:03] Production.INFO: count ==12
[2025-04-09 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 08:43:03] Production.INFO: ==14326== Releasing lock...
[2025-04-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:43:03] Production.INFO: count ==23
[2025-04-09 08:43:03] Production.ERROR: done
[2025-04-09 08:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868393') start
[2025-04-09 08:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:43:03] Production.INFO: Total Charge 0
[2025-04-09 08:43:03] Production.INFO: CreateAllLog End
[2025-04-09 08:43:03] Production.ERROR: done
[2025-04-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868393') end
[2025-04-09 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:43:04] Production.INFO: 1
[2025-04-09 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:43:04] Production.INFO: ==14335== Releasing lock...
[2025-04-09 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:43:04] Production.INFO: Account Balance End.
[2025-04-09 08:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:43:04] Production.INFO: ==14331== Releasing lock...
[2025-04-09 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:43:04
[end_date_ymd] => 2025-04-09 08:43:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:43:04' and `end` < '2025-04-09 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-04-09 08:43:11] Production.ERROR: CronJobId end10
[2025-04-09 08:43:11] Production.INFO: ==14328== Releasing lock...
[2025-04-09 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:43:14] Production.INFO: call_cost start
[2025-04-09 08:43:14] Production.INFO: call_cost end
[2025-04-09 08:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:43:15] Production.INFO: ==14324== Releasing lock...
[2025-04-09 08:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:43:17] Production.INFO: count ==475
[2025-04-09 08:43:17] Production.ERROR: pbx CDR StartTime 2025-04-09 05:43:04 - End Time 2025-04-09 08:43:04
[2025-04-09 08:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868394', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868394', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868394', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868394', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:43:17] Production.INFO: ProcessCDR(1,14868394,1,1,2)
[2025-04-09 08:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868394', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868394', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:43:21] Production.INFO: ==14333== Releasing lock...
[2025-04-09 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:43:21] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 13:44:01] Production.INFO: ==14390== Lock acquired, processing the job...
[2025-04-09 13:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:44:01] Production.INFO: neon service started
[2025-04-09 13:44:01] Production.INFO: neon service started
[2025-04-09 13:44:01] Production.INFO: ==14390== Releasing lock...
[2025-04-09 13:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:44:02] Production.INFO: ==14394== Lock acquired, processing the job...
[2025-04-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:44:02] Production.INFO: ==14394== Releasing lock...
[2025-04-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:44:02] Production.INFO: ==14392== Lock acquired, processing the job...
[2025-04-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:44:02] Production.INFO: ==14392== Releasing lock...
[2025-04-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:44:03] Production.INFO: ==14405== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:44:03] Production.INFO: ==14399== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:44:03] Production.INFO: ==14397== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:44:03] Production.INFO: ==14401== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:44:03] Production.INFO: ==14403== Lock acquired, processing the job...
[2025-04-09 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:44:04] Production.INFO: ==14407== Lock acquired, processing the job...
[2025-04-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:44:04] Production.ERROR: done
[2025-04-09 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:44:04] Production.INFO: Account Balance Start.
[2025-04-09 08:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:44:04] Production.INFO: 117
[2025-04-09 08:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:44:04] Production.INFO: count ==12
[2025-04-09 08:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:44:04] Production.INFO: count ==23
[2025-04-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868398') start
[2025-04-09 08:44:04] Production.INFO: ==14399== Releasing lock...
[2025-04-09 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:44:04] Production.ERROR: done
[2025-04-09 08:44:04] Production.INFO: Total Charge 0
[2025-04-09 08:44:04] Production.INFO: CreateAllLog End
[2025-04-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868398') end
[2025-04-09 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:44:04] Production.INFO: 1
[2025-04-09 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:44:04] Production.INFO: ==14407== Releasing lock...
[2025-04-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:44:04] Production.INFO: Account Balance End.
[2025-04-09 08:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:44:04] Production.INFO: ==14403== Releasing lock...
[2025-04-09 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:44:05
[end_date_ymd] => 2025-04-09 08:44:05
[RateCDR] => 1
)
[2025-04-09 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:44:05' and `end` < '2025-04-09 08:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:44:11] Production.ERROR: CronJobId end10
[2025-04-09 08:44:11] Production.INFO: ==14401== Releasing lock...
[2025-04-09 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:44:14] Production.INFO: call_cost start
[2025-04-09 08:44:14] Production.INFO: call_cost end
[2025-04-09 08:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:44:15] Production.INFO: ==14397== Releasing lock...
[2025-04-09 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:44:18] Production.INFO: count ==477
[2025-04-09 08:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:44:05 - End Time 2025-04-09 08:44:05
[2025-04-09 08:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868399', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868399', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868399', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868399', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:44:18] Production.INFO: ProcessCDR(1,14868399,1,1,2)
[2025-04-09 08:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868399', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868399', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:44:23] Production.INFO: ==14405== Releasing lock...
[2025-04-09 08:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:44:23] Production.INFO: 32.25 MB #Memory Used#
[2025-04-09 13:45:02] Production.INFO: ==14463== Lock acquired, processing the job...
[2025-04-09 13:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:45:02] Production.INFO: neon service started
[2025-04-09 13:45:02] Production.INFO: neon service started
[2025-04-09 13:45:02] Production.INFO: ==14463== Releasing lock...
[2025-04-09 13:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:45:02] Production.INFO: ==14467== Lock acquired, processing the job...
[2025-04-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:45:02] Production.INFO: ==14467== Releasing lock...
[2025-04-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:45:02] Production.INFO: ==14465== Lock acquired, processing the job...
[2025-04-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:45:03] Production.INFO: ==14465== Releasing lock...
[2025-04-09 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:45:03] Production.INFO: ==14469== Lock acquired, processing the job...
[2025-04-09 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:45:03] Production.INFO: ==14471== Lock acquired, processing the job...
[2025-04-09 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:45:03] Production.INFO: ==14473== Lock acquired, processing the job...
[2025-04-09 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:45:04] Production.INFO: ==14475== Lock acquired, processing the job...
[2025-04-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:45:04] Production.INFO: ==14477== Lock acquired, processing the job...
[2025-04-09 08:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:45:04] Production.INFO: ==14480== Lock acquired, processing the job...
[2025-04-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:45:04] Production.INFO: Account Balance Start.
[2025-04-09 08:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:45:04] Production.INFO: count ==12
[2025-04-09 08:45:04] Production.INFO: 117
[2025-04-09 08:45:04] Production.INFO: ==14471== Releasing lock...
[2025-04-09 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:45:04] Production.INFO: count ==23
[2025-04-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868403') start
[2025-04-09 08:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:45:04] Production.INFO: Total Charge 0
[2025-04-09 08:45:04] Production.INFO: CreateAllLog End
[2025-04-09 08:45:04] Production.ERROR: done
[2025-04-09 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868403') end
[2025-04-09 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:45:04] Production.INFO: 1
[2025-04-09 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:45:04] Production.INFO: ==14480== Releasing lock...
[2025-04-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:45:04] Production.ERROR: done
[2025-04-09 08:45:04] Production.INFO: Account Balance End.
[2025-04-09 08:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:45:04] Production.INFO: ==14475== Releasing lock...
[2025-04-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:45:06
[end_date_ymd] => 2025-04-09 08:45:06
[RateCDR] => 1
)
[2025-04-09 08:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:45:06' and `end` < '2025-04-09 08:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:45:12] Production.ERROR: CronJobId end10
[2025-04-09 08:45:12] Production.INFO: ==14473== Releasing lock...
[2025-04-09 08:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:45:14] Production.INFO: call_cost start
[2025-04-09 08:45:14] Production.INFO: call_cost end
[2025-04-09 08:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:45:15] Production.INFO: ==14469== Releasing lock...
[2025-04-09 08:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:45:18] Production.INFO: count ==483
[2025-04-09 08:45:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:45:06 - End Time 2025-04-09 08:45:06
[2025-04-09 08:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868404', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868404', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868404', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868404', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:45:19] Production.INFO: ProcessCDR(1,14868404,1,1,2)
[2025-04-09 08:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868404', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868404', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:45:22] Production.INFO: ==14477== Releasing lock...
[2025-04-09 08:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:45:22] Production.INFO: 32.25 MB #Memory Used#
[2025-04-09 13:46:01] Production.INFO: ==14539== Lock acquired, processing the job...
[2025-04-09 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:46:01] Production.INFO: neon service started
[2025-04-09 13:46:01] Production.INFO: neon service started
[2025-04-09 13:46:01] Production.INFO: ==14539== Releasing lock...
[2025-04-09 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:46:02] Production.INFO: ==14543== Lock acquired, processing the job...
[2025-04-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:46:02] Production.INFO: ==14543== Releasing lock...
[2025-04-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:46:02] Production.INFO: ==14541== Lock acquired, processing the job...
[2025-04-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:46:02] Production.INFO: ==14541== Releasing lock...
[2025-04-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:46:03] Production.INFO: ==14548== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:46:03] Production.INFO: ==14550== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:46:03] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:46:03] Production.INFO: ==14552== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:46:03] Production.INFO: ==14556== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:46:03] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-04-09 08:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:46:03] Production.INFO: Account Balance Start.
[2025-04-09 08:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:46:03] Production.INFO: 117
[2025-04-09 08:46:03] Production.INFO: ==14548== Releasing lock...
[2025-04-09 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:46:03] Production.INFO: count ==12
[2025-04-09 08:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:46:03] Production.INFO: count ==23
[2025-04-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868408') start
[2025-04-09 08:46:04] Production.INFO: Total Charge 0
[2025-04-09 08:46:04] Production.INFO: CreateAllLog End
[2025-04-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868408') end
[2025-04-09 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:46:04] Production.INFO: 1
[2025-04-09 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:46:04] Production.INFO: ==14556== Releasing lock...
[2025-04-09 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:46:04] Production.ERROR: done
[2025-04-09 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:46:04] Production.INFO: Account Balance End.
[2025-04-09 08:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:46:04] Production.INFO: ==14552== Releasing lock...
[2025-04-09 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:46:04] Production.ERROR: done
[2025-04-09 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:46:05
[end_date_ymd] => 2025-04-09 08:46:05
[RateCDR] => 1
)
[2025-04-09 08:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:46:05' and `end` < '2025-04-09 08:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:46:13] Production.ERROR: CronJobId end10
[2025-04-09 08:46:13] Production.INFO: ==14550== Releasing lock...
[2025-04-09 08:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:46:14] Production.INFO: call_cost start
[2025-04-09 08:46:14] Production.INFO: call_cost end
[2025-04-09 08:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:46:15] Production.INFO: ==14546== Releasing lock...
[2025-04-09 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:46:18] Production.INFO: count ==484
[2025-04-09 08:46:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:46:05 - End Time 2025-04-09 08:46:05
[2025-04-09 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868409', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868409', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868409', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868409', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:46:18] Production.INFO: ProcessCDR(1,14868409,1,1,2)
[2025-04-09 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868409', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868409', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:46:23] Production.INFO: ==14554== Releasing lock...
[2025-04-09 08:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:46:23] Production.INFO: 32 MB #Memory Used#
[2025-04-09 13:47:02] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-04-09 13:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:47:02] Production.INFO: neon service started
[2025-04-09 13:47:02] Production.INFO: neon service started
[2025-04-09 13:47:02] Production.INFO: ==14617== Releasing lock...
[2025-04-09 13:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:47:02] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-04-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:47:02] Production.INFO: ==14621== Lock acquired, processing the job...
[2025-04-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:47:02] Production.INFO: ==14621== Releasing lock...
[2025-04-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:47:03] Production.INFO: ==14619== Releasing lock...
[2025-04-09 08:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:47:04] Production.INFO: ==14626== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:47:04] Production.INFO: ==14632== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:47:04] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:47:04] Production.INFO: ==14628== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:47:04] Production.INFO: ==14630== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:47:04] Production.INFO: ==14634== Lock acquired, processing the job...
[2025-04-09 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:47:04] Production.INFO: ==14626== Releasing lock...
[2025-04-09 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:47:04] Production.INFO: Account Balance Start.
[2025-04-09 08:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:47:04] Production.INFO: 117
[2025-04-09 08:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:47:04] Production.INFO: Total Charge 0
[2025-04-09 08:47:04] Production.INFO: CreateAllLog End
[2025-04-09 08:47:04] Production.INFO: count ==12
[2025-04-09 08:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:47:04] Production.INFO: count ==23
[2025-04-09 08:47:04] Production.ERROR: done
[2025-04-09 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868413') start
[2025-04-09 08:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:47:05] Production.ERROR: done
[2025-04-09 08:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868413') end
[2025-04-09 08:47:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:47:05] Production.INFO: 1
[2025-04-09 08:47:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:47:05] Production.INFO: Account Balance End.
[2025-04-09 08:47:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:47:05] Production.INFO: ==14630== Releasing lock...
[2025-04-09 08:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:47:05] Production.INFO: ==14634== Releasing lock...
[2025-04-09 08:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:47:06
[end_date_ymd] => 2025-04-09 08:47:06
[RateCDR] => 1
)
[2025-04-09 08:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:47:06' and `end` < '2025-04-09 08:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:47:12] Production.ERROR: CronJobId end10
[2025-04-09 08:47:12] Production.INFO: ==14628== Releasing lock...
[2025-04-09 08:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:47:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:47:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:47:17] Production.INFO: call_cost start
[2025-04-09 08:47:17] Production.INFO: call_cost end
[2025-04-09 08:47:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:47:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:47:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:47:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:47:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:47:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:47:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:47:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:47:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:47:18] Production.INFO: ==14624== Releasing lock...
[2025-04-09 08:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:47:19] Production.INFO: count ==503
[2025-04-09 08:47:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:47:06 - End Time 2025-04-09 08:47:06
[2025-04-09 08:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868414', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868414', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868414', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868414', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:47:19] Production.INFO: ProcessCDR(1,14868414,1,1,2)
[2025-04-09 08:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868414', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868414', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:47:24] Production.INFO: ==14632== Releasing lock...
[2025-04-09 08:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:47:24] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 13:48:01] Production.INFO: ==14688== Lock acquired, processing the job...
[2025-04-09 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:48:01] Production.INFO: neon service started
[2025-04-09 13:48:01] Production.INFO: neon service started
[2025-04-09 13:48:01] Production.INFO: ==14688== Releasing lock...
[2025-04-09 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:48:02] Production.INFO: ==14690== Lock acquired, processing the job...
[2025-04-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:48:02] Production.INFO: ==14690== Releasing lock...
[2025-04-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:48:02] Production.INFO: ==14692== Lock acquired, processing the job...
[2025-04-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:48:02] Production.INFO: ==14692== Releasing lock...
[2025-04-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:48:03] Production.INFO: ==14705== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:48:03] Production.INFO: count ==12
[2025-04-09 08:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:48:03] Production.INFO: count ==23
[2025-04-09 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868415') start
[2025-04-09 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868415') end
[2025-04-09 08:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:48:03] Production.INFO: 1
[2025-04-09 08:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:48:03] Production.INFO: ==14695== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:48:03] Production.INFO: ==14703== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:48:03] Production.INFO: ==14705== Releasing lock...
[2025-04-09 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:48:03] Production.INFO: ==14697== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:48:03] Production.INFO: ==14699== Lock acquired, processing the job...
[2025-04-09 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:48:04] Production.INFO: ==14701== Lock acquired, processing the job...
[2025-04-09 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:48:04] Production.INFO: Account Balance Start.
[2025-04-09 08:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:48:04] Production.INFO: 117
[2025-04-09 08:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:48:04] Production.INFO: Total Charge 0
[2025-04-09 08:48:04] Production.INFO: CreateAllLog End
[2025-04-09 08:48:04] Production.ERROR: done
[2025-04-09 08:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:48:04] Production.INFO: ==14697== Releasing lock...
[2025-04-09 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:48:04] Production.ERROR: done
[2025-04-09 08:48:04] Production.INFO: Account Balance End.
[2025-04-09 08:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:48:04] Production.INFO: ==14701== Releasing lock...
[2025-04-09 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:48:05
[end_date_ymd] => 2025-04-09 08:48:05
[RateCDR] => 1
)
[2025-04-09 08:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:48:05' and `end` < '2025-04-09 08:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:48:13] Production.ERROR: CronJobId end10
[2025-04-09 08:48:13] Production.INFO: ==14699== Releasing lock...
[2025-04-09 08:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:48:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:48:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:48:16] Production.INFO: call_cost start
[2025-04-09 08:48:16] Production.INFO: call_cost end
[2025-04-09 08:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:48:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:48:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:48:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:48:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:48:17] Production.INFO: ==14695== Releasing lock...
[2025-04-09 08:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:48:18] Production.INFO: count ==511
[2025-04-09 08:48:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:48:05 - End Time 2025-04-09 08:48:05
[2025-04-09 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868419', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868419', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868419', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868419', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:48:18] Production.INFO: ProcessCDR(1,14868419,1,1,2)
[2025-04-09 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868419', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868419', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:48:24] Production.INFO: ==14703== Releasing lock...
[2025-04-09 08:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:48:24] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 13:49:02] Production.INFO: ==14766== Lock acquired, processing the job...
[2025-04-09 13:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:49:02] Production.INFO: neon service started
[2025-04-09 13:49:02] Production.INFO: neon service started
[2025-04-09 13:49:02] Production.INFO: ==14766== Releasing lock...
[2025-04-09 13:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:49:02] Production.INFO: ==14768== Lock acquired, processing the job...
[2025-04-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:49:03] Production.INFO: ==14770== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 08:49:03] Production.INFO: ==14768== Releasing lock...
[2025-04-09 08:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:49:03] Production.INFO: ==14770== Releasing lock...
[2025-04-09 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:49:03] Production.INFO: ==14773== Lock acquired, processing the job...
[2025-04-09 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:49:03] Production.INFO: ==14775== Lock acquired, processing the job...
[2025-04-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:49:03] Production.INFO: ==14779== Lock acquired, processing the job...
[2025-04-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:49:04] Production.INFO: Account Balance Start.
[2025-04-09 08:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:49:04] Production.INFO: 117
[2025-04-09 08:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:49:04] Production.INFO: Total Charge 0
[2025-04-09 08:49:04] Production.INFO: CreateAllLog End
[2025-04-09 08:49:04] Production.INFO: ==14781== Lock acquired, processing the job...
[2025-04-09 08:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:49:04] Production.INFO: ==14777== Lock acquired, processing the job...
[2025-04-09 08:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:49:04] Production.INFO: ==14783== Lock acquired, processing the job...
[2025-04-09 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:49:04] Production.INFO: ==14775== Releasing lock...
[2025-04-09 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:49:04] Production.INFO: Account Balance End.
[2025-04-09 08:49:04] Production.INFO: count ==12
[2025-04-09 08:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:49:04] Production.INFO: count ==23
[2025-04-09 08:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:49:04] Production.INFO: ==14779== Releasing lock...
[2025-04-09 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868423') start
[2025-04-09 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868423') end
[2025-04-09 08:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:49:04] Production.INFO: 1
[2025-04-09 08:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:49:04] Production.INFO: ==14783== Releasing lock...
[2025-04-09 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:49:04] Production.ERROR: done
[2025-04-09 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:49:05] Production.ERROR: done
[2025-04-09 08:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:49:06
[end_date_ymd] => 2025-04-09 08:49:06
[RateCDR] => 1
)
[2025-04-09 08: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-04-09 05:49:06' and `end` < '2025-04-09 08: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-04-09 08:49:13] Production.ERROR: CronJobId end10
[2025-04-09 08:49:13] Production.INFO: ==14777== Releasing lock...
[2025-04-09 08:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:49:15] Production.INFO: call_cost start
[2025-04-09 08:49:15] Production.INFO: call_cost end
[2025-04-09 08:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:49:16] Production.INFO: ==14773== Releasing lock...
[2025-04-09 08:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:49:19] Production.INFO: count ==517
[2025-04-09 08:49:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:49:06 - End Time 2025-04-09 08:49:06
[2025-04-09 08:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868424', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868424', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868424', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868424', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:49:19] Production.INFO: ProcessCDR(1,14868424,1,1,2)
[2025-04-09 08:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868424', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868424', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:49:25] Production.INFO: ==14781== Releasing lock...
[2025-04-09 08:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:49:25] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 13:50:01] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-04-09 13:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:50:01] Production.INFO: neon service started
[2025-04-09 13:50:01] Production.INFO: neon service started
[2025-04-09 13:50:01] Production.INFO: ==14840== Releasing lock...
[2025-04-09 13:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:50:02] Production.INFO: ==14842== Lock acquired, processing the job...
[2025-04-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:50:02] Production.INFO: ==14842== Releasing lock...
[2025-04-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:50:02] Production.INFO: ==14844== Lock acquired, processing the job...
[2025-04-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:50:02] Production.INFO: ==14844== Releasing lock...
[2025-04-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:50:03] Production.INFO: ==14846== Lock acquired, processing the job...
[2025-04-09 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 08:50:04] Production.INFO: ==14848== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:50:04] Production.INFO: ==14850== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 08:50:04] Production.ERROR: CronJob PID - 14848
[2025-04-09 08:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 08:50:04] Production.ERROR: CronJob ID - 5
[2025-04-09 08:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 08:50:00
[2025-04-09 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:50:04] Production.INFO: ==14852== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:50:04] Production.INFO: ==14856== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 08:50:04] Production.INFO: ==14846== Releasing lock...
[2025-04-09 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 08:50:04] Production.INFO: ==14854== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:50:04] Production.INFO: ==14859== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:50:04] Production.INFO: Account Balance Start.
[2025-04-09 08:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:50:04] Production.INFO: 117
[2025-04-09 08:50:04] Production.INFO: ==14861== Lock acquired, processing the job...
[2025-04-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:50:04] Production.INFO: count ==12
[2025-04-09 08:50:04] Production.INFO: Total Charge 0
[2025-04-09 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:50:04] Production.INFO: count ==23
[2025-04-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868428') start
[2025-04-09 08:50:04] Production.ERROR: done
[2025-04-09 08:50:04] Production.INFO: CreateAllLog End
[2025-04-09 08:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:50:04] Production.INFO: ==14850== Releasing lock...
[2025-04-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868428') end
[2025-04-09 08:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:50:04] Production.INFO: 1
[2025-04-09 08:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:50:04] Production.INFO: ==14861== Releasing lock...
[2025-04-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:50:05] Production.ERROR: done
[2025-04-09 08:50:05] Production.ERROR: done
[2025-04-09 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868429', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 08:50:05] Production.INFO: Account Balance End.
[2025-04-09 08:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 08:50:05] Production.INFO: ==14854== Releasing lock...
[2025-04-09 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:50:06
[end_date_ymd] => 2025-04-09 08:50:06
[RateCDR] => 1
)
[2025-04-09 08:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:50:06' and `end` < '2025-04-09 08:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868429', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 08:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 08:50:10] Production.INFO: ProcessCDR(1,14868429,1,1,2)
[2025-04-09 08:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868429,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868429,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:50:10] Production.INFO: ==14859== Releasing lock...
[2025-04-09 08:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 08:50:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 08:50:16] Production.ERROR: CronJobId end10
[2025-04-09 08:50:16] Production.INFO: ==14852== Releasing lock...
[2025-04-09 08:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:50:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:50:18] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:50:18] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:50:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:50:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:50:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:50:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:50:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:50:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:50:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:50:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:50:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:50:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:50:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:50:18] Production.INFO: call_cost start
[2025-04-09 08:50:18] Production.INFO: call_cost end
[2025-04-09 08:50:19] Production.INFO: count ==535
[2025-04-09 08:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:50:19] Production.INFO: ==14848== Releasing lock...
[2025-04-09 08:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:50:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:50:06 - End Time 2025-04-09 08:50:06
[2025-04-09 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868430', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868430', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868430', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868430', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:50:20] Production.INFO: ProcessCDR(1,14868430,1,1,2)
[2025-04-09 08:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868430', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868430', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:50:25] Production.INFO: ==14856== Releasing lock...
[2025-04-09 08:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:50:25] Production.INFO: 32.5 MB #Memory Used#
[2025-04-09 13:51:02] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-04-09 13:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:51:02] Production.INFO: neon service started
[2025-04-09 13:51:02] Production.INFO: neon service started
[2025-04-09 13:51:02] Production.INFO: ==14919== Releasing lock...
[2025-04-09 13:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:51:02] Production.INFO: ==14921== Lock acquired, processing the job...
[2025-04-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:51:02] Production.INFO: ==14921== Releasing lock...
[2025-04-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:51:02] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-04-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:51:02] Production.INFO: ==14923== Releasing lock...
[2025-04-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:51:03] Production.INFO: ==14925== Lock acquired, processing the job...
[2025-04-09 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:51:03] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-04-09 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:51:03] Production.INFO: ==14927== Lock acquired, processing the job...
[2025-04-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:51:03] Production.INFO: ==14929== Lock acquired, processing the job...
[2025-04-09 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:51:04] Production.INFO: ==14931== Lock acquired, processing the job...
[2025-04-09 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:51:04] Production.INFO: ==14935== Lock acquired, processing the job...
[2025-04-09 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:51:04] Production.INFO: Account Balance Start.
[2025-04-09 08:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:51:04] Production.INFO: 117
[2025-04-09 08:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:51:04] Production.INFO: Total Charge 0
[2025-04-09 08:51:04] Production.INFO: CreateAllLog End
[2025-04-09 08:51:04] Production.ERROR: done
[2025-04-09 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:51:04] Production.INFO: count ==12
[2025-04-09 08:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:51:04] Production.INFO: count ==23
[2025-04-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868434') start
[2025-04-09 08:51:04] Production.ERROR: done
[2025-04-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868434') end
[2025-04-09 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:51:04] Production.INFO: 1
[2025-04-09 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:51:04] Production.INFO: ==14935== Releasing lock...
[2025-04-09 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:51:04] Production.INFO: Account Balance End.
[2025-04-09 08:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:51:04] Production.INFO: ==14931== Releasing lock...
[2025-04-09 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:51:04] Production.INFO: ==14927== Releasing lock...
[2025-04-09 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:51:05
[end_date_ymd] => 2025-04-09 08:51:05
[RateCDR] => 1
)
[2025-04-09 08:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:51:05' and `end` < '2025-04-09 08:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:51:12] Production.ERROR: CronJobId end10
[2025-04-09 08:51:12] Production.INFO: ==14929== Releasing lock...
[2025-04-09 08:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:51:15] Production.INFO: call_cost start
[2025-04-09 08:51:15] Production.INFO: call_cost end
[2025-04-09 08:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:51:16] Production.INFO: ==14925== Releasing lock...
[2025-04-09 08:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:51:18] Production.INFO: count ==577
[2025-04-09 08:51:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:51:05 - End Time 2025-04-09 08:51:05
[2025-04-09 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868435', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868435', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868435', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868435', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:51:18] Production.INFO: ProcessCDR(1,14868435,1,1,2)
[2025-04-09 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868435', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868435', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:51:22] Production.INFO: ==14933== Releasing lock...
[2025-04-09 08:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:51:22] Production.INFO: 33 MB #Memory Used#
[2025-04-09 13:52:01] Production.INFO: ==14992== Lock acquired, processing the job...
[2025-04-09 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:52:01] Production.INFO: neon service started
[2025-04-09 13:52:01] Production.INFO: neon service started
[2025-04-09 13:52:01] Production.INFO: ==14992== Releasing lock...
[2025-04-09 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:52:02] Production.INFO: ==14994== Lock acquired, processing the job...
[2025-04-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:52:02] Production.INFO: ==14994== Releasing lock...
[2025-04-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:52:02] Production.INFO: ==14996== Lock acquired, processing the job...
[2025-04-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:52:02] Production.INFO: ==14996== Releasing lock...
[2025-04-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:52:03] Production.INFO: ==15003== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:52:03] Production.INFO: ==14998== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:52:03] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:52:03] Production.INFO: ==15001== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:52:03] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:52:03] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-04-09 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:52:03] Production.INFO: ==15001== Releasing lock...
[2025-04-09 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:52:03] Production.INFO: Account Balance Start.
[2025-04-09 08:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:52:03] Production.INFO: 117
[2025-04-09 08:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:52:04] Production.INFO: count ==12
[2025-04-09 08:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:52:04] Production.INFO: count ==23
[2025-04-09 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868439') start
[2025-04-09 08:52:04] Production.INFO: Total Charge 0
[2025-04-09 08:52:04] Production.ERROR: done
[2025-04-09 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:52:04] Production.INFO: CreateAllLog End
[2025-04-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868439') end
[2025-04-09 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:52:04] Production.INFO: 1
[2025-04-09 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:52:04] Production.INFO: ==15009== Releasing lock...
[2025-04-09 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:52:04] Production.ERROR: done
[2025-04-09 08:52:04] Production.INFO: Account Balance End.
[2025-04-09 08:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:52:04] Production.INFO: ==15005== Releasing lock...
[2025-04-09 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:52:05
[end_date_ymd] => 2025-04-09 08:52:05
[RateCDR] => 1
)
[2025-04-09 08:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:52:05' and `end` < '2025-04-09 08:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:52:12] Production.ERROR: CronJobId end10
[2025-04-09 08:52:12] Production.INFO: ==15003== Releasing lock...
[2025-04-09 08:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:52:14] Production.INFO: call_cost start
[2025-04-09 08:52:14] Production.INFO: call_cost end
[2025-04-09 08:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:52:15] Production.INFO: ==14998== Releasing lock...
[2025-04-09 08:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:52:18] Production.INFO: count ==593
[2025-04-09 08:52:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:52:05 - End Time 2025-04-09 08:52:05
[2025-04-09 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868440', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868440', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868440', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868440', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:52:18] Production.INFO: ProcessCDR(1,14868440,1,1,2)
[2025-04-09 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868440', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868440', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:52:24] Production.INFO: ==15007== Releasing lock...
[2025-04-09 08:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:52:24] Production.INFO: 33 MB #Memory Used#
[2025-04-09 13:53:02] Production.INFO: ==15065== Lock acquired, processing the job...
[2025-04-09 13:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:53:02] Production.INFO: neon service started
[2025-04-09 13:53:02] Production.INFO: neon service started
[2025-04-09 13:53:02] Production.INFO: ==15065== Releasing lock...
[2025-04-09 13:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:53:02] Production.INFO: ==15067== Lock acquired, processing the job...
[2025-04-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:53:02] Production.INFO: ==15069== Lock acquired, processing the job...
[2025-04-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:53:02] Production.INFO: ==15069== Releasing lock...
[2025-04-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:53:03] Production.INFO: ==15067== Releasing lock...
[2025-04-09 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:53:03] Production.INFO: ==15078== Lock acquired, processing the job...
[2025-04-09 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:53:03] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-04-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:53:04] Production.INFO: Account Balance Start.
[2025-04-09 08:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 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-04-09 08:53:04] Production.INFO: 117
[2025-04-09 08:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:53:04] Production.INFO: count ==12
[2025-04-09 08:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:53:04] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-04-09 08:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:53:04] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-04-09 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:53:04] Production.INFO: ==15076== Lock acquired, processing the job...
[2025-04-09 08:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:53:04] Production.INFO: count ==23
[2025-04-09 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868441') start
[2025-04-09 08:53:04] Production.INFO: ==15080== Lock acquired, processing the job...
[2025-04-09 08:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:53:04] Production.INFO: Total Charge 0
[2025-04-09 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868441') end
[2025-04-09 08:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:53:04] Production.INFO: 1
[2025-04-09 08:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:53:04] Production.INFO: CreateAllLog End
[2025-04-09 08:53:04] Production.INFO: ==15082== Releasing lock...
[2025-04-09 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:53:04] Production.INFO: ==15074== Releasing lock...
[2025-04-09 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:53:04] Production.ERROR: done
[2025-04-09 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:53:04] Production.INFO: Account Balance End.
[2025-04-09 08:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:53:04] Production.ERROR: done
[2025-04-09 08:53:04] Production.INFO: ==15078== Releasing lock...
[2025-04-09 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:53:05
[end_date_ymd] => 2025-04-09 08:53:05
[RateCDR] => 1
)
[2025-04-09 08:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:53:05' and `end` < '2025-04-09 08:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:53:11] Production.ERROR: CronJobId end10
[2025-04-09 08:53:11] Production.INFO: ==15076== Releasing lock...
[2025-04-09 08:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:53:15] Production.INFO: call_cost start
[2025-04-09 08:53:15] Production.INFO: call_cost end
[2025-04-09 08:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:53:16] Production.INFO: ==15072== Releasing lock...
[2025-04-09 08:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:53:18] Production.INFO: count ==594
[2025-04-09 08:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:53:05 - End Time 2025-04-09 08:53:05
[2025-04-09 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868445', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868445', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868445', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868445', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:53:18] Production.INFO: ProcessCDR(1,14868445,1,1,2)
[2025-04-09 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868445', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868445', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:53:22] Production.INFO: ==15080== Releasing lock...
[2025-04-09 08:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:53:22] Production.INFO: 33 MB #Memory Used#
[2025-04-09 13:54:01] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-04-09 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:54:01] Production.INFO: neon service started
[2025-04-09 13:54:01] Production.INFO: neon service started
[2025-04-09 13:54:01] Production.INFO: ==15141== Releasing lock...
[2025-04-09 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:54:02] Production.INFO: ==15143== Lock acquired, processing the job...
[2025-04-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:54:02] Production.INFO: ==15145== Lock acquired, processing the job...
[2025-04-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:54:02] Production.INFO: ==15145== Releasing lock...
[2025-04-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:54:02] Production.INFO: ==15143== Releasing lock...
[2025-04-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:54:03] Production.INFO: ==15148== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:54:03] Production.INFO: ==15154== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:54:03] Production.INFO: ==15158== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:54:03] Production.INFO: Account Balance Start.
[2025-04-09 08:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:54:03] Production.INFO: 117
[2025-04-09 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:54:03] Production.INFO: count ==12
[2025-04-09 08:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:54:03] Production.INFO: count ==23
[2025-04-09 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868448') start
[2025-04-09 08:54:03] Production.INFO: Total Charge 0
[2025-04-09 08:54:03] Production.INFO: ==15152== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:54:03] Production.INFO: ==15150== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:54:03] Production.INFO: CreateAllLog End
[2025-04-09 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868448') end
[2025-04-09 08:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:54:03] Production.INFO: 1
[2025-04-09 08:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:54:03] Production.INFO: ==15158== Releasing lock...
[2025-04-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:54:03] Production.INFO: ==15156== Lock acquired, processing the job...
[2025-04-09 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:54:03] Production.INFO: Account Balance End.
[2025-04-09 08:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:54:04] Production.INFO: ==15154== Releasing lock...
[2025-04-09 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:54:04] Production.INFO: ==15150== Releasing lock...
[2025-04-09 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:54:04] Production.ERROR: done
[2025-04-09 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:54:04] Production.ERROR: done
[2025-04-09 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:54:05
[end_date_ymd] => 2025-04-09 08:54:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 05:54:05' and `end` < '2025-04-09 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-04-09 08:54:12] Production.ERROR: CronJobId end10
[2025-04-09 08:54:12] Production.INFO: ==15152== Releasing lock...
[2025-04-09 08:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:54:14] Production.INFO: call_cost start
[2025-04-09 08:54:14] Production.INFO: call_cost end
[2025-04-09 08:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:54:15] Production.INFO: ==15148== Releasing lock...
[2025-04-09 08:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:54:18] Production.INFO: count ==599
[2025-04-09 08:54:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:54:05 - End Time 2025-04-09 08:54:05
[2025-04-09 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868450', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868450', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868450', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868450', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:54:18] Production.INFO: ProcessCDR(1,14868450,1,1,2)
[2025-04-09 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868450', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868450', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:54:24] Production.INFO: ==15156== Releasing lock...
[2025-04-09 08:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:54:24] Production.INFO: 33 MB #Memory Used#
[2025-04-09 13:55:02] Production.INFO: ==15219== Lock acquired, processing the job...
[2025-04-09 13:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:55:02] Production.INFO: neon service started
[2025-04-09 13:55:02] Production.INFO: neon service started
[2025-04-09 13:55:02] Production.INFO: ==15219== Releasing lock...
[2025-04-09 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:55:02] Production.INFO: ==15221== Lock acquired, processing the job...
[2025-04-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:55:02] Production.INFO: ==15221== Releasing lock...
[2025-04-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:55:02] Production.INFO: ==15223== Lock acquired, processing the job...
[2025-04-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:55:03] Production.INFO: ==15223== Releasing lock...
[2025-04-09 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:55:03] Production.INFO: ==15225== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:55:03] Production.INFO: ==15229== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:55:03] Production.INFO: ==15235== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08: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-04-09 08:55:03] Production.INFO: count ==12
[2025-04-09 08:55:03] Production.INFO: ==15233== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08: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-04-09 08:55:03] Production.INFO: ==15227== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:55:03] Production.INFO: count ==23
[2025-04-09 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:55:03] Production.INFO: ==15231== Lock acquired, processing the job...
[2025-04-09 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868452') start
[2025-04-09 08:55:04] Production.INFO: Account Balance Start.
[2025-04-09 08:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:55:04] Production.INFO: 117
[2025-04-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868452') end
[2025-04-09 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:55:04] Production.INFO: 1
[2025-04-09 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:55:04] Production.INFO: Total Charge 0
[2025-04-09 08:55:04] Production.INFO: CreateAllLog End
[2025-04-09 08:55:04] Production.INFO: ==15235== Releasing lock...
[2025-04-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:55:04] Production.ERROR: done
[2025-04-09 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:55:04] Production.INFO: Account Balance End.
[2025-04-09 08:55:04] Production.ERROR: done
[2025-04-09 08:55:04] Production.INFO: ==15227== Releasing lock...
[2025-04-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:55:04] Production.INFO: ==15231== Releasing lock...
[2025-04-09 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:55:05
[end_date_ymd] => 2025-04-09 08:55:05
[RateCDR] => 1
)
[2025-04-09 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:55:05' and `end` < '2025-04-09 08:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:55:11] Production.ERROR: CronJobId end10
[2025-04-09 08:55:11] Production.INFO: ==15229== Releasing lock...
[2025-04-09 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:55:14] Production.INFO: call_cost start
[2025-04-09 08:55:14] Production.INFO: call_cost end
[2025-04-09 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:55:15] Production.INFO: ==15225== Releasing lock...
[2025-04-09 08:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:55:18] Production.INFO: count ==605
[2025-04-09 08:55:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:55:05 - End Time 2025-04-09 08:55:05
[2025-04-09 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868455', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868455', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868455', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868455', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:55:18] Production.INFO: ProcessCDR(1,14868455,1,1,2)
[2025-04-09 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868455', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868455', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:55:23] Production.INFO: ==15233== Releasing lock...
[2025-04-09 08:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:55:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 13:56:01] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-04-09 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:56:01] Production.INFO: neon service started
[2025-04-09 13:56:01] Production.INFO: neon service started
[2025-04-09 13:56:01] Production.INFO: ==15289== Releasing lock...
[2025-04-09 13:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 08:56:01] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-04-09 08:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:56:02] Production.INFO: ==15291== Releasing lock...
[2025-04-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:56:02] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-04-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:56:02] Production.INFO: ==15293== Releasing lock...
[2025-04-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:56:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:56:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:56:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:56:03] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:56:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:56:03] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-04-09 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:56:03] Production.INFO: Account Balance Start.
[2025-04-09 08:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:56:03] Production.INFO: 117
[2025-04-09 08:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:56:03] Production.INFO: count ==12
[2025-04-09 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-04-09 08:56:03] Production.INFO: count ==23
[2025-04-09 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868459') start
[2025-04-09 08:56:03] Production.ERROR: done
[2025-04-09 08:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:56:03] Production.INFO: Total Charge 0
[2025-04-09 08:56:03] Production.INFO: CreateAllLog End
[2025-04-09 08:56:03] Production.INFO: ==15297== Releasing lock...
[2025-04-09 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:56:03] Production.ERROR: done
[2025-04-09 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868459') end
[2025-04-09 08:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:56:03] Production.INFO: 1
[2025-04-09 08:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:56:04] Production.INFO: ==15305== Releasing lock...
[2025-04-09 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:56:04] Production.INFO: Account Balance End.
[2025-04-09 08:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:56:04] Production.INFO: ==15301== Releasing lock...
[2025-04-09 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:56:04
[end_date_ymd] => 2025-04-09 08:56:04
[RateCDR] => 1
)
[2025-04-09 08:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:56:04' and `end` < '2025-04-09 08: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-04-09 08:56:11] Production.ERROR: CronJobId end10
[2025-04-09 08:56:11] Production.INFO: ==15299== Releasing lock...
[2025-04-09 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:56:15] Production.INFO: call_cost start
[2025-04-09 08:56:15] Production.INFO: call_cost end
[2025-04-09 08:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:56:16] Production.INFO: ==15295== Releasing lock...
[2025-04-09 08:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:56:17] Production.INFO: count ==613
[2025-04-09 08:56:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:56:04 - End Time 2025-04-09 08:56:04
[2025-04-09 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868460', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868460', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868460', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868460', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:56:18] Production.INFO: ProcessCDR(1,14868460,1,1,2)
[2025-04-09 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868460', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868460', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:56:23] Production.INFO: ==15303== Releasing lock...
[2025-04-09 08:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:56:23] Production.INFO: 33.25 MB #Memory Used#
[2025-04-09 13:57:02] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-04-09 13:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:57:02] Production.INFO: neon service started
[2025-04-09 13:57:02] Production.INFO: neon service started
[2025-04-09 13:57:02] Production.INFO: ==15362== Releasing lock...
[2025-04-09 13:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:57:02] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-04-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:57:02] Production.INFO: ==15367== Releasing lock...
[2025-04-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:57:02] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-04-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:57:02] Production.INFO: ==15365== Releasing lock...
[2025-04-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:57:03] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-04-09 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:57:03] Production.INFO: ==15371== Lock acquired, processing the job...
[2025-04-09 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:57:03] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-04-09 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:57:04] Production.INFO: ==15375== Lock acquired, processing the job...
[2025-04-09 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:57:04] Production.INFO: ==15371== Releasing lock...
[2025-04-09 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:57:04] Production.INFO: ==15377== Lock acquired, processing the job...
[2025-04-09 08:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:57:04] Production.INFO: Account Balance Start.
[2025-04-09 08:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 08:57:04] Production.INFO: 117
[2025-04-09 08:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 08:57:04] Production.INFO: ==15379== Lock acquired, processing the job...
[2025-04-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 08:57:04] Production.INFO: Total Charge 0
[2025-04-09 08:57:04] Production.INFO: CreateAllLog End
[2025-04-09 08:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:57:04] Production.INFO: count ==12
[2025-04-09 08:57:04] Production.ERROR: done
[2025-04-09 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 08:57:04] Production.INFO: Account Balance End.
[2025-04-09 08:57:04] Production.INFO: count ==23
[2025-04-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868464') start
[2025-04-09 08:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:57:04] Production.INFO: ==15375== Releasing lock...
[2025-04-09 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:57:04] Production.ERROR: done
[2025-04-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868464') end
[2025-04-09 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:57:04] Production.INFO: 1
[2025-04-09 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:57:04] Production.INFO: ==15379== Releasing lock...
[2025-04-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:57:05
[end_date_ymd] => 2025-04-09 08:57:05
[RateCDR] => 1
)
[2025-04-09 08:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:57:05' and `end` < '2025-04-09 08:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:57:12] Production.ERROR: CronJobId end10
[2025-04-09 08:57:12] Production.INFO: ==15373== Releasing lock...
[2025-04-09 08:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:57:14] Production.INFO: call_cost start
[2025-04-09 08:57:14] Production.INFO: call_cost end
[2025-04-09 08:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:57:15] Production.INFO: ==15369== Releasing lock...
[2025-04-09 08:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:57:18] Production.INFO: count ==619
[2025-04-09 08:57:19] Production.ERROR: pbx CDR StartTime 2025-04-09 05:57:05 - End Time 2025-04-09 08:57:05
[2025-04-09 08:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868465', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868465', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868465', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868465', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:57:19] Production.INFO: ProcessCDR(1,14868465,1,1,2)
[2025-04-09 08:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868465', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868465', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:57:24] Production.INFO: ==15377== Releasing lock...
[2025-04-09 08:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:57:24] Production.INFO: 33.25 MB #Memory Used#
[2025-04-09 13:58:01] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-04-09 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:58:01] Production.INFO: neon service started
[2025-04-09 13:58:01] Production.INFO: neon service started
[2025-04-09 13:58:01] Production.INFO: ==15438== Releasing lock...
[2025-04-09 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:58:01] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-04-09 12:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:58:01] Production.INFO: ==15442== Releasing lock...
[2025-04-09 12:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:58:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:58:02] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-04-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:58:02] Production.INFO: ==15440== Releasing lock...
[2025-04-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:58:03] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:58:03] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:58:03] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:58:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:58:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:58:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-04-09 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 08:58:03] Production.INFO: Account Balance Start.
[2025-04-09 08:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:58:03] Production.INFO: 117
[2025-04-09 08:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 08:58:03] Production.INFO: Total Charge 0
[2025-04-09 08:58:03] Production.INFO: CreateAllLog End
[2025-04-09 08:58:03] Production.INFO: count ==12
[2025-04-09 08:58:03] Production.INFO: ==15447== Releasing lock...
[2025-04-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 08:58:03] Production.INFO: count ==23
[2025-04-09 08:58:03] Production.ERROR: done
[2025-04-09 08:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868469') start
[2025-04-09 08:58:04] Production.ERROR: done
[2025-04-09 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868469') end
[2025-04-09 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:58:04] Production.INFO: 1
[2025-04-09 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:58:04] Production.INFO: ==15455== Releasing lock...
[2025-04-09 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:58:04] Production.INFO: Account Balance End.
[2025-04-09 08:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:58:04] Production.INFO: ==15451== Releasing lock...
[2025-04-09 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:58:05
[end_date_ymd] => 2025-04-09 08:58:05
[RateCDR] => 1
)
[2025-04-09 08:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:58:05' and `end` < '2025-04-09 08:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:58:11] Production.ERROR: CronJobId end10
[2025-04-09 08:58:11] Production.INFO: ==15449== Releasing lock...
[2025-04-09 08:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:58:14] Production.INFO: call_cost start
[2025-04-09 08:58:14] Production.INFO: call_cost end
[2025-04-09 08:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:58:15] Production.INFO: ==15445== Releasing lock...
[2025-04-09 08:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:58:18] Production.INFO: count ==619
[2025-04-09 08:58:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:58:05 - End Time 2025-04-09 08:58:05
[2025-04-09 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868470', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868470', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868470', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868470', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:58:18] Production.INFO: ProcessCDR(1,14868470,1,1,2)
[2025-04-09 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868470', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868470', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:58:22] Production.INFO: ==15453== Releasing lock...
[2025-04-09 08:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:58:22] Production.INFO: 33.25 MB #Memory Used#
[2025-04-09 13:59:01] Production.INFO: ==15552== Lock acquired, processing the job...
[2025-04-09 13:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 13:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 13:59:01] Production.INFO: neon service started
[2025-04-09 13:59:01] Production.INFO: neon service started
[2025-04-09 13:59:01] Production.INFO: ==15552== Releasing lock...
[2025-04-09 13:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 13:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:59:02] Production.INFO: ==15556== Lock acquired, processing the job...
[2025-04-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:59:02] Production.INFO: ==15556== Releasing lock...
[2025-04-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 08:59:02] Production.INFO: ==15554== Lock acquired, processing the job...
[2025-04-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 08:59:02] Production.INFO: ==15554== Releasing lock...
[2025-04-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 08:59:03] Production.INFO: ==15559== Lock acquired, processing the job...
[2025-04-09 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 08:59:03] Production.INFO: ==15561== Lock acquired, processing the job...
[2025-04-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 08:59:03] Production.INFO: ==15565== Lock acquired, processing the job...
[2025-04-09 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 08:59:03] Production.INFO: Account Balance Start.
[2025-04-09 08:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 08:59:03] Production.INFO: 117
[2025-04-09 08:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 08:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 08:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 08:59:03] Production.INFO: ==15563== Lock acquired, processing the job...
[2025-04-09 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 08:59:03] Production.INFO: ==15561== Releasing lock...
[2025-04-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 08:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 08:59:03] Production.INFO: Total Charge 0
[2025-04-09 08:59:03] Production.INFO: CreateAllLog End
[2025-04-09 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 08:59:03] Production.INFO: Account Balance End.
[2025-04-09 08:59:03] Production.INFO: ==15567== Lock acquired, processing the job...
[2025-04-09 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 08:59:04] Production.INFO: ==15569== Lock acquired, processing the job...
[2025-04-09 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 08:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 08:59:04] Production.INFO: ==15565== Releasing lock...
[2025-04-09 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 08:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 08:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 08:59:04] Production.INFO: count ==12
[2025-04-09 08:59:04] Production.ERROR: done
[2025-04-09 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 08:59:04] Production.INFO: count ==23
[2025-04-09 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868474') start
[2025-04-09 08:59:04] Production.ERROR: done
[2025-04-09 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868474') end
[2025-04-09 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 08:59:04] Production.INFO: 1
[2025-04-09 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 08:59:04] Production.INFO: ==15569== Releasing lock...
[2025-04-09 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 05:59:05
[end_date_ymd] => 2025-04-09 08:59:05
[RateCDR] => 1
)
[2025-04-09 08:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 05:59:05' and `end` < '2025-04-09 08:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 08:59:11] Production.ERROR: CronJobId end10
[2025-04-09 08:59:11] Production.INFO: ==15563== Releasing lock...
[2025-04-09 08:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 08:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 08:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 08:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 08:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 08:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 08:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 08:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 08:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 08:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 08:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 08:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 08:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 08:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 08:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 08:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 08:59:14] Production.INFO: call_cost start
[2025-04-09 08:59:15] Production.INFO: call_cost end
[2025-04-09 08:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 08:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 08:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 08:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 08:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 08:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 08:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 08:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 08:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 08:59:15] Production.INFO: ==15559== Releasing lock...
[2025-04-09 08:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 08:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 08:59:18] Production.INFO: count ==624
[2025-04-09 08:59:18] Production.ERROR: pbx CDR StartTime 2025-04-09 05:59:05 - End Time 2025-04-09 08:59:05
[2025-04-09 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868475', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868475', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868475', 'tblTempVendorCDR_20' ) start
[2025-04-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868475', 'tblTempVendorCDR_20' ) end
[2025-04-09 08:59:18] Production.INFO: ProcessCDR(1,14868475,1,1,2)
[2025-04-09 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 08:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868475', 'tblTempUsageDetail_20' ) start
[2025-04-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868475', 'tblTempUsageDetail_20' ) end
[2025-04-09 08:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 08:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 08:59:22] Production.INFO: ==15567== Releasing lock...
[2025-04-09 08:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 08:59:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 14:00:02] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-04-09 14:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:00:02] Production.INFO: neon service started
[2025-04-09 14:00:02] Production.INFO: neon service started
[2025-04-09 14:00:02] Production.INFO: ==15623== Releasing lock...
[2025-04-09 14:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:00:02] Production.INFO: ==15625== Lock acquired, processing the job...
[2025-04-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:00:03] Production.INFO: ==15627== Lock acquired, processing the job...
[2025-04-09 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:00:03] Production.INFO: ==15627== Releasing lock...
[2025-04-09 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:00:03] Production.INFO: ==15625== Releasing lock...
[2025-04-09 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:00:04] Production.INFO: ==15637== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:00:04] Production.INFO: ==15640== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:00:04] Production.INFO: ==15642== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:00:04] Production.INFO: ==15629== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:00:04] Production.INFO: Account Balance Start.
[2025-04-09 09:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:00:04] Production.INFO: 117
[2025-04-09 09:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:00:04] Production.INFO: ==15631== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:00:04] Production.INFO: ==15635== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:00:04] Production.ERROR: CronJob PID - 15637
[2025-04-09 09:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 09:00:04] Production.ERROR: CronJob ID - 12
[2025-04-09 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:00:00
[2025-04-09 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:00:04] Production.ERROR: CronJob PID - 15640
[2025-04-09 09:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 09:00:04] Production.ERROR: CronJob ID - 16
[2025-04-09 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:00:00
[2025-04-09 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:00:04] Production.ERROR: CronJob PID - 15642
[2025-04-09 09:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 09:00:04] Production.ERROR: CronJob ID - 17
[2025-04-09 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:00:00
[2025-04-09 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:00:04] Production.INFO: ==15633== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:00:04] Production.INFO: Total Charge 0
[2025-04-09 09:00:04] Production.INFO: CreateAllLog End
[2025-04-09 09:00:04] Production.INFO: ==15644== Lock acquired, processing the job...
[2025-04-09 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:00:04] Production.INFO: ==15629== Releasing lock...
[2025-04-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:00:04] Production.ERROR: done
[2025-04-09 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:00:04] Production.INFO: count ==12
[2025-04-09 09:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:00:04] Production.INFO: count ==23
[2025-04-09 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868478') start
[2025-04-09 09:00:04] Production.ERROR: done
[2025-04-09 09:00:04] Production.INFO: Account Balance End.
[2025-04-09 09:00:04] Production.ERROR: done
[2025-04-09 09:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:00:04] Production.INFO: ==15637== Releasing lock...
[2025-04-09 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868478') end
[2025-04-09 09:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:00:05] Production.INFO: 1
[2025-04-09 09:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868481', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:00:05] Production.INFO: ==15644== Releasing lock...
[2025-04-09 09:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:00:05] Production.INFO: ==15633== Releasing lock...
[2025-04-09 09:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:00:06
[end_date_ymd] => 2025-04-09 09:00:06
[RateCDR] => 1
)
[2025-04-09 09:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:00:06' and `end` < '2025-04-09 09:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868481', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:00:09] Production.INFO: ProcessCDR(1,14868481,1,1,2)
[2025-04-09 09:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868481,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868481,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:00:09] Production.INFO: ==15642== Releasing lock...
[2025-04-09 09:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:00:14] Production.ERROR: CronJobId end10
[2025-04-09 09:00:14] Production.INFO: ==15635== Releasing lock...
[2025-04-09 09:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:00:16] Production.INFO: call_cost start
[2025-04-09 09:00:16] Production.INFO: call_cost end
[2025-04-09 09:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:00:18] Production.INFO: ==15631== Releasing lock...
[2025-04-09 09:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:00:18] Production.INFO: count ==631
[2025-04-09 09:00:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:00:06 - End Time 2025-04-09 09:00:06
[2025-04-09 09:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868480', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868480', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868480', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868480', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:00:19] Production.INFO: ProcessCDR(1,14868480,1,1,2)
[2025-04-09 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868480', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868480', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:00:24] Production.INFO: ==15640== Releasing lock...
[2025-04-09 09:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:00:24] Production.INFO: 33.25 MB #Memory Used#
[2025-04-09 14:01:01] Production.INFO: ==15699== Lock acquired, processing the job...
[2025-04-09 14:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:01:01] Production.INFO: neon service started
[2025-04-09 14:01:01] Production.INFO: neon service started
[2025-04-09 14:01:01] Production.INFO: ==15699== Releasing lock...
[2025-04-09 14:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:01:02] Production.INFO: ==15711== Lock acquired, processing the job...
[2025-04-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:01:02] Production.INFO: ==15713== Lock acquired, processing the job...
[2025-04-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:01:02] Production.INFO: ==15713== Releasing lock...
[2025-04-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:01:02] Production.INFO: ==15711== Releasing lock...
[2025-04-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:01:03] Production.INFO: ==15716== Lock acquired, processing the job...
[2025-04-09 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:01:03] Production.INFO: ==15718== Lock acquired, processing the job...
[2025-04-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:01:03] Production.INFO: ==15722== Lock acquired, processing the job...
[2025-04-09 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:01:03] Production.INFO: Account Balance Start.
[2025-04-09 09:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:01:03] Production.INFO: 117
[2025-04-09 09:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:01:03] Production.INFO: Total Charge 0
[2025-04-09 09:01:03] Production.INFO: ==15720== Lock acquired, processing the job...
[2025-04-09 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:01:04] Production.INFO: CreateAllLog End
[2025-04-09 09:01:04] Production.INFO: ==15724== Lock acquired, processing the job...
[2025-04-09 09:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:01:04] Production.INFO: ==15726== Lock acquired, processing the job...
[2025-04-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:01:04] Production.INFO: Account Balance End.
[2025-04-09 09:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:01:04] Production.INFO: ==15722== Releasing lock...
[2025-04-09 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:01:04] Production.INFO: ==15718== Releasing lock...
[2025-04-09 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:01:04] Production.INFO: count ==12
[2025-04-09 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:01:04] Production.INFO: count ==23
[2025-04-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868485') start
[2025-04-09 09:01:04] Production.ERROR: done
[2025-04-09 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:01:04] Production.ERROR: done
[2025-04-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868485') end
[2025-04-09 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:01:04] Production.INFO: 1
[2025-04-09 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:01:04] Production.INFO: ==15726== Releasing lock...
[2025-04-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:01:05] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:05] Production.INFO: =diffInterval=0
[2025-04-09 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:01:05
[end_date_ymd] => 2025-04-09 09:01:05
[RateCDR] => 1
)
[2025-04-09 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:01:05' and `end` < '2025-04-09 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:01:06] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:06] Production.INFO: =diffInterval=0
[2025-04-09 09:01:07] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:07] Production.INFO: =diffInterval=0
[2025-04-09 09:01:08] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:08] Production.INFO: =diffInterval=0
[2025-04-09 09:01:09] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:09] Production.INFO: =diffInterval=0
[2025-04-09 09:01:10] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:10] Production.INFO: =diffInterval=0
[2025-04-09 09:01:11] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:11] Production.INFO: =diffInterval=0
[2025-04-09 09:01:11] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:11] Production.INFO: =diffInterval=0
[2025-04-09 09:01:12] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:12] Production.INFO: =diffInterval=0
[2025-04-09 09:01:13] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:13] Production.INFO: =diffInterval=0
[2025-04-09 09:01:13] Production.ERROR: CronJobId end10
[2025-04-09 09:01:13] Production.INFO: ==15720== Releasing lock...
[2025-04-09 09:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:01:13] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:13] Production.INFO: =diffInterval=0
[2025-04-09 09:01:14] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:14] Production.INFO: =diffInterval=0
[2025-04-09 09:01:15] Production.INFO: helper-LastRunTime===2025-04-09 09:01:00
[2025-04-09 09:01:15] Production.INFO: =diffInterval=0
[2025-04-09 09:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:01:15] Production.INFO: call_cost start
[2025-04-09 09:01:15] Production.INFO: call_cost end
[2025-04-09 09:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:01:16] Production.INFO: ==15716== Releasing lock...
[2025-04-09 09:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:01:18] Production.INFO: count ==708
[2025-04-09 09:01:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:01:05 - End Time 2025-04-09 09:01:05
[2025-04-09 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868486', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868486', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868486', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868486', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:01:18] Production.INFO: ProcessCDR(1,14868486,1,1,2)
[2025-04-09 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868486', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868486', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:01:22] Production.INFO: ==15724== Releasing lock...
[2025-04-09 09:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:01:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 14:02:02] Production.INFO: ==15788== Lock acquired, processing the job...
[2025-04-09 14:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:02:02] Production.INFO: neon service started
[2025-04-09 14:02:02] Production.INFO: neon service started
[2025-04-09 14:02:02] Production.INFO: ==15788== Releasing lock...
[2025-04-09 14:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:02:02] Production.INFO: ==15793== Lock acquired, processing the job...
[2025-04-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:02:02] Production.INFO: ==15793== Releasing lock...
[2025-04-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:02:02] Production.INFO: ==15791== Lock acquired, processing the job...
[2025-04-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:02:03] Production.INFO: ==15791== Releasing lock...
[2025-04-09 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:02:03] Production.INFO: ==15797== Lock acquired, processing the job...
[2025-04-09 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:02:03] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-04-09 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:02:03] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-04-09 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:02:04] Production.INFO: ==15795== Lock acquired, processing the job...
[2025-04-09 09:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:02:04] Production.INFO: ==15797== Releasing lock...
[2025-04-09 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:02:04] Production.INFO: ==15805== Lock acquired, processing the job...
[2025-04-09 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:02:04] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-04-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:02:04] Production.ERROR: done
[2025-04-09 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:02:04] Production.INFO: Account Balance Start.
[2025-04-09 09:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:02:04] Production.INFO: 117
[2025-04-09 09:02:04] Production.INFO: count ==12
[2025-04-09 09:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:02:04] Production.INFO: count ==23
[2025-04-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868489') start
[2025-04-09 09:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:02:04] Production.ERROR: done
[2025-04-09 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868489') end
[2025-04-09 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:02:04] Production.INFO: 1
[2025-04-09 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:02:04] Production.INFO: ==15805== Releasing lock...
[2025-04-09 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:02:04] Production.INFO: Total Charge 0
[2025-04-09 09:02:05] Production.INFO: CreateAllLog End
[2025-04-09 09:02:05] Production.INFO: Account Balance End.
[2025-04-09 09:02:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:02:05] Production.INFO: ==15801== Releasing lock...
[2025-04-09 09:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:02:05
[end_date_ymd] => 2025-04-09 09:02:05
[RateCDR] => 1
)
[2025-04-09 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:02:05' and `end` < '2025-04-09 09:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:02:11] Production.ERROR: CronJobId end10
[2025-04-09 09:02:11] Production.INFO: ==15799== Releasing lock...
[2025-04-09 09:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:02:14] Production.INFO: call_cost start
[2025-04-09 09:02:14] Production.INFO: call_cost end
[2025-04-09 09:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:02:15] Production.INFO: ==15795== Releasing lock...
[2025-04-09 09:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:02:18] Production.INFO: count ==715
[2025-04-09 09:02:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:02:05 - End Time 2025-04-09 09:02:05
[2025-04-09 09:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868491', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868491', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868491', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868491', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:02:19] Production.INFO: ProcessCDR(1,14868491,1,1,2)
[2025-04-09 09:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868491', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868491', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:02:24] Production.INFO: ==15803== Releasing lock...
[2025-04-09 09:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:02:24] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 14:03:01] Production.INFO: ==15858== Lock acquired, processing the job...
[2025-04-09 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:03:01] Production.INFO: neon service started
[2025-04-09 14:03:01] Production.INFO: neon service started
[2025-04-09 14:03:01] Production.INFO: ==15858== Releasing lock...
[2025-04-09 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:03:02] Production.INFO: ==15860== Lock acquired, processing the job...
[2025-04-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:03:02] Production.INFO: ==15860== Releasing lock...
[2025-04-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:03:02] Production.INFO: ==15862== Lock acquired, processing the job...
[2025-04-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:03:02] Production.INFO: ==15862== Releasing lock...
[2025-04-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:03:03] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:03:03] Production.INFO: ==15865== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:03:03] Production.INFO: ==15867== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:03:03] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:03:03] Production.INFO: ==15869== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:03:03] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-04-09 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:03:03] Production.INFO: count ==12
[2025-04-09 09:03:03] Production.INFO: Account Balance Start.
[2025-04-09 09:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:03:03] Production.INFO: count ==23
[2025-04-09 09:03:03] Production.INFO: 117
[2025-04-09 09:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868492') start
[2025-04-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:03:03] Production.ERROR: done
[2025-04-09 09:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868492') end
[2025-04-09 09:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:03:03] Production.INFO: 1
[2025-04-09 09:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:03:04] Production.INFO: Total Charge 0
[2025-04-09 09:03:04] Production.INFO: ==15875== Releasing lock...
[2025-04-09 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:03:04] Production.INFO: CreateAllLog End
[2025-04-09 09:03:04] Production.ERROR: done
[2025-04-09 09:03:04] Production.INFO: ==15867== Releasing lock...
[2025-04-09 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:03:04] Production.INFO: Account Balance End.
[2025-04-09 09:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:03:04] Production.INFO: ==15871== Releasing lock...
[2025-04-09 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:03:05
[end_date_ymd] => 2025-04-09 09:03:05
[RateCDR] => 1
)
[2025-04-09 09:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:03:05' and `end` < '2025-04-09 09:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:03:12] Production.ERROR: CronJobId end10
[2025-04-09 09:03:12] Production.INFO: ==15869== Releasing lock...
[2025-04-09 09:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:03:14] Production.INFO: call_cost start
[2025-04-09 09:03:14] Production.INFO: call_cost end
[2025-04-09 09:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:03:15] Production.INFO: ==15865== Releasing lock...
[2025-04-09 09:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:03:18] Production.INFO: count ==718
[2025-04-09 09:03:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:03:05 - End Time 2025-04-09 09:03:05
[2025-04-09 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868496', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868496', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868496', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868496', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:03:18] Production.INFO: ProcessCDR(1,14868496,1,1,2)
[2025-04-09 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868496', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868496', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:03:21] Production.INFO: ==15873== Releasing lock...
[2025-04-09 09:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:03:21] Production.INFO: 33.5 MB #Memory Used#
[2025-04-09 14:04:02] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-04-09 14:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:04:02] Production.INFO: neon service started
[2025-04-09 14:04:02] Production.INFO: neon service started
[2025-04-09 14:04:02] Production.INFO: ==15933== Releasing lock...
[2025-04-09 14:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:04:02] Production.INFO: ==15937== Lock acquired, processing the job...
[2025-04-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:04:02] Production.INFO: ==15937== Releasing lock...
[2025-04-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:04:02] Production.INFO: ==15935== Lock acquired, processing the job...
[2025-04-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:04:03] Production.INFO: ==15935== Releasing lock...
[2025-04-09 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:04:03] Production.INFO: ==15940== Lock acquired, processing the job...
[2025-04-09 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:04:04] Production.INFO: ==15948== Lock acquired, processing the job...
[2025-04-09 09:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:04:04] Production.INFO: ==15942== Lock acquired, processing the job...
[2025-04-09 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:04:04] Production.INFO: ==15944== Lock acquired, processing the job...
[2025-04-09 09:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:04:04] Production.INFO: ==15946== Lock acquired, processing the job...
[2025-04-09 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:04:04] Production.INFO: ==15950== Lock acquired, processing the job...
[2025-04-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:04:04] Production.INFO: Account Balance Start.
[2025-04-09 09:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:04:04] Production.INFO: 117
[2025-04-09 09:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:04:04] Production.INFO: count ==12
[2025-04-09 09:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:04:04] Production.ERROR: done
[2025-04-09 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:04:04] Production.INFO: count ==23
[2025-04-09 09:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:04:04] Production.INFO: ==15942== Releasing lock...
[2025-04-09 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868499') start
[2025-04-09 09:04:05] Production.ERROR: done
[2025-04-09 09:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868499') end
[2025-04-09 09:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:04:05] Production.INFO: 1
[2025-04-09 09:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:04:05] Production.INFO: ==15950== Releasing lock...
[2025-04-09 09:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:04:05] Production.INFO: Total Charge 0
[2025-04-09 09:04:05] Production.INFO: CreateAllLog End
[2025-04-09 09:04:05] Production.INFO: Account Balance End.
[2025-04-09 09:04:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:04:05] Production.INFO: ==15946== Releasing lock...
[2025-04-09 09:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:04:06
[end_date_ymd] => 2025-04-09 09:04:06
[RateCDR] => 1
)
[2025-04-09 09:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:04:06' and `end` < '2025-04-09 09:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:04:12] Production.ERROR: CronJobId end10
[2025-04-09 09:04:12] Production.INFO: ==15944== Releasing lock...
[2025-04-09 09:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:04:14] Production.INFO: call_cost start
[2025-04-09 09:04:14] Production.INFO: call_cost end
[2025-04-09 09:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:04:15] Production.INFO: ==15940== Releasing lock...
[2025-04-09 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:04:19] Production.INFO: count ==736
[2025-04-09 09:04:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:04:06 - End Time 2025-04-09 09:04:06
[2025-04-09 09:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868501', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868501', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868501', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868501', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:04:19] Production.INFO: ProcessCDR(1,14868501,1,1,2)
[2025-04-09 09:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868501', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868501', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:04:24] Production.INFO: ==15948== Releasing lock...
[2025-04-09 09:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:04:24] Production.INFO: 33.75 MB #Memory Used#
[2025-04-09 14:05:01] Production.INFO: ==16013== Lock acquired, processing the job...
[2025-04-09 14:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:05:01] Production.INFO: neon service started
[2025-04-09 14:05:01] Production.INFO: neon service started
[2025-04-09 14:05:01] Production.INFO: ==16013== Releasing lock...
[2025-04-09 14:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:05:01] Production.INFO: ==16015== Lock acquired, processing the job...
[2025-04-09 09:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:05:02] Production.INFO: ==16015== Releasing lock...
[2025-04-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:05:02] Production.INFO: ==16017== Lock acquired, processing the job...
[2025-04-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:05:02] Production.INFO: ==16017== Releasing lock...
[2025-04-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:05:03] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:05:03] Production.INFO: Account Balance Start.
[2025-04-09 09:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:05:03] Production.INFO: 117
[2025-04-09 09:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:05:03] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:05:03] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:05:03] Production.INFO: Total Charge 0
[2025-04-09 09:05:03] Production.INFO: CreateAllLog End
[2025-04-09 09:05:03] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:05:03] Production.INFO: Account Balance End.
[2025-04-09 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:05:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:05:03] Production.INFO: ==16025== Releasing lock...
[2025-04-09 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:05:03] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:05:03] Production.INFO: ==16029== Lock acquired, processing the job...
[2025-04-09 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 09:05:04] Production.INFO: count ==12
[2025-04-09 09:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:05:04] Production.INFO: count ==23
[2025-04-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868505') start
[2025-04-09 09:05:04] Production.INFO: ==16021== Releasing lock...
[2025-04-09 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868505') end
[2025-04-09 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:05:04] Production.INFO: 1
[2025-04-09 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:05:04] Production.INFO: ==16029== Releasing lock...
[2025-04-09 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:05:04] Production.ERROR: done
[2025-04-09 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:05:04] Production.ERROR: done
[2025-04-09 09:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:05:06
[end_date_ymd] => 2025-04-09 09:05:06
[RateCDR] => 1
)
[2025-04-09 09:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:05:06' and `end` < '2025-04-09 09:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:05:14] Production.ERROR: CronJobId end10
[2025-04-09 09:05:14] Production.INFO: ==16023== Releasing lock...
[2025-04-09 09:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:05:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:05:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:05:17] Production.INFO: call_cost start
[2025-04-09 09:05:17] Production.INFO: call_cost end
[2025-04-09 09:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:05:17] Production.INFO: ==16019== Releasing lock...
[2025-04-09 09:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:05:19] Production.INFO: count ==750
[2025-04-09 09:05:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:05:06 - End Time 2025-04-09 09:05:06
[2025-04-09 09:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868506', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868506', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868506', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868506', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:05:19] Production.INFO: ProcessCDR(1,14868506,1,1,2)
[2025-04-09 09:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868506', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868506', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:05:24] Production.INFO: ==16027== Releasing lock...
[2025-04-09 09:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:05:24] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 14:06:02] Production.INFO: ==16091== Lock acquired, processing the job...
[2025-04-09 14:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:06:02] Production.INFO: neon service started
[2025-04-09 14:06:02] Production.INFO: neon service started
[2025-04-09 14:06:02] Production.INFO: ==16091== Releasing lock...
[2025-04-09 14:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:06:02] Production.INFO: ==16093== Lock acquired, processing the job...
[2025-04-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:06:02] Production.INFO: ==16095== Lock acquired, processing the job...
[2025-04-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:06:02] Production.INFO: ==16095== Releasing lock...
[2025-04-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:06:03] Production.INFO: ==16093== Releasing lock...
[2025-04-09 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:06:03] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-04-09 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:06:03] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-04-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:06:03] Production.INFO: ==16102== Lock acquired, processing the job...
[2025-04-09 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:06:04] Production.INFO: ==16100== Releasing lock...
[2025-04-09 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:06:04] Production.INFO: ==16104== Lock acquired, processing the job...
[2025-04-09 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:06:04] Production.INFO: ==16106== Lock acquired, processing the job...
[2025-04-09 09:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:06:04] Production.INFO: Account Balance Start.
[2025-04-09 09:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:06:04] Production.INFO: 117
[2025-04-09 09:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:06:04] Production.INFO: ==16108== Lock acquired, processing the job...
[2025-04-09 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:06:04] Production.INFO: Total Charge 0
[2025-04-09 09:06:04] Production.INFO: CreateAllLog End
[2025-04-09 09:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:06:04] Production.INFO: count ==12
[2025-04-09 09:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:06:04] Production.INFO: count ==23
[2025-04-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868510') start
[2025-04-09 09:06:04] Production.ERROR: done
[2025-04-09 09:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868510') end
[2025-04-09 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:06:04] Production.INFO: 1
[2025-04-09 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:06:04] Production.INFO: Account Balance End.
[2025-04-09 09:06:04] Production.INFO: ==16108== Releasing lock...
[2025-04-09 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:06:04] Production.ERROR: done
[2025-04-09 09:06:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:06:05] Production.INFO: ==16104== Releasing lock...
[2025-04-09 09:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:06:06
[end_date_ymd] => 2025-04-09 09:06:06
[RateCDR] => 1
)
[2025-04-09 09:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:06:06' and `end` < '2025-04-09 09:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:06:12] Production.ERROR: CronJobId end10
[2025-04-09 09:06:12] Production.INFO: ==16102== Releasing lock...
[2025-04-09 09:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:06:14] Production.INFO: call_cost start
[2025-04-09 09:06:14] Production.INFO: call_cost end
[2025-04-09 09:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:06:15] Production.INFO: ==16098== Releasing lock...
[2025-04-09 09:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:06:18] Production.INFO: count ==760
[2025-04-09 09:06:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:06:06 - End Time 2025-04-09 09:06:06
[2025-04-09 09:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868511', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868511', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868511', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868511', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:06:19] Production.INFO: ProcessCDR(1,14868511,1,1,2)
[2025-04-09 09:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868511', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868511', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:06:24] Production.INFO: ==16106== Releasing lock...
[2025-04-09 09:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:06:24] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 14:07:01] Production.INFO: ==16162== Lock acquired, processing the job...
[2025-04-09 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:07:01] Production.INFO: neon service started
[2025-04-09 14:07:01] Production.INFO: neon service started
[2025-04-09 14:07:01] Production.INFO: ==16162== Releasing lock...
[2025-04-09 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:07:01] Production.INFO: ==16164== Lock acquired, processing the job...
[2025-04-09 09:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:07:02] Production.INFO: ==16164== Releasing lock...
[2025-04-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:07:02] Production.INFO: ==16166== Lock acquired, processing the job...
[2025-04-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:07:02] Production.INFO: ==16166== Releasing lock...
[2025-04-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:07:03] Production.INFO: ==16172== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:07:03] Production.INFO: ==16176== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:07:03] Production.INFO: ==16168== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:07:03] Production.INFO: ==16170== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:07:03] Production.INFO: ==16174== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:07:03] Production.INFO: ==16178== Lock acquired, processing the job...
[2025-04-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:07:03] Production.INFO: Account Balance Start.
[2025-04-09 09:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:07:03] Production.INFO: 117
[2025-04-09 09:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:07:03] Production.INFO: Total Charge 0
[2025-04-09 09:07:03] Production.INFO: CreateAllLog End
[2025-04-09 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:07:03] Production.INFO: count ==12
[2025-04-09 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:07:03] Production.INFO: count ==23
[2025-04-09 09:07:03] Production.ERROR: done
[2025-04-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868515') start
[2025-04-09 09:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:07:03] Production.INFO: ==16170== Releasing lock...
[2025-04-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:07:03] Production.INFO: Account Balance End.
[2025-04-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868515') end
[2025-04-09 09:07:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:07:03] Production.INFO: 1
[2025-04-09 09:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:07:03] Production.INFO: ==16174== Releasing lock...
[2025-04-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:07:04] Production.ERROR: done
[2025-04-09 09:07:04] Production.INFO: ==16178== Releasing lock...
[2025-04-09 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:07:05
[end_date_ymd] => 2025-04-09 09:07:05
[RateCDR] => 1
)
[2025-04-09 09: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-04-09 06:07:05' and `end` < '2025-04-09 09: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-04-09 09:07:10] Production.ERROR: CronJobId end10
[2025-04-09 09:07:10] Production.INFO: ==16172== Releasing lock...
[2025-04-09 09:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:07:13] Production.INFO: call_cost start
[2025-04-09 09:07:13] Production.INFO: call_cost end
[2025-04-09 09:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:07:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:07:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:07:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:07:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:07:14] Production.INFO: ==16168== Releasing lock...
[2025-04-09 09:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:07:18] Production.INFO: count ==773
[2025-04-09 09:07:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:07:05 - End Time 2025-04-09 09:07:05
[2025-04-09 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868516', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868516', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868516', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868516', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:07:18] Production.INFO: ProcessCDR(1,14868516,1,1,2)
[2025-04-09 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868516', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868516', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:07:23] Production.INFO: ==16176== Releasing lock...
[2025-04-09 09:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:07:23] Production.INFO: 34 MB #Memory Used#
[2025-04-09 14:08:02] Production.INFO: ==16238== Lock acquired, processing the job...
[2025-04-09 14:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:08:02] Production.INFO: neon service started
[2025-04-09 14:08:02] Production.INFO: neon service started
[2025-04-09 14:08:02] Production.INFO: ==16238== Releasing lock...
[2025-04-09 14:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:08:02] Production.INFO: ==16242== Lock acquired, processing the job...
[2025-04-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:08:02] Production.INFO: ==16242== Releasing lock...
[2025-04-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:08:02] Production.INFO: ==16240== Lock acquired, processing the job...
[2025-04-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:08:03] Production.INFO: ==16240== Releasing lock...
[2025-04-09 09:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:08:04] Production.INFO: ==16253== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:08:04] Production.INFO: ==16255== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:08:04] Production.INFO: ==16245== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:08:04] Production.INFO: ==16247== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:08:04] Production.INFO: ==16249== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:08:04] Production.INFO: count ==12
[2025-04-09 09:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:08:04] Production.INFO: count ==23
[2025-04-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868517') start
[2025-04-09 09:08:04] Production.INFO: ==16251== Lock acquired, processing the job...
[2025-04-09 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868517') end
[2025-04-09 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:08:04] Production.INFO: 1
[2025-04-09 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:08:04] Production.INFO: ==16255== Releasing lock...
[2025-04-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:08:04] Production.ERROR: done
[2025-04-09 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:08:04] Production.INFO: Account Balance Start.
[2025-04-09 09:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:08:04] Production.INFO: 117
[2025-04-09 09:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:08:04] Production.INFO: Total Charge 0
[2025-04-09 09:08:04] Production.INFO: CreateAllLog End
[2025-04-09 09:08:04] Production.INFO: ==16247== Releasing lock...
[2025-04-09 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:08:04] Production.ERROR: done
[2025-04-09 09:08:04] Production.INFO: Account Balance End.
[2025-04-09 09:08:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:08:05] Production.INFO: ==16251== Releasing lock...
[2025-04-09 09:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:08:06
[end_date_ymd] => 2025-04-09 09:08:06
[RateCDR] => 1
)
[2025-04-09 09:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:08:06' and `end` < '2025-04-09 09:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:08:13] Production.ERROR: CronJobId end10
[2025-04-09 09:08:13] Production.INFO: ==16249== Releasing lock...
[2025-04-09 09:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:08:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:08:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:08:17] Production.INFO: call_cost start
[2025-04-09 09:08:17] Production.INFO: call_cost end
[2025-04-09 09:08:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:08:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:08:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:08:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:08:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:08:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:08:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:08:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:08:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:08:18] Production.INFO: ==16245== Releasing lock...
[2025-04-09 09:08:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:08:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:08:19] Production.INFO: count ==786
[2025-04-09 09:08:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:08:06 - End Time 2025-04-09 09:08:06
[2025-04-09 09:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868521', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868521', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868521', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868521', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:08:19] Production.INFO: ProcessCDR(1,14868521,1,1,2)
[2025-04-09 09:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868521', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868521', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:08:25] Production.INFO: ==16253== Releasing lock...
[2025-04-09 09:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:08:25] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 14:09:01] Production.INFO: ==16314== Lock acquired, processing the job...
[2025-04-09 14:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:09:01] Production.INFO: neon service started
[2025-04-09 14:09:01] Production.INFO: neon service started
[2025-04-09 14:09:01] Production.INFO: ==16314== Releasing lock...
[2025-04-09 14:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:09:01] Production.INFO: ==16316== Lock acquired, processing the job...
[2025-04-09 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:09:02] Production.INFO: ==16316== Releasing lock...
[2025-04-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:09:02] Production.INFO: ==16318== Lock acquired, processing the job...
[2025-04-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:09:02] Production.INFO: ==16318== Releasing lock...
[2025-04-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:09:03] Production.INFO: ==16328== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:09:03] Production.INFO: ==16320== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:09:03] Production.INFO: ==16331== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:09:03] Production.INFO: ==16322== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:09:03] Production.INFO: ==16324== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:09:03] Production.INFO: ==16326== Lock acquired, processing the job...
[2025-04-09 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09: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-04-09 09:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:09:03] Production.INFO: count ==12
[2025-04-09 09:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09: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-04-09 09:09:03] Production.INFO: count ==23
[2025-04-09 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868523') start
[2025-04-09 09:09:03] Production.ERROR: done
[2025-04-09 09:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868523') end
[2025-04-09 09:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:09:03] Production.INFO: 1
[2025-04-09 09:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:09:03] Production.INFO: Account Balance Start.
[2025-04-09 09:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:09:03] Production.INFO: 117
[2025-04-09 09:09:03] Production.ERROR: done
[2025-04-09 09:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:09:03] Production.INFO: ==16331== Releasing lock...
[2025-04-09 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:09:04] Production.INFO: ==16322== Releasing lock...
[2025-04-09 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:09:04] Production.INFO: Total Charge 0
[2025-04-09 09:09:04] Production.INFO: CreateAllLog End
[2025-04-09 09:09:04] Production.INFO: Account Balance End.
[2025-04-09 09:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:09:04] Production.INFO: ==16326== Releasing lock...
[2025-04-09 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:09:05
[end_date_ymd] => 2025-04-09 09:09:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:09:05' and `end` < '2025-04-09 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-04-09 09:09:11] Production.ERROR: CronJobId end10
[2025-04-09 09:09:11] Production.INFO: ==16324== Releasing lock...
[2025-04-09 09:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:09:14] Production.INFO: call_cost start
[2025-04-09 09:09:14] Production.INFO: call_cost end
[2025-04-09 09:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:09:15] Production.INFO: ==16320== Releasing lock...
[2025-04-09 09:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:09:18] Production.INFO: count ==795
[2025-04-09 09:09:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:09:05 - End Time 2025-04-09 09:09:05
[2025-04-09 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868526', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868526', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868526', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868526', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:09:18] Production.INFO: ProcessCDR(1,14868526,1,1,2)
[2025-04-09 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868526', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868526', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:09:24] Production.INFO: ==16328== Releasing lock...
[2025-04-09 09:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:09:24] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 14:10:02] Production.INFO: ==16385== Lock acquired, processing the job...
[2025-04-09 14:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:10:02] Production.INFO: neon service started
[2025-04-09 14:10:02] Production.INFO: neon service started
[2025-04-09 14:10:02] Production.INFO: ==16385== Releasing lock...
[2025-04-09 14:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:10:02] Production.INFO: ==16388== Lock acquired, processing the job...
[2025-04-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:10:02] Production.INFO: ==16388== Releasing lock...
[2025-04-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:10:02] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-04-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:10:03] Production.INFO: ==16390== Releasing lock...
[2025-04-09 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:10:04] Production.INFO: ==16396== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:10:04] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:10:04] Production.ERROR: CronJob PID - 16396
[2025-04-09 09:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 09:10:04] Production.ERROR: CronJob ID - 7
[2025-04-09 09:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:10:00
[2025-04-09 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:10:04] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:10:04] Production.INFO: ==16402== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:10:04] Production.INFO: ==16392== Releasing lock...
[2025-04-09 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:10:04] Production.INFO: ==16394== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:10:04] Production.INFO: ==16398== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:10:04] Production.INFO: ==16400== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:10:04] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-04-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:10:04] Production.INFO: ==16396== Releasing lock...
[2025-04-09 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:10:04] Production.INFO: Account Balance Start.
[2025-04-09 09:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:10:04] Production.INFO: 117
[2025-04-09 09:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:10:04] Production.INFO: count ==12
[2025-04-09 09:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:10:04] Production.INFO: count ==23
[2025-04-09 09:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868529') start
[2025-04-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:10:04] Production.INFO: Total Charge 0
[2025-04-09 09:10:04] Production.INFO: CreateAllLog End
[2025-04-09 09:10:04] Production.ERROR: done
[2025-04-09 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:10:04] Production.ERROR: done
[2025-04-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868529') end
[2025-04-09 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:10:04] Production.INFO: 1
[2025-04-09 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:10:05] Production.INFO: ==16406== Releasing lock...
[2025-04-09 09:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868531', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:10:05] Production.ERROR: done
[2025-04-09 09:10:05] Production.INFO: Account Balance End.
[2025-04-09 09:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:10:05] Production.INFO: ==16400== Releasing lock...
[2025-04-09 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:10:06
[end_date_ymd] => 2025-04-09 09:10:06
[RateCDR] => 1
)
[2025-04-09 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:10:06' and `end` < '2025-04-09 09:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868531', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:10:09] Production.INFO: ProcessCDR(1,14868531,1,1,2)
[2025-04-09 09:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868531,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868531,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:10:09] Production.INFO: ==16404== Releasing lock...
[2025-04-09 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:10:14] Production.ERROR: CronJobId end10
[2025-04-09 09:10:14] Production.INFO: ==16398== Releasing lock...
[2025-04-09 09:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:10:17] Production.INFO: call_cost start
[2025-04-09 09:10:17] Production.INFO: call_cost end
[2025-04-09 09:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:10:17] Production.INFO: ==16394== Releasing lock...
[2025-04-09 09:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:10:19] Production.INFO: count ==806
[2025-04-09 09:10:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:10:06 - End Time 2025-04-09 09:10:06
[2025-04-09 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868532', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868532', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868532', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868532', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:10:19] Production.INFO: ProcessCDR(1,14868532,1,1,2)
[2025-04-09 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868532', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868532', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:10:24] Production.INFO: ==16402== Releasing lock...
[2025-04-09 09:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:10:24] Production.INFO: 34 MB #Memory Used#
[2025-04-09 14:11:01] Production.INFO: ==16463== Lock acquired, processing the job...
[2025-04-09 14:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:11:01] Production.INFO: neon service started
[2025-04-09 14:11:01] Production.INFO: neon service started
[2025-04-09 14:11:01] Production.INFO: ==16463== Releasing lock...
[2025-04-09 14:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:11:01] Production.INFO: ==16467== Lock acquired, processing the job...
[2025-04-09 13:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:11:01] Production.INFO: ==16467== Releasing lock...
[2025-04-09 13:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:11:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:11:02] Production.INFO: ==16465== Lock acquired, processing the job...
[2025-04-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:11:02] Production.INFO: ==16465== Releasing lock...
[2025-04-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:11:03] Production.INFO: ==16469== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:11:03] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 09:11:03] Production.INFO: ==16473== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:11:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:11:03] Production.INFO: count ==23
[2025-04-09 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868534') start
[2025-04-09 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:11:03] Production.INFO: ==16471== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:11:03] Production.INFO: ==16476== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868534') end
[2025-04-09 09:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:11:03] Production.INFO: 1
[2025-04-09 09:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:11:03] Production.INFO: ==16480== Releasing lock...
[2025-04-09 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:11:03] Production.INFO: ==16478== Lock acquired, processing the job...
[2025-04-09 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:11:03] Production.INFO: Account Balance Start.
[2025-04-09 09:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:11:03] Production.INFO: 117
[2025-04-09 09:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:11:03] Production.INFO: Total Charge 0
[2025-04-09 09:11:04] Production.INFO: CreateAllLog End
[2025-04-09 09:11:04] Production.INFO: ==16471== Releasing lock...
[2025-04-09 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:11:04] Production.INFO: Account Balance End.
[2025-04-09 09:11:04] Production.ERROR: done
[2025-04-09 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:11:04] Production.ERROR: done
[2025-04-09 09:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:11:04] Production.INFO: ==16476== Releasing lock...
[2025-04-09 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:11:05
[end_date_ymd] => 2025-04-09 09:11:05
[RateCDR] => 1
)
[2025-04-09 09:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:11:05' and `end` < '2025-04-09 09:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:11:11] Production.ERROR: CronJobId end10
[2025-04-09 09:11:11] Production.INFO: ==16473== Releasing lock...
[2025-04-09 09:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:11:13] Production.INFO: call_cost start
[2025-04-09 09:11:13] Production.INFO: call_cost end
[2025-04-09 09:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:11:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:11:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:11:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:11:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:11:14] Production.INFO: ==16469== Releasing lock...
[2025-04-09 09:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:11:18] Production.INFO: count ==879
[2025-04-09 09:11:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:11:05 - End Time 2025-04-09 09:11:05
[2025-04-09 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868537', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868537', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868537', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868537', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:11:18] Production.INFO: ProcessCDR(1,14868537,1,1,2)
[2025-04-09 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868537', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868537', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:11:23] Production.INFO: ==16478== Releasing lock...
[2025-04-09 09:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:11:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 14:12:02] Production.INFO: ==16535== Lock acquired, processing the job...
[2025-04-09 14:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:12:02] Production.INFO: neon service started
[2025-04-09 14:12:02] Production.INFO: neon service started
[2025-04-09 14:12:02] Production.INFO: ==16535== Releasing lock...
[2025-04-09 14:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:12:02] Production.INFO: ==16537== Lock acquired, processing the job...
[2025-04-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:12:02] Production.INFO: ==16537== Releasing lock...
[2025-04-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:12:02] Production.INFO: ==16539== Lock acquired, processing the job...
[2025-04-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:12:03] Production.INFO: ==16539== Releasing lock...
[2025-04-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:12:03] Production.INFO: ==16543== Lock acquired, processing the job...
[2025-04-09 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:12:03] Production.INFO: ==16551== Lock acquired, processing the job...
[2025-04-09 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:12:03] Production.INFO: ==16541== Lock acquired, processing the job...
[2025-04-09 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:12:04] Production.INFO: ==16545== Lock acquired, processing the job...
[2025-04-09 09:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:12:04] Production.INFO: count ==12
[2025-04-09 09:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:12:04] Production.INFO: count ==23
[2025-04-09 09:12:04] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-04-09 09:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868538') start
[2025-04-09 09:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:12:04] Production.INFO: ==16547== Lock acquired, processing the job...
[2025-04-09 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868538') end
[2025-04-09 09:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:12:04] Production.INFO: 1
[2025-04-09 09:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:12:04] Production.INFO: ==16551== Releasing lock...
[2025-04-09 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:12:04] Production.INFO: Account Balance Start.
[2025-04-09 09:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:12:04] Production.INFO: 117
[2025-04-09 09:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:12:04] Production.INFO: ==16543== Releasing lock...
[2025-04-09 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:12:04] Production.INFO: Total Charge 0
[2025-04-09 09:12:04] Production.ERROR: done
[2025-04-09 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:12:04] Production.INFO: CreateAllLog End
[2025-04-09 09:12:04] Production.ERROR: done
[2025-04-09 09:12:04] Production.INFO: Account Balance End.
[2025-04-09 09:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:12:04] Production.INFO: ==16547== Releasing lock...
[2025-04-09 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:12:05
[end_date_ymd] => 2025-04-09 09:12:05
[RateCDR] => 1
)
[2025-04-09 09:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:12:05' and `end` < '2025-04-09 09:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:12:14] Production.ERROR: CronJobId end10
[2025-04-09 09:12:14] Production.INFO: ==16545== Releasing lock...
[2025-04-09 09:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:12:16] Production.INFO: call_cost start
[2025-04-09 09:12:16] Production.INFO: call_cost end
[2025-04-09 09:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:12:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:12:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:12:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:12:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:12:17] Production.INFO: ==16541== Releasing lock...
[2025-04-09 09:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:12:18] Production.INFO: count ==883
[2025-04-09 09:12:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:12:05 - End Time 2025-04-09 09:12:05
[2025-04-09 09:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868542', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868542', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868542', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868542', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:12:19] Production.INFO: ProcessCDR(1,14868542,1,1,2)
[2025-04-09 09:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868542', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868542', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:12:24] Production.INFO: ==16549== Releasing lock...
[2025-04-09 09:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:12:24] Production.INFO: 35 MB #Memory Used#
[2025-04-09 14:13:01] Production.INFO: ==16609== Lock acquired, processing the job...
[2025-04-09 14:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:13:01] Production.INFO: neon service started
[2025-04-09 14:13:01] Production.INFO: neon service started
[2025-04-09 14:13:01] Production.INFO: ==16609== Releasing lock...
[2025-04-09 14:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:13:01] Production.INFO: ==16611== Lock acquired, processing the job...
[2025-04-09 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:13:02] Production.INFO: ==16611== Releasing lock...
[2025-04-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:13:02] Production.INFO: ==16613== Lock acquired, processing the job...
[2025-04-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:13:02] Production.INFO: ==16613== Releasing lock...
[2025-04-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:13:03] Production.INFO: ==16619== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:13:03] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:13:03] Production.INFO: ==16615== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:13:03] Production.INFO: ==16617== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 09:13:03] Production.INFO: count ==12
[2025-04-09 09:13:03] Production.INFO: ==16623== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:13:03] Production.INFO: ==16621== Lock acquired, processing the job...
[2025-04-09 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 09:13:03] Production.INFO: count ==23
[2025-04-09 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868543') start
[2025-04-09 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:13:03] Production.INFO: Account Balance Start.
[2025-04-09 09:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:13:03] Production.INFO: 117
[2025-04-09 09:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868543') end
[2025-04-09 09:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:13:04] Production.INFO: 1
[2025-04-09 09:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:13:04] Production.INFO: ==16626== Releasing lock...
[2025-04-09 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:13:04] Production.INFO: Total Charge 0
[2025-04-09 09:13:04] Production.ERROR: done
[2025-04-09 09:13:04] Production.INFO: CreateAllLog End
[2025-04-09 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:13:04] Production.INFO: ==16617== Releasing lock...
[2025-04-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:13:04] Production.ERROR: done
[2025-04-09 09:13:04] Production.INFO: Account Balance End.
[2025-04-09 09:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:13:04] Production.INFO: ==16621== Releasing lock...
[2025-04-09 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:13:05
[end_date_ymd] => 2025-04-09 09:13:05
[RateCDR] => 1
)
[2025-04-09 09: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-04-09 06:13:05' and `end` < '2025-04-09 09: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-04-09 09:13:12] Production.ERROR: CronJobId end10
[2025-04-09 09:13:12] Production.INFO: ==16619== Releasing lock...
[2025-04-09 09:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:13:15] Production.INFO: call_cost start
[2025-04-09 09:13:15] Production.INFO: call_cost end
[2025-04-09 09:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:13:16] Production.INFO: ==16615== Releasing lock...
[2025-04-09 09:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:13:18] Production.INFO: count ==895
[2025-04-09 09:13:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:13:05 - End Time 2025-04-09 09:13:05
[2025-04-09 09:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868547', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868547', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868547', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868547', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:13:19] Production.INFO: ProcessCDR(1,14868547,1,1,2)
[2025-04-09 09:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868547', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868547', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:13:24] Production.INFO: ==16623== Releasing lock...
[2025-04-09 09:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:13:24] Production.INFO: 34.5 MB #Memory Used#
[2025-04-09 14:14:01] Production.INFO: ==16723== Lock acquired, processing the job...
[2025-04-09 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:14:01] Production.INFO: neon service started
[2025-04-09 14:14:01] Production.INFO: neon service started
[2025-04-09 14:14:01] Production.INFO: ==16723== Releasing lock...
[2025-04-09 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:14:02] Production.INFO: ==16725== Lock acquired, processing the job...
[2025-04-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:14:02] Production.INFO: ==16727== Lock acquired, processing the job...
[2025-04-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:14:02] Production.INFO: ==16727== Releasing lock...
[2025-04-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:14:02] Production.INFO: ==16725== Releasing lock...
[2025-04-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:14:03] Production.INFO: ==16738== Lock acquired, processing the job...
[2025-04-09 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:14:03] Production.INFO: ==16734== Lock acquired, processing the job...
[2025-04-09 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:14:03] Production.INFO: ==16730== Lock acquired, processing the job...
[2025-04-09 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:14:04] Production.INFO: ==16732== Lock acquired, processing the job...
[2025-04-09 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:14:04] Production.ERROR: done
[2025-04-09 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:14:04] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-04-09 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:14:04] Production.INFO: ==16740== Lock acquired, processing the job...
[2025-04-09 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:14:04] Production.ERROR: done
[2025-04-09 09:14:04] Production.INFO: Account Balance Start.
[2025-04-09 09:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:14:04] Production.INFO: 117
[2025-04-09 09:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:14:04] Production.INFO: count ==12
[2025-04-09 09:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:14:04] Production.INFO: count ==23
[2025-04-09 09:14:04] Production.INFO: Total Charge 0
[2025-04-09 09:14:04] Production.INFO: CreateAllLog End
[2025-04-09 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868551') start
[2025-04-09 09:14:04] Production.INFO: ==16732== Releasing lock...
[2025-04-09 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:14:04] Production.INFO: Account Balance End.
[2025-04-09 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868551') end
[2025-04-09 09:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:14:04] Production.INFO: 1
[2025-04-09 09:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:14:04] Production.INFO: ==16736== Releasing lock...
[2025-04-09 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:14:04] Production.INFO: ==16740== Releasing lock...
[2025-04-09 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:14:05
[end_date_ymd] => 2025-04-09 09:14:05
[RateCDR] => 1
)
[2025-04-09 09:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:14:05' and `end` < '2025-04-09 09:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:14:12] Production.ERROR: CronJobId end10
[2025-04-09 09:14:12] Production.INFO: ==16734== Releasing lock...
[2025-04-09 09:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:14:14] Production.INFO: call_cost start
[2025-04-09 09:14:14] Production.INFO: call_cost end
[2025-04-09 09:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:14:15] Production.INFO: ==16730== Releasing lock...
[2025-04-09 09:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:14:18] Production.INFO: count ==907
[2025-04-09 09:14:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:14:05 - End Time 2025-04-09 09:14:05
[2025-04-09 09:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868552', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868552', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868552', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868552', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:14:18] Production.INFO: ProcessCDR(1,14868552,1,1,2)
[2025-04-09 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868552', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868552', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:14:24] Production.INFO: ==16738== Releasing lock...
[2025-04-09 09:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:14:24] Production.INFO: 35.25 MB #Memory Used#
[2025-04-09 14:15:02] Production.INFO: ==16795== Lock acquired, processing the job...
[2025-04-09 14:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:15:02] Production.INFO: neon service started
[2025-04-09 14:15:02] Production.INFO: neon service started
[2025-04-09 14:15:02] Production.INFO: ==16795== Releasing lock...
[2025-04-09 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:15:02] Production.INFO: ==16797== Lock acquired, processing the job...
[2025-04-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:15:02] Production.INFO: ==16797== Releasing lock...
[2025-04-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:15:03] Production.INFO: ==16799== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:15:03] Production.INFO: ==16799== Releasing lock...
[2025-04-09 13:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:15:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:15:03] Production.INFO: ==16809== Lock acquired, processing the job...
[2025-04-09 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:15:03] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-04-09 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:15:04] Production.INFO: ==16803== Lock acquired, processing the job...
[2025-04-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:15:04] Production.INFO: ==16801== Lock acquired, processing the job...
[2025-04-09 09:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:15:04] Production.INFO: ==16805== Lock acquired, processing the job...
[2025-04-09 09:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:15:04] Production.INFO: count ==12
[2025-04-09 09:15:04] Production.INFO: ==16807== Lock acquired, processing the job...
[2025-04-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:15:04] Production.INFO: count ==23
[2025-04-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868553') start
[2025-04-09 09:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:15:04] Production.INFO: Account Balance Start.
[2025-04-09 09:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:15:04] Production.INFO: 117
[2025-04-09 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868553') end
[2025-04-09 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:15:04] Production.INFO: 1
[2025-04-09 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:15:04] Production.INFO: Total Charge 0
[2025-04-09 09:15:04] Production.INFO: CreateAllLog End
[2025-04-09 09:15:04] Production.ERROR: done
[2025-04-09 09:15:04] Production.INFO: ==16811== Releasing lock...
[2025-04-09 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:15:04] Production.INFO: ==16803== Releasing lock...
[2025-04-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:15:04] Production.INFO: Account Balance End.
[2025-04-09 09:15:04] Production.ERROR: done
[2025-04-09 09:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:15:04] Production.INFO: ==16807== Releasing lock...
[2025-04-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:15:05
[end_date_ymd] => 2025-04-09 09:15:05
[RateCDR] => 1
)
[2025-04-09 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:15:05' and `end` < '2025-04-09 09:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:15:12] Production.ERROR: CronJobId end10
[2025-04-09 09:15:12] Production.INFO: ==16805== Releasing lock...
[2025-04-09 09:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:15:14] Production.INFO: call_cost start
[2025-04-09 09:15:14] Production.INFO: call_cost end
[2025-04-09 09:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:15:15] Production.INFO: ==16801== Releasing lock...
[2025-04-09 09:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:15:18] Production.INFO: count ==926
[2025-04-09 09:15:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:15:05 - End Time 2025-04-09 09:15:05
[2025-04-09 09:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868557', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868557', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868557', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868557', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:15:18] Production.INFO: ProcessCDR(1,14868557,1,1,2)
[2025-04-09 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868557', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868557', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:15:24] Production.INFO: ==16809== Releasing lock...
[2025-04-09 09:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:15:24] Production.INFO: 35.5 MB #Memory Used#
[2025-04-09 14:16:01] Production.INFO: ==16867== Lock acquired, processing the job...
[2025-04-09 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:16:01] Production.INFO: neon service started
[2025-04-09 14:16:01] Production.INFO: neon service started
[2025-04-09 14:16:01] Production.INFO: ==16867== Releasing lock...
[2025-04-09 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:16:02] Production.INFO: ==16870== Lock acquired, processing the job...
[2025-04-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:16:02] Production.INFO: ==16872== Lock acquired, processing the job...
[2025-04-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:16:02] Production.INFO: ==16872== Releasing lock...
[2025-04-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:16:03] Production.INFO: ==16870== Releasing lock...
[2025-04-09 09:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:16:04] Production.INFO: ==16881== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:16:04] Production.INFO: ==16875== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:16:04] Production.INFO: ==16877== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:16:04] Production.INFO: ==16885== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:16:04] Production.INFO: Account Balance Start.
[2025-04-09 09:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:16:04] Production.INFO: 117
[2025-04-09 09:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:16:04] Production.INFO: ==16883== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:16:04] Production.INFO: ==16879== Lock acquired, processing the job...
[2025-04-09 09:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:16:04] Production.INFO: count ==12
[2025-04-09 09:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:16:04] Production.INFO: count ==23
[2025-04-09 09:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868561') start
[2025-04-09 09:16:04] Production.INFO: Total Charge 0
[2025-04-09 09:16:04] Production.INFO: ==16877== Releasing lock...
[2025-04-09 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:16:04] Production.INFO: CreateAllLog End
[2025-04-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868561') end
[2025-04-09 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:16:04] Production.INFO: 1
[2025-04-09 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:16:04] Production.ERROR: done
[2025-04-09 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:16:04] Production.INFO: ==16885== Releasing lock...
[2025-04-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:16:04] Production.ERROR: done
[2025-04-09 09:16:04] Production.INFO: Account Balance End.
[2025-04-09 09:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:16:05] Production.INFO: ==16881== Releasing lock...
[2025-04-09 09:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:16:06
[end_date_ymd] => 2025-04-09 09:16:06
[RateCDR] => 1
)
[2025-04-09 09: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-04-09 06:16:06' and `end` < '2025-04-09 09: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-04-09 09:16:12] Production.ERROR: CronJobId end10
[2025-04-09 09:16:12] Production.INFO: ==16879== Releasing lock...
[2025-04-09 09:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:16:15] Production.INFO: call_cost start
[2025-04-09 09:16:15] Production.INFO: call_cost end
[2025-04-09 09:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:16:15] Production.INFO: ==16875== Releasing lock...
[2025-04-09 09:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:16:19] Production.INFO: count ==927
[2025-04-09 09:16:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:16:06 - End Time 2025-04-09 09:16:06
[2025-04-09 09:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868562', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868562', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868562', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868562', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:16:19] Production.INFO: ProcessCDR(1,14868562,1,1,2)
[2025-04-09 09:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868562', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868562', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:16:24] Production.INFO: ==16883== Releasing lock...
[2025-04-09 09:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:16:24] Production.INFO: 36 MB #Memory Used#
[2025-04-09 14:17:02] Production.INFO: ==16943== Lock acquired, processing the job...
[2025-04-09 14:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:17:02] Production.INFO: neon service started
[2025-04-09 14:17:02] Production.INFO: neon service started
[2025-04-09 14:17:02] Production.INFO: ==16943== Releasing lock...
[2025-04-09 14:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:17:02] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-04-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:17:03] Production.INFO: ==16945== Releasing lock...
[2025-04-09 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:17:03] Production.INFO: ==16947== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:17:03] Production.INFO: ==16947== Releasing lock...
[2025-04-09 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:17:03] Production.INFO: ==16957== Lock acquired, processing the job...
[2025-04-09 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:17:04] Production.ERROR: done
[2025-04-09 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:17:04] Production.INFO: ==16951== Lock acquired, processing the job...
[2025-04-09 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:17:04] Production.INFO: ==16949== Lock acquired, processing the job...
[2025-04-09 09:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:17:04] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-04-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:17:04] Production.INFO: ==16953== Lock acquired, processing the job...
[2025-04-09 09:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:17:04] Production.INFO: ==16955== Lock acquired, processing the job...
[2025-04-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:17:04] Production.ERROR: done
[2025-04-09 09:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:17:04] Production.INFO: count ==12
[2025-04-09 09:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:17:04] Production.INFO: count ==23
[2025-04-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868564') start
[2025-04-09 09:17:04] Production.INFO: Account Balance Start.
[2025-04-09 09:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:17:04] Production.INFO: 117
[2025-04-09 09:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868564') end
[2025-04-09 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:17:04] Production.INFO: 1
[2025-04-09 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:17:04] Production.INFO: Total Charge 0
[2025-04-09 09:17:04] Production.INFO: ==16960== Releasing lock...
[2025-04-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:17:04] Production.INFO: CreateAllLog End
[2025-04-09 09:17:04] Production.INFO: ==16951== Releasing lock...
[2025-04-09 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:17:04] Production.INFO: Account Balance End.
[2025-04-09 09:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:17:04] Production.INFO: ==16955== Releasing lock...
[2025-04-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:17:05
[end_date_ymd] => 2025-04-09 09:17:05
[RateCDR] => 1
)
[2025-04-09 09:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:17:05' and `end` < '2025-04-09 09:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:17:12] Production.ERROR: CronJobId end10
[2025-04-09 09:17:12] Production.INFO: ==16953== Releasing lock...
[2025-04-09 09:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:17:15] Production.INFO: call_cost start
[2025-04-09 09:17:15] Production.INFO: call_cost end
[2025-04-09 09:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:17:16] Production.INFO: ==16949== Releasing lock...
[2025-04-09 09:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:17:18] Production.INFO: count ==947
[2025-04-09 09:17:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:17:05 - End Time 2025-04-09 09:17:05
[2025-04-09 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868565', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868565', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868565', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868565', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:17:18] Production.INFO: ProcessCDR(1,14868565,1,1,2)
[2025-04-09 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868565', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868565', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:17:23] Production.INFO: ==16957== Releasing lock...
[2025-04-09 09:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:17:23] Production.INFO: 36 MB #Memory Used#
[2025-04-09 14:18:01] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-04-09 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:18:01] Production.INFO: neon service started
[2025-04-09 14:18:01] Production.INFO: neon service started
[2025-04-09 14:18:01] Production.INFO: ==17026== Releasing lock...
[2025-04-09 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:18:02] Production.INFO: ==17029== Lock acquired, processing the job...
[2025-04-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:18:02] Production.INFO: ==17031== Lock acquired, processing the job...
[2025-04-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:18:02] Production.INFO: ==17031== Releasing lock...
[2025-04-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:18:02] Production.INFO: ==17029== Releasing lock...
[2025-04-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:18:03] Production.INFO: ==17039== Lock acquired, processing the job...
[2025-04-09 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:18:03] Production.INFO: Account Balance Start.
[2025-04-09 09:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:18:03] Production.INFO: 117
[2025-04-09 09:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:18:03] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-04-09 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:18:04] Production.INFO: Total Charge 0
[2025-04-09 09:18:04] Production.INFO: CreateAllLog End
[2025-04-09 09:18:04] Production.INFO: ==17033== Lock acquired, processing the job...
[2025-04-09 09:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:18:04] Production.INFO: Account Balance End.
[2025-04-09 09:18:04] Production.INFO: ==17035== Lock acquired, processing the job...
[2025-04-09 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:18:04] Production.INFO: ==17039== Releasing lock...
[2025-04-09 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:18:04] Production.INFO: ==17037== Lock acquired, processing the job...
[2025-04-09 09:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09: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-04-09 09:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:18:04] Production.INFO: count ==12
[2025-04-09 09:18:04] Production.INFO: ==17041== Lock acquired, processing the job...
[2025-04-09 09:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09: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-04-09 09:18:04] Production.INFO: count ==23
[2025-04-09 09:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868569') start
[2025-04-09 09:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868569') end
[2025-04-09 09:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:18:04] Production.INFO: 1
[2025-04-09 09:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:18:04] Production.INFO: ==17043== Releasing lock...
[2025-04-09 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:18:04] Production.INFO: ==17035== Releasing lock...
[2025-04-09 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:18:04] Production.ERROR: done
[2025-04-09 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:18:05] Production.ERROR: done
[2025-04-09 09:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:18:06
[end_date_ymd] => 2025-04-09 09:18:06
[RateCDR] => 1
)
[2025-04-09 09:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:18:06' and `end` < '2025-04-09 09:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:18:13] Production.ERROR: CronJobId end10
[2025-04-09 09:18:13] Production.INFO: ==17037== Releasing lock...
[2025-04-09 09:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:18:15] Production.INFO: call_cost start
[2025-04-09 09:18:15] Production.INFO: call_cost end
[2025-04-09 09:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:18:16] Production.INFO: ==17033== Releasing lock...
[2025-04-09 09:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:18:19] Production.INFO: count ==961
[2025-04-09 09:18:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:18:06 - End Time 2025-04-09 09:18:06
[2025-04-09 09:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868572', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868572', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868572', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868572', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:18:19] Production.INFO: ProcessCDR(1,14868572,1,1,2)
[2025-04-09 09:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868572', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868572', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:18:24] Production.INFO: ==17041== Releasing lock...
[2025-04-09 09:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:18:24] Production.INFO: 36 MB #Memory Used#
[2025-04-09 14:19:02] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-04-09 14:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:19:02] Production.INFO: neon service started
[2025-04-09 14:19:02] Production.INFO: neon service started
[2025-04-09 14:19:02] Production.INFO: ==17100== Releasing lock...
[2025-04-09 14:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:19:02] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-04-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:19:02] Production.INFO: ==17103== Releasing lock...
[2025-04-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:19:03] Production.INFO: ==17105== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:19:03] Production.INFO: ==17105== Releasing lock...
[2025-04-09 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:19:03] Production.INFO: ==17107== Lock acquired, processing the job...
[2025-04-09 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:19:04] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-04-09 09:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:19:04] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-04-09 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:19:04] Production.INFO: ==17117== Lock acquired, processing the job...
[2025-04-09 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:19:04] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-04-09 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:19:04] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-04-09 09:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:19:04] Production.INFO: count ==12
[2025-04-09 09:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:19:04] Production.INFO: count ==23
[2025-04-09 09:19:04] Production.INFO: Account Balance Start.
[2025-04-09 09:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:19:04] Production.INFO: 117
[2025-04-09 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868575') start
[2025-04-09 09:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868575') end
[2025-04-09 09:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:19:05] Production.INFO: 1
[2025-04-09 09:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:19:05] Production.INFO: Date 2025-04-09
[2025-04-09 09:19:05] Production.INFO: Reseller ==> 0
[2025-04-09 09:19:05] Production.INFO: ==17109== Releasing lock...
[2025-04-09 09:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:19:05] Production.INFO: Total Charge 0
[2025-04-09 09:19:05] Production.INFO: CreateAllLog End
[2025-04-09 09:19:05] Production.INFO: ==17117== Releasing lock...
[2025-04-09 09:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:19:05] Production.ERROR: done
[2025-04-09 09:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:19:05] Production.INFO: Account Balance End.
[2025-04-09 09:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:19:05] Production.INFO: ==17113== Releasing lock...
[2025-04-09 09:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:19:05] Production.ERROR: done
[2025-04-09 09:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:19:06
[end_date_ymd] => 2025-04-09 09:19:06
[RateCDR] => 1
)
[2025-04-09 09:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:19:06' and `end` < '2025-04-09 09:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:19:12] Production.ERROR: CronJobId end10
[2025-04-09 09:19:12] Production.INFO: ==17111== Releasing lock...
[2025-04-09 09:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:19:15] Production.INFO: call_cost start
[2025-04-09 09:19:15] Production.INFO: call_cost end
[2025-04-09 09:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:19:16] Production.INFO: ==17107== Releasing lock...
[2025-04-09 09:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:19:19] Production.INFO: count ==963
[2025-04-09 09:19:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:19:06 - End Time 2025-04-09 09:19:06
[2025-04-09 09:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868577', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868577', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868577', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868577', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:19:19] Production.INFO: ProcessCDR(1,14868577,1,1,2)
[2025-04-09 09:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868577', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868577', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:19:25] Production.INFO: ==17115== Releasing lock...
[2025-04-09 09:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:19:25] Production.INFO: 36.25 MB #Memory Used#
[2025-04-09 14:20:01] Production.INFO: ==17174== Lock acquired, processing the job...
[2025-04-09 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:20:01] Production.INFO: neon service started
[2025-04-09 14:20:01] Production.INFO: neon service started
[2025-04-09 14:20:01] Production.INFO: ==17174== Releasing lock...
[2025-04-09 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:20:02] Production.INFO: ==17176== Lock acquired, processing the job...
[2025-04-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:20:02] Production.INFO: ==17178== Lock acquired, processing the job...
[2025-04-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:20:02] Production.INFO: ==17176== Releasing lock...
[2025-04-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:20:02] Production.INFO: ==17178== Releasing lock...
[2025-04-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:20:03] Production.INFO: ==17183== Lock acquired, processing the job...
[2025-04-09 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:20:03] Production.INFO: ==17181== Lock acquired, processing the job...
[2025-04-09 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:20:03] Production.ERROR: CronJob PID - 17183
[2025-04-09 09:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 09:20:03] Production.ERROR: CronJob ID - 5
[2025-04-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 09:20:00
[2025-04-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:20:03] Production.INFO: ==17187== Lock acquired, processing the job...
[2025-04-09 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:20:03] Production.INFO: ==17181== Releasing lock...
[2025-04-09 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:20:04] Production.INFO: ==17185== Lock acquired, processing the job...
[2025-04-09 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:20:04] Production.INFO: ==17191== Lock acquired, processing the job...
[2025-04-09 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:20:04] Production.INFO: ==17189== Lock acquired, processing the job...
[2025-04-09 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:20:04] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-04-09 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:20:04] Production.INFO: Account Balance Start.
[2025-04-09 09:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:20:04] Production.INFO: 117
[2025-04-09 09:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:20:04] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-04-09 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:20:04] Production.INFO: Total Charge 0
[2025-04-09 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:20:04] Production.INFO: ==17185== Releasing lock...
[2025-04-09 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:20:04] Production.INFO: CreateAllLog End
[2025-04-09 09:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:20:04] Production.INFO: count ==12
[2025-04-09 09:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:20:04] Production.INFO: count ==23
[2025-04-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868581') start
[2025-04-09 09:20:04] Production.ERROR: done
[2025-04-09 09:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868581') end
[2025-04-09 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:20:04] Production.INFO: 1
[2025-04-09 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:20:05] Production.INFO: ==17195== Releasing lock...
[2025-04-09 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:20:05] Production.INFO: Account Balance End.
[2025-04-09 09:20:05] Production.ERROR: done
[2025-04-09 09:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:20:05] Production.INFO: ==17189== Releasing lock...
[2025-04-09 09:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:20:05] Production.ERROR: done
[2025-04-09 09:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868582', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:20:06
[end_date_ymd] => 2025-04-09 09:20:06
[RateCDR] => 1
)
[2025-04-09 09:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:20:06' and `end` < '2025-04-09 09:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868582', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:20:10] Production.INFO: ProcessCDR(1,14868582,1,1,2)
[2025-04-09 09:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868582,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:20:10] Production.INFO: ==17193== Releasing lock...
[2025-04-09 09:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:20:13] Production.ERROR: CronJobId end10
[2025-04-09 09:20:13] Production.INFO: ==17187== Releasing lock...
[2025-04-09 09:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:20:17] Production.INFO: call_cost start
[2025-04-09 09:20:17] Production.INFO: call_cost end
[2025-04-09 09:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:20:18] Production.INFO: ==17183== Releasing lock...
[2025-04-09 09:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:20:19] Production.INFO: count ==986
[2025-04-09 09:20:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:20:06 - End Time 2025-04-09 09:20:06
[2025-04-09 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868583', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868583', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868583', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868583', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:20:19] Production.INFO: ProcessCDR(1,14868583,1,1,2)
[2025-04-09 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868583', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868583', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:20:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:20:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:20:25] Production.INFO: ==17191== Releasing lock...
[2025-04-09 09:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:20:25] Production.INFO: 36.25 MB #Memory Used#
[2025-04-09 14:21:02] Production.INFO: ==17254== Lock acquired, processing the job...
[2025-04-09 14:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:21:02] Production.INFO: neon service started
[2025-04-09 14:21:02] Production.INFO: neon service started
[2025-04-09 14:21:02] Production.INFO: ==17254== Releasing lock...
[2025-04-09 14:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:21:02] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-04-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:21:02] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-04-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:21:03] Production.INFO: ==17258== Releasing lock...
[2025-04-09 13:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:21:03] Production.INFO: ==17256== Releasing lock...
[2025-04-09 09:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:21:03] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-04-09 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:21:04] Production.INFO: ==17271== Lock acquired, processing the job...
[2025-04-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:21:04] Production.INFO: ==17267== Lock acquired, processing the job...
[2025-04-09 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:21:04] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-04-09 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:21:04] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-04-09 09:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:21:04] Production.INFO: count ==12
[2025-04-09 09:21:04] Production.INFO: Account Balance Start.
[2025-04-09 09:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:21:04] Production.INFO: ==17269== Lock acquired, processing the job...
[2025-04-09 09:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:21:04] Production.INFO: count ==23
[2025-04-09 09:21:04] Production.INFO: 117
[2025-04-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868584') start
[2025-04-09 09:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868584') end
[2025-04-09 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:21:04] Production.INFO: 1
[2025-04-09 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:21:04] Production.INFO: Total Charge 0
[2025-04-09 09:21:04] Production.INFO: CreateAllLog End
[2025-04-09 09:21:04] Production.INFO: ==17271== Releasing lock...
[2025-04-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:21:04] Production.INFO: ==17263== Releasing lock...
[2025-04-09 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:21:04] Production.ERROR: done
[2025-04-09 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:21:04] Production.ERROR: done
[2025-04-09 09:21:05] Production.INFO: Account Balance End.
[2025-04-09 09:21:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:21:05] Production.INFO: ==17267== Releasing lock...
[2025-04-09 09:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:21:05
[end_date_ymd] => 2025-04-09 09:21:05
[RateCDR] => 1
)
[2025-04-09 09:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:21:05' and `end` < '2025-04-09 09:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:21:13] Production.ERROR: CronJobId end10
[2025-04-09 09:21:13] Production.INFO: ==17265== Releasing lock...
[2025-04-09 09:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:21:15] Production.INFO: call_cost start
[2025-04-09 09:21:15] Production.INFO: call_cost end
[2025-04-09 09:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:21:16] Production.INFO: ==17261== Releasing lock...
[2025-04-09 09:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:21:18] Production.INFO: count ==1044
[2025-04-09 09:21:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:21:05 - End Time 2025-04-09 09:21:05
[2025-04-09 09:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868588', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868588', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868588', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868588', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:21:19] Production.INFO: ProcessCDR(1,14868588,1,1,2)
[2025-04-09 09:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868588', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868588', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:21:24] Production.INFO: ==17269== Releasing lock...
[2025-04-09 09:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:21:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 14:22:01] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-04-09 14:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:22:01] Production.INFO: neon service started
[2025-04-09 14:22:01] Production.INFO: neon service started
[2025-04-09 14:22:01] Production.INFO: ==17331== Releasing lock...
[2025-04-09 14:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:22:02] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-04-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:22:02] Production.INFO: ==17333== Releasing lock...
[2025-04-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:22:02] Production.INFO: ==17335== Lock acquired, processing the job...
[2025-04-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:22:02] Production.INFO: ==17335== Releasing lock...
[2025-04-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:22:03] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:22:03] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:22:03] Production.INFO: ==17345== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:22:03] Production.INFO: ==17347== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:22:03] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:22:03] Production.INFO: ==17343== Lock acquired, processing the job...
[2025-04-09 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:22:03] Production.INFO: Account Balance Start.
[2025-04-09 09:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:22:03] Production.INFO: 117
[2025-04-09 09:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:22:03] Production.INFO: count ==12
[2025-04-09 09:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:22:03] Production.INFO: count ==23
[2025-04-09 09:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868590') start
[2025-04-09 09:22:03] Production.ERROR: done
[2025-04-09 09:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868590') end
[2025-04-09 09:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:22:03] Production.INFO: 1
[2025-04-09 09:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:22:03] Production.INFO: Total Charge 0
[2025-04-09 09:22:03] Production.INFO: CreateAllLog End
[2025-04-09 09:22:03] Production.INFO: ==17339== Releasing lock...
[2025-04-09 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:22:03] Production.INFO: ==17347== Releasing lock...
[2025-04-09 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:22:04] Production.ERROR: done
[2025-04-09 09:22:04] Production.INFO: Account Balance End.
[2025-04-09 09:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:22:04] Production.INFO: ==17343== Releasing lock...
[2025-04-09 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:22:05
[end_date_ymd] => 2025-04-09 09:22:05
[RateCDR] => 1
)
[2025-04-09 09:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:22:05' and `end` < '2025-04-09 09:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:22:11] Production.ERROR: CronJobId end10
[2025-04-09 09:22:11] Production.INFO: ==17341== Releasing lock...
[2025-04-09 09:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:22:14] Production.INFO: call_cost start
[2025-04-09 09:22:14] Production.INFO: call_cost end
[2025-04-09 09:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:22:15] Production.INFO: ==17337== Releasing lock...
[2025-04-09 09:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:22:18] Production.INFO: count ==1049
[2025-04-09 09:22:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:22:05 - End Time 2025-04-09 09:22:05
[2025-04-09 09:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868593', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868593', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868593', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868593', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:22:19] Production.INFO: ProcessCDR(1,14868593,1,1,2)
[2025-04-09 09:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868593', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868593', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:22:24] Production.INFO: ==17345== Releasing lock...
[2025-04-09 09:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:22:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 14:23:02] Production.INFO: ==17404== Lock acquired, processing the job...
[2025-04-09 14:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:23:02] Production.INFO: neon service started
[2025-04-09 14:23:02] Production.INFO: neon service started
[2025-04-09 14:23:02] Production.INFO: ==17404== Releasing lock...
[2025-04-09 14:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:23:02] Production.INFO: ==17406== Lock acquired, processing the job...
[2025-04-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:23:02] Production.INFO: ==17406== Releasing lock...
[2025-04-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:23:02] Production.INFO: ==17408== Lock acquired, processing the job...
[2025-04-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:23:02] Production.INFO: ==17408== Releasing lock...
[2025-04-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:23:03] Production.INFO: ==17415== Lock acquired, processing the job...
[2025-04-09 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:23:03] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-04-09 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 09:23:03] Production.INFO: ==17413== Lock acquired, processing the job...
[2025-04-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:23:03] Production.INFO: ==17411== Lock acquired, processing the job...
[2025-04-09 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:23:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:23:03] Production.INFO: count ==23
[2025-04-09 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868594') start
[2025-04-09 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:23:04] Production.INFO: ==17417== Lock acquired, processing the job...
[2025-04-09 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:23:04] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-04-09 09:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868594') end
[2025-04-09 09:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:23:04] Production.INFO: 1
[2025-04-09 09:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:23:04] Production.INFO: Account Balance Start.
[2025-04-09 09:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:23:04] Production.INFO: 117
[2025-04-09 09:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:23:04] Production.INFO: ==17421== Releasing lock...
[2025-04-09 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:23:04] Production.INFO: Total Charge 0
[2025-04-09 09:23:04] Production.INFO: ==17413== Releasing lock...
[2025-04-09 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:23:04] Production.INFO: CreateAllLog End
[2025-04-09 09:23:04] Production.ERROR: done
[2025-04-09 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:23:04] Production.ERROR: done
[2025-04-09 09:23:04] Production.INFO: Account Balance End.
[2025-04-09 09:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:23:04] Production.INFO: ==17417== Releasing lock...
[2025-04-09 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:23:05
[end_date_ymd] => 2025-04-09 09:23:05
[RateCDR] => 1
)
[2025-04-09 09:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:23:05' and `end` < '2025-04-09 09:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:23:11] Production.ERROR: CronJobId end10
[2025-04-09 09:23:11] Production.INFO: ==17415== Releasing lock...
[2025-04-09 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:23:14] Production.INFO: call_cost start
[2025-04-09 09:23:14] Production.INFO: call_cost end
[2025-04-09 09:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:23:15] Production.INFO: ==17411== Releasing lock...
[2025-04-09 09:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:23:18] Production.INFO: count ==1069
[2025-04-09 09:23:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:23:05 - End Time 2025-04-09 09:23:05
[2025-04-09 09:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868598', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868598', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868598', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868598', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:23:18] Production.INFO: ProcessCDR(1,14868598,1,1,2)
[2025-04-09 09:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868598', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868598', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:23:24] Production.INFO: ==17419== Releasing lock...
[2025-04-09 09:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:23:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-09 14:24:01] Production.INFO: ==17477== Lock acquired, processing the job...
[2025-04-09 14:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:24:01] Production.INFO: neon service started
[2025-04-09 14:24:01] Production.INFO: neon service started
[2025-04-09 14:24:01] Production.INFO: ==17477== Releasing lock...
[2025-04-09 14:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:24:02] Production.INFO: ==17479== Lock acquired, processing the job...
[2025-04-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:24:02] Production.INFO: ==17479== Releasing lock...
[2025-04-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:24:02] Production.INFO: ==17481== Lock acquired, processing the job...
[2025-04-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:24:02] Production.INFO: ==17481== Releasing lock...
[2025-04-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:24:03] Production.INFO: ==17490== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:24:03] Production.INFO: ==17494== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:24:03] Production.INFO: ==17484== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 09:24:03] Production.INFO: Account Balance Start.
[2025-04-09 09:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:24:03] Production.INFO: 117
[2025-04-09 09:24:03] Production.INFO: count ==12
[2025-04-09 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 09:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:24:03] Production.INFO: count ==23
[2025-04-09 09:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868599') start
[2025-04-09 09:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:24:03] Production.INFO: ==17488== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:24:03] Production.INFO: ==17486== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:24:03] Production.INFO: Total Charge 0
[2025-04-09 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868599') end
[2025-04-09 09:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:24:03] Production.INFO: 1
[2025-04-09 09:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:24:03] Production.INFO: ==17492== Lock acquired, processing the job...
[2025-04-09 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:24:03] Production.INFO: CreateAllLog End
[2025-04-09 09:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:24:03] Production.INFO: ==17494== Releasing lock...
[2025-04-09 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:24:04] Production.INFO: ==17486== Releasing lock...
[2025-04-09 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:24:04] Production.INFO: Account Balance End.
[2025-04-09 09:24:04] Production.ERROR: done
[2025-04-09 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:24:04] Production.INFO: ==17490== Releasing lock...
[2025-04-09 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:24:04] Production.ERROR: done
[2025-04-09 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:24:05
[end_date_ymd] => 2025-04-09 09:24:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:24:05' and `end` < '2025-04-09 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-04-09 09:24:11] Production.ERROR: CronJobId end10
[2025-04-09 09:24:11] Production.INFO: ==17488== Releasing lock...
[2025-04-09 09:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:24:14] Production.INFO: call_cost start
[2025-04-09 09:24:14] Production.INFO: call_cost end
[2025-04-09 09:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:24:15] Production.INFO: ==17484== Releasing lock...
[2025-04-09 09:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:24:18] Production.INFO: count ==1101
[2025-04-09 09:24:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:24:05 - End Time 2025-04-09 09:24:05
[2025-04-09 09:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868603', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868603', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868603', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868603', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:24:18] Production.INFO: ProcessCDR(1,14868603,1,1,2)
[2025-04-09 09:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868603', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868603', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:24:23] Production.INFO: ==17492== Releasing lock...
[2025-04-09 09:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:24:23] Production.INFO: 37 MB #Memory Used#
[2025-04-09 14:25:02] Production.INFO: ==17554== Lock acquired, processing the job...
[2025-04-09 14:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:25:02] Production.INFO: neon service started
[2025-04-09 14:25:02] Production.INFO: neon service started
[2025-04-09 14:25:02] Production.INFO: ==17554== Releasing lock...
[2025-04-09 14:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:25:02] Production.INFO: ==17556== Lock acquired, processing the job...
[2025-04-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:25:02] Production.INFO: ==17556== Releasing lock...
[2025-04-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:25:02] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-04-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:25:02] Production.INFO: ==17558== Releasing lock...
[2025-04-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:25:03] Production.INFO: ==17561== Lock acquired, processing the job...
[2025-04-09 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:25:03] Production.INFO: ==17567== Lock acquired, processing the job...
[2025-04-09 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:25:03] Production.INFO: ==17569== Lock acquired, processing the job...
[2025-04-09 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:25:03] Production.INFO: Account Balance Start.
[2025-04-09 09:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:25:03] Production.INFO: 117
[2025-04-09 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:25:03] Production.INFO: ==17563== Lock acquired, processing the job...
[2025-04-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:25:03] Production.INFO: ==17565== Lock acquired, processing the job...
[2025-04-09 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:25:03] Production.INFO: Total Charge 0
[2025-04-09 09:25:03] Production.INFO: CreateAllLog End
[2025-04-09 09:25:04] Production.INFO: ==17571== Lock acquired, processing the job...
[2025-04-09 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:25:04] Production.INFO: Account Balance End.
[2025-04-09 09:25:04] Production.ERROR: done
[2025-04-09 09:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:25:04] Production.INFO: ==17567== Releasing lock...
[2025-04-09 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:25:04] Production.INFO: ==17563== Releasing lock...
[2025-04-09 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:25:04] Production.ERROR: done
[2025-04-09 09:25:04] Production.INFO: count ==12
[2025-04-09 09:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:25:04] Production.INFO: count ==23
[2025-04-09 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868607') start
[2025-04-09 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868607') end
[2025-04-09 09:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:25:04] Production.INFO: 1
[2025-04-09 09:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:25:04] Production.INFO: ==17571== Releasing lock...
[2025-04-09 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:25:05
[end_date_ymd] => 2025-04-09 09:25:05
[RateCDR] => 1
)
[2025-04-09 09:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:25:05' and `end` < '2025-04-09 09:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:25:12] Production.ERROR: CronJobId end10
[2025-04-09 09:25:12] Production.INFO: ==17565== Releasing lock...
[2025-04-09 09:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:25:15] Production.INFO: call_cost start
[2025-04-09 09:25:15] Production.INFO: call_cost end
[2025-04-09 09:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:25:15] Production.INFO: ==17561== Releasing lock...
[2025-04-09 09:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:25:18] Production.INFO: count ==1117
[2025-04-09 09:25:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:25:05 - End Time 2025-04-09 09:25:05
[2025-04-09 09:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868608', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868608', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868608', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868608', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:25:19] Production.INFO: ProcessCDR(1,14868608,1,1,2)
[2025-04-09 09:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868608', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868608', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:25:24] Production.INFO: ==17569== Releasing lock...
[2025-04-09 09:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:25:24] Production.INFO: 37 MB #Memory Used#
[2025-04-09 14:26:01] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-04-09 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:26:01] Production.INFO: neon service started
[2025-04-09 14:26:01] Production.INFO: neon service started
[2025-04-09 14:26:01] Production.INFO: ==17631== Releasing lock...
[2025-04-09 14:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:26:01] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-04-09 09:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:26:02] Production.INFO: ==17633== Releasing lock...
[2025-04-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:26:02] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-04-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:26:02] Production.INFO: ==17635== Releasing lock...
[2025-04-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:26:03] Production.INFO: ==17639== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:26:03] Production.INFO: ==17647== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:26:03] Production.INFO: ==17637== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:26:03] Production.INFO: ==17641== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09: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-04-09 09:26:03] Production.INFO: ==17643== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:26:03] Production.INFO: count ==12
[2025-04-09 09:26:03] Production.INFO: ==17645== Lock acquired, processing the job...
[2025-04-09 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09: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-04-09 09:26:03] Production.INFO: count ==23
[2025-04-09 09:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868610') start
[2025-04-09 09:26:03] Production.INFO: ==17639== Releasing lock...
[2025-04-09 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:26:03] Production.INFO: Account Balance Start.
[2025-04-09 09:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:26:03] Production.INFO: 117
[2025-04-09 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868610') end
[2025-04-09 09:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:26:03] Production.INFO: 1
[2025-04-09 09:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:26:03] Production.INFO: ==17647== Releasing lock...
[2025-04-09 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:26:03] Production.ERROR: done
[2025-04-09 09:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:26:03] Production.INFO: Total Charge 0
[2025-04-09 09:26:03] Production.INFO: CreateAllLog End
[2025-04-09 09:26:03] Production.ERROR: done
[2025-04-09 09:26:04] Production.INFO: Account Balance End.
[2025-04-09 09:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:26:04] Production.INFO: ==17643== Releasing lock...
[2025-04-09 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:26:05
[end_date_ymd] => 2025-04-09 09:26:05
[RateCDR] => 1
)
[2025-04-09 09:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:26:05' and `end` < '2025-04-09 09:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:26:11] Production.ERROR: CronJobId end10
[2025-04-09 09:26:11] Production.INFO: ==17641== Releasing lock...
[2025-04-09 09:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:26:14] Production.INFO: call_cost start
[2025-04-09 09:26:14] Production.INFO: call_cost end
[2025-04-09 09:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:26:15] Production.INFO: ==17637== Releasing lock...
[2025-04-09 09:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:26:18] Production.INFO: count ==1120
[2025-04-09 09:26:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:26:05 - End Time 2025-04-09 09:26:05
[2025-04-09 09:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868613', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868613', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868613', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868613', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:26:18] Production.INFO: ProcessCDR(1,14868613,1,1,2)
[2025-04-09 09:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868613', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868613', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:26:23] Production.INFO: ==17645== Releasing lock...
[2025-04-09 09:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:26:23] Production.INFO: 37 MB #Memory Used#
[2025-04-09 14:27:01] Production.INFO: ==17705== Lock acquired, processing the job...
[2025-04-09 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:27:02] Production.INFO: neon service started
[2025-04-09 14:27:02] Production.INFO: neon service started
[2025-04-09 14:27:02] Production.INFO: ==17705== Releasing lock...
[2025-04-09 14:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:27:02] Production.INFO: ==17707== Lock acquired, processing the job...
[2025-04-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:27:02] Production.INFO: ==17707== Releasing lock...
[2025-04-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:27:02] Production.INFO: ==17710== Lock acquired, processing the job...
[2025-04-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:27:02] Production.INFO: ==17710== Releasing lock...
[2025-04-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:27:03] Production.INFO: ==17714== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:27:03] Production.INFO: ==17716== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:27:03] Production.INFO: ==17718== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:27:03] Production.INFO: Account Balance Start.
[2025-04-09 09:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:27:03] Production.INFO: 117
[2025-04-09 09:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:27:03] Production.INFO: ==17712== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:27:03] Production.INFO: ==17714== Releasing lock...
[2025-04-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:27:03] Production.INFO: Total Charge 0
[2025-04-09 09:27:03] Production.INFO: ==17720== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:27:03] Production.INFO: ==17722== Lock acquired, processing the job...
[2025-04-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:27:03] Production.INFO: CreateAllLog End
[2025-04-09 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:27:03] Production.INFO: Account Balance End.
[2025-04-09 09:27:04] Production.INFO: count ==12
[2025-04-09 09:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:27:04] Production.INFO: ==17718== Releasing lock...
[2025-04-09 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:27:04] Production.INFO: count ==23
[2025-04-09 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868617') start
[2025-04-09 09:27:04] Production.ERROR: done
[2025-04-09 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868617') end
[2025-04-09 09:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:27:04] Production.INFO: 1
[2025-04-09 09:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:27:04] Production.INFO: ==17722== Releasing lock...
[2025-04-09 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:27:04] Production.ERROR: done
[2025-04-09 09:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:27:05
[end_date_ymd] => 2025-04-09 09:27:05
[RateCDR] => 1
)
[2025-04-09 09:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:27:05' and `end` < '2025-04-09 09:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:27:12] Production.ERROR: CronJobId end10
[2025-04-09 09:27:12] Production.INFO: ==17716== Releasing lock...
[2025-04-09 09:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:27:14] Production.INFO: call_cost start
[2025-04-09 09:27:14] Production.INFO: call_cost end
[2025-04-09 09:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:27:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:27:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:27:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:27:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:27:14] Production.INFO: ==17712== Releasing lock...
[2025-04-09 09:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:27:18] Production.INFO: count ==1151
[2025-04-09 09:27:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:27:05 - End Time 2025-04-09 09:27:05
[2025-04-09 09:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868618', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868618', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868618', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868618', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:27:19] Production.INFO: ProcessCDR(1,14868618,1,1,2)
[2025-04-09 09:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868618', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868618', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:27:24] Production.INFO: ==17720== Releasing lock...
[2025-04-09 09:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:27:24] Production.INFO: 37.5 MB #Memory Used#
[2025-04-09 14:28:01] Production.INFO: ==17778== Lock acquired, processing the job...
[2025-04-09 14:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:28:01] Production.INFO: neon service started
[2025-04-09 14:28:01] Production.INFO: neon service started
[2025-04-09 14:28:01] Production.INFO: ==17778== Releasing lock...
[2025-04-09 14:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:28:01] Production.INFO: ==17780== Lock acquired, processing the job...
[2025-04-09 09:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:28:02] Production.INFO: ==17780== Releasing lock...
[2025-04-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:28:02] Production.INFO: ==17782== Lock acquired, processing the job...
[2025-04-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:28:02] Production.INFO: ==17782== Releasing lock...
[2025-04-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:28:03] Production.INFO: ==17795== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:28:03] Production.INFO: ==17793== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 09:28:03] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:28:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:28:03] Production.INFO: count ==23
[2025-04-09 09:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868619') start
[2025-04-09 09:28:03] Production.INFO: ==17789== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:28:03] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:28:03] Production.INFO: ==17791== Lock acquired, processing the job...
[2025-04-09 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:28:03] Production.INFO: Account Balance Start.
[2025-04-09 09:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:28:03] Production.INFO: 117
[2025-04-09 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868619') end
[2025-04-09 09:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:28:03] Production.INFO: 1
[2025-04-09 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:28:03] Production.INFO: Total Charge 0
[2025-04-09 09:28:03] Production.INFO: CreateAllLog End
[2025-04-09 09:28:03] Production.INFO: ==17795== Releasing lock...
[2025-04-09 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:28:03] Production.ERROR: done
[2025-04-09 09:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:28:04] Production.INFO: ==17787== Releasing lock...
[2025-04-09 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:28:04] Production.ERROR: done
[2025-04-09 09:28:04] Production.INFO: Account Balance End.
[2025-04-09 09:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:28:04] Production.INFO: ==17791== Releasing lock...
[2025-04-09 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:28:05
[end_date_ymd] => 2025-04-09 09:28:05
[RateCDR] => 1
)
[2025-04-09 09:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:28:05' and `end` < '2025-04-09 09:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:28:12] Production.ERROR: CronJobId end10
[2025-04-09 09:28:12] Production.INFO: ==17789== Releasing lock...
[2025-04-09 09:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:28:14] Production.INFO: call_cost start
[2025-04-09 09:28:14] Production.INFO: call_cost end
[2025-04-09 09:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:28:15] Production.INFO: ==17785== Releasing lock...
[2025-04-09 09:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:28:18] Production.INFO: count ==1166
[2025-04-09 09:28:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:28:05 - End Time 2025-04-09 09:28:05
[2025-04-09 09:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868623', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868623', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868623', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868623', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:28:18] Production.INFO: ProcessCDR(1,14868623,1,1,2)
[2025-04-09 09:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868623', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868623', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:28:24] Production.INFO: ==17793== Releasing lock...
[2025-04-09 09:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:28:24] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 14:29:02] Production.INFO: ==17852== Lock acquired, processing the job...
[2025-04-09 14:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:29:02] Production.INFO: neon service started
[2025-04-09 14:29:02] Production.INFO: neon service started
[2025-04-09 14:29:02] Production.INFO: ==17852== Releasing lock...
[2025-04-09 14:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:29:02] Production.INFO: ==17854== Lock acquired, processing the job...
[2025-04-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:29:02] Production.INFO: ==17854== Releasing lock...
[2025-04-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:29:02] Production.INFO: ==17856== Lock acquired, processing the job...
[2025-04-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:29:02] Production.INFO: ==17856== Releasing lock...
[2025-04-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:29:03] Production.INFO: ==17862== Lock acquired, processing the job...
[2025-04-09 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:29:03] Production.INFO: ==17866== Lock acquired, processing the job...
[2025-04-09 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:29:03] Production.INFO: ==17860== Lock acquired, processing the job...
[2025-04-09 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:29:03] Production.INFO: ==17858== Lock acquired, processing the job...
[2025-04-09 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:29:03] Production.INFO: ==17864== Lock acquired, processing the job...
[2025-04-09 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:29:04] Production.INFO: ==17868== Lock acquired, processing the job...
[2025-04-09 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:29:04] Production.ERROR: done
[2025-04-09 09:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:29:04] Production.INFO: Account Balance Start.
[2025-04-09 09:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:29:04] Production.INFO: 117
[2025-04-09 09:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:29:04] Production.INFO: count ==12
[2025-04-09 09:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:29:04] Production.INFO: count ==23
[2025-04-09 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868626') start
[2025-04-09 09:29:04] Production.INFO: Total Charge 0
[2025-04-09 09:29:04] Production.INFO: CreateAllLog End
[2025-04-09 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868626') end
[2025-04-09 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:29:04] Production.INFO: 1
[2025-04-09 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:29:04] Production.ERROR: done
[2025-04-09 09:29:04] Production.INFO: ==17860== Releasing lock...
[2025-04-09 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:29:04] Production.INFO: ==17868== Releasing lock...
[2025-04-09 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:29:04] Production.INFO: Account Balance End.
[2025-04-09 09:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:29:04] Production.INFO: ==17864== Releasing lock...
[2025-04-09 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:29:05
[end_date_ymd] => 2025-04-09 09:29:05
[RateCDR] => 1
)
[2025-04-09 09:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:29:05' and `end` < '2025-04-09 09:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:29:11] Production.ERROR: CronJobId end10
[2025-04-09 09:29:11] Production.INFO: ==17862== Releasing lock...
[2025-04-09 09:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:29:14] Production.INFO: call_cost start
[2025-04-09 09:29:14] Production.INFO: call_cost end
[2025-04-09 09:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:29:15] Production.INFO: ==17858== Releasing lock...
[2025-04-09 09:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:29:18] Production.INFO: count ==1180
[2025-04-09 09:29:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:29:05 - End Time 2025-04-09 09:29:05
[2025-04-09 09:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868628', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868628', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868628', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868628', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:29:18] Production.INFO: ProcessCDR(1,14868628,1,1,2)
[2025-04-09 09:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868628', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868628', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:29:24] Production.INFO: ==17866== Releasing lock...
[2025-04-09 09:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:29:24] Production.INFO: 37.75 MB #Memory Used#
[2025-04-09 14:30:01] Production.INFO: ==17966== Lock acquired, processing the job...
[2025-04-09 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:30:01] Production.INFO: neon service started
[2025-04-09 14:30:01] Production.INFO: neon service started
[2025-04-09 14:30:01] Production.INFO: ==17966== Releasing lock...
[2025-04-09 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:30:01] Production.INFO: ==17968== Lock acquired, processing the job...
[2025-04-09 09:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:30:02] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-04-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:30:02] Production.INFO: ==17970== Releasing lock...
[2025-04-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:30:02] Production.INFO: ==17968== Releasing lock...
[2025-04-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:30:03] Production.INFO: ==17982== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:30:03] Production.INFO: ==17985== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:30:03] Production.INFO: ==17987== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:30:03] Production.INFO: Account Balance Start.
[2025-04-09 09:30:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:30:03] Production.INFO: 117
[2025-04-09 09:30:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:30:03] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:30:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:30:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:30:03] Production.INFO: Total Charge 0
[2025-04-09 09:30:03] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:30:03] Production.INFO: CreateAllLog End
[2025-04-09 09:30:03] Production.INFO: ==17980== Lock acquired, processing the job...
[2025-04-09 09:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17976
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 5
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17978
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 7
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17980
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17982
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 12
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17985
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 16
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:30:04] Production.ERROR: CronJob PID - 17987
[2025-04-09 09:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 09:30:04] Production.ERROR: CronJob ID - 17
[2025-04-09 09:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:30:00
[2025-04-09 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:30:04] Production.INFO: ==17989== Lock acquired, processing the job...
[2025-04-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:30:04] Production.ERROR: done
[2025-04-09 09:30:04] Production.INFO: Account Balance End.
[2025-04-09 09:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:30:04] Production.INFO: ==17974== Releasing lock...
[2025-04-09 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:30:04] Production.INFO: count ==12
[2025-04-09 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:30:04] Production.INFO: count ==23
[2025-04-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868632') start
[2025-04-09 09:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:30:04] Production.INFO: ==17982== Releasing lock...
[2025-04-09 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:30:04] Production.INFO: ==17978== Releasing lock...
[2025-04-09 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:30:04] Production.ERROR: done
[2025-04-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868632') end
[2025-04-09 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:30:04] Production.INFO: 1
[2025-04-09 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:30:04] Production.INFO: ==17989== Releasing lock...
[2025-04-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:30:04] Production.ERROR: done
[2025-04-09 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868634', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:30:06
[end_date_ymd] => 2025-04-09 09:30:06
[RateCDR] => 1
)
[2025-04-09 09:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:30:06' and `end` < '2025-04-09 09:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868634', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:30:09] Production.INFO: ProcessCDR(1,14868634,1,1,2)
[2025-04-09 09:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868634,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868634,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:30:09] Production.INFO: ==17987== Releasing lock...
[2025-04-09 09:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:30:13] Production.ERROR: CronJobId end10
[2025-04-09 09:30:13] Production.INFO: ==17980== Releasing lock...
[2025-04-09 09:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:30:16] Production.INFO: call_cost start
[2025-04-09 09:30:16] Production.INFO: call_cost end
[2025-04-09 09:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:30:17] Production.INFO: ==17976== Releasing lock...
[2025-04-09 09:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:30:19] Production.INFO: count ==1192
[2025-04-09 09:30:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:30:06 - End Time 2025-04-09 09:30:06
[2025-04-09 09:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868633', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868633', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868633', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868633', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:30:19] Production.INFO: ProcessCDR(1,14868633,1,1,2)
[2025-04-09 09:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868633', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868633', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:30:24] Production.INFO: ==17985== Releasing lock...
[2025-04-09 09:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:30:24] Production.INFO: 37.25 MB #Memory Used#
[2025-04-09 14:31:02] Production.INFO: ==18075== Lock acquired, processing the job...
[2025-04-09 14:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:31:02] Production.INFO: neon service started
[2025-04-09 14:31:02] Production.INFO: neon service started
[2025-04-09 14:31:02] Production.INFO: ==18075== Releasing lock...
[2025-04-09 14:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:31:02] Production.INFO: ==18080== Lock acquired, processing the job...
[2025-04-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:31:02] Production.INFO: ==18080== Releasing lock...
[2025-04-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:31:02] Production.INFO: ==18078== Lock acquired, processing the job...
[2025-04-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:31:02] Production.INFO: ==18078== Releasing lock...
[2025-04-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:31:03] Production.INFO: ==18083== Lock acquired, processing the job...
[2025-04-09 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:31:03] Production.INFO: ==18087== Lock acquired, processing the job...
[2025-04-09 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:31:03] Production.INFO: ==18085== Lock acquired, processing the job...
[2025-04-09 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:31:03] Production.INFO: ==18093== Lock acquired, processing the job...
[2025-04-09 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09: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-04-09 09:31:03] Production.INFO: count ==12
[2025-04-09 09: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-04-09 09:31:03] Production.INFO: count ==23
[2025-04-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868636') start
[2025-04-09 09:31:04] Production.INFO: ==18089== Lock acquired, processing the job...
[2025-04-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:31:04] Production.INFO: ==18091== Lock acquired, processing the job...
[2025-04-09 09:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868636') end
[2025-04-09 09:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:31:04] Production.INFO: 1
[2025-04-09 09:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:31:04] Production.INFO: Account Balance Start.
[2025-04-09 09:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:31:04] Production.INFO: 117
[2025-04-09 09:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:31:04] Production.INFO: ==18093== Releasing lock...
[2025-04-09 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:31:04] Production.INFO: Total Charge 0
[2025-04-09 09:31:04] Production.INFO: ==18085== Releasing lock...
[2025-04-09 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:31:04] Production.INFO: CreateAllLog End
[2025-04-09 09:31:04] Production.INFO: Account Balance End.
[2025-04-09 09:31:04] Production.ERROR: done
[2025-04-09 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:31:04] Production.INFO: ==18089== Releasing lock...
[2025-04-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:31:04] Production.ERROR: done
[2025-04-09 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:31:05
[end_date_ymd] => 2025-04-09 09:31:05
[RateCDR] => 1
)
[2025-04-09 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:31:05' and `end` < '2025-04-09 09:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:31:11] Production.ERROR: CronJobId end10
[2025-04-09 09:31:11] Production.INFO: ==18087== Releasing lock...
[2025-04-09 09:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:31:14] Production.INFO: call_cost start
[2025-04-09 09:31:14] Production.INFO: call_cost end
[2025-04-09 09:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:31:15] Production.INFO: ==18083== Releasing lock...
[2025-04-09 09:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:31:18] Production.INFO: count ==1269
[2025-04-09 09:31:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:31:05 - End Time 2025-04-09 09:31:05
[2025-04-09 09:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868639', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868639', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868639', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868639', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:31:19] Production.INFO: ProcessCDR(1,14868639,1,1,2)
[2025-04-09 09:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868639', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868639', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:31:24] Production.INFO: ==18091== Releasing lock...
[2025-04-09 09:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:31:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 14:32:01] Production.INFO: ==18184== Lock acquired, processing the job...
[2025-04-09 14:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:32:01] Production.INFO: neon service started
[2025-04-09 14:32:01] Production.INFO: neon service started
[2025-04-09 14:32:01] Production.INFO: ==18184== Releasing lock...
[2025-04-09 14:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:32:01] Production.INFO: ==18188== Lock acquired, processing the job...
[2025-04-09 13:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:32:01] Production.INFO: ==18188== Releasing lock...
[2025-04-09 13:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:32:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:32:02] Production.INFO: ==18186== Lock acquired, processing the job...
[2025-04-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:32:02] Production.INFO: ==18186== Releasing lock...
[2025-04-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:32:03] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:32:03] Production.INFO: ==18195== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:32:03] Production.INFO: ==18197== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:32:03] Production.INFO: Account Balance Start.
[2025-04-09 09:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:32:03] Production.INFO: 117
[2025-04-09 09:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:32:03] Production.INFO: ==18193== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:32:03] Production.INFO: Total Charge 0
[2025-04-09 09:32:03] Production.INFO: CreateAllLog End
[2025-04-09 09:32:03] Production.INFO: ==18199== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:32:03] Production.INFO: ==18201== Lock acquired, processing the job...
[2025-04-09 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:32:03] Production.INFO: Account Balance End.
[2025-04-09 09:32:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:32:03] Production.INFO: ==18197== Releasing lock...
[2025-04-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:32:03] Production.INFO: ==18193== Releasing lock...
[2025-04-09 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:32:04] Production.INFO: count ==12
[2025-04-09 09:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:32:04] Production.INFO: count ==23
[2025-04-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868643') start
[2025-04-09 09:32:04] Production.ERROR: done
[2025-04-09 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868643') end
[2025-04-09 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:32:04] Production.INFO: 1
[2025-04-09 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:32:04] Production.INFO: ==18201== Releasing lock...
[2025-04-09 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:32:04] Production.ERROR: done
[2025-04-09 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:32:05
[end_date_ymd] => 2025-04-09 09:32:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:32:05' and `end` < '2025-04-09 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-04-09 09:32:12] Production.ERROR: CronJobId end10
[2025-04-09 09:32:12] Production.INFO: ==18195== Releasing lock...
[2025-04-09 09:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:32:14] Production.INFO: call_cost start
[2025-04-09 09:32:14] Production.INFO: call_cost end
[2025-04-09 09:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:32:15] Production.INFO: ==18191== Releasing lock...
[2025-04-09 09:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:32:18] Production.INFO: count ==1285
[2025-04-09 09:32:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:32:05 - End Time 2025-04-09 09:32:05
[2025-04-09 09:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868644', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868644', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868644', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868644', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:32:19] Production.INFO: ProcessCDR(1,14868644,1,1,2)
[2025-04-09 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868644', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868644', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:32:24] Production.INFO: ==18199== Releasing lock...
[2025-04-09 09:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:32:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 14:33:01] Production.INFO: ==18298== Lock acquired, processing the job...
[2025-04-09 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:33:01] Production.INFO: neon service started
[2025-04-09 14:33:01] Production.INFO: neon service started
[2025-04-09 14:33:01] Production.INFO: ==18298== Releasing lock...
[2025-04-09 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:33:02] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-04-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:33:02] Production.INFO: ==18300== Releasing lock...
[2025-04-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:33:02] Production.INFO: ==18302== Lock acquired, processing the job...
[2025-04-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:33:02] Production.INFO: ==18302== Releasing lock...
[2025-04-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:33:03] Production.INFO: ==18304== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:33:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:33:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:33:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:33:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:33:03] Production.INFO: Account Balance Start.
[2025-04-09 09:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:33:03] Production.INFO: 117
[2025-04-09 09:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:33:03] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-04-09 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:33:03] Production.INFO: ==18306== Releasing lock...
[2025-04-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:33:04] Production.INFO: Total Charge 0
[2025-04-09 09:33:04] Production.INFO: CreateAllLog End
[2025-04-09 09:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:33:04] Production.INFO: count ==12
[2025-04-09 09:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:33:04] Production.INFO: count ==23
[2025-04-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868648') start
[2025-04-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868648') end
[2025-04-09 09:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:33:04] Production.INFO: 1
[2025-04-09 09:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:33:04] Production.INFO: Account Balance End.
[2025-04-09 09:33:04] Production.INFO: ==18314== Releasing lock...
[2025-04-09 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:33:04] Production.INFO: ==18310== Releasing lock...
[2025-04-09 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:33:04] Production.ERROR: done
[2025-04-09 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:33:04] Production.ERROR: done
[2025-04-09 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:33:05
[end_date_ymd] => 2025-04-09 09:33:05
[RateCDR] => 1
)
[2025-04-09 09:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:33:05' and `end` < '2025-04-09 09:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:33:12] Production.ERROR: CronJobId end10
[2025-04-09 09:33:12] Production.INFO: ==18308== Releasing lock...
[2025-04-09 09:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:33:15] Production.INFO: call_cost start
[2025-04-09 09:33:15] Production.INFO: call_cost end
[2025-04-09 09:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:33:16] Production.INFO: ==18304== Releasing lock...
[2025-04-09 09:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:33:19] Production.INFO: count ==1301
[2025-04-09 09:33:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:33:05 - End Time 2025-04-09 09:33:05
[2025-04-09 09:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868649', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868649', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868649', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868649', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:33:19] Production.INFO: ProcessCDR(1,14868649,1,1,2)
[2025-04-09 09:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868649', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868649', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:33:24] Production.INFO: ==18312== Releasing lock...
[2025-04-09 09:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:33:24] Production.INFO: 38 MB #Memory Used#
[2025-04-09 14:34:02] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-04-09 14:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:34:02] Production.INFO: neon service started
[2025-04-09 14:34:02] Production.INFO: neon service started
[2025-04-09 14:34:02] Production.INFO: ==18410== Releasing lock...
[2025-04-09 14:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:34:02] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-04-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:34:03] Production.INFO: ==18412== Releasing lock...
[2025-04-09 09:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:34:03] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:34:03] Production.INFO: ==18414== Releasing lock...
[2025-04-09 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:34:03] Production.INFO: ==18420== Lock acquired, processing the job...
[2025-04-09 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:34:03] Production.INFO: ==18424== Lock acquired, processing the job...
[2025-04-09 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:34:04] Production.INFO: ==18416== Lock acquired, processing the job...
[2025-04-09 09:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:34:04] Production.INFO: ==18418== Lock acquired, processing the job...
[2025-04-09 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:34:04] Production.INFO: ==18422== Lock acquired, processing the job...
[2025-04-09 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:34:04] Production.ERROR: done
[2025-04-09 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:34:04] Production.INFO: Account Balance Start.
[2025-04-09 09:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:34:04] Production.INFO: ==18426== Lock acquired, processing the job...
[2025-04-09 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:34:04] Production.INFO: 117
[2025-04-09 09:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:34:04] Production.INFO: Total Charge 0
[2025-04-09 09:34:04] Production.INFO: CreateAllLog End
[2025-04-09 09:34:04] Production.ERROR: done
[2025-04-09 09:34:04] Production.INFO: ==18418== Releasing lock...
[2025-04-09 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:34:04] Production.INFO: count ==12
[2025-04-09 09:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:34:04] Production.INFO: count ==23
[2025-04-09 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868653') start
[2025-04-09 09:34:04] Production.INFO: Account Balance End.
[2025-04-09 09:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868653') end
[2025-04-09 09:34:04] Production.INFO: ==18422== Releasing lock...
[2025-04-09 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:34:04] Production.INFO: 1
[2025-04-09 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:34:04] Production.INFO: ==18426== Releasing lock...
[2025-04-09 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:34:05
[end_date_ymd] => 2025-04-09 09:34:05
[RateCDR] => 1
)
[2025-04-09 09:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:34:05' and `end` < '2025-04-09 09:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:34:12] Production.ERROR: CronJobId end10
[2025-04-09 09:34:12] Production.INFO: ==18420== Releasing lock...
[2025-04-09 09:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:34:14] Production.INFO: call_cost start
[2025-04-09 09:34:14] Production.INFO: call_cost end
[2025-04-09 09:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:34:15] Production.INFO: ==18416== Releasing lock...
[2025-04-09 09:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:34:18] Production.INFO: count ==1323
[2025-04-09 09:34:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:34:05 - End Time 2025-04-09 09:34:05
[2025-04-09 09:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868654', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868654', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868654', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868654', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:34:19] Production.INFO: ProcessCDR(1,14868654,1,1,2)
[2025-04-09 09:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868654', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868654', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:34:24] Production.INFO: ==18424== Releasing lock...
[2025-04-09 09:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:34:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-09 14:35:01] Production.INFO: ==18524== Lock acquired, processing the job...
[2025-04-09 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:35:01] Production.INFO: neon service started
[2025-04-09 14:35:01] Production.INFO: neon service started
[2025-04-09 14:35:01] Production.INFO: ==18524== Releasing lock...
[2025-04-09 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:35:02] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-04-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:35:02] Production.INFO: ==18528== Releasing lock...
[2025-04-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:35:02] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-04-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:35:02] Production.INFO: ==18526== Releasing lock...
[2025-04-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:35:03] Production.INFO: ==18535== Lock acquired, processing the job...
[2025-04-09 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:35:03] Production.INFO: ==18539== Lock acquired, processing the job...
[2025-04-09 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:35:03] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-04-09 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:35:03] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-04-09 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:35:03] Production.INFO: ==18537== Lock acquired, processing the job...
[2025-04-09 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:35:04] Production.INFO: ==18541== Lock acquired, processing the job...
[2025-04-09 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:35:04] Production.INFO: Account Balance Start.
[2025-04-09 09:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:35:04] Production.INFO: count ==12
[2025-04-09 09:35:04] Production.INFO: 117
[2025-04-09 09:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:35:04] Production.INFO: count ==23
[2025-04-09 09:35:04] Production.ERROR: done
[2025-04-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868658') start
[2025-04-09 09:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:35:04] Production.INFO: Total Charge 0
[2025-04-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868658') end
[2025-04-09 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:35:04] Production.INFO: 1
[2025-04-09 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:35:04] Production.INFO: CreateAllLog End
[2025-04-09 09:35:04] Production.INFO: ==18541== Releasing lock...
[2025-04-09 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:35:04] Production.INFO: ==18532== Releasing lock...
[2025-04-09 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:35:04] Production.ERROR: done
[2025-04-09 09:35:04] Production.INFO: Account Balance End.
[2025-04-09 09:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:35:04] Production.INFO: ==18537== Releasing lock...
[2025-04-09 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:35:05
[end_date_ymd] => 2025-04-09 09:35:05
[RateCDR] => 1
)
[2025-04-09 09:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:35:05' and `end` < '2025-04-09 09:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:35:11] Production.ERROR: CronJobId end10
[2025-04-09 09:35:11] Production.INFO: ==18535== Releasing lock...
[2025-04-09 09:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:35:14] Production.INFO: call_cost start
[2025-04-09 09:35:14] Production.INFO: call_cost end
[2025-04-09 09:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:35:15] Production.INFO: ==18530== Releasing lock...
[2025-04-09 09:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:35:18] Production.INFO: count ==1402
[2025-04-09 09:35:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:35:05 - End Time 2025-04-09 09:35:05
[2025-04-09 09:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868659', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868659', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868659', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868659', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:35:19] Production.INFO: ProcessCDR(1,14868659,1,1,2)
[2025-04-09 09:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868659', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868659', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:35:23] Production.INFO: ==18539== Releasing lock...
[2025-04-09 09:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:35:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 14:36:02] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-04-09 14:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:36:02] Production.INFO: neon service started
[2025-04-09 14:36:02] Production.INFO: neon service started
[2025-04-09 14:36:02] Production.INFO: ==18634== Releasing lock...
[2025-04-09 14:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:36:02] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-04-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:36:02] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-04-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:36:02] Production.INFO: ==18638== Releasing lock...
[2025-04-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:36:03] Production.INFO: ==18636== Releasing lock...
[2025-04-09 09:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:36:03] Production.INFO: ==18641== Lock acquired, processing the job...
[2025-04-09 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:36:04] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-04-09 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:36:04] Production.INFO: ==18643== Lock acquired, processing the job...
[2025-04-09 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:36:04] Production.INFO: ==18651== Lock acquired, processing the job...
[2025-04-09 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:36:04] Production.INFO: Account Balance Start.
[2025-04-09 09:36:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:36:04] Production.INFO: 117
[2025-04-09 09:36:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:36:04] Production.INFO: ==18649== Lock acquired, processing the job...
[2025-04-09 09:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:36:04] Production.INFO: ==18645== Lock acquired, processing the job...
[2025-04-09 09:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:36:04] Production.INFO: Total Charge 0
[2025-04-09 09:36:04] Production.INFO: count ==12
[2025-04-09 09:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:36:04] Production.INFO: CreateAllLog End
[2025-04-09 09:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:36:04] Production.INFO: count ==23
[2025-04-09 09:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868662') start
[2025-04-09 09:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:36:04] Production.INFO: ==18643== Releasing lock...
[2025-04-09 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868662') end
[2025-04-09 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:36:04] Production.INFO: 1
[2025-04-09 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:36:04] Production.INFO: ==18651== Releasing lock...
[2025-04-09 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:36:04] Production.ERROR: done
[2025-04-09 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:36:05] Production.INFO: Account Balance End.
[2025-04-09 09:36:05] Production.ERROR: done
[2025-04-09 09:36:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:36:05] Production.INFO: ==18647== Releasing lock...
[2025-04-09 09:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:36:06
[end_date_ymd] => 2025-04-09 09:36:06
[RateCDR] => 1
)
[2025-04-09 09:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:36:06' and `end` < '2025-04-09 09:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:36:13] Production.ERROR: CronJobId end10
[2025-04-09 09:36:13] Production.INFO: ==18645== Releasing lock...
[2025-04-09 09:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:36:16] Production.INFO: call_cost start
[2025-04-09 09:36:16] Production.INFO: call_cost end
[2025-04-09 09:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:36:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:36:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:36:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:36:17] Production.INFO: ==18641== Releasing lock...
[2025-04-09 09:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:36:19] Production.INFO: count ==1409
[2025-04-09 09:36:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:36:06 - End Time 2025-04-09 09:36:06
[2025-04-09 09:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868664', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868664', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868664', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868664', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:36:19] Production.INFO: ProcessCDR(1,14868664,1,1,2)
[2025-04-09 09:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868664', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868664', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:36:24] Production.INFO: ==18649== Releasing lock...
[2025-04-09 09:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:36:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-09 14:37:01] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-04-09 14:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:37:01] Production.INFO: neon service started
[2025-04-09 14:37:01] Production.INFO: neon service started
[2025-04-09 14:37:01] Production.INFO: ==18748== Releasing lock...
[2025-04-09 14:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:37:02] Production.INFO: ==18750== Lock acquired, processing the job...
[2025-04-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:37:02] Production.INFO: ==18752== Lock acquired, processing the job...
[2025-04-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:37:02] Production.INFO: ==18752== Releasing lock...
[2025-04-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:37:02] Production.INFO: ==18750== Releasing lock...
[2025-04-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:37:03] Production.INFO: ==18763== Lock acquired, processing the job...
[2025-04-09 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:37:03] Production.INFO: ==18767== Lock acquired, processing the job...
[2025-04-09 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:37:04] Production.INFO: Account Balance Start.
[2025-04-09 09:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:37:04] Production.INFO: 117
[2025-04-09 09:37:04] Production.INFO: ==18755== Lock acquired, processing the job...
[2025-04-09 09:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:37:04] Production.INFO: ==18757== Lock acquired, processing the job...
[2025-04-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:37:04] Production.INFO: ==18759== Lock acquired, processing the job...
[2025-04-09 09:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:37:04] Production.INFO: count ==12
[2025-04-09 09:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:37:04] Production.INFO: count ==23
[2025-04-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868666') start
[2025-04-09 09:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:37:04] Production.INFO: ==18765== Lock acquired, processing the job...
[2025-04-09 09:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:37:04] Production.INFO: Total Charge 0
[2025-04-09 09:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:37:04] Production.INFO: CreateAllLog End
[2025-04-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868666') end
[2025-04-09 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:37:04] Production.INFO: 1
[2025-04-09 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:37:04] Production.INFO: ==18767== Releasing lock...
[2025-04-09 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:37:04] Production.INFO: ==18757== Releasing lock...
[2025-04-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:37:04] Production.ERROR: done
[2025-04-09 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:37:04] Production.INFO: Account Balance End.
[2025-04-09 09:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:37:04] Production.INFO: ==18763== Releasing lock...
[2025-04-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:37:04] Production.ERROR: done
[2025-04-09 09:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:37:06
[end_date_ymd] => 2025-04-09 09:37:06
[RateCDR] => 1
)
[2025-04-09 09:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:37:06' and `end` < '2025-04-09 09:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:37:12] Production.ERROR: CronJobId end10
[2025-04-09 09:37:12] Production.INFO: ==18759== Releasing lock...
[2025-04-09 09:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:37:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:37:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:37:16] Production.INFO: call_cost start
[2025-04-09 09:37:16] Production.INFO: call_cost end
[2025-04-09 09:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:37:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:37:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:37:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:37:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:37:17] Production.INFO: ==18755== Releasing lock...
[2025-04-09 09:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:37:18] Production.INFO: count ==1420
[2025-04-09 09:37:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:37:06 - End Time 2025-04-09 09:37:06
[2025-04-09 09:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868669', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868669', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868669', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868669', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:37:19] Production.INFO: ProcessCDR(1,14868669,1,1,2)
[2025-04-09 09:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868669', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868669', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:37:25] Production.INFO: ==18765== Releasing lock...
[2025-04-09 09:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:37:25] Production.INFO: 40 MB #Memory Used#
[2025-04-09 14:38:02] Production.INFO: ==18863== Lock acquired, processing the job...
[2025-04-09 14:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:38:02] Production.INFO: neon service started
[2025-04-09 14:38:02] Production.INFO: neon service started
[2025-04-09 14:38:02] Production.INFO: ==18863== Releasing lock...
[2025-04-09 14:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:38:02] Production.INFO: ==18869== Lock acquired, processing the job...
[2025-04-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:38:02] Production.INFO: ==18869== Releasing lock...
[2025-04-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:38:02] Production.INFO: ==18867== Lock acquired, processing the job...
[2025-04-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:38:03] Production.INFO: ==18867== Releasing lock...
[2025-04-09 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:38:03] Production.INFO: ==18871== Lock acquired, processing the job...
[2025-04-09 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:38:03] Production.INFO: ==18877== Lock acquired, processing the job...
[2025-04-09 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:38:04] Production.INFO: Account Balance Start.
[2025-04-09 09:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:38:04] Production.INFO: 117
[2025-04-09 09:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:38:04] Production.INFO: ==18875== Lock acquired, processing the job...
[2025-04-09 09:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:38:04] Production.INFO: ==18873== Lock acquired, processing the job...
[2025-04-09 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:38:04] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-04-09 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:38:04] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-04-09 09:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:38:04] Production.INFO: Total Charge 0
[2025-04-09 09:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:38:04] Production.INFO: CreateAllLog End
[2025-04-09 09:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:38:04] Production.INFO: count ==12
[2025-04-09 09:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:38:04] Production.INFO: count ==23
[2025-04-09 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868673') start
[2025-04-09 09:38:04] Production.INFO: ==18873== Releasing lock...
[2025-04-09 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:38:04] Production.ERROR: done
[2025-04-09 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:38:04] Production.INFO: Account Balance End.
[2025-04-09 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868673') end
[2025-04-09 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:38:04] Production.INFO: 1
[2025-04-09 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:38:04] Production.INFO: ==18877== Releasing lock...
[2025-04-09 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:38:04] Production.INFO: ==18881== Releasing lock...
[2025-04-09 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:38:05] Production.ERROR: done
[2025-04-09 09:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:38:06
[end_date_ymd] => 2025-04-09 09:38:06
[RateCDR] => 1
)
[2025-04-09 09:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:38:06' and `end` < '2025-04-09 09:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:38:14] Production.ERROR: CronJobId end10
[2025-04-09 09:38:14] Production.INFO: ==18875== Releasing lock...
[2025-04-09 09:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:38:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:38:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:38:16] Production.INFO: call_cost start
[2025-04-09 09:38:16] Production.INFO: call_cost end
[2025-04-09 09:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:38:17] Production.INFO: ==18871== Releasing lock...
[2025-04-09 09:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:38:19] Production.INFO: count ==1431
[2025-04-09 09:38:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:38:06 - End Time 2025-04-09 09:38:06
[2025-04-09 09:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868674', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868674', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868674', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868674', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:38:20] Production.INFO: ProcessCDR(1,14868674,1,1,2)
[2025-04-09 09:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868674', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868674', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:38:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:38:25] Production.INFO: ==18879== Releasing lock...
[2025-04-09 09:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:38:25] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 14:39:01] Production.INFO: ==18980== Lock acquired, processing the job...
[2025-04-09 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:39:01] Production.INFO: neon service started
[2025-04-09 14:39:01] Production.INFO: neon service started
[2025-04-09 14:39:01] Production.INFO: ==18980== Releasing lock...
[2025-04-09 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:39:01] Production.INFO: ==18984== Lock acquired, processing the job...
[2025-04-09 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:39:02] Production.INFO: ==18984== Releasing lock...
[2025-04-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:39:02] Production.INFO: ==18982== Lock acquired, processing the job...
[2025-04-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:39:02] Production.INFO: ==18982== Releasing lock...
[2025-04-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:39:03] Production.INFO: ==18987== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==18991== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==18989== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:39:03] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:39:03] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-04-09 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:39:03] Production.INFO: ==18989== Releasing lock...
[2025-04-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:39:03] Production.INFO: Account Balance Start.
[2025-04-09 09:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:39:03] Production.INFO: 117
[2025-04-09 09:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:39:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 09:39:04] Production.INFO: CreateAllLog End
[2025-04-09 09:39:04] Production.INFO: count ==12
[2025-04-09 09:39:04] Production.ERROR: done
[2025-04-09 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-04-09 09:39:04] Production.INFO: count ==23
[2025-04-09 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868678') start
[2025-04-09 09:39:04] Production.INFO: Account Balance End.
[2025-04-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868678') end
[2025-04-09 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:39:04] Production.INFO: 1
[2025-04-09 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:39:04] Production.INFO: ==18993== Releasing lock...
[2025-04-09 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:39:04] Production.INFO: ==18997== Releasing lock...
[2025-04-09 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:39:04] Production.ERROR: done
[2025-04-09 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:39:05
[end_date_ymd] => 2025-04-09 09:39:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:39:05' and `end` < '2025-04-09 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-04-09 09:39:12] Production.ERROR: CronJobId end10
[2025-04-09 09:39:12] Production.INFO: ==18991== Releasing lock...
[2025-04-09 09:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:39:14] Production.INFO: call_cost start
[2025-04-09 09:39:14] Production.INFO: call_cost end
[2025-04-09 09:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:39:15] Production.INFO: ==18987== Releasing lock...
[2025-04-09 09:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:39:18] Production.INFO: count ==1445
[2025-04-09 09:39:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:39:05 - End Time 2025-04-09 09:39:05
[2025-04-09 09:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868679', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868679', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868679', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868679', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:39:19] Production.INFO: ProcessCDR(1,14868679,1,1,2)
[2025-04-09 09:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868679', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868679', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:39:24] Production.INFO: ==18995== Releasing lock...
[2025-04-09 09:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:39:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-09 14:40:02] Production.INFO: ==19093== Lock acquired, processing the job...
[2025-04-09 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:40:02] Production.INFO: neon service started
[2025-04-09 14:40:02] Production.INFO: neon service started
[2025-04-09 14:40:02] Production.INFO: ==19093== Releasing lock...
[2025-04-09 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:40:02] Production.INFO: ==19095== Lock acquired, processing the job...
[2025-04-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:40:02] Production.INFO: ==19097== Lock acquired, processing the job...
[2025-04-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:40:02] Production.INFO: ==19097== Releasing lock...
[2025-04-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:40:02] Production.INFO: ==19095== Releasing lock...
[2025-04-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:40:03] Production.INFO: ==19107== Lock acquired, processing the job...
[2025-04-09 09:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19110== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19112== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:40:04] Production.INFO: Account Balance Start.
[2025-04-09 09:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:40:04] Production.INFO: 117
[2025-04-09 09:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:40:04] Production.INFO: Total Charge 0
[2025-04-09 09:40:04] Production.INFO: CreateAllLog End
[2025-04-09 09:40:04] Production.INFO: ==19099== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19101== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19103== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19105== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:40:04] Production.INFO: ==19114== Lock acquired, processing the job...
[2025-04-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:40:04] Production.ERROR: CronJob PID - 19101
[2025-04-09 09:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 09:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:40:00
[2025-04-09 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:40:04] Production.ERROR: CronJob PID - 19103
[2025-04-09 09:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 09:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:40:00
[2025-04-09 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:40:04] Production.ERROR: CronJob PID - 19107
[2025-04-09 09:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 09:40:04] Production.ERROR: CronJob ID - 12
[2025-04-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:40:00
[2025-04-09 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:40:04] Production.ERROR: CronJob PID - 19110
[2025-04-09 09:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 09:40:04] Production.ERROR: CronJob ID - 16
[2025-04-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:40:00
[2025-04-09 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 09:40:04] Production.ERROR: CronJob PID - 19112
[2025-04-09 09:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 09:40:04] Production.ERROR: CronJob ID - 17
[2025-04-09 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 09:40:00
[2025-04-09 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:40:04] Production.INFO: Account Balance End.
[2025-04-09 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:40:04] Production.INFO: ==19099== Releasing lock...
[2025-04-09 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:40:04] Production.INFO: ==19107== Releasing lock...
[2025-04-09 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:40:04] Production.ERROR: done
[2025-04-09 09:40:04] Production.ERROR: done
[2025-04-09 09:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868684', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:40:04] Production.INFO: count ==12
[2025-04-09 09:40:04] Production.INFO: ==19103== Releasing lock...
[2025-04-09 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:40:04] Production.INFO: count ==23
[2025-04-09 09:40:04] Production.ERROR: done
[2025-04-09 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868683') start
[2025-04-09 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868683') end
[2025-04-09 09:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:40:05] Production.INFO: 1
[2025-04-09 09:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:40:05] Production.INFO: ==19114== Releasing lock...
[2025-04-09 09:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:40:06
[end_date_ymd] => 2025-04-09 09:40:06
[RateCDR] => 1
)
[2025-04-09 09:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:40:06' and `end` < '2025-04-09 09:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868684', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:40:09] Production.INFO: ProcessCDR(1,14868684,1,1,2)
[2025-04-09 09:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868684,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868684,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:40:09] Production.INFO: ==19112== Releasing lock...
[2025-04-09 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:40:15] Production.ERROR: CronJobId end10
[2025-04-09 09:40:15] Production.INFO: ==19105== Releasing lock...
[2025-04-09 09:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:40:16] Production.INFO: call_cost start
[2025-04-09 09:40:16] Production.INFO: call_cost end
[2025-04-09 09:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:40:17] Production.INFO: ==19101== Releasing lock...
[2025-04-09 09:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:40:19] Production.INFO: count ==1468
[2025-04-09 09:40:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:40:06 - End Time 2025-04-09 09:40:06
[2025-04-09 09:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868685', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868685', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868685', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868685', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:40:19] Production.INFO: ProcessCDR(1,14868685,1,1,2)
[2025-04-09 09:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868685', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868685', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:40:24] Production.INFO: ==19110== Releasing lock...
[2025-04-09 09:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:40:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-09 14:41:01] Production.INFO: ==19206== Lock acquired, processing the job...
[2025-04-09 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:41:01] Production.INFO: neon service started
[2025-04-09 14:41:01] Production.INFO: neon service started
[2025-04-09 14:41:01] Production.INFO: ==19206== Releasing lock...
[2025-04-09 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:41:02] Production.INFO: ==19208== Lock acquired, processing the job...
[2025-04-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:41:02] Production.INFO: ==19210== Lock acquired, processing the job...
[2025-04-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:41:02] Production.INFO: ==19210== Releasing lock...
[2025-04-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:41:02] Production.INFO: ==19208== Releasing lock...
[2025-04-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:41:03] Production.INFO: ==19217== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:41:03] Production.INFO: ==19221== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:41:03] Production.INFO: ==19213== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:41:03] Production.INFO: ==19215== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:41:03] Production.INFO: ==19219== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:41:03] Production.INFO: ==19223== Lock acquired, processing the job...
[2025-04-09 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09: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-04-09 09:41:03] Production.INFO: count ==12
[2025-04-09 09:41:03] Production.ERROR: done
[2025-04-09 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 09:41:04] Production.INFO: Account Balance Start.
[2025-04-09 09:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:41:04] Production.INFO: 117
[2025-04-09 09:41:04] Production.INFO: count ==23
[2025-04-09 09:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868688') start
[2025-04-09 09:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:41:04] Production.ERROR: done
[2025-04-09 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868688') end
[2025-04-09 09:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:41:04] Production.INFO: 1
[2025-04-09 09:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:41:04] Production.INFO: ==19223== Releasing lock...
[2025-04-09 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:41:04] Production.INFO: Total Charge 0
[2025-04-09 09:41:04] Production.INFO: CreateAllLog End
[2025-04-09 09:41:04] Production.INFO: ==19215== Releasing lock...
[2025-04-09 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:41:04] Production.INFO: Account Balance End.
[2025-04-09 09:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:41:04] Production.INFO: ==19219== Releasing lock...
[2025-04-09 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:41:05
[end_date_ymd] => 2025-04-09 09:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:41:05' and `end` < '2025-04-09 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-04-09 09:41:11] Production.ERROR: CronJobId end10
[2025-04-09 09:41:11] Production.INFO: ==19217== Releasing lock...
[2025-04-09 09:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:41:14] Production.INFO: call_cost start
[2025-04-09 09:41:14] Production.INFO: call_cost end
[2025-04-09 09:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:41:15] Production.INFO: ==19213== Releasing lock...
[2025-04-09 09:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:41:18] Production.INFO: count ==1566
[2025-04-09 09:41:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:41:05 - End Time 2025-04-09 09:41:05
[2025-04-09 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868690', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868690', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868690', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868690', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:41:19] Production.INFO: ProcessCDR(1,14868690,1,1,2)
[2025-04-09 09:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868690', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868690', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:41:24] Production.INFO: ==19221== Releasing lock...
[2025-04-09 09:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:41:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-09 14:42:02] Production.INFO: ==19316== Lock acquired, processing the job...
[2025-04-09 14:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:42:02] Production.INFO: neon service started
[2025-04-09 14:42:02] Production.INFO: neon service started
[2025-04-09 14:42:02] Production.INFO: ==19316== Releasing lock...
[2025-04-09 14:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:42:02] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-04-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:42:02] Production.INFO: ==19320== Lock acquired, processing the job...
[2025-04-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:42:02] Production.INFO: ==19320== Releasing lock...
[2025-04-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:42:02] Production.INFO: ==19318== Releasing lock...
[2025-04-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:42:03] Production.INFO: ==19323== Lock acquired, processing the job...
[2025-04-09 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:42:03] Production.INFO: ==19325== Lock acquired, processing the job...
[2025-04-09 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:42:03] Production.INFO: ==19329== Lock acquired, processing the job...
[2025-04-09 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:42:03] Production.INFO: Account Balance Start.
[2025-04-09 09:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:42:03] Production.INFO: 117
[2025-04-09 09:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:42:04] Production.INFO: ==19327== Lock acquired, processing the job...
[2025-04-09 09:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:42:04] Production.INFO: ==19333== Lock acquired, processing the job...
[2025-04-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:42:04] Production.INFO: Total Charge 0
[2025-04-09 09:42:04] Production.INFO: CreateAllLog End
[2025-04-09 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:42:04] Production.INFO: ==19331== Lock acquired, processing the job...
[2025-04-09 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:42:04] Production.INFO: ==19325== Releasing lock...
[2025-04-09 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:42:04] Production.INFO: Account Balance End.
[2025-04-09 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:42:04] Production.INFO: ==19329== Releasing lock...
[2025-04-09 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:42:04] Production.INFO: count ==12
[2025-04-09 09:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:42:04] Production.INFO: count ==23
[2025-04-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868694') start
[2025-04-09 09:42:04] Production.ERROR: done
[2025-04-09 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868694') end
[2025-04-09 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:42:04] Production.INFO: 1
[2025-04-09 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:42:04] Production.INFO: ==19333== Releasing lock...
[2025-04-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:42:04] Production.ERROR: done
[2025-04-09 09:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:42:05
[end_date_ymd] => 2025-04-09 09:42:05
[RateCDR] => 1
)
[2025-04-09 09:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:42:05' and `end` < '2025-04-09 09:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:42:13] Production.ERROR: CronJobId end10
[2025-04-09 09:42:13] Production.INFO: ==19327== Releasing lock...
[2025-04-09 09:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:42:15] Production.INFO: call_cost start
[2025-04-09 09:42:15] Production.INFO: call_cost end
[2025-04-09 09:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:42:16] Production.INFO: ==19323== Releasing lock...
[2025-04-09 09:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:42:19] Production.INFO: count ==1576
[2025-04-09 09:42:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:42:05 - End Time 2025-04-09 09:42:05
[2025-04-09 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868695', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868695', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868695', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868695', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:42:19] Production.INFO: ProcessCDR(1,14868695,1,1,2)
[2025-04-09 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868695', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868695', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:42:25] Production.INFO: ==19331== Releasing lock...
[2025-04-09 09:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:42:25] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 14:43:01] Production.INFO: ==19422== Lock acquired, processing the job...
[2025-04-09 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:43:01] Production.INFO: neon service started
[2025-04-09 14:43:01] Production.INFO: neon service started
[2025-04-09 14:43:01] Production.INFO: ==19422== Releasing lock...
[2025-04-09 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:43:01] Production.INFO: ==19424== Lock acquired, processing the job...
[2025-04-09 09:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:43:02] Production.INFO: ==19424== Releasing lock...
[2025-04-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:43:02] Production.INFO: ==19426== Lock acquired, processing the job...
[2025-04-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:43:02] Production.INFO: ==19426== Releasing lock...
[2025-04-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:43:03] Production.INFO: ==19430== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:43:03] Production.INFO: ==19428== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:43:03] Production.INFO: ==19432== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:43:03] Production.INFO: ==19434== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:43:03] Production.INFO: ==19438== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:43:03] Production.INFO: Account Balance Start.
[2025-04-09 09:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:43:03] Production.INFO: 117
[2025-04-09 09:43:03] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-04-09 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 09:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:43:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:43:03] Production.INFO: count ==23
[2025-04-09 09:43:03] Production.INFO: Total Charge 0
[2025-04-09 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868699') start
[2025-04-09 09:43:03] Production.INFO: CreateAllLog End
[2025-04-09 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868699') end
[2025-04-09 09:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:43:03] Production.INFO: 1
[2025-04-09 09:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:43:03] Production.INFO: ==19430== Releasing lock...
[2025-04-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:43:03] Production.ERROR: done
[2025-04-09 09:43:03] Production.INFO: ==19438== Releasing lock...
[2025-04-09 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:43:03] Production.INFO: Account Balance End.
[2025-04-09 09:43:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:43:03] Production.INFO: ==19434== Releasing lock...
[2025-04-09 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:43:04] Production.ERROR: done
[2025-04-09 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:43:05
[end_date_ymd] => 2025-04-09 09:43:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:43:05' and `end` < '2025-04-09 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-04-09 09:43:12] Production.ERROR: CronJobId end10
[2025-04-09 09:43:12] Production.INFO: ==19432== Releasing lock...
[2025-04-09 09:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:43:15] Production.INFO: call_cost start
[2025-04-09 09:43:15] Production.INFO: call_cost end
[2025-04-09 09:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:43:16] Production.INFO: ==19428== Releasing lock...
[2025-04-09 09:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:43:18] Production.INFO: count ==1581
[2025-04-09 09:43:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:43:05 - End Time 2025-04-09 09:43:05
[2025-04-09 09:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868700', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868700', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868700', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868700', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:43:18] Production.INFO: ProcessCDR(1,14868700,1,1,2)
[2025-04-09 09:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868700', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868700', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:43:23] Production.INFO: ==19436== Releasing lock...
[2025-04-09 09:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:43:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 14:44:01] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-04-09 14:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:44:01] Production.INFO: neon service started
[2025-04-09 14:44:01] Production.INFO: neon service started
[2025-04-09 14:44:01] Production.INFO: ==19533== Releasing lock...
[2025-04-09 14:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:44:02] Production.INFO: ==19535== Lock acquired, processing the job...
[2025-04-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:44:02] Production.INFO: ==19535== Releasing lock...
[2025-04-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:44:02] Production.INFO: ==19537== Lock acquired, processing the job...
[2025-04-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:44:02] Production.INFO: ==19537== Releasing lock...
[2025-04-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:44:03] Production.INFO: ==19548== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:44:03] Production.INFO: ==19550== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:44:03] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:44:03] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:44:03] Production.INFO: ==19544== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:44:03] Production.INFO: ==19546== Lock acquired, processing the job...
[2025-04-09 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:44:04] Production.INFO: Account Balance Start.
[2025-04-09 09:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:44:04] Production.INFO: 117
[2025-04-09 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:44:04] Production.INFO: count ==12
[2025-04-09 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-04-09 09:44:04] Production.INFO: count ==23
[2025-04-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868702') start
[2025-04-09 09:44:04] Production.ERROR: done
[2025-04-09 09:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868702') end
[2025-04-09 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:44:04] Production.INFO: 1
[2025-04-09 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:44:04] Production.INFO: Total Charge 0
[2025-04-09 09:44:04] Production.INFO: CreateAllLog End
[2025-04-09 09:44:04] Production.INFO: ==19550== Releasing lock...
[2025-04-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:44:04] Production.INFO: ==19542== Releasing lock...
[2025-04-09 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:44:04] Production.ERROR: done
[2025-04-09 09:44:04] Production.INFO: Account Balance End.
[2025-04-09 09:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:44:04] Production.INFO: ==19546== Releasing lock...
[2025-04-09 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:44:05
[end_date_ymd] => 2025-04-09 09:44:05
[RateCDR] => 1
)
[2025-04-09 09:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:44:05' and `end` < '2025-04-09 09:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:44:12] Production.ERROR: CronJobId end10
[2025-04-09 09:44:12] Production.INFO: ==19544== Releasing lock...
[2025-04-09 09:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:44:15] Production.INFO: call_cost start
[2025-04-09 09:44:15] Production.INFO: call_cost end
[2025-04-09 09:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:44:16] Production.INFO: ==19540== Releasing lock...
[2025-04-09 09:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:44:18] Production.INFO: count ==1594
[2025-04-09 09:44:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:44:05 - End Time 2025-04-09 09:44:05
[2025-04-09 09:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868705', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868705', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868705', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868705', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:44:18] Production.INFO: ProcessCDR(1,14868705,1,1,2)
[2025-04-09 09:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868705', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868705', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:44:23] Production.INFO: ==19548== Releasing lock...
[2025-04-09 09:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:44:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-09 14:45:01] Production.INFO: ==19688== Lock acquired, processing the job...
[2025-04-09 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:45:01] Production.INFO: neon service started
[2025-04-09 14:45:01] Production.INFO: neon service started
[2025-04-09 14:45:01] Production.INFO: ==19688== Releasing lock...
[2025-04-09 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:45:02] Production.INFO: ==19691== Lock acquired, processing the job...
[2025-04-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:45:02] Production.INFO: ==19693== Lock acquired, processing the job...
[2025-04-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:45:02] Production.INFO: ==19693== Releasing lock...
[2025-04-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:45:02] Production.INFO: ==19691== Releasing lock...
[2025-04-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:45:03] Production.INFO: ==19695== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:45:03] Production.INFO: ==19705== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:45:03] Production.INFO: ==19697== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 09:45:03] Production.INFO: ==19699== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:45:03] Production.INFO: ==19701== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:45:03] Production.INFO: ==19703== Lock acquired, processing the job...
[2025-04-09 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:45:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:45:03] Production.INFO: count ==23
[2025-04-09 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868707') start
[2025-04-09 09:45:03] Production.INFO: Account Balance Start.
[2025-04-09 09:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:45:03] Production.INFO: 117
[2025-04-09 09:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868707') end
[2025-04-09 09:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:45:03] Production.INFO: 1
[2025-04-09 09:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:45:03] Production.INFO: Total Charge 0
[2025-04-09 09:45:03] Production.INFO: CreateAllLog End
[2025-04-09 09:45:03] Production.INFO: ==19705== Releasing lock...
[2025-04-09 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:45:03] Production.INFO: ==19697== Releasing lock...
[2025-04-09 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:45:04] Production.INFO: Account Balance End.
[2025-04-09 09:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:45:04] Production.INFO: ==19701== Releasing lock...
[2025-04-09 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:45:04] Production.ERROR: done
[2025-04-09 09:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:45:04] Production.ERROR: done
[2025-04-09 09:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:45:05
[end_date_ymd] => 2025-04-09 09:45:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 06:45:05' and `end` < '2025-04-09 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-04-09 09:45:11] Production.ERROR: CronJobId end10
[2025-04-09 09:45:11] Production.INFO: ==19699== Releasing lock...
[2025-04-09 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:45:14] Production.INFO: call_cost start
[2025-04-09 09:45:14] Production.INFO: call_cost end
[2025-04-09 09:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:45:15] Production.INFO: ==19695== Releasing lock...
[2025-04-09 09:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:45:18] Production.INFO: count ==1619
[2025-04-09 09:45:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:45:05 - End Time 2025-04-09 09:45:05
[2025-04-09 09:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868710', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868710', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868710', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868710', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:45:19] Production.INFO: ProcessCDR(1,14868710,1,1,2)
[2025-04-09 09:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868710', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868710', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:45:24] Production.INFO: ==19703== Releasing lock...
[2025-04-09 09:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:45:24] Production.INFO: 40.75 MB #Memory Used#
[2025-04-09 14:46:01] Production.INFO: ==19799== Lock acquired, processing the job...
[2025-04-09 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:46:01] Production.INFO: neon service started
[2025-04-09 14:46:01] Production.INFO: neon service started
[2025-04-09 14:46:01] Production.INFO: ==19799== Releasing lock...
[2025-04-09 14:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:46:02] Production.INFO: ==19801== Lock acquired, processing the job...
[2025-04-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:46:02] Production.INFO: ==19801== Releasing lock...
[2025-04-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:46:02] Production.INFO: ==19803== Lock acquired, processing the job...
[2025-04-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:46:02] Production.INFO: ==19803== Releasing lock...
[2025-04-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:46:03] Production.INFO: ==19807== Lock acquired, processing the job...
[2025-04-09 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:46:03] Production.INFO: ==19815== Lock acquired, processing the job...
[2025-04-09 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:46:03] Production.INFO: count ==12
[2025-04-09 09:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:46:03] Production.INFO: ==19805== Lock acquired, processing the job...
[2025-04-09 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:46:03] Production.INFO: count ==23
[2025-04-09 09:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868711') start
[2025-04-09 09:46:03] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-04-09 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868711') end
[2025-04-09 09:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:46:03] Production.INFO: 1
[2025-04-09 09:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:46:04] Production.INFO: ==19815== Releasing lock...
[2025-04-09 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:46:04] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-04-09 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:46:04] Production.INFO: ==19813== Lock acquired, processing the job...
[2025-04-09 09:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:46:04] Production.INFO: ==19807== Releasing lock...
[2025-04-09 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:46:04] Production.INFO: Account Balance Start.
[2025-04-09 09:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:46:04] Production.INFO: 117
[2025-04-09 09:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:46:04] Production.INFO: Total Charge 0
[2025-04-09 09:46:04] Production.INFO: CreateAllLog End
[2025-04-09 09:46:04] Production.ERROR: done
[2025-04-09 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:46:04] Production.ERROR: done
[2025-04-09 09:46:04] Production.INFO: Account Balance End.
[2025-04-09 09:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:46:04] Production.INFO: ==19811== Releasing lock...
[2025-04-09 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:46:06
[end_date_ymd] => 2025-04-09 09:46:06
[RateCDR] => 1
)
[2025-04-09 09: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-04-09 06:46:06' and `end` < '2025-04-09 09: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-04-09 09:46:14] Production.ERROR: CronJobId end10
[2025-04-09 09:46:14] Production.INFO: ==19809== Releasing lock...
[2025-04-09 09:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:46:16] Production.INFO: call_cost start
[2025-04-09 09:46:16] Production.INFO: call_cost end
[2025-04-09 09:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:46:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:46:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:46:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:46:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:46:17] Production.INFO: ==19805== Releasing lock...
[2025-04-09 09:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:46:19] Production.INFO: count ==1634
[2025-04-09 09:46:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:46:06 - End Time 2025-04-09 09:46:06
[2025-04-09 09:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868715', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868715', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868715', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868715', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:46:19] Production.INFO: ProcessCDR(1,14868715,1,1,2)
[2025-04-09 09:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868715', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868715', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:46:25] Production.INFO: ==19813== Releasing lock...
[2025-04-09 09:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:46:25] Production.INFO: 40.5 MB #Memory Used#
[2025-04-09 14:47:01] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-04-09 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:47:01] Production.INFO: neon service started
[2025-04-09 14:47:01] Production.INFO: neon service started
[2025-04-09 14:47:01] Production.INFO: ==19917== Releasing lock...
[2025-04-09 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:47:02] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-04-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 09:47:02] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-04-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:47:02] Production.INFO: ==19921== Releasing lock...
[2025-04-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:47:02] Production.INFO: ==19919== Releasing lock...
[2025-04-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:47:03] Production.INFO: ==19924== Lock acquired, processing the job...
[2025-04-09 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:47:03] Production.INFO: ==19926== Lock acquired, processing the job...
[2025-04-09 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:47:03] Production.INFO: ==19928== Lock acquired, processing the job...
[2025-04-09 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:47:03] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-04-09 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:47:03] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-04-09 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:47:03] Production.INFO: Account Balance Start.
[2025-04-09 09:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:47:03] Production.INFO: 117
[2025-04-09 09:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:47:04] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-04-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:47:04] Production.INFO: Total Charge 0
[2025-04-09 09:47:04] Production.INFO: CreateAllLog End
[2025-04-09 09:47:04] Production.INFO: ==19926== Releasing lock...
[2025-04-09 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:47:04] Production.INFO: Account Balance End.
[2025-04-09 09:47:04] Production.INFO: count ==12
[2025-04-09 09:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:47:04] Production.INFO: ==19930== Releasing lock...
[2025-04-09 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:47:04] Production.ERROR: done
[2025-04-09 09:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:47:04] Production.INFO: count ==23
[2025-04-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868719') start
[2025-04-09 09:47:04] Production.ERROR: done
[2025-04-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868719') end
[2025-04-09 09:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:47:04] Production.INFO: 1
[2025-04-09 09:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:47:04] Production.INFO: ==19934== Releasing lock...
[2025-04-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:47:05
[end_date_ymd] => 2025-04-09 09:47:05
[RateCDR] => 1
)
[2025-04-09 09:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:47:05' and `end` < '2025-04-09 09:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:47:12] Production.ERROR: CronJobId end10
[2025-04-09 09:47:12] Production.INFO: ==19928== Releasing lock...
[2025-04-09 09:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:47:14] Production.INFO: call_cost start
[2025-04-09 09:47:14] Production.INFO: call_cost end
[2025-04-09 09:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:47:15] Production.INFO: ==19924== Releasing lock...
[2025-04-09 09:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:47:18] Production.INFO: count ==1643
[2025-04-09 09:47:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:47:05 - End Time 2025-04-09 09:47:05
[2025-04-09 09:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868720', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868720', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868720', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868720', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:47:19] Production.INFO: ProcessCDR(1,14868720,1,1,2)
[2025-04-09 09:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868720', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868720', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:47:24] Production.INFO: ==19932== Releasing lock...
[2025-04-09 09:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:47:24] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 14:48:02] Production.INFO: ==20029== Lock acquired, processing the job...
[2025-04-09 14:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:48:02] Production.INFO: neon service started
[2025-04-09 14:48:02] Production.INFO: neon service started
[2025-04-09 14:48:02] Production.INFO: ==20029== Releasing lock...
[2025-04-09 14:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:48:02] Production.INFO: ==20031== Lock acquired, processing the job...
[2025-04-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:48:02] Production.INFO: ==20033== Lock acquired, processing the job...
[2025-04-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:48:02] Production.INFO: ==20033== Releasing lock...
[2025-04-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:48:03] Production.INFO: ==20031== Releasing lock...
[2025-04-09 09:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:48:04] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:48:04] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:48:04] Production.INFO: ==20036== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:48:04] Production.INFO: Account Balance Start.
[2025-04-09 09:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:48:04] Production.INFO: 117
[2025-04-09 09:48:04] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:48:04] Production.INFO: ==20044== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:48:04] Production.INFO: Total Charge 0
[2025-04-09 09:48:04] Production.INFO: CreateAllLog End
[2025-04-09 09:48:04] Production.INFO: ==20046== Lock acquired, processing the job...
[2025-04-09 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:48:04] Production.INFO: count ==12
[2025-04-09 09:48:04] Production.INFO: Account Balance End.
[2025-04-09 09:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:48:04] Production.INFO: count ==23
[2025-04-09 09:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:48:04] Production.INFO: ==20042== Releasing lock...
[2025-04-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:48:04] Production.INFO: ==20038== Releasing lock...
[2025-04-09 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868724') start
[2025-04-09 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868724') end
[2025-04-09 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:48:04] Production.INFO: 1
[2025-04-09 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:48:05] Production.ERROR: done
[2025-04-09 09:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:48:05] Production.INFO: ==20046== Releasing lock...
[2025-04-09 09:48:05] Production.ERROR: done
[2025-04-09 09:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:48:06
[end_date_ymd] => 2025-04-09 09:48:06
[RateCDR] => 1
)
[2025-04-09 09: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-04-09 06:48:06' and `end` < '2025-04-09 09: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-04-09 09:48:12] Production.ERROR: CronJobId end10
[2025-04-09 09:48:12] Production.INFO: ==20040== Releasing lock...
[2025-04-09 09:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:48:15] Production.INFO: call_cost start
[2025-04-09 09:48:15] Production.INFO: call_cost end
[2025-04-09 09:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:48:16] Production.INFO: ==20036== Releasing lock...
[2025-04-09 09:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:48:19] Production.INFO: count ==1660
[2025-04-09 09:48:20] Production.ERROR: pbx CDR StartTime 2025-04-09 06:48:06 - End Time 2025-04-09 09:48:06
[2025-04-09 09:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868725', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868725', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868725', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868725', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:48:20] Production.INFO: ProcessCDR(1,14868725,1,1,2)
[2025-04-09 09:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868725', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868725', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:48:25] Production.INFO: ==20044== Releasing lock...
[2025-04-09 09:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:48:25] Production.INFO: 41.25 MB #Memory Used#
[2025-04-09 14:49:01] Production.INFO: ==20136== Lock acquired, processing the job...
[2025-04-09 14:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:49:01] Production.INFO: neon service started
[2025-04-09 14:49:01] Production.INFO: neon service started
[2025-04-09 14:49:01] Production.INFO: ==20136== Releasing lock...
[2025-04-09 14:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:49:01] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-04-09 09:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:49:02] Production.INFO: ==20138== Releasing lock...
[2025-04-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:49:02] Production.INFO: ==20140== Lock acquired, processing the job...
[2025-04-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:49:02] Production.INFO: ==20140== Releasing lock...
[2025-04-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:49:03] Production.INFO: ==20142== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:49:03] Production.INFO: ==20144== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:49:03] Production.INFO: ==20148== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:49:03] Production.INFO: Account Balance Start.
[2025-04-09 09:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:49:03] Production.INFO: 117
[2025-04-09 09:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:49:03] Production.INFO: Total Charge 0
[2025-04-09 09:49:03] Production.INFO: CreateAllLog End
[2025-04-09 09:49:03] Production.INFO: ==20146== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:49:03] Production.INFO: ==20144== Releasing lock...
[2025-04-09 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:49:03] Production.INFO: Account Balance End.
[2025-04-09 09:49:03] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:49:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:49:03] Production.INFO: ==20148== Releasing lock...
[2025-04-09 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:49:03] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-04-09 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 09:49:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:49:03] Production.INFO: count ==23
[2025-04-09 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868729') start
[2025-04-09 09:49:03] Production.ERROR: done
[2025-04-09 09:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868729') end
[2025-04-09 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:49:04] Production.INFO: 1
[2025-04-09 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:49:04] Production.INFO: ==20152== Releasing lock...
[2025-04-09 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:49:04] Production.ERROR: done
[2025-04-09 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:49:05
[end_date_ymd] => 2025-04-09 09:49:05
[RateCDR] => 1
)
[2025-04-09 09:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:49:05' and `end` < '2025-04-09 09:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:49:12] Production.ERROR: CronJobId end10
[2025-04-09 09:49:12] Production.INFO: ==20146== Releasing lock...
[2025-04-09 09:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:49:14] Production.INFO: call_cost start
[2025-04-09 09:49:14] Production.INFO: call_cost end
[2025-04-09 09:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:49:15] Production.INFO: ==20142== Releasing lock...
[2025-04-09 09:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:49:18] Production.INFO: count ==1686
[2025-04-09 09:49:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:49:05 - End Time 2025-04-09 09:49:05
[2025-04-09 09:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868730', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868730', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868730', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868730', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:49:18] Production.INFO: ProcessCDR(1,14868730,1,1,2)
[2025-04-09 09:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868730', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868730', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:49:24] Production.INFO: ==20150== Releasing lock...
[2025-04-09 09:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:49:24] Production.INFO: 41 MB #Memory Used#
[2025-04-09 14:50:02] Production.INFO: ==20255== Lock acquired, processing the job...
[2025-04-09 14:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:50:02] Production.INFO: neon service started
[2025-04-09 14:50:02] Production.INFO: neon service started
[2025-04-09 14:50:02] Production.INFO: ==20255== Releasing lock...
[2025-04-09 14:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:50:02] Production.INFO: ==20257== Lock acquired, processing the job...
[2025-04-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:50:02] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-04-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:50:02] Production.INFO: ==20259== Releasing lock...
[2025-04-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:50:03] Production.INFO: ==20257== Releasing lock...
[2025-04-09 09:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:50:04] Production.INFO: ==20264== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 09:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 09:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 09:50:04] Production.INFO: ==20264== Releasing lock...
[2025-04-09 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 09:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 09:50:04] Production.INFO: ==20274== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:50:04] Production.INFO: ==20276== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:50:04] Production.INFO: ==20266== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:50:04] Production.INFO: ==20268== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:50:04] Production.INFO: ==20270== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:50:04] Production.INFO: ==20272== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:50:04] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-04-09 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:50:04] Production.INFO: Account Balance Start.
[2025-04-09 09:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:50:04] Production.INFO: 117
[2025-04-09 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:50:05] Production.INFO: Reseller ==> 0
[2025-04-09 09:50:05] Production.INFO: Total Charge 0
[2025-04-09 09:50:05] Production.INFO: CreateAllLog End
[2025-04-09 09:50:05] Production.ERROR: done
[2025-04-09 09:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09: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-04-09 09:50:05] Production.ERROR: done
[2025-04-09 09:50:05] Production.INFO: ==20268== Releasing lock...
[2025-04-09 09:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:50:05] Production.INFO: count ==12
[2025-04-09 09: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-04-09 09:50:05] Production.INFO: count ==23
[2025-04-09 09:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868734') start
[2025-04-09 09:50:05] Production.ERROR: done
[2025-04-09 09:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 09:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868735', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 09:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868734') end
[2025-04-09 09:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:50:05] Production.INFO: 1
[2025-04-09 09:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:50:05] Production.INFO: Account Balance End.
[2025-04-09 09:50:05] Production.INFO: ==20278== Releasing lock...
[2025-04-09 09:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 09:50:05] Production.INFO: ==20272== Releasing lock...
[2025-04-09 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:50:07
[end_date_ymd] => 2025-04-09 09:50:07
[RateCDR] => 1
)
[2025-04-09 09:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:50:07' and `end` < '2025-04-09 09:50:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868735', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 09:50:09] Production.INFO: ProcessCDR(1,14868735,1,1,2)
[2025-04-09 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:50:09] Production.INFO: ==20276== Releasing lock...
[2025-04-09 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 09:50:15] Production.ERROR: CronJobId end10
[2025-04-09 09:50:15] Production.INFO: ==20270== Releasing lock...
[2025-04-09 09:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:50:18] Production.INFO: call_cost start
[2025-04-09 09:50:18] Production.INFO: call_cost end
[2025-04-09 09:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:50:19] Production.INFO: ==20266== Releasing lock...
[2025-04-09 09:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:50:20] Production.INFO: count ==1703
[2025-04-09 09:50:20] Production.ERROR: pbx CDR StartTime 2025-04-09 06:50:07 - End Time 2025-04-09 09:50:07
[2025-04-09 09:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868736', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868736', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868736', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868736', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:50:20] Production.INFO: ProcessCDR(1,14868736,1,1,2)
[2025-04-09 09:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868736', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868736', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:50:25] Production.INFO: ==20274== Releasing lock...
[2025-04-09 09:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:50:25] Production.INFO: 41 MB #Memory Used#
[2025-04-09 14:51:01] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-04-09 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:51:01] Production.INFO: neon service started
[2025-04-09 14:51:01] Production.INFO: neon service started
[2025-04-09 14:51:01] Production.INFO: ==20370== Releasing lock...
[2025-04-09 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:51:01] Production.INFO: ==20375== Lock acquired, processing the job...
[2025-04-09 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:51:01] Production.INFO: ==20375== Releasing lock...
[2025-04-09 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:51:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:51:02] Production.INFO: ==20373== Lock acquired, processing the job...
[2025-04-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:51:02] Production.INFO: ==20373== Releasing lock...
[2025-04-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:51:03] Production.INFO: ==20383== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:51:03] Production.INFO: ==20389== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:51:03] Production.INFO: ==20381== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:51:03] Production.INFO: ==20379== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09: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-04-09 09:51:03] Production.INFO: count ==12
[2025-04-09 09: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-04-09 09:51:03] Production.INFO: count ==23
[2025-04-09 09:51:03] Production.INFO: ==20385== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:51:03] Production.INFO: ==20387== Lock acquired, processing the job...
[2025-04-09 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868737') start
[2025-04-09 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868737') end
[2025-04-09 09:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:51:03] Production.INFO: 1
[2025-04-09 09:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:51:03] Production.INFO: ==20389== Releasing lock...
[2025-04-09 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:51:03] Production.INFO: Account Balance Start.
[2025-04-09 09:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:51:03] Production.INFO: 117
[2025-04-09 09:51:03] Production.ERROR: done
[2025-04-09 09:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:51:04] Production.ERROR: done
[2025-04-09 09:51:04] Production.INFO: ==20381== Releasing lock...
[2025-04-09 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:51:04] Production.INFO: Total Charge 0
[2025-04-09 09:51:04] Production.INFO: CreateAllLog End
[2025-04-09 09:51:04] Production.INFO: Account Balance End.
[2025-04-09 09:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:51:04] Production.INFO: ==20385== Releasing lock...
[2025-04-09 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:51:05
[end_date_ymd] => 2025-04-09 09:51:05
[RateCDR] => 1
)
[2025-04-09 09:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:51:05' and `end` < '2025-04-09 09:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:51:12] Production.ERROR: CronJobId end10
[2025-04-09 09:51:12] Production.INFO: ==20383== Releasing lock...
[2025-04-09 09:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:51:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:51:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:51:15] Production.INFO: call_cost start
[2025-04-09 09:51:15] Production.INFO: call_cost end
[2025-04-09 09:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:51:16] Production.INFO: ==20379== Releasing lock...
[2025-04-09 09:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:51:18] Production.INFO: count ==1818
[2025-04-09 09:51:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:51:05 - End Time 2025-04-09 09:51:05
[2025-04-09 09:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868741', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868741', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868741', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868741', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:51:18] Production.INFO: ProcessCDR(1,14868741,1,1,2)
[2025-04-09 09:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868741', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868741', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:51:24] Production.INFO: ==20387== Releasing lock...
[2025-04-09 09:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:51:24] Production.INFO: 42.25 MB #Memory Used#
[2025-04-09 14:52:01] Production.INFO: ==20484== Lock acquired, processing the job...
[2025-04-09 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:52:01] Production.INFO: neon service started
[2025-04-09 14:52:01] Production.INFO: neon service started
[2025-04-09 14:52:01] Production.INFO: ==20484== Releasing lock...
[2025-04-09 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:52:02] Production.INFO: ==20486== Lock acquired, processing the job...
[2025-04-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:52:02] Production.INFO: ==20486== Releasing lock...
[2025-04-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:52:02] Production.INFO: ==20488== Lock acquired, processing the job...
[2025-04-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:52:02] Production.INFO: ==20488== Releasing lock...
[2025-04-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:52:03] Production.INFO: ==20493== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:52:03] Production.INFO: ==20497== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:52:03] Production.INFO: Account Balance Start.
[2025-04-09 09:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:52:03] Production.INFO: 117
[2025-04-09 09:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:52:03] Production.INFO: ==20499== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:52:03] Production.INFO: Total Charge 0
[2025-04-09 09:52:03] Production.INFO: CreateAllLog End
[2025-04-09 09:52:03] Production.INFO: ==20493== Releasing lock...
[2025-04-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:52:03] Production.INFO: ==20495== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:52:03] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:52:03] Production.INFO: ==20501== Lock acquired, processing the job...
[2025-04-09 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:52:03] Production.INFO: Account Balance End.
[2025-04-09 09:52:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:52:03] Production.INFO: ==20497== Releasing lock...
[2025-04-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:52:04] Production.ERROR: done
[2025-04-09 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:52:04] Production.INFO: count ==12
[2025-04-09 09:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:52:04] Production.INFO: count ==23
[2025-04-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868745') start
[2025-04-09 09:52:04] Production.ERROR: done
[2025-04-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868745') end
[2025-04-09 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:52:04] Production.INFO: 1
[2025-04-09 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:52:04] Production.INFO: ==20501== Releasing lock...
[2025-04-09 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:52:05
[end_date_ymd] => 2025-04-09 09:52:05
[RateCDR] => 1
)
[2025-04-09 09:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:52:05' and `end` < '2025-04-09 09:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:52:11] Production.ERROR: CronJobId end10
[2025-04-09 09:52:11] Production.INFO: ==20495== Releasing lock...
[2025-04-09 09:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:52:14] Production.INFO: call_cost start
[2025-04-09 09:52:14] Production.INFO: call_cost end
[2025-04-09 09:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:52:15] Production.INFO: ==20491== Releasing lock...
[2025-04-09 09:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:52:18] Production.INFO: count ==1842
[2025-04-09 09:52:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:52:05 - End Time 2025-04-09 09:52:05
[2025-04-09 09:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868746', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868746', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868746', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868746', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:52:19] Production.INFO: ProcessCDR(1,14868746,1,1,2)
[2025-04-09 09:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868746', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868746', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:52:24] Production.INFO: ==20499== Releasing lock...
[2025-04-09 09:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:52:24] Production.INFO: 42 MB #Memory Used#
[2025-04-09 14:53:01] Production.INFO: ==20593== Lock acquired, processing the job...
[2025-04-09 14:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:53:01] Production.INFO: neon service started
[2025-04-09 14:53:01] Production.INFO: neon service started
[2025-04-09 14:53:01] Production.INFO: ==20593== Releasing lock...
[2025-04-09 14:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:53:02] Production.INFO: ==20597== Lock acquired, processing the job...
[2025-04-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:53:02] Production.INFO: ==20597== Releasing lock...
[2025-04-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:53:02] Production.INFO: ==20595== Lock acquired, processing the job...
[2025-04-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:53:02] Production.INFO: ==20595== Releasing lock...
[2025-04-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:53:03] Production.INFO: ==20608== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:53:03] Production.INFO: ==20610== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:53:03] Production.INFO: ==20602== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:53:03] Production.INFO: ==20604== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:53:03] Production.INFO: ==20606== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:53:03] Production.INFO: Account Balance Start.
[2025-04-09 09:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:53:03] Production.INFO: 117
[2025-04-09 09:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:53:03] Production.INFO: Total Charge 0
[2025-04-09 09:53:03] Production.INFO: ==20612== Lock acquired, processing the job...
[2025-04-09 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:53:03] Production.INFO: CreateAllLog End
[2025-04-09 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 09:53:03] Production.ERROR: done
[2025-04-09 09:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:53:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:53:03] Production.INFO: count ==23
[2025-04-09 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868750') start
[2025-04-09 09:53:03] Production.INFO: Account Balance End.
[2025-04-09 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868750') end
[2025-04-09 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:53:04] Production.INFO: 1
[2025-04-09 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:53:04] Production.INFO: ==20608== Releasing lock...
[2025-04-09 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:53:04] Production.ERROR: done
[2025-04-09 09:53:04] Production.INFO: ==20612== Releasing lock...
[2025-04-09 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:53:04] Production.INFO: ==20604== Releasing lock...
[2025-04-09 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:53:05
[end_date_ymd] => 2025-04-09 09:53:05
[RateCDR] => 1
)
[2025-04-09 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:53:05' and `end` < '2025-04-09 09:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:53:11] Production.ERROR: CronJobId end10
[2025-04-09 09:53:11] Production.INFO: ==20606== Releasing lock...
[2025-04-09 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:53:14] Production.INFO: call_cost start
[2025-04-09 09:53:14] Production.INFO: call_cost end
[2025-04-09 09:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:53:15] Production.INFO: ==20602== Releasing lock...
[2025-04-09 09:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:53:18] Production.INFO: count ==1854
[2025-04-09 09:53:18] Production.ERROR: pbx CDR StartTime 2025-04-09 06:53:05 - End Time 2025-04-09 09:53:05
[2025-04-09 09:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868751', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868751', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868751', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868751', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:53:19] Production.INFO: ProcessCDR(1,14868751,1,1,2)
[2025-04-09 09:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868751', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868751', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:53:24] Production.INFO: ==20610== Releasing lock...
[2025-04-09 09:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:53:24] Production.INFO: 42.5 MB #Memory Used#
[2025-04-09 14:54:01] Production.INFO: ==20704== Lock acquired, processing the job...
[2025-04-09 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:54:01] Production.INFO: neon service started
[2025-04-09 14:54:01] Production.INFO: neon service started
[2025-04-09 14:54:01] Production.INFO: ==20704== Releasing lock...
[2025-04-09 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:54:02] Production.INFO: ==20710== Lock acquired, processing the job...
[2025-04-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:54:02] Production.INFO: ==20710== Releasing lock...
[2025-04-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:54:02] Production.INFO: ==20708== Lock acquired, processing the job...
[2025-04-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:54:02] Production.INFO: ==20708== Releasing lock...
[2025-04-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:54:03] Production.INFO: ==20717== Lock acquired, processing the job...
[2025-04-09 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:54:03] Production.INFO: ==20723== Lock acquired, processing the job...
[2025-04-09 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:54:04] Production.INFO: ==20715== Lock acquired, processing the job...
[2025-04-09 09:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:54:04] Production.INFO: ==20717== Releasing lock...
[2025-04-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:54:04] Production.INFO: ==20719== Lock acquired, processing the job...
[2025-04-09 09:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:54:04] Production.INFO: ==20721== Lock acquired, processing the job...
[2025-04-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:54:04] Production.INFO: ==20725== Lock acquired, processing the job...
[2025-04-09 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:54:04] Production.INFO: Account Balance Start.
[2025-04-09 09:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:54:04] Production.INFO: 117
[2025-04-09 09:54:04] Production.ERROR: done
[2025-04-09 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:54:04] Production.INFO: count ==12
[2025-04-09 09:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:54:04] Production.INFO: count ==23
[2025-04-09 09:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868755') start
[2025-04-09 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:54:04] Production.ERROR: done
[2025-04-09 09:54:04] Production.INFO: Total Charge 0
[2025-04-09 09:54:04] Production.INFO: CreateAllLog End
[2025-04-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868755') end
[2025-04-09 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:54:04] Production.INFO: 1
[2025-04-09 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:54:04] Production.INFO: ==20725== Releasing lock...
[2025-04-09 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:54:04] Production.INFO: Account Balance End.
[2025-04-09 09:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:54:04] Production.INFO: ==20721== Releasing lock...
[2025-04-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:54:05
[end_date_ymd] => 2025-04-09 09:54:05
[RateCDR] => 1
)
[2025-04-09 09:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:54:05' and `end` < '2025-04-09 09:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:54:14] Production.ERROR: CronJobId end10
[2025-04-09 09:54:14] Production.INFO: ==20719== Releasing lock...
[2025-04-09 09:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:54:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:54:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:54:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:54:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:54:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:54:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:54:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:54:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:54:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:54:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:54:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:54:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:54:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:54:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:54:17] Production.INFO: call_cost start
[2025-04-09 09:54:17] Production.INFO: call_cost end
[2025-04-09 09:54:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:54:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:54:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:54:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:54:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:54:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:54:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:54:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:54:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:54:18] Production.INFO: ==20715== Releasing lock...
[2025-04-09 09:54:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:54:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:54:19] Production.INFO: count ==1863
[2025-04-09 09:54:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:54:05 - End Time 2025-04-09 09:54:05
[2025-04-09 09:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868756', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868756', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868756', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868756', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:54:19] Production.INFO: ProcessCDR(1,14868756,1,1,2)
[2025-04-09 09:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868756', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868756', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:54:25] Production.INFO: ==20723== Releasing lock...
[2025-04-09 09:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:54:25] Production.INFO: 42.25 MB #Memory Used#
[2025-04-09 14:55:01] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-04-09 14:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:55:01] Production.INFO: neon service started
[2025-04-09 14:55:01] Production.INFO: neon service started
[2025-04-09 14:55:01] Production.INFO: ==20818== Releasing lock...
[2025-04-09 14:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:55:01] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-04-09 13:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:55:01] Production.INFO: ==20822== Releasing lock...
[2025-04-09 13:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:55:01] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-04-09 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:55:02] Production.INFO: ==20820== Releasing lock...
[2025-04-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:55:03] Production.INFO: ==20830== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:55:03] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:55:03] Production.INFO: ==20834== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:55:03] Production.INFO: Account Balance Start.
[2025-04-09 09:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:55:03] Production.INFO: 117
[2025-04-09 09:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 09:55:03] Production.INFO: ==20828== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:55:03] Production.INFO: ==20826== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:55:03] Production.INFO: count ==12
[2025-04-09 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-04-09 09:55:03] Production.INFO: count ==23
[2025-04-09 09:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:55:03] Production.INFO: ==20832== Lock acquired, processing the job...
[2025-04-09 09:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868758') start
[2025-04-09 09:55:03] Production.INFO: Total Charge 0
[2025-04-09 09:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:55:03] Production.INFO: CreateAllLog End
[2025-04-09 09:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868758') end
[2025-04-09 09:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:55:03] Production.INFO: 1
[2025-04-09 09:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:55:03] Production.INFO: ==20834== Releasing lock...
[2025-04-09 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:55:03] Production.INFO: Account Balance End.
[2025-04-09 09:55:03] Production.INFO: ==20826== Releasing lock...
[2025-04-09 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:55:03] Production.ERROR: CronJobId end 12
[2025-04-09 09:55:03] Production.INFO: ==20830== Releasing lock...
[2025-04-09 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:55:04] Production.ERROR: done
[2025-04-09 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:55:04] Production.ERROR: done
[2025-04-09 09:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:55:05
[end_date_ymd] => 2025-04-09 09:55:05
[RateCDR] => 1
)
[2025-04-09 09:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:55:05' and `end` < '2025-04-09 09:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:55:11] Production.ERROR: CronJobId end10
[2025-04-09 09:55:11] Production.INFO: ==20828== Releasing lock...
[2025-04-09 09:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:55:14] Production.INFO: call_cost start
[2025-04-09 09:55:14] Production.INFO: call_cost end
[2025-04-09 09:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:55:15] Production.INFO: ==20824== Releasing lock...
[2025-04-09 09:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:55:18] Production.INFO: count ==1893
[2025-04-09 09:55:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:55:05 - End Time 2025-04-09 09:55:05
[2025-04-09 09:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868761', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868761', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868761', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868761', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:55:19] Production.INFO: ProcessCDR(1,14868761,1,1,2)
[2025-04-09 09:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868761', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868761', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:55:24] Production.INFO: ==20832== Releasing lock...
[2025-04-09 09:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:55:24] Production.INFO: 42.5 MB #Memory Used#
[2025-04-09 14:56:01] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-04-09 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:56:01] Production.INFO: neon service started
[2025-04-09 14:56:01] Production.INFO: neon service started
[2025-04-09 14:56:01] Production.INFO: ==20928== Releasing lock...
[2025-04-09 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:56:02] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-04-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:56:02] Production.INFO: ==20932== Releasing lock...
[2025-04-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:56:02] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-04-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:56:02] Production.INFO: ==20930== Releasing lock...
[2025-04-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:56:03] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-04-09 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:56:03] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-04-09 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:56:03] Production.INFO: ==20943== Lock acquired, processing the job...
[2025-04-09 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:56:03] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-04-09 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:56:04] Production.INFO: ==20941== Lock acquired, processing the job...
[2025-04-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:56:04] Production.INFO: ==20945== Lock acquired, processing the job...
[2025-04-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:56:04] Production.INFO: Account Balance Start.
[2025-04-09 09:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 09:56:04] Production.INFO: 117
[2025-04-09 09:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 09: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-04-09 09:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:56:04] Production.INFO: count ==12
[2025-04-09 09: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-04-09 09:56:04] Production.INFO: count ==23
[2025-04-09 09:56:04] Production.ERROR: done
[2025-04-09 09:56:04] Production.INFO: Total Charge 0
[2025-04-09 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868765') start
[2025-04-09 09:56:04] Production.INFO: CreateAllLog End
[2025-04-09 09:56:04] Production.ERROR: done
[2025-04-09 09:56:04] Production.INFO: ==20937== Releasing lock...
[2025-04-09 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868765') end
[2025-04-09 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:56:04] Production.INFO: 1
[2025-04-09 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:56:04] Production.INFO: ==20945== Releasing lock...
[2025-04-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:56:04] Production.INFO: Account Balance End.
[2025-04-09 09:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:56:04] Production.INFO: ==20941== Releasing lock...
[2025-04-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:56:05
[end_date_ymd] => 2025-04-09 09:56:05
[RateCDR] => 1
)
[2025-04-09 09:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:56:05' and `end` < '2025-04-09 09:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:56:12] Production.ERROR: CronJobId end10
[2025-04-09 09:56:12] Production.INFO: ==20939== Releasing lock...
[2025-04-09 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:56:14] Production.INFO: call_cost start
[2025-04-09 09:56:14] Production.INFO: call_cost end
[2025-04-09 09:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:56:15] Production.INFO: ==20935== Releasing lock...
[2025-04-09 09:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:56:18] Production.INFO: count ==1909
[2025-04-09 09:56:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:56:05 - End Time 2025-04-09 09:56:05
[2025-04-09 09:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868766', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868766', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868766', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868766', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:56:19] Production.INFO: ProcessCDR(1,14868766,1,1,2)
[2025-04-09 09:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868766', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868766', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:56:24] Production.INFO: ==20943== Releasing lock...
[2025-04-09 09:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:56:24] Production.INFO: 42.25 MB #Memory Used#
[2025-04-09 14:57:02] Production.INFO: ==21041== Lock acquired, processing the job...
[2025-04-09 14:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:57:02] Production.INFO: neon service started
[2025-04-09 14:57:02] Production.INFO: neon service started
[2025-04-09 14:57:02] Production.INFO: ==21041== Releasing lock...
[2025-04-09 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:57:02] Production.INFO: ==21045== Lock acquired, processing the job...
[2025-04-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:57:02] Production.INFO: ==21045== Releasing lock...
[2025-04-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:57:02] Production.INFO: ==21043== Lock acquired, processing the job...
[2025-04-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:57:03] Production.INFO: ==21043== Releasing lock...
[2025-04-09 09:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:57:03] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-04-09 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:57:03] Production.INFO: Account Balance Start.
[2025-04-09 09:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:57:03] Production.INFO: 117
[2025-04-09 09:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:57:04] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-04-09 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 09:57:04] Production.INFO: Total Charge 0
[2025-04-09 09:57:04] Production.INFO: CreateAllLog End
[2025-04-09 09:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:57:04] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-04-09 09:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:57:04] Production.INFO: Account Balance End.
[2025-04-09 09:57:04] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-04-09 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:57:04] Production.INFO: ==21052== Lock acquired, processing the job...
[2025-04-09 09:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:57:04] Production.INFO: ==21058== Lock acquired, processing the job...
[2025-04-09 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:57:04] Production.INFO: ==21054== Releasing lock...
[2025-04-09 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:57:04] Production.INFO: count ==12
[2025-04-09 09:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:57:04] Production.INFO: count ==23
[2025-04-09 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868770') start
[2025-04-09 09:57:04] Production.ERROR: done
[2025-04-09 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868770') end
[2025-04-09 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:57:04] Production.INFO: 1
[2025-04-09 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:57:04] Production.INFO: ==21058== Releasing lock...
[2025-04-09 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:57:04] Production.INFO: ==21050== Releasing lock...
[2025-04-09 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:57:04] Production.ERROR: done
[2025-04-09 09:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:57:06
[end_date_ymd] => 2025-04-09 09:57:06
[RateCDR] => 1
)
[2025-04-09 09:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:57:06' and `end` < '2025-04-09 09:57:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:57:13] Production.ERROR: CronJobId end10
[2025-04-09 09:57:13] Production.INFO: ==21052== Releasing lock...
[2025-04-09 09:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:57:15] Production.INFO: call_cost start
[2025-04-09 09:57:15] Production.INFO: call_cost end
[2025-04-09 09:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:57:16] Production.INFO: ==21048== Releasing lock...
[2025-04-09 09:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:57:19] Production.INFO: count ==1915
[2025-04-09 09:57:20] Production.ERROR: pbx CDR StartTime 2025-04-09 06:57:06 - End Time 2025-04-09 09:57:06
[2025-04-09 09:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868771', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868771', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868771', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868771', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:57:20] Production.INFO: ProcessCDR(1,14868771,1,1,2)
[2025-04-09 09:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868771', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868771', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:57:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:57:25] Production.INFO: ==21056== Releasing lock...
[2025-04-09 09:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:57:25] Production.INFO: 43 MB #Memory Used#
[2025-04-09 14:58:01] Production.INFO: ==21153== Lock acquired, processing the job...
[2025-04-09 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:58:01] Production.INFO: neon service started
[2025-04-09 14:58:01] Production.INFO: neon service started
[2025-04-09 14:58:01] Production.INFO: ==21153== Releasing lock...
[2025-04-09 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:58:02] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-04-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:58:02] Production.INFO: ==21159== Lock acquired, processing the job...
[2025-04-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:58:02] Production.INFO: ==21159== Releasing lock...
[2025-04-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:58:02] Production.INFO: ==21157== Releasing lock...
[2025-04-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 09:58:03] Production.INFO: ==21162== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:58:03] Production.INFO: ==21166== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:58:03] Production.INFO: ==21164== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:58:03] Production.INFO: ==21168== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:58:03] Production.INFO: Account Balance Start.
[2025-04-09 09:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:58:03] Production.INFO: 117
[2025-04-09 09:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:58:03] Production.INFO: ==21170== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:58:03] Production.INFO: ==21172== Lock acquired, processing the job...
[2025-04-09 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:58:03] Production.INFO: Total Charge 0
[2025-04-09 09:58:03] Production.INFO: CreateAllLog End
[2025-04-09 09:58:04] Production.INFO: count ==12
[2025-04-09 09: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-04-09 09:58:04] Production.INFO: count ==23
[2025-04-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868775') start
[2025-04-09 09:58:04] Production.INFO: ==21164== Releasing lock...
[2025-04-09 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:58:04] Production.INFO: Account Balance End.
[2025-04-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868775') end
[2025-04-09 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:58:04] Production.INFO: 1
[2025-04-09 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:58:04] Production.INFO: ==21172== Releasing lock...
[2025-04-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:58:04] Production.ERROR: done
[2025-04-09 09:58:04] Production.INFO: ==21168== Releasing lock...
[2025-04-09 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:58:04] Production.ERROR: done
[2025-04-09 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:58:05
[end_date_ymd] => 2025-04-09 09:58:05
[RateCDR] => 1
)
[2025-04-09 09:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:58:05' and `end` < '2025-04-09 09:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:58:12] Production.ERROR: CronJobId end10
[2025-04-09 09:58:12] Production.INFO: ==21166== Releasing lock...
[2025-04-09 09:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:58:14] Production.INFO: call_cost start
[2025-04-09 09:58:14] Production.INFO: call_cost end
[2025-04-09 09:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:58:15] Production.INFO: ==21162== Releasing lock...
[2025-04-09 09:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:58:18] Production.INFO: count ==1921
[2025-04-09 09:58:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:58:05 - End Time 2025-04-09 09:58:05
[2025-04-09 09:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868776', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868776', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868776', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868776', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:58:19] Production.INFO: ProcessCDR(1,14868776,1,1,2)
[2025-04-09 09:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868776', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868776', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:58:24] Production.INFO: ==21170== Releasing lock...
[2025-04-09 09:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:58:24] Production.INFO: 43 MB #Memory Used#
[2025-04-09 14:59:02] Production.INFO: ==21265== Lock acquired, processing the job...
[2025-04-09 14:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 14:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 14:59:02] Production.INFO: neon service started
[2025-04-09 14:59:02] Production.INFO: neon service started
[2025-04-09 14:59:02] Production.INFO: ==21265== Releasing lock...
[2025-04-09 14:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 14:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 09:59:02] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-04-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 09:59:02] Production.INFO: ==21267== Releasing lock...
[2025-04-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:59:02] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-04-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:59:02] Production.INFO: ==21269== Releasing lock...
[2025-04-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 09:59:03] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 09:59:03] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 09:59:03] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 09:59:03] Production.INFO: Account Balance Start.
[2025-04-09 09:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 09:59:03] Production.INFO: 117
[2025-04-09 09:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 09:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:59:03] Production.INFO: ==21273== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 09:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 09:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 09:59:03] Production.INFO: ==21275== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 09:59:03] Production.INFO: Total Charge 0
[2025-04-09 09:59:03] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-04-09 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 09:59:03] Production.INFO: CreateAllLog End
[2025-04-09 09:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 09:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 09:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 09:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 09:59:04] Production.INFO: count ==12
[2025-04-09 09:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 09:59:04] Production.INFO: count ==23
[2025-04-09 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868779') start
[2025-04-09 09:59:04] Production.ERROR: done
[2025-04-09 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 09:59:04] Production.INFO: Account Balance End.
[2025-04-09 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868779') end
[2025-04-09 09:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 09:59:04] Production.INFO: 1
[2025-04-09 09:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 09:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 09:59:04] Production.INFO: ==21277== Releasing lock...
[2025-04-09 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 09:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 09:59:04] Production.INFO: ==21281== Releasing lock...
[2025-04-09 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 09:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 09:59:04] Production.INFO: ==21273== Releasing lock...
[2025-04-09 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 09:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 09:59:04] Production.ERROR: done
[2025-04-09 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 06:59:05
[end_date_ymd] => 2025-04-09 09:59:05
[RateCDR] => 1
)
[2025-04-09 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 06:59:05' and `end` < '2025-04-09 09:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 09:59:12] Production.ERROR: CronJobId end10
[2025-04-09 09:59:12] Production.INFO: ==21275== Releasing lock...
[2025-04-09 09:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 09:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 09:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 09:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 09:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 09:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 09:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 09:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 09:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 09:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 09:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 09:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 09:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 09:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 09:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 09:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 09:59:15] Production.INFO: call_cost start
[2025-04-09 09:59:15] Production.INFO: call_cost end
[2025-04-09 09:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 09:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 09:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 09:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 09:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 09:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 09:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 09:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 09:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 09:59:16] Production.INFO: ==21271== Releasing lock...
[2025-04-09 09:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 09:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 09:59:18] Production.INFO: count ==1936
[2025-04-09 09:59:19] Production.ERROR: pbx CDR StartTime 2025-04-09 06:59:05 - End Time 2025-04-09 09:59:05
[2025-04-09 09:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868781', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868781', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868781', 'tblTempVendorCDR_20' ) start
[2025-04-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868781', 'tblTempVendorCDR_20' ) end
[2025-04-09 09:59:19] Production.INFO: ProcessCDR(1,14868781,1,1,2)
[2025-04-09 09:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 09:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 09:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868781', 'tblTempUsageDetail_20' ) start
[2025-04-09 09:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868781', 'tblTempUsageDetail_20' ) end
[2025-04-09 09:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 09:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 09:59:24] Production.INFO: ==21279== Releasing lock...
[2025-04-09 09:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 09:59:24] Production.INFO: 43 MB #Memory Used#
[2025-04-09 15:00:01] Production.INFO: ==21377== Lock acquired, processing the job...
[2025-04-09 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:00:01] Production.INFO: neon service started
[2025-04-09 15:00:01] Production.INFO: neon service started
[2025-04-09 15:00:01] Production.INFO: ==21377== Releasing lock...
[2025-04-09 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:00:02] Production.INFO: ==21379== Lock acquired, processing the job...
[2025-04-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:00:02] Production.INFO: ==21381== Lock acquired, processing the job...
[2025-04-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:00:02] Production.INFO: ==21381== Releasing lock...
[2025-04-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:00:02] Production.INFO: ==21379== Releasing lock...
[2025-04-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:00:03] Production.INFO: ==21388== Lock acquired, processing the job...
[2025-04-09 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:00:04] Production.INFO: ==21384== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:00:04] Production.INFO: ==21394== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:00:04] Production.INFO: ==21386== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:00:04] Production.INFO: ==21398== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 10:00:04] Production.ERROR: CronJob PID - 21388
[2025-04-09 10:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 10:00:04] Production.ERROR: CronJob ID - 7
[2025-04-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 10:00:00
[2025-04-09 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 10:00:04] Production.ERROR: CronJob PID - 21394
[2025-04-09 10:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 10:00:04] Production.ERROR: CronJob ID - 16
[2025-04-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-04-09 10:00:00
[2025-04-09 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 10:00:04] Production.INFO: ==21390== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:00:04] Production.INFO: ==21392== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:00:04] Production.INFO: ==21384== Releasing lock...
[2025-04-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:00:04] Production.INFO: ==21388== Releasing lock...
[2025-04-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:00:04] Production.INFO: ==21396== Lock acquired, processing the job...
[2025-04-09 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:00:04] Production.INFO: count ==12
[2025-04-09 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:00:04] Production.INFO: count ==23
[2025-04-09 10:00:04] Production.INFO: Account Balance Start.
[2025-04-09 10:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:00:04] Production.INFO: 117
[2025-04-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868783') start
[2025-04-09 10:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:00:04] Production.ERROR: done
[2025-04-09 10:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868783') end
[2025-04-09 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:00:04] Production.INFO: 1
[2025-04-09 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:00:05] Production.INFO: ==21398== Releasing lock...
[2025-04-09 10:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:00:05] Production.ERROR: done
[2025-04-09 10:00:05] Production.ERROR: done
[2025-04-09 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868786', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:00:05] Production.INFO: Total Charge 0
[2025-04-09 10:00:05] Production.INFO: CreateAllLog End
[2025-04-09 10:00:05] Production.INFO: Account Balance End.
[2025-04-09 10:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:00:05] Production.INFO: ==21392== Releasing lock...
[2025-04-09 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:00:06
[end_date_ymd] => 2025-04-09 10:00:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:00:06' and `end` < '2025-04-09 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-04-09 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868786', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:00:09] Production.INFO: ProcessCDR(1,14868786,1,1,2)
[2025-04-09 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868786,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868786,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:00:09] Production.INFO: ==21396== Releasing lock...
[2025-04-09 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:00:15] Production.ERROR: CronJobId end10
[2025-04-09 10:00:15] Production.INFO: ==21390== Releasing lock...
[2025-04-09 10:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:00:17] Production.INFO: call_cost start
[2025-04-09 10:00:17] Production.INFO: call_cost end
[2025-04-09 10:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:00:18] Production.INFO: ==21386== Releasing lock...
[2025-04-09 10:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:00:20] Production.INFO: count ==1955
[2025-04-09 10:00:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:00:06 - End Time 2025-04-09 10:00:06
[2025-04-09 10:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868787', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868787', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868787', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868787', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:00:20] Production.INFO: ProcessCDR(1,14868787,1,1,2)
[2025-04-09 10:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868787', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868787', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:00:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:00:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:00:26] Production.INFO: ==21394== Releasing lock...
[2025-04-09 10:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:00:26] Production.INFO: 43 MB #Memory Used#
[2025-04-09 15:01:02] Production.INFO: ==21552== Lock acquired, processing the job...
[2025-04-09 15:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:01:02] Production.INFO: neon service started
[2025-04-09 15:01:02] Production.INFO: neon service started
[2025-04-09 15:01:02] Production.INFO: ==21552== Releasing lock...
[2025-04-09 15:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:01:02] Production.INFO: ==21564== Lock acquired, processing the job...
[2025-04-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:01:02] Production.INFO: ==21564== Releasing lock...
[2025-04-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:01:02] Production.INFO: ==21566== Lock acquired, processing the job...
[2025-04-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:01:02] Production.INFO: ==21566== Releasing lock...
[2025-04-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:01:03] Production.INFO: ==21568== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:01:03] Production.INFO: ==21574== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:01:03] Production.INFO: ==21570== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:01:03] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:01:03] Production.INFO: Account Balance Start.
[2025-04-09 10:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:01:03] Production.INFO: 117
[2025-04-09 10:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:01:03] Production.INFO: ==21572== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 10:01:03] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-04-09 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:01:03] Production.INFO: count ==12
[2025-04-09 10:01:03] Production.INFO: Total Charge 0
[2025-04-09 10:01:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 10:01:03] Production.INFO: count ==23
[2025-04-09 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868791') start
[2025-04-09 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868791') end
[2025-04-09 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:01:04] Production.INFO: 1
[2025-04-09 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:01:04] Production.INFO: Account Balance End.
[2025-04-09 10:01:04] Production.INFO: ==21578== Releasing lock...
[2025-04-09 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:01:04] Production.INFO: ==21574== Releasing lock...
[2025-04-09 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:01:04] Production.INFO: ==21570== Releasing lock...
[2025-04-09 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:01:04] Production.ERROR: done
[2025-04-09 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:01:04] Production.ERROR: done
[2025-04-09 10:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:01:05
[end_date_ymd] => 2025-04-09 10:01:05
[RateCDR] => 1
)
[2025-04-09 10:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:01:05' and `end` < '2025-04-09 10:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:01:13] Production.ERROR: CronJobId end10
[2025-04-09 10:01:13] Production.INFO: ==21572== Releasing lock...
[2025-04-09 10:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:01:15] Production.INFO: call_cost start
[2025-04-09 10:01:15] Production.INFO: call_cost end
[2025-04-09 10:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:01:16] Production.INFO: ==21568== Releasing lock...
[2025-04-09 10:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:01:18] Production.INFO: count ==2085
[2025-04-09 10:01:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:01:05 - End Time 2025-04-09 10:01:05
[2025-04-09 10:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868792', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868792', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868792', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868792', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:01:19] Production.INFO: ProcessCDR(1,14868792,1,1,2)
[2025-04-09 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868792', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868792', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:01:24] Production.INFO: ==21576== Releasing lock...
[2025-04-09 10:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:01:24] Production.INFO: 44.25 MB #Memory Used#
[2025-04-09 15:02:01] Production.INFO: ==21689== Lock acquired, processing the job...
[2025-04-09 15:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:02:01] Production.INFO: neon service started
[2025-04-09 15:02:01] Production.INFO: neon service started
[2025-04-09 15:02:01] Production.INFO: ==21689== Releasing lock...
[2025-04-09 15:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:02:01] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-04-09 14:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:02:01] Production.INFO: ==21693== Releasing lock...
[2025-04-09 14:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:02:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:02:02] Production.INFO: ==21691== Lock acquired, processing the job...
[2025-04-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:02:02] Production.INFO: ==21691== Releasing lock...
[2025-04-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:02:03] Production.INFO: ==21704== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:02:03] Production.INFO: ==21696== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:02:03] Production.INFO: ==21706== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:02:03] Production.INFO: Account Balance Start.
[2025-04-09 10:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:02:03] Production.INFO: 117
[2025-04-09 10:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:02:03] Production.INFO: ==21698== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:02:03] Production.INFO: ==21700== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:02:03] Production.INFO: Total Charge 0
[2025-04-09 10:02:03] Production.INFO: CreateAllLog End
[2025-04-09 10:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:02:03] Production.INFO: ==21708== Lock acquired, processing the job...
[2025-04-09 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:02:03] Production.INFO: Account Balance End.
[2025-04-09 10:02:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:02:03] Production.INFO: ==21704== Releasing lock...
[2025-04-09 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:02:04] Production.ERROR: done
[2025-04-09 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:02:04] Production.INFO: ==21698== Releasing lock...
[2025-04-09 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:02:04] Production.INFO: count ==12
[2025-04-09 10:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:02:04] Production.INFO: count ==23
[2025-04-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868796') start
[2025-04-09 10:02:04] Production.ERROR: done
[2025-04-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868796') end
[2025-04-09 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:02:04] Production.INFO: 1
[2025-04-09 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:02:04] Production.INFO: ==21708== Releasing lock...
[2025-04-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:02:05
[end_date_ymd] => 2025-04-09 10:02:05
[RateCDR] => 1
)
[2025-04-09 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:02:05' and `end` < '2025-04-09 10:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:02:12] Production.ERROR: CronJobId end10
[2025-04-09 10:02:12] Production.INFO: ==21700== Releasing lock...
[2025-04-09 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:02:15] Production.INFO: call_cost start
[2025-04-09 10:02:15] Production.INFO: call_cost end
[2025-04-09 10:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:02:16] Production.INFO: ==21696== Releasing lock...
[2025-04-09 10:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:02:18] Production.INFO: count ==2090
[2025-04-09 10:02:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:02:05 - End Time 2025-04-09 10:02:05
[2025-04-09 10:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868797', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868797', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868797', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868797', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:02:19] Production.INFO: ProcessCDR(1,14868797,1,1,2)
[2025-04-09 10:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868797', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868797', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:02:24] Production.INFO: ==21706== Releasing lock...
[2025-04-09 10:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:02:24] Production.INFO: 44.25 MB #Memory Used#
[2025-04-09 15:03:01] Production.INFO: ==21799== Lock acquired, processing the job...
[2025-04-09 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:03:01] Production.INFO: neon service started
[2025-04-09 15:03:01] Production.INFO: neon service started
[2025-04-09 15:03:02] Production.INFO: ==21799== Releasing lock...
[2025-04-09 15:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:03:02] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-04-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:03:02] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-04-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:03:02] Production.INFO: ==21805== Releasing lock...
[2025-04-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:03:03] Production.INFO: ==21803== Releasing lock...
[2025-04-09 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:03:03] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-04-09 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:03:04] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-04-09 10:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:03:04] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-04-09 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:03:04] Production.INFO: Account Balance Start.
[2025-04-09 10:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:03:04] Production.INFO: 117
[2025-04-09 10:03:04] Production.INFO: ==21808== Lock acquired, processing the job...
[2025-04-09 10:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:03:04] Production.INFO: ==21810== Releasing lock...
[2025-04-09 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:03:04] Production.INFO: ==21816== Lock acquired, processing the job...
[2025-04-09 10:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:03:04] Production.INFO: Total Charge 0
[2025-04-09 10:03:04] Production.INFO: CreateAllLog End
[2025-04-09 10:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:03:04] Production.INFO: ==21818== Lock acquired, processing the job...
[2025-04-09 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:03:04] Production.INFO: Account Balance End.
[2025-04-09 10:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:03:04] Production.INFO: ==21814== Releasing lock...
[2025-04-09 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:03:04] Production.ERROR: done
[2025-04-09 10:03:04] Production.INFO: count ==12
[2025-04-09 10:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:03:04] Production.INFO: count ==23
[2025-04-09 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868801') start
[2025-04-09 10:03:04] Production.ERROR: done
[2025-04-09 10:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868801') end
[2025-04-09 10:03:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:03:05] Production.INFO: 1
[2025-04-09 10:03:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:03:05] Production.INFO: ==21818== Releasing lock...
[2025-04-09 10:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:03:06
[end_date_ymd] => 2025-04-09 10:03:06
[RateCDR] => 1
)
[2025-04-09 10:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:03:06' and `end` < '2025-04-09 10:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:03:12] Production.ERROR: CronJobId end10
[2025-04-09 10:03:12] Production.INFO: ==21812== Releasing lock...
[2025-04-09 10:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:03:15] Production.INFO: call_cost start
[2025-04-09 10:03:15] Production.INFO: call_cost end
[2025-04-09 10:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:03:16] Production.INFO: ==21808== Releasing lock...
[2025-04-09 10:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:03:19] Production.INFO: count ==2107
[2025-04-09 10:03:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:03:06 - End Time 2025-04-09 10:03:06
[2025-04-09 10:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868802', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868802', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868802', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868802', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:03:20] Production.INFO: ProcessCDR(1,14868802,1,1,2)
[2025-04-09 10:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868802', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868802', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:03:25] Production.INFO: ==21816== Releasing lock...
[2025-04-09 10:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:03:25] Production.INFO: 44.25 MB #Memory Used#
[2025-04-09 15:04:01] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-04-09 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:04:01] Production.INFO: neon service started
[2025-04-09 15:04:01] Production.INFO: neon service started
[2025-04-09 15:04:01] Production.INFO: ==21882== Releasing lock...
[2025-04-09 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:04:02] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-04-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:04:02] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-04-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:04:02] Production.INFO: ==21886== Releasing lock...
[2025-04-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:04:02] Production.INFO: ==21884== Releasing lock...
[2025-04-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:04:03] Production.INFO: ==21889== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:04:03] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:04:03] Production.INFO: ==21897== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:04:03] Production.INFO: ==21891== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:04:03] Production.INFO: ==21895== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:04:03] Production.INFO: ==21899== Lock acquired, processing the job...
[2025-04-09 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:04:03] Production.INFO: Account Balance Start.
[2025-04-09 10:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:04:03] Production.INFO: 117
[2025-04-09 10:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:04:04] Production.ERROR: done
[2025-04-09 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:04:04] Production.INFO: count ==12
[2025-04-09 10:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:04:04] Production.INFO: count ==23
[2025-04-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868806') start
[2025-04-09 10:04:04] Production.INFO: Total Charge 0
[2025-04-09 10:04:04] Production.INFO: CreateAllLog End
[2025-04-09 10:04:04] Production.INFO: ==21891== Releasing lock...
[2025-04-09 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:04:04] Production.ERROR: done
[2025-04-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868806') end
[2025-04-09 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:04:04] Production.INFO: 1
[2025-04-09 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:04:04] Production.INFO: Account Balance End.
[2025-04-09 10:04:04] Production.INFO: ==21899== Releasing lock...
[2025-04-09 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:04:04] Production.INFO: ==21895== Releasing lock...
[2025-04-09 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:04:05
[end_date_ymd] => 2025-04-09 10:04:05
[RateCDR] => 1
)
[2025-04-09 10:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:04:05' and `end` < '2025-04-09 10:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:04:11] Production.ERROR: CronJobId end10
[2025-04-09 10:04:11] Production.INFO: ==21893== Releasing lock...
[2025-04-09 10:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:04:14] Production.INFO: call_cost start
[2025-04-09 10:04:14] Production.INFO: call_cost end
[2025-04-09 10:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:04:15] Production.INFO: ==21889== Releasing lock...
[2025-04-09 10:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:04:18] Production.INFO: count ==2131
[2025-04-09 10:04:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:04:05 - End Time 2025-04-09 10:04:05
[2025-04-09 10:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868807', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868807', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868807', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868807', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:04:19] Production.INFO: ProcessCDR(1,14868807,1,1,2)
[2025-04-09 10:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868807', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868807', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:04:23] Production.INFO: ==21897== Releasing lock...
[2025-04-09 10:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:04:23] Production.INFO: 44.5 MB #Memory Used#
[2025-04-09 15:05:01] Production.INFO: ==21967== Lock acquired, processing the job...
[2025-04-09 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:05:01] Production.INFO: neon service started
[2025-04-09 15:05:01] Production.INFO: neon service started
[2025-04-09 15:05:01] Production.INFO: ==21967== Releasing lock...
[2025-04-09 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:05:02] Production.INFO: ==21969== Lock acquired, processing the job...
[2025-04-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:05:02] Production.INFO: ==21969== Releasing lock...
[2025-04-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:05:02] Production.INFO: ==21971== Lock acquired, processing the job...
[2025-04-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:05:02] Production.INFO: ==21971== Releasing lock...
[2025-04-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:05:03] Production.INFO: ==21984== Lock acquired, processing the job...
[2025-04-09 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:05:03] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-04-09 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:05:03] Production.INFO: ==21975== Lock acquired, processing the job...
[2025-04-09 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:05:03] Production.INFO: ==21973== Lock acquired, processing the job...
[2025-04-09 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:05:03] Production.INFO: count ==12
[2025-04-09 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-04-09 10:05:03] Production.INFO: count ==23
[2025-04-09 10:05:03] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-04-09 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868808') start
[2025-04-09 10:05:04] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-04-09 10:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:05:04] Production.INFO: Account Balance Start.
[2025-04-09 10:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:05:04] Production.INFO: 117
[2025-04-09 10:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868808') end
[2025-04-09 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:05:04] Production.INFO: 1
[2025-04-09 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:05:04] Production.INFO: ==21984== Releasing lock...
[2025-04-09 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:05:04] Production.INFO: Total Charge 0
[2025-04-09 10:05:04] Production.INFO: CreateAllLog End
[2025-04-09 10:05:04] Production.INFO: ==21975== Releasing lock...
[2025-04-09 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:05:04] Production.INFO: Account Balance End.
[2025-04-09 10:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:05:04] Production.INFO: ==21979== Releasing lock...
[2025-04-09 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:05:04] Production.ERROR: done
[2025-04-09 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:05:04] Production.ERROR: done
[2025-04-09 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:05:05
[end_date_ymd] => 2025-04-09 10:05:05
[RateCDR] => 1
)
[2025-04-09 10:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:05:05' and `end` < '2025-04-09 10:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:05:12] Production.ERROR: CronJobId end10
[2025-04-09 10:05:12] Production.INFO: ==21977== Releasing lock...
[2025-04-09 10:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:05:15] Production.INFO: call_cost start
[2025-04-09 10:05:15] Production.INFO: call_cost end
[2025-04-09 10:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:05:16] Production.INFO: ==21973== Releasing lock...
[2025-04-09 10:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:05:19] Production.INFO: count ==2143
[2025-04-09 10:05:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:05:05 - End Time 2025-04-09 10:05:05
[2025-04-09 10:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868812', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868812', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868812', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868812', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:05:20] Production.INFO: ProcessCDR(1,14868812,1,1,2)
[2025-04-09 10:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868812', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868812', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:05:24] Production.INFO: ==21981== Releasing lock...
[2025-04-09 10:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:05:24] Production.INFO: 44.75 MB #Memory Used#
[2025-04-09 15:06:01] Production.INFO: ==22040== Lock acquired, processing the job...
[2025-04-09 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:06:01] Production.INFO: neon service started
[2025-04-09 15:06:01] Production.INFO: neon service started
[2025-04-09 15:06:01] Production.INFO: ==22040== Releasing lock...
[2025-04-09 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:06:01] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:06:02] Production.INFO: ==22044== Lock acquired, processing the job...
[2025-04-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:06:02] Production.INFO: ==22044== Releasing lock...
[2025-04-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:06:02] Production.INFO: ==22042== Lock acquired, processing the job...
[2025-04-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:06:02] Production.INFO: ==22042== Releasing lock...
[2025-04-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:06:03] Production.INFO: ==22049== Lock acquired, processing the job...
[2025-04-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:06:03] Production.INFO: ==22057== Lock acquired, processing the job...
[2025-04-09 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:06:03] Production.INFO: ==22047== Lock acquired, processing the job...
[2025-04-09 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:06:03] Production.INFO: ==22049== Releasing lock...
[2025-04-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:06:04] Production.INFO: count ==12
[2025-04-09 10:06:04] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-04-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 10:06:04] Production.INFO: count ==23
[2025-04-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868814') start
[2025-04-09 10:06:04] Production.INFO: ==22051== Lock acquired, processing the job...
[2025-04-09 10:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:06:04] Production.INFO: ==22055== Lock acquired, processing the job...
[2025-04-09 10:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868814') end
[2025-04-09 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:06:04] Production.INFO: 1
[2025-04-09 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:06:04] Production.INFO: ==22057== Releasing lock...
[2025-04-09 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:06:04] Production.INFO: Account Balance Start.
[2025-04-09 10:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:06:04] Production.INFO: 117
[2025-04-09 10:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:06:04] Production.INFO: Total Charge 0
[2025-04-09 10:06:04] Production.INFO: CreateAllLog End
[2025-04-09 10:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:06:04] Production.ERROR: done
[2025-04-09 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:06:04] Production.INFO: Account Balance End.
[2025-04-09 10:06:04] Production.ERROR: done
[2025-04-09 10:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:06:04] Production.INFO: ==22053== Releasing lock...
[2025-04-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:06:06
[end_date_ymd] => 2025-04-09 10:06:06
[RateCDR] => 1
)
[2025-04-09 10:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:06:06' and `end` < '2025-04-09 10:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:06:13] Production.ERROR: CronJobId end10
[2025-04-09 10:06:13] Production.INFO: ==22051== Releasing lock...
[2025-04-09 10:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:06:16] Production.INFO: call_cost start
[2025-04-09 10:06:16] Production.INFO: call_cost end
[2025-04-09 10:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:06:17] Production.INFO: ==22047== Releasing lock...
[2025-04-09 10:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:06:19] Production.INFO: count ==2151
[2025-04-09 10:06:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:06:06 - End Time 2025-04-09 10:06:06
[2025-04-09 10:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868817', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868817', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868817', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868817', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:06:20] Production.INFO: ProcessCDR(1,14868817,1,1,2)
[2025-04-09 10:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868817', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868817', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:06:24] Production.INFO: ==22055== Releasing lock...
[2025-04-09 10:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:06:24] Production.INFO: 45 MB #Memory Used#
[2025-04-09 15:07:01] Production.INFO: ==22114== Lock acquired, processing the job...
[2025-04-09 15:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:07:02] Production.INFO: neon service started
[2025-04-09 15:07:02] Production.INFO: neon service started
[2025-04-09 15:07:02] Production.INFO: ==22114== Releasing lock...
[2025-04-09 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:07:02] Production.INFO: ==22118== Lock acquired, processing the job...
[2025-04-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:07:02] Production.INFO: ==22118== Releasing lock...
[2025-04-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:07:02] Production.INFO: ==22116== Lock acquired, processing the job...
[2025-04-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:07:02] Production.INFO: ==22116== Releasing lock...
[2025-04-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:07:03] Production.INFO: ==22125== Lock acquired, processing the job...
[2025-04-09 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:07:03] Production.INFO: ==22120== Lock acquired, processing the job...
[2025-04-09 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:07:04] Production.INFO: ==22122== Lock acquired, processing the job...
[2025-04-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:07:04] Production.INFO: ==22130== Lock acquired, processing the job...
[2025-04-09 10:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:07:04] Production.INFO: ==22132== Lock acquired, processing the job...
[2025-04-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:07:04] Production.INFO: ==22127== Lock acquired, processing the job...
[2025-04-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:07:04] Production.INFO: Account Balance Start.
[2025-04-09 10:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:07:04] Production.INFO: 117
[2025-04-09 10:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:07:04] Production.ERROR: done
[2025-04-09 10:07:04] Production.INFO: ==22122== Releasing lock...
[2025-04-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:07:04] Production.INFO: count ==12
[2025-04-09 10:07:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:07:04] Production.INFO: count ==23
[2025-04-09 10:07:04] Production.INFO: Total Charge 0
[2025-04-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868820') start
[2025-04-09 10:07:04] Production.INFO: CreateAllLog End
[2025-04-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868820') end
[2025-04-09 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:07:04] Production.INFO: 1
[2025-04-09 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:07:04] Production.ERROR: done
[2025-04-09 10:07:04] Production.INFO: ==22132== Releasing lock...
[2025-04-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:07:04] Production.INFO: Account Balance End.
[2025-04-09 10:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:07:04] Production.INFO: ==22127== Releasing lock...
[2025-04-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:07:05
[end_date_ymd] => 2025-04-09 10:07:05
[RateCDR] => 1
)
[2025-04-09 10:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:07:05' and `end` < '2025-04-09 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-04-09 10:07:13] Production.ERROR: CronJobId end10
[2025-04-09 10:07:13] Production.INFO: ==22125== Releasing lock...
[2025-04-09 10:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:07:16] Production.INFO: call_cost start
[2025-04-09 10:07:16] Production.INFO: call_cost end
[2025-04-09 10:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:07:17] Production.INFO: ==22120== Releasing lock...
[2025-04-09 10:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:07:19] Production.INFO: count ==2153
[2025-04-09 10:07:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:07:05 - End Time 2025-04-09 10:07:05
[2025-04-09 10:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868822', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868822', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868822', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868822', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:07:20] Production.INFO: ProcessCDR(1,14868822,1,1,2)
[2025-04-09 10:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868822', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868822', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:07:25] Production.INFO: ==22130== Releasing lock...
[2025-04-09 10:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:07:25] Production.INFO: 44.25 MB #Memory Used#
[2025-04-09 15:08:01] Production.INFO: ==22187== Lock acquired, processing the job...
[2025-04-09 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:08:01] Production.INFO: neon service started
[2025-04-09 15:08:01] Production.INFO: neon service started
[2025-04-09 15:08:01] Production.INFO: ==22187== Releasing lock...
[2025-04-09 15:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:08:01] Production.INFO: ==22189== Lock acquired, processing the job...
[2025-04-09 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:08:02] Production.INFO: ==22189== Releasing lock...
[2025-04-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:08:02] Production.INFO: ==22191== Lock acquired, processing the job...
[2025-04-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:08:02] Production.INFO: ==22191== Releasing lock...
[2025-04-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:08:03] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:08:03] Production.INFO: ==22197== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:08:03] Production.INFO: ==22193== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:08:03] Production.INFO: Account Balance Start.
[2025-04-09 10:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:08:03] Production.INFO: 117
[2025-04-09 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:08:03] Production.INFO: ==22195== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:08:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:08:03] Production.INFO: Total Charge 0
[2025-04-09 10:08:03] Production.INFO: CreateAllLog End
[2025-04-09 10:08:03] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:08:03] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-04-09 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:08:03] Production.INFO: Account Balance End.
[2025-04-09 10:08:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:08:03] Production.INFO: ==22199== Releasing lock...
[2025-04-09 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 10:08:03] Production.INFO: count ==12
[2025-04-09 10:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:08:04] Production.INFO: count ==23
[2025-04-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868826') start
[2025-04-09 10:08:04] Production.INFO: ==22195== Releasing lock...
[2025-04-09 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868826') end
[2025-04-09 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:08:04] Production.INFO: 1
[2025-04-09 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:08:04] Production.INFO: ==22203== Releasing lock...
[2025-04-09 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:08:04] Production.ERROR: done
[2025-04-09 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:08:04] Production.ERROR: done
[2025-04-09 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:08:05
[end_date_ymd] => 2025-04-09 10:08:05
[RateCDR] => 1
)
[2025-04-09 10:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:08:05' and `end` < '2025-04-09 10:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:08:13] Production.ERROR: CronJobId end10
[2025-04-09 10:08:13] Production.INFO: ==22197== Releasing lock...
[2025-04-09 10:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:08:15] Production.INFO: call_cost start
[2025-04-09 10:08:15] Production.INFO: call_cost end
[2025-04-09 10:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:08:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:08:17] Production.INFO: ==22193== Releasing lock...
[2025-04-09 10:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:08:19] Production.INFO: count ==2155
[2025-04-09 10:08:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:08:05 - End Time 2025-04-09 10:08:05
[2025-04-09 10:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868827', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868827', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868827', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868827', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:08:19] Production.INFO: ProcessCDR(1,14868827,1,1,2)
[2025-04-09 10:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868827', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868827', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:08:25] Production.INFO: ==22201== Releasing lock...
[2025-04-09 10:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:08:25] Production.INFO: 44.5 MB #Memory Used#
[2025-04-09 15:09:02] Production.INFO: ==22263== Lock acquired, processing the job...
[2025-04-09 15:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:09:02] Production.INFO: neon service started
[2025-04-09 15:09:02] Production.INFO: neon service started
[2025-04-09 15:09:02] Production.INFO: ==22263== Releasing lock...
[2025-04-09 15:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:09:02] Production.INFO: ==22265== Lock acquired, processing the job...
[2025-04-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:09:02] Production.INFO: ==22267== Lock acquired, processing the job...
[2025-04-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:09:02] Production.INFO: ==22267== Releasing lock...
[2025-04-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:09:02] Production.INFO: ==22265== Releasing lock...
[2025-04-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:09:03] Production.INFO: ==22269== Lock acquired, processing the job...
[2025-04-09 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:09:03] Production.INFO: ==22271== Lock acquired, processing the job...
[2025-04-09 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:09:03] Production.INFO: ==22280== Lock acquired, processing the job...
[2025-04-09 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:09:04] Production.INFO: ==22273== Lock acquired, processing the job...
[2025-04-09 10:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:09:04] Production.INFO: count ==12
[2025-04-09 10:09:04] Production.INFO: ==22275== Lock acquired, processing the job...
[2025-04-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:09:04] Production.INFO: count ==23
[2025-04-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868830') start
[2025-04-09 10:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:09:04] Production.INFO: Account Balance Start.
[2025-04-09 10:09:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:09:04] Production.INFO: ==22278== Lock acquired, processing the job...
[2025-04-09 10:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:09:04] Production.INFO: 117
[2025-04-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868830') end
[2025-04-09 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:09:04] Production.INFO: 1
[2025-04-09 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:09:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:09:04] Production.INFO: ==22280== Releasing lock...
[2025-04-09 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:09:04] Production.INFO: ==22271== Releasing lock...
[2025-04-09 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:09:04] Production.INFO: Total Charge 0
[2025-04-09 10:09:04] Production.INFO: CreateAllLog End
[2025-04-09 10:09:04] Production.ERROR: done
[2025-04-09 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:09:04] Production.INFO: Account Balance End.
[2025-04-09 10:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:09:04] Production.INFO: ==22275== Releasing lock...
[2025-04-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:09:04] Production.ERROR: done
[2025-04-09 10:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:09:06
[end_date_ymd] => 2025-04-09 10:09:06
[RateCDR] => 1
)
[2025-04-09 10:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:09:06' and `end` < '2025-04-09 10:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:09:13] Production.ERROR: CronJobId end10
[2025-04-09 10:09:13] Production.INFO: ==22273== Releasing lock...
[2025-04-09 10:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:09:15] Production.INFO: call_cost start
[2025-04-09 10:09:15] Production.INFO: call_cost end
[2025-04-09 10:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:09:16] Production.INFO: ==22269== Releasing lock...
[2025-04-09 10:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:09:19] Production.INFO: count ==2165
[2025-04-09 10:09:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:09:06 - End Time 2025-04-09 10:09:06
[2025-04-09 10:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868832', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868832', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868832', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868832', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:09:20] Production.INFO: ProcessCDR(1,14868832,1,1,2)
[2025-04-09 10:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868832', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868832', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:09:26] Production.INFO: ==22278== Releasing lock...
[2025-04-09 10:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:09:26] Production.INFO: 44.75 MB #Memory Used#
[2025-04-09 15:10:01] Production.INFO: ==22337== Lock acquired, processing the job...
[2025-04-09 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:10:01] Production.INFO: neon service started
[2025-04-09 15:10:01] Production.INFO: neon service started
[2025-04-09 15:10:01] Production.INFO: ==22337== Releasing lock...
[2025-04-09 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:10:02] Production.INFO: ==22339== Lock acquired, processing the job...
[2025-04-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:10:02] Production.INFO: ==22341== Lock acquired, processing the job...
[2025-04-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:10:02] Production.INFO: ==22341== Releasing lock...
[2025-04-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:10:02] Production.INFO: ==22339== Releasing lock...
[2025-04-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:10:04] Production.INFO: ==22344== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:10:04] Production.INFO: ==22348== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:10:04] Production.INFO: ==22346== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:10:04] Production.INFO: ==22344== Releasing lock...
[2025-04-09 10:10:04] Production.INFO: ==22350== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:10:04] Production.INFO: ==22358== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:10:04] Production.INFO: count ==12
[2025-04-09 10:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:10:04] Production.INFO: count ==23
[2025-04-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868834') start
[2025-04-09 10:10:04] Production.INFO: ==22352== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:10:04] Production.INFO: ==22354== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:10:04] Production.INFO: ==22356== Lock acquired, processing the job...
[2025-04-09 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868834') end
[2025-04-09 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:10:04] Production.INFO: 1
[2025-04-09 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:10:04] Production.INFO: ==22348== Releasing lock...
[2025-04-09 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:10:04] Production.INFO: ==22358== Releasing lock...
[2025-04-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:10:04] Production.INFO: Account Balance Start.
[2025-04-09 10:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:10:04] Production.INFO: 117
[2025-04-09 10:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:10:05] Production.INFO: Date 2025-04-09
[2025-04-09 10:10:05] Production.INFO: Reseller ==> 0
[2025-04-09 10:10:05] Production.INFO: Total Charge 0
[2025-04-09 10:10:05] Production.INFO: CreateAllLog End
[2025-04-09 10:10:05] Production.ERROR: done
[2025-04-09 10:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:10:05] Production.ERROR: done
[2025-04-09 10:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868837', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:10:05] Production.ERROR: done
[2025-04-09 10:10:05] Production.INFO: Account Balance End.
[2025-04-09 10:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:10:05] Production.INFO: ==22352== Releasing lock...
[2025-04-09 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:10:06
[end_date_ymd] => 2025-04-09 10:10:06
[RateCDR] => 1
)
[2025-04-09 10:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:10:06' and `end` < '2025-04-09 10:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:10:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868837', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:10:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:10:11] Production.INFO: ProcessCDR(1,14868837,1,1,2)
[2025-04-09 10:10:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:10:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:10:11] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:10:11] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:10:11] Production.INFO: ==22356== Releasing lock...
[2025-04-09 10:10:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:10:11] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:10:13] Production.ERROR: CronJobId end10
[2025-04-09 10:10:13] Production.INFO: ==22350== Releasing lock...
[2025-04-09 10:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:10:17] Production.INFO: call_cost start
[2025-04-09 10:10:17] Production.INFO: call_cost end
[2025-04-09 10:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:10:18] Production.INFO: ==22346== Releasing lock...
[2025-04-09 10:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:10:20] Production.INFO: count ==2288
[2025-04-09 10:10:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:10:06 - End Time 2025-04-09 10:10:06
[2025-04-09 10:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868838', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868838', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868838', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868838', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:10:21] Production.INFO: ProcessCDR(1,14868838,1,1,2)
[2025-04-09 10:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868838', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868838', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:10:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:10:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:10:26] Production.INFO: ==22354== Releasing lock...
[2025-04-09 10:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:10:26] Production.INFO: 45.5 MB #Memory Used#
[2025-04-09 15:11:02] Production.INFO: ==22415== Lock acquired, processing the job...
[2025-04-09 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:11:02] Production.INFO: neon service started
[2025-04-09 15:11:02] Production.INFO: neon service started
[2025-04-09 15:11:02] Production.INFO: ==22415== Releasing lock...
[2025-04-09 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:11:02] Production.INFO: ==22417== Lock acquired, processing the job...
[2025-04-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:11:02] Production.INFO: ==22417== Releasing lock...
[2025-04-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:11:03] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:11:03] Production.INFO: ==22419== Releasing lock...
[2025-04-09 14:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:11:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:11:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-04-09 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:11:03] Production.INFO: ==22432== Lock acquired, processing the job...
[2025-04-09 10:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:11:03] Production.INFO: Account Balance Start.
[2025-04-09 10:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:11:03] Production.INFO: 117
[2025-04-09 10:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:11:03] Production.INFO: ==22421== Lock acquired, processing the job...
[2025-04-09 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:11:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:11:04] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-04-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:11:04] Production.INFO: Total Charge 0
[2025-04-09 10:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:11:04] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-04-09 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:11:04] Production.INFO: count ==12
[2025-04-09 10:11:04] Production.INFO: CreateAllLog End
[2025-04-09 10:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:11:04] Production.INFO: count ==23
[2025-04-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868840') start
[2025-04-09 10:11:04] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-04-09 10:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868840') end
[2025-04-09 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:11:04] Production.INFO: 1
[2025-04-09 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:11:04] Production.INFO: ==22432== Releasing lock...
[2025-04-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:11:04] Production.INFO: Account Balance End.
[2025-04-09 10:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:11:04] Production.INFO: ==22427== Releasing lock...
[2025-04-09 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:11:04] Production.ERROR: done
[2025-04-09 10:11:04] Production.INFO: ==22423== Releasing lock...
[2025-04-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:11:05] Production.ERROR: done
[2025-04-09 10:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:11:06
[end_date_ymd] => 2025-04-09 10:11:06
[RateCDR] => 1
)
[2025-04-09 10:11:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:11:06' and `end` < '2025-04-09 10:11:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:11:13] Production.ERROR: CronJobId end10
[2025-04-09 10:11:13] Production.INFO: ==22425== Releasing lock...
[2025-04-09 10:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:11:15] Production.INFO: call_cost start
[2025-04-09 10:11:15] Production.INFO: call_cost end
[2025-04-09 10:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:11:16] Production.INFO: ==22421== Releasing lock...
[2025-04-09 10:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:11:19] Production.INFO: count ==2389
[2025-04-09 10:11:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:11:06 - End Time 2025-04-09 10:11:06
[2025-04-09 10:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868843', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868843', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868843', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868843', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:11:20] Production.INFO: ProcessCDR(1,14868843,1,1,2)
[2025-04-09 10:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868843', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868843', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:11:25] Production.INFO: ==22429== Releasing lock...
[2025-04-09 10:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:11:25] Production.INFO: 46.25 MB #Memory Used#
[2025-04-09 15:12:01] Production.INFO: ==22487== Lock acquired, processing the job...
[2025-04-09 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:12:01] Production.INFO: neon service started
[2025-04-09 15:12:01] Production.INFO: neon service started
[2025-04-09 15:12:01] Production.INFO: ==22487== Releasing lock...
[2025-04-09 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:12:01] Production.INFO: ==22491== Lock acquired, processing the job...
[2025-04-09 14:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:12:01] Production.INFO: ==22491== Releasing lock...
[2025-04-09 14:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:12:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:12:02] Production.INFO: ==22489== Lock acquired, processing the job...
[2025-04-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:12:02] Production.INFO: ==22489== Releasing lock...
[2025-04-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:12:03] Production.INFO: ==22502== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:12:03] Production.INFO: ==22500== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:12:03] Production.INFO: Account Balance Start.
[2025-04-09 10:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:12:03] Production.INFO: 117
[2025-04-09 10:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:12:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:12:03] Production.INFO: ==22496== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:12:03] Production.INFO: Total Charge 0
[2025-04-09 10:12:03] Production.INFO: ==22494== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:12:03] Production.INFO: CreateAllLog End
[2025-04-09 10:12:03] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:12:03] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-04-09 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:12:04] Production.ERROR: done
[2025-04-09 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:12:04] Production.INFO: Account Balance End.
[2025-04-09 10:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:12:04] Production.INFO: ==22500== Releasing lock...
[2025-04-09 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:12:04] Production.INFO: count ==12
[2025-04-09 10:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:12:04] Production.INFO: count ==23
[2025-04-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868847') start
[2025-04-09 10:12:04] Production.ERROR: done
[2025-04-09 10:12:04] Production.INFO: ==22496== Releasing lock...
[2025-04-09 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868847') end
[2025-04-09 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:12:04] Production.INFO: 1
[2025-04-09 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:12:04] Production.INFO: ==22504== Releasing lock...
[2025-04-09 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:12:05
[end_date_ymd] => 2025-04-09 10:12:05
[RateCDR] => 1
)
[2025-04-09 10:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:12:05' and `end` < '2025-04-09 10:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:12:12] Production.ERROR: CronJobId end10
[2025-04-09 10:12:12] Production.INFO: ==22498== Releasing lock...
[2025-04-09 10:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:12:15] Production.INFO: call_cost start
[2025-04-09 10:12:15] Production.INFO: call_cost end
[2025-04-09 10:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:12:16] Production.INFO: ==22494== Releasing lock...
[2025-04-09 10:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:12:18] Production.INFO: count ==2404
[2025-04-09 10:12:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:12:05 - End Time 2025-04-09 10:12:05
[2025-04-09 10:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868848', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868848', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868848', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868848', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:12:19] Production.INFO: ProcessCDR(1,14868848,1,1,2)
[2025-04-09 10:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868848', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868848', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:12:25] Production.INFO: ==22502== Releasing lock...
[2025-04-09 10:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:12:25] Production.INFO: 46 MB #Memory Used#
[2025-04-09 15:13:02] Production.INFO: ==22556== Lock acquired, processing the job...
[2025-04-09 15:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:13:02] Production.INFO: neon service started
[2025-04-09 15:13:02] Production.INFO: neon service started
[2025-04-09 15:13:02] Production.INFO: ==22556== Releasing lock...
[2025-04-09 15:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:13:02] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-04-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:13:02] Production.INFO: ==22559== Releasing lock...
[2025-04-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:13:02] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-04-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:13:03] Production.INFO: ==22561== Releasing lock...
[2025-04-09 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:13:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:13:03] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-04-09 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:13:03] Production.INFO: Account Balance Start.
[2025-04-09 10:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:13:03] Production.INFO: 117
[2025-04-09 10:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:13:03] Production.INFO: Total Charge 0
[2025-04-09 10:13:03] Production.INFO: CreateAllLog End
[2025-04-09 10:13:03] Production.INFO: Account Balance End.
[2025-04-09 10:13:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:13:03] Production.INFO: ==22569== Releasing lock...
[2025-04-09 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:13:04] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-04-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:13:04] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-04-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:13:04] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-04-09 10:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:13:04] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-04-09 10:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:13:04] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-04-09 10:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:13:04] Production.INFO: count ==12
[2025-04-09 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:13:04] Production.INFO: count ==23
[2025-04-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868851') start
[2025-04-09 10:13:04] Production.INFO: ==22565== Releasing lock...
[2025-04-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868851') end
[2025-04-09 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:13:04] Production.INFO: 1
[2025-04-09 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:13:04] Production.ERROR: done
[2025-04-09 10:13:04] Production.INFO: ==22573== Releasing lock...
[2025-04-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:13:04] Production.ERROR: done
[2025-04-09 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:13:05
[end_date_ymd] => 2025-04-09 10:13:05
[RateCDR] => 1
)
[2025-04-09 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:13:05' and `end` < '2025-04-09 10:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:13:12] Production.ERROR: CronJobId end10
[2025-04-09 10:13:12] Production.INFO: ==22567== Releasing lock...
[2025-04-09 10:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:13:16] Production.INFO: call_cost start
[2025-04-09 10:13:16] Production.INFO: call_cost end
[2025-04-09 10:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:13:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:13:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:13:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:13:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:13:17] Production.INFO: ==22563== Releasing lock...
[2025-04-09 10:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:13:19] Production.INFO: count ==2450
[2025-04-09 10:13:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:13:05 - End Time 2025-04-09 10:13:05
[2025-04-09 10:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868853', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868853', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868853', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868853', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:13:20] Production.INFO: ProcessCDR(1,14868853,1,1,2)
[2025-04-09 10:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868853', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868853', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:13:25] Production.INFO: ==22571== Releasing lock...
[2025-04-09 10:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:13:25] Production.INFO: 46.5 MB #Memory Used#
[2025-04-09 15:14:01] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-04-09 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:14:01] Production.INFO: neon service started
[2025-04-09 15:14:01] Production.INFO: neon service started
[2025-04-09 15:14:01] Production.INFO: ==22632== Releasing lock...
[2025-04-09 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:14:02] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-04-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:14:02] Production.INFO: ==22636== Lock acquired, processing the job...
[2025-04-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:14:02] Production.INFO: ==22636== Releasing lock...
[2025-04-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:14:02] Production.INFO: ==22634== Releasing lock...
[2025-04-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:14:03] Production.INFO: ==22648== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:14:03] Production.INFO: ==22650== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:14:03] Production.INFO: count ==12
[2025-04-09 10:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:14:03] Production.INFO: count ==23
[2025-04-09 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868854') start
[2025-04-09 10:14:03] Production.INFO: ==22640== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:14:03] Production.INFO: ==22642== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868854') end
[2025-04-09 10:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:14:03] Production.INFO: 1
[2025-04-09 10:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:14:03] Production.INFO: ==22644== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:14:03] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-04-09 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:14:04] Production.INFO: ==22650== Releasing lock...
[2025-04-09 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:14:04] Production.INFO: Account Balance Start.
[2025-04-09 10:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:14:04] Production.INFO: 117
[2025-04-09 10:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:14:04] Production.ERROR: done
[2025-04-09 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:14:04] Production.INFO: Total Charge 0
[2025-04-09 10:14:04] Production.INFO: CreateAllLog End
[2025-04-09 10:14:04] Production.ERROR: done
[2025-04-09 10:14:04] Production.INFO: ==22642== Releasing lock...
[2025-04-09 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:14:04] Production.INFO: Account Balance End.
[2025-04-09 10:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:14:04] Production.INFO: ==22646== Releasing lock...
[2025-04-09 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:14:05
[end_date_ymd] => 2025-04-09 10:14:05
[RateCDR] => 1
)
[2025-04-09 10:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:14:05' and `end` < '2025-04-09 10:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:14:11] Production.ERROR: CronJobId end10
[2025-04-09 10:14:11] Production.INFO: ==22644== Releasing lock...
[2025-04-09 10:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:14:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:14:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:14:15] Production.INFO: call_cost start
[2025-04-09 10:14:15] Production.INFO: call_cost end
[2025-04-09 10:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:14:16] Production.INFO: ==22640== Releasing lock...
[2025-04-09 10:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:14:18] Production.INFO: count ==2464
[2025-04-09 10:14:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:14:05 - End Time 2025-04-09 10:14:05
[2025-04-09 10:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868858', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868858', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868858', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868858', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:14:19] Production.INFO: ProcessCDR(1,14868858,1,1,2)
[2025-04-09 10:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868858', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868858', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:14:25] Production.INFO: ==22648== Releasing lock...
[2025-04-09 10:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:14:25] Production.INFO: 46.5 MB #Memory Used#
[2025-04-09 15:15:01] Production.INFO: ==22710== Lock acquired, processing the job...
[2025-04-09 15:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:15:01] Production.INFO: neon service started
[2025-04-09 15:15:01] Production.INFO: neon service started
[2025-04-09 15:15:01] Production.INFO: ==22710== Releasing lock...
[2025-04-09 15:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:15:02] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-04-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:15:02] Production.INFO: ==22714== Releasing lock...
[2025-04-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:15:02] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-04-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:15:02] Production.INFO: ==22712== Releasing lock...
[2025-04-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:15:03] Production.INFO: ==22719== Lock acquired, processing the job...
[2025-04-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:15:03] Production.INFO: ==22723== Lock acquired, processing the job...
[2025-04-09 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:15:04] Production.INFO: ==22717== Lock acquired, processing the job...
[2025-04-09 10:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:15:04] Production.INFO: Account Balance Start.
[2025-04-09 10:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:15:04] Production.INFO: 117
[2025-04-09 10:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:15:04] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-04-09 10:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:15:04] Production.INFO: Total Charge 0
[2025-04-09 10:15:04] Production.INFO: ==22725== Lock acquired, processing the job...
[2025-04-09 10:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:15:04] Production.INFO: CreateAllLog End
[2025-04-09 10:15:04] Production.INFO: ==22727== Lock acquired, processing the job...
[2025-04-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:15:04] Production.INFO: ==22719== Releasing lock...
[2025-04-09 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:15:04] Production.INFO: Account Balance End.
[2025-04-09 10:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:15:04] Production.INFO: ==22723== Releasing lock...
[2025-04-09 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:15:04] Production.INFO: count ==12
[2025-04-09 10:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:15:04] Production.INFO: count ==23
[2025-04-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868862') start
[2025-04-09 10:15:04] Production.ERROR: done
[2025-04-09 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868862') end
[2025-04-09 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:15:04] Production.INFO: 1
[2025-04-09 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:15:04] Production.INFO: ==22727== Releasing lock...
[2025-04-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:15:05] Production.ERROR: done
[2025-04-09 10:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:15:06
[end_date_ymd] => 2025-04-09 10:15:06
[RateCDR] => 1
)
[2025-04-09 10:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:15:06' and `end` < '2025-04-09 10:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:15:13] Production.ERROR: CronJobId end10
[2025-04-09 10:15:13] Production.INFO: ==22721== Releasing lock...
[2025-04-09 10:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:15:16] Production.INFO: call_cost start
[2025-04-09 10:15:16] Production.INFO: call_cost end
[2025-04-09 10:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:15:17] Production.INFO: ==22717== Releasing lock...
[2025-04-09 10:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:15:19] Production.INFO: count ==2484
[2025-04-09 10:15:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:15:06 - End Time 2025-04-09 10:15:06
[2025-04-09 10:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868863', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868863', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868863', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868863', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:15:20] Production.INFO: ProcessCDR(1,14868863,1,1,2)
[2025-04-09 10:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868863', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868863', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:15:26] Production.INFO: ==22725== Releasing lock...
[2025-04-09 10:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:15:26] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 15:16:01] Production.INFO: ==22823== Lock acquired, processing the job...
[2025-04-09 15:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:16:01] Production.INFO: neon service started
[2025-04-09 15:16:01] Production.INFO: neon service started
[2025-04-09 15:16:01] Production.INFO: ==22823== Releasing lock...
[2025-04-09 15:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:16:01] Production.INFO: ==22827== Lock acquired, processing the job...
[2025-04-09 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:16:01] Production.INFO: ==22827== Releasing lock...
[2025-04-09 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:16:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:16:02] Production.INFO: ==22825== Lock acquired, processing the job...
[2025-04-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:16:02] Production.INFO: ==22825== Releasing lock...
[2025-04-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:16:03] Production.INFO: ==22834== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:16:03] Production.INFO: ==22840== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:16:03] Production.INFO: ==22829== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:16:03] Production.INFO: count ==12
[2025-04-09 10:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:16:03] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:16:03] Production.INFO: count ==23
[2025-04-09 10:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:16:03] Production.INFO: ==22836== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868864') start
[2025-04-09 10:16:03] Production.INFO: ==22838== Lock acquired, processing the job...
[2025-04-09 10:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:16:03] Production.INFO: Account Balance Start.
[2025-04-09 10:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:16:03] Production.INFO: 117
[2025-04-09 10:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868864') end
[2025-04-09 10:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:16:03] Production.INFO: 1
[2025-04-09 10:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:16:03] Production.INFO: ==22840== Releasing lock...
[2025-04-09 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:16:04] Production.INFO: Total Charge 0
[2025-04-09 10:16:04] Production.INFO: CreateAllLog End
[2025-04-09 10:16:04] Production.INFO: ==22832== Releasing lock...
[2025-04-09 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:16:04] Production.ERROR: done
[2025-04-09 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:16:04] Production.ERROR: done
[2025-04-09 10:16:04] Production.INFO: Account Balance End.
[2025-04-09 10:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:16:04] Production.INFO: ==22836== Releasing lock...
[2025-04-09 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:16:05
[end_date_ymd] => 2025-04-09 10:16:05
[RateCDR] => 1
)
[2025-04-09 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:16:05' and `end` < '2025-04-09 10:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:16:11] Production.ERROR: CronJobId end10
[2025-04-09 10:16:11] Production.INFO: ==22834== Releasing lock...
[2025-04-09 10:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:16:16] Production.INFO: call_cost start
[2025-04-09 10:16:16] Production.INFO: call_cost end
[2025-04-09 10:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:16:17] Production.INFO: ==22829== Releasing lock...
[2025-04-09 10:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:16:18] Production.INFO: count ==2484
[2025-04-09 10:16:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:16:05 - End Time 2025-04-09 10:16:05
[2025-04-09 10:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868868', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868868', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868868', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868868', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:16:20] Production.INFO: ProcessCDR(1,14868868,1,1,2)
[2025-04-09 10:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868868', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868868', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:16:24] Production.INFO: ==22838== Releasing lock...
[2025-04-09 10:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:16:24] Production.INFO: 46.75 MB #Memory Used#
[2025-04-09 15:17:01] Production.INFO: ==22894== Lock acquired, processing the job...
[2025-04-09 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:17:01] Production.INFO: neon service started
[2025-04-09 15:17:01] Production.INFO: neon service started
[2025-04-09 15:17:01] Production.INFO: ==22894== Releasing lock...
[2025-04-09 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:17:02] Production.INFO: ==22896== Lock acquired, processing the job...
[2025-04-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:17:02] Production.INFO: ==22898== Lock acquired, processing the job...
[2025-04-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:17:02] Production.INFO: ==22896== Releasing lock...
[2025-04-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:17:02] Production.INFO: ==22898== Releasing lock...
[2025-04-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:17:03] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-04-09 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:17:03] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-04-09 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:17:03] Production.INFO: ==22907== Lock acquired, processing the job...
[2025-04-09 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:17:03] Production.INFO: Account Balance Start.
[2025-04-09 10:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:17:03] Production.INFO: 117
[2025-04-09 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:17:04] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-04-09 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:17:04] Production.INFO: Total Charge 0
[2025-04-09 10:17:04] Production.INFO: CreateAllLog End
[2025-04-09 10:17:04] Production.INFO: ==22909== Lock acquired, processing the job...
[2025-04-09 10:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:17:04] Production.INFO: ==22911== Lock acquired, processing the job...
[2025-04-09 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:17:04] Production.INFO: Account Balance End.
[2025-04-09 10:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:17:04] Production.INFO: ==22907== Releasing lock...
[2025-04-09 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:17:04] Production.INFO: count ==12
[2025-04-09 10:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:17:04] Production.INFO: count ==23
[2025-04-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868872') start
[2025-04-09 10:17:04] Production.INFO: ==22903== Releasing lock...
[2025-04-09 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:17:04] Production.ERROR: done
[2025-04-09 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868872') end
[2025-04-09 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:17:04] Production.INFO: 1
[2025-04-09 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:17:04] Production.INFO: ==22911== Releasing lock...
[2025-04-09 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:17:04] Production.ERROR: done
[2025-04-09 10:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:17:06
[end_date_ymd] => 2025-04-09 10:17:06
[RateCDR] => 1
)
[2025-04-09 10:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:17:06' and `end` < '2025-04-09 10:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:17:13] Production.ERROR: CronJobId end10
[2025-04-09 10:17:13] Production.INFO: ==22905== Releasing lock...
[2025-04-09 10:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:17:15] Production.INFO: call_cost start
[2025-04-09 10:17:15] Production.INFO: call_cost end
[2025-04-09 10:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:17:16] Production.INFO: ==22901== Releasing lock...
[2025-04-09 10:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:17:19] Production.INFO: count ==2490
[2025-04-09 10:17:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:17:06 - End Time 2025-04-09 10:17:06
[2025-04-09 10:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868873', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868873', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868873', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868873', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:17:20] Production.INFO: ProcessCDR(1,14868873,1,1,2)
[2025-04-09 10:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868873', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868873', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:17:25] Production.INFO: ==22909== Releasing lock...
[2025-04-09 10:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:17:25] Production.INFO: 47 MB #Memory Used#
[2025-04-09 15:18:02] Production.INFO: ==22970== Lock acquired, processing the job...
[2025-04-09 15:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:18:02] Production.INFO: neon service started
[2025-04-09 15:18:02] Production.INFO: neon service started
[2025-04-09 15:18:02] Production.INFO: ==22970== Releasing lock...
[2025-04-09 15:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:18:02] Production.INFO: ==22974== Lock acquired, processing the job...
[2025-04-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:18:02] Production.INFO: ==22974== Releasing lock...
[2025-04-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:18:02] Production.INFO: ==22972== Lock acquired, processing the job...
[2025-04-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:18:03] Production.INFO: ==22972== Releasing lock...
[2025-04-09 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:18:04] Production.INFO: ==22977== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:18:04] Production.INFO: ==22979== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:18:04] Production.INFO: ==22985== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:18:04] Production.INFO: ==22981== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:18:04] Production.INFO: ==22983== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:18:04] Production.INFO: ==22987== Lock acquired, processing the job...
[2025-04-09 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:18:04] Production.INFO: ==22979== Releasing lock...
[2025-04-09 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:18:04] Production.INFO: Account Balance Start.
[2025-04-09 10:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:18:04] Production.INFO: 117
[2025-04-09 10:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:18:04] Production.ERROR: done
[2025-04-09 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:18:04] Production.INFO: Total Charge 0
[2025-04-09 10:18:04] Production.INFO: CreateAllLog End
[2025-04-09 10:18: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-04-09 10:18:05] Production.ERROR: done
[2025-04-09 10:18:05] Production.INFO: Account Balance End.
[2025-04-09 10:18:05] Production.INFO: count ==12
[2025-04-09 10:18: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-04-09 10:18:05] Production.INFO: count ==23
[2025-04-09 10:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868877') start
[2025-04-09 10:18:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:18:05] Production.INFO: ==22983== Releasing lock...
[2025-04-09 10:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868877') end
[2025-04-09 10:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:18:05] Production.INFO: 1
[2025-04-09 10:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:18:05] Production.INFO: ==22987== Releasing lock...
[2025-04-09 10:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:18:05
[end_date_ymd] => 2025-04-09 10:18:05
[RateCDR] => 1
)
[2025-04-09 10:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:18:05' and `end` < '2025-04-09 10:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:18:14] Production.ERROR: CronJobId end10
[2025-04-09 10:18:14] Production.INFO: ==22981== Releasing lock...
[2025-04-09 10:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:18:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:18:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:18:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:18:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:18:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:18:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:18:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:18:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:18:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:18:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:18:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:18:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:18:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:18:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:18:17] Production.INFO: call_cost start
[2025-04-09 10:18:17] Production.INFO: call_cost end
[2025-04-09 10:18:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:18:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:18:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:18:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:18:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:18:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:18:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:18:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:18:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:18:18] Production.INFO: ==22977== Releasing lock...
[2025-04-09 10:18:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:18:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:18:19] Production.INFO: count ==2494
[2025-04-09 10:18:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:18:05 - End Time 2025-04-09 10:18:05
[2025-04-09 10:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868878', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868878', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868878', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868878', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:18:20] Production.INFO: ProcessCDR(1,14868878,1,1,2)
[2025-04-09 10:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868878', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868878', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:18:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:18:26] Production.INFO: ==22985== Releasing lock...
[2025-04-09 10:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:18:26] Production.INFO: 47 MB #Memory Used#
[2025-04-09 15:19:01] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-04-09 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:19:01] Production.INFO: neon service started
[2025-04-09 15:19:01] Production.INFO: neon service started
[2025-04-09 15:19:01] Production.INFO: ==23049== Releasing lock...
[2025-04-09 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:19:02] Production.INFO: ==23051== Lock acquired, processing the job...
[2025-04-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:19:02] Production.INFO: ==23053== Lock acquired, processing the job...
[2025-04-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:19:02] Production.INFO: ==23053== Releasing lock...
[2025-04-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:19:02] Production.INFO: ==23051== Releasing lock...
[2025-04-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:19:03] Production.INFO: ==23056== Lock acquired, processing the job...
[2025-04-09 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:19:03] Production.INFO: ==23058== Lock acquired, processing the job...
[2025-04-09 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:19:03] Production.INFO: ==23060== Lock acquired, processing the job...
[2025-04-09 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:19:04] Production.INFO: ==23062== Lock acquired, processing the job...
[2025-04-09 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:19:04] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-04-09 10:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:19:04] Production.INFO: ==23066== Lock acquired, processing the job...
[2025-04-09 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:19:04] Production.INFO: Account Balance Start.
[2025-04-09 10:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:19:04] Production.INFO: 117
[2025-04-09 10:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 10:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:19:04] Production.INFO: count ==12
[2025-04-09 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-04-09 10:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:19:04] Production.INFO: ==23058== Releasing lock...
[2025-04-09 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:19:04] Production.INFO: count ==23
[2025-04-09 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868882') start
[2025-04-09 10:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:19:04] Production.INFO: Total Charge 0
[2025-04-09 10:19:04] Production.INFO: CreateAllLog End
[2025-04-09 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868882') end
[2025-04-09 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:19:04] Production.INFO: 1
[2025-04-09 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:19:04] Production.INFO: ==23066== Releasing lock...
[2025-04-09 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:19:04] Production.ERROR: done
[2025-04-09 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:19:04] Production.ERROR: done
[2025-04-09 10:19:05] Production.INFO: Account Balance End.
[2025-04-09 10:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:19:05] Production.INFO: ==23062== Releasing lock...
[2025-04-09 10:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:19:06
[end_date_ymd] => 2025-04-09 10:19:06
[RateCDR] => 1
)
[2025-04-09 10:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:19:06' and `end` < '2025-04-09 10:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:19:13] Production.ERROR: CronJobId end10
[2025-04-09 10:19:13] Production.INFO: ==23060== Releasing lock...
[2025-04-09 10:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:19:15] Production.INFO: call_cost start
[2025-04-09 10:19:15] Production.INFO: call_cost end
[2025-04-09 10:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:19:16] Production.INFO: ==23056== Releasing lock...
[2025-04-09 10:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:19:19] Production.INFO: count ==2516
[2025-04-09 10:19:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:19:06 - End Time 2025-04-09 10:19:06
[2025-04-09 10:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868883', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868883', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868883', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868883', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:19:20] Production.INFO: ProcessCDR(1,14868883,1,1,2)
[2025-04-09 10:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868883', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868883', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:19:26] Production.INFO: ==23064== Releasing lock...
[2025-04-09 10:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:19:26] Production.INFO: 47 MB #Memory Used#
[2025-04-09 15:20:02] Production.INFO: ==23124== Lock acquired, processing the job...
[2025-04-09 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:20:02] Production.INFO: neon service started
[2025-04-09 15:20:02] Production.INFO: neon service started
[2025-04-09 15:20:02] Production.INFO: ==23124== Releasing lock...
[2025-04-09 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:20:02] Production.INFO: ==23126== Lock acquired, processing the job...
[2025-04-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:20:03] Production.INFO: ==23126== Releasing lock...
[2025-04-09 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:20:03] Production.INFO: ==23128== Lock acquired, processing the job...
[2025-04-09 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:20:03] Production.INFO: ==23128== Releasing lock...
[2025-04-09 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:20:04] Production.INFO: ==23131== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:20:04] Production.INFO: ==23137== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 10:20:04] Production.ERROR: CronJob PID - 23137
[2025-04-09 10:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 10:20:04] Production.ERROR: CronJob ID - 10
[2025-04-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 10:20:00
[2025-04-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:20:04] Production.INFO: ==23131== Releasing lock...
[2025-04-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:20:04] Production.INFO: ==23143== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:20:04] Production.INFO: ==23145== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:20:04] Production.INFO: ==23133== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:20:04] Production.INFO: ==23135== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:20:04] Production.INFO: ==23139== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:20:04] Production.INFO: count ==12
[2025-04-09 10:20:04] Production.INFO: ==23141== Lock acquired, processing the job...
[2025-04-09 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:20:04] Production.INFO: count ==23
[2025-04-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868884') start
[2025-04-09 10:20:04] Production.INFO: Account Balance Start.
[2025-04-09 10:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:20:04] Production.INFO: 117
[2025-04-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:20:04] Production.INFO: Total Charge 0
[2025-04-09 10:20:04] Production.INFO: CreateAllLog End
[2025-04-09 10:20:05] Production.ERROR: done
[2025-04-09 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14868884') end
[2025-04-09 10:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:20:05] Production.INFO: 1
[2025-04-09 10:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:20:05] Production.INFO: ==23145== Releasing lock...
[2025-04-09 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868888', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:20:05] Production.ERROR: done
[2025-04-09 10:20:05] Production.INFO: ==23135== Releasing lock...
[2025-04-09 10:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:20:05] Production.INFO: Account Balance End.
[2025-04-09 10:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:20:05] Production.INFO: ==23139== Releasing lock...
[2025-04-09 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:20:05] Production.ERROR: done
[2025-04-09 10:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:20:07
[end_date_ymd] => 2025-04-09 10:20:07
[RateCDR] => 1
)
[2025-04-09 10:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:20:07' and `end` < '2025-04-09 10:20:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868888', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:20:09] Production.INFO: ProcessCDR(1,14868888,1,1,2)
[2025-04-09 10:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:20:10] Production.INFO: ==23143== Releasing lock...
[2025-04-09 10:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:20:15] Production.ERROR: CronJobId end10
[2025-04-09 10:20:15] Production.INFO: ==23137== Releasing lock...
[2025-04-09 10:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:20:17] Production.INFO: call_cost start
[2025-04-09 10:20:17] Production.INFO: call_cost end
[2025-04-09 10:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:20:18] Production.INFO: ==23133== Releasing lock...
[2025-04-09 10:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:20:20] Production.INFO: count ==2530
[2025-04-09 10:20:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:20:07 - End Time 2025-04-09 10:20:07
[2025-04-09 10:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868889', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868889', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868889', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868889', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:20:21] Production.INFO: ProcessCDR(1,14868889,1,1,2)
[2025-04-09 10:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868889', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868889', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:20:24] Production.INFO: ==23141== Releasing lock...
[2025-04-09 10:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:20:24] Production.INFO: 47 MB #Memory Used#
[2025-04-09 15:21:01] Production.INFO: ==23199== Lock acquired, processing the job...
[2025-04-09 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:21:01] Production.INFO: neon service started
[2025-04-09 15:21:01] Production.INFO: neon service started
[2025-04-09 15:21:01] Production.INFO: ==23199== Releasing lock...
[2025-04-09 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:21:02] Production.INFO: ==23203== Lock acquired, processing the job...
[2025-04-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:21:02] Production.INFO: ==23203== Releasing lock...
[2025-04-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:21:02] Production.INFO: ==23201== Lock acquired, processing the job...
[2025-04-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:21:02] Production.INFO: ==23201== Releasing lock...
[2025-04-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:21:03] Production.INFO: ==23208== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:21:03] Production.INFO: ==23206== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:21:03] Production.INFO: ==23210== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: ==23216== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:21:03] Production.INFO: ==23214== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:21:03] Production.INFO: ==23212== Lock acquired, processing the job...
[2025-04-09 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:21:04] Production.INFO: count ==12
[2025-04-09 10:21:04] Production.INFO: Account Balance Start.
[2025-04-09 10:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:21:04] Production.INFO: 117
[2025-04-09 10:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:21:04] Production.INFO: count ==23
[2025-04-09 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868892') start
[2025-04-09 10:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:21:04] Production.INFO: ==23208== Releasing lock...
[2025-04-09 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:21:04] Production.INFO: Total Charge 0
[2025-04-09 10:21:04] Production.INFO: CreateAllLog End
[2025-04-09 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868892') end
[2025-04-09 10:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:21:04] Production.INFO: 1
[2025-04-09 10:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:21:04] Production.INFO: ==23216== Releasing lock...
[2025-04-09 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:21:04] Production.ERROR: done
[2025-04-09 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:21:04] Production.ERROR: done
[2025-04-09 10:21:04] Production.INFO: Account Balance End.
[2025-04-09 10:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:21:04] Production.INFO: ==23212== Releasing lock...
[2025-04-09 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:21:05
[end_date_ymd] => 2025-04-09 10:21:05
[RateCDR] => 1
)
[2025-04-09 10:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:21:05' and `end` < '2025-04-09 10:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:21:13] Production.ERROR: CronJobId end10
[2025-04-09 10:21:13] Production.INFO: ==23210== Releasing lock...
[2025-04-09 10:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:21:15] Production.INFO: call_cost start
[2025-04-09 10:21:15] Production.INFO: call_cost end
[2025-04-09 10:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:21:16] Production.INFO: ==23206== Releasing lock...
[2025-04-09 10:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:21:19] Production.INFO: count ==2593
[2025-04-09 10:21:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:21:05 - End Time 2025-04-09 10:21:05
[2025-04-09 10:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868894', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868894', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868894', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868894', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:21:20] Production.INFO: ProcessCDR(1,14868894,1,1,2)
[2025-04-09 10:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868894', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868894', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:21:25] Production.INFO: ==23214== Releasing lock...
[2025-04-09 10:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:21:25] Production.INFO: 47.5 MB #Memory Used#
[2025-04-09 15:22:02] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-04-09 15:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:22:02] Production.INFO: neon service started
[2025-04-09 15:22:02] Production.INFO: neon service started
[2025-04-09 15:22:02] Production.INFO: ==23272== Releasing lock...
[2025-04-09 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:22:02] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-04-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:22:02] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-04-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:22:02] Production.INFO: ==23274== Releasing lock...
[2025-04-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:22:03] Production.INFO: ==23276== Releasing lock...
[2025-04-09 14:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:22:03] Production.INFO: ==23283== Lock acquired, processing the job...
[2025-04-09 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:22:03] Production.INFO: ==23287== Lock acquired, processing the job...
[2025-04-09 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:22:03] Production.INFO: ==23289== Lock acquired, processing the job...
[2025-04-09 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:22:04] Production.INFO: count ==12
[2025-04-09 10:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:22:04] Production.INFO: count ==23
[2025-04-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868895') start
[2025-04-09 10:22:04] Production.INFO: ==23278== Lock acquired, processing the job...
[2025-04-09 10:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:22:04] Production.INFO: ==23280== Lock acquired, processing the job...
[2025-04-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:22:04] Production.INFO: ==23285== Lock acquired, processing the job...
[2025-04-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:22:04] Production.ERROR: done
[2025-04-09 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868895') end
[2025-04-09 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:22:04] Production.INFO: 1
[2025-04-09 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:22:04] Production.INFO: Account Balance Start.
[2025-04-09 10:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:22:04] Production.INFO: 117
[2025-04-09 10:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:22:04] Production.INFO: Total Charge 0
[2025-04-09 10:22:04] Production.INFO: CreateAllLog End
[2025-04-09 10:22:04] Production.INFO: ==23289== Releasing lock...
[2025-04-09 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:22:04] Production.ERROR: done
[2025-04-09 10:22:04] Production.INFO: ==23280== Releasing lock...
[2025-04-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:22:04] Production.INFO: Account Balance End.
[2025-04-09 10:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:22:04] Production.INFO: ==23285== Releasing lock...
[2025-04-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:22:05
[end_date_ymd] => 2025-04-09 10:22:05
[RateCDR] => 1
)
[2025-04-09 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:22:05' and `end` < '2025-04-09 10:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:22:12] Production.ERROR: CronJobId end10
[2025-04-09 10:22:12] Production.INFO: ==23283== Releasing lock...
[2025-04-09 10:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:22:16] Production.INFO: call_cost start
[2025-04-09 10:22:16] Production.INFO: call_cost end
[2025-04-09 10:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:22:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:22:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:22:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:22:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:22:17] Production.INFO: ==23278== Releasing lock...
[2025-04-09 10:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:22:18] Production.INFO: count ==2601
[2025-04-09 10:22:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:22:05 - End Time 2025-04-09 10:22:05
[2025-04-09 10:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868899', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868899', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868899', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868899', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:22:19] Production.INFO: ProcessCDR(1,14868899,1,1,2)
[2025-04-09 10:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868899', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868899', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:22:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:22:25] Production.INFO: ==23287== Releasing lock...
[2025-04-09 10:22:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:22:25] Production.INFO: 47.5 MB #Memory Used#
[2025-04-09 15:23:01] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-04-09 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:23:01] Production.INFO: neon service started
[2025-04-09 15:23:01] Production.INFO: neon service started
[2025-04-09 15:23:01] Production.INFO: ==23347== Releasing lock...
[2025-04-09 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:23:02] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-04-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:23:02] Production.INFO: ==23351== Releasing lock...
[2025-04-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:23:02] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-04-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:23:02] Production.INFO: ==23349== Releasing lock...
[2025-04-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:23:03] Production.INFO: ==23357== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:23:03] Production.INFO: ==23363== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:23:03] Production.INFO: ==23355== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:23:03] Production.INFO: count ==12
[2025-04-09 10:23:03] Production.INFO: ==23353== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:23:03] Production.INFO: count ==23
[2025-04-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868900') start
[2025-04-09 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:23:03] Production.INFO: ==23359== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:23:03] Production.INFO: ==23361== Lock acquired, processing the job...
[2025-04-09 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868900') end
[2025-04-09 10:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:23:03] Production.INFO: 1
[2025-04-09 10:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:23:03] Production.INFO: Account Balance Start.
[2025-04-09 10:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:23:03] Production.INFO: 117
[2025-04-09 10:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:23:03] Production.INFO: Total Charge 0
[2025-04-09 10:23:03] Production.INFO: CreateAllLog End
[2025-04-09 10:23:03] Production.INFO: ==23363== Releasing lock...
[2025-04-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:23:04] Production.INFO: ==23355== Releasing lock...
[2025-04-09 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:23:04] Production.ERROR: done
[2025-04-09 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:23:04] Production.INFO: Account Balance End.
[2025-04-09 10:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:23:04] Production.INFO: ==23359== Releasing lock...
[2025-04-09 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:23:04] Production.ERROR: done
[2025-04-09 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:23:05
[end_date_ymd] => 2025-04-09 10:23:05
[RateCDR] => 1
)
[2025-04-09 10:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:23:05' and `end` < '2025-04-09 10:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:23:11] Production.ERROR: CronJobId end10
[2025-04-09 10:23:11] Production.INFO: ==23357== Releasing lock...
[2025-04-09 10:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:23:14] Production.INFO: call_cost start
[2025-04-09 10:23:14] Production.INFO: call_cost end
[2025-04-09 10:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:23:15] Production.INFO: ==23353== Releasing lock...
[2025-04-09 10:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:23:18] Production.INFO: count ==2601
[2025-04-09 10:23:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:23:05 - End Time 2025-04-09 10:23:05
[2025-04-09 10:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868904', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868904', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868904', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868904', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:23:19] Production.INFO: ProcessCDR(1,14868904,1,1,2)
[2025-04-09 10:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868904', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868904', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:23:24] Production.INFO: ==23361== Releasing lock...
[2025-04-09 10:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:23:24] Production.INFO: 47.5 MB #Memory Used#
[2025-04-09 15:24:02] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-04-09 15:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:24:02] Production.INFO: neon service started
[2025-04-09 15:24:02] Production.INFO: neon service started
[2025-04-09 15:24:02] Production.INFO: ==23426== Releasing lock...
[2025-04-09 15:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:24:02] Production.INFO: ==23431== Lock acquired, processing the job...
[2025-04-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:24:02] Production.INFO: ==23431== Releasing lock...
[2025-04-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:24:02] Production.INFO: ==23429== Lock acquired, processing the job...
[2025-04-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:24:02] Production.INFO: ==23429== Releasing lock...
[2025-04-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:24:03] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-04-09 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:24:03] Production.INFO: ==23443== Lock acquired, processing the job...
[2025-04-09 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:24:04] Production.INFO: ==23433== Lock acquired, processing the job...
[2025-04-09 10:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:24:04] Production.INFO: count ==12
[2025-04-09 10:24:04] Production.INFO: ==23435== Lock acquired, processing the job...
[2025-04-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:24:04] Production.INFO: count ==23
[2025-04-09 10:24:04] Production.INFO: ==23437== Lock acquired, processing the job...
[2025-04-09 10:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868905') start
[2025-04-09 10:24:04] Production.INFO: ==23439== Lock acquired, processing the job...
[2025-04-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:24:04] Production.INFO: Account Balance Start.
[2025-04-09 10:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:24:04] Production.INFO: 117
[2025-04-09 10:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868905') end
[2025-04-09 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:24:04] Production.INFO: 1
[2025-04-09 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:24:04] Production.INFO: Total Charge 0
[2025-04-09 10:24:04] Production.ERROR: done
[2025-04-09 10:24:04] Production.INFO: ==23443== Releasing lock...
[2025-04-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:24:04] Production.INFO: CreateAllLog End
[2025-04-09 10:24:04] Production.ERROR: done
[2025-04-09 10:24:04] Production.INFO: ==23435== Releasing lock...
[2025-04-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:24:04] Production.INFO: Account Balance End.
[2025-04-09 10:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:24:04] Production.INFO: ==23439== Releasing lock...
[2025-04-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:24:05
[end_date_ymd] => 2025-04-09 10:24:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:24:05' and `end` < '2025-04-09 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-04-09 10:24:11] Production.ERROR: CronJobId end10
[2025-04-09 10:24:11] Production.INFO: ==23437== Releasing lock...
[2025-04-09 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:24:15] Production.INFO: call_cost start
[2025-04-09 10:24:15] Production.INFO: call_cost end
[2025-04-09 10:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:24:16] Production.INFO: ==23433== Releasing lock...
[2025-04-09 10:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:24:19] Production.INFO: count ==2611
[2025-04-09 10:24:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:24:05 - End Time 2025-04-09 10:24:05
[2025-04-09 10:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868909', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868909', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868909', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868909', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:24:20] Production.INFO: ProcessCDR(1,14868909,1,1,2)
[2025-04-09 10:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868909', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868909', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:24:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:24:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:24:25] Production.INFO: ==23441== Releasing lock...
[2025-04-09 10:24:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:24:25] Production.INFO: 47.75 MB #Memory Used#
[2025-04-09 15:25:01] Production.INFO: ==23497== Lock acquired, processing the job...
[2025-04-09 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:25:01] Production.INFO: neon service started
[2025-04-09 15:25:01] Production.INFO: neon service started
[2025-04-09 15:25:01] Production.INFO: ==23497== Releasing lock...
[2025-04-09 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:25:01] Production.INFO: ==23500== Lock acquired, processing the job...
[2025-04-09 10:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:25:02] Production.INFO: ==23500== Releasing lock...
[2025-04-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:25:02] Production.INFO: ==23502== Lock acquired, processing the job...
[2025-04-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:25:02] Production.INFO: ==23502== Releasing lock...
[2025-04-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:25:03] Production.INFO: ==23511== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:25:03] Production.INFO: ==23505== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:25:03] Production.INFO: ==23515== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:25:03] Production.INFO: ==23507== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:25:03] Production.INFO: Account Balance Start.
[2025-04-09 10:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:25:03] Production.INFO: 117
[2025-04-09 10:25:03] Production.INFO: ==23509== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:25:03] Production.INFO: ==23513== Lock acquired, processing the job...
[2025-04-09 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:25:03] Production.INFO: count ==12
[2025-04-09 10:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:25:03] Production.INFO: count ==23
[2025-04-09 10:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868912') start
[2025-04-09 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:25:03] Production.INFO: Total Charge 0
[2025-04-09 10:25:03] Production.INFO: CreateAllLog End
[2025-04-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868912') end
[2025-04-09 10:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:25:03] Production.INFO: 1
[2025-04-09 10:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:25:03] Production.INFO: ==23515== Releasing lock...
[2025-04-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:25:03] Production.INFO: Account Balance End.
[2025-04-09 10:25:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:25:03] Production.INFO: ==23511== Releasing lock...
[2025-04-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:25:03] Production.INFO: ==23507== Releasing lock...
[2025-04-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:25:03] Production.ERROR: done
[2025-04-09 10:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:25:04] Production.ERROR: done
[2025-04-09 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:25:05
[end_date_ymd] => 2025-04-09 10:25:05
[RateCDR] => 1
)
[2025-04-09 10:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:25:05' and `end` < '2025-04-09 10:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:25:13] Production.ERROR: CronJobId end10
[2025-04-09 10:25:13] Production.INFO: ==23509== Releasing lock...
[2025-04-09 10:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:25:15] Production.INFO: call_cost start
[2025-04-09 10:25:15] Production.INFO: call_cost end
[2025-04-09 10:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:25:16] Production.INFO: ==23505== Releasing lock...
[2025-04-09 10:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:25:18] Production.INFO: count ==2617
[2025-04-09 10:25:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:25:05 - End Time 2025-04-09 10:25:05
[2025-04-09 10:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868914', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868914', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868914', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868914', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:25:19] Production.INFO: ProcessCDR(1,14868914,1,1,2)
[2025-04-09 10:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868914', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868914', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:25:23] Production.INFO: ==23513== Releasing lock...
[2025-04-09 10:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:25:23] Production.INFO: 47.75 MB #Memory Used#
[2025-04-09 15:26:02] Production.INFO: ==23572== Lock acquired, processing the job...
[2025-04-09 15:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:26:02] Production.INFO: neon service started
[2025-04-09 15:26:02] Production.INFO: neon service started
[2025-04-09 15:26:02] Production.INFO: ==23572== Releasing lock...
[2025-04-09 15:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:26:02] Production.INFO: ==23574== Lock acquired, processing the job...
[2025-04-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:26:02] Production.INFO: ==23574== Releasing lock...
[2025-04-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:26:02] Production.INFO: ==23576== Lock acquired, processing the job...
[2025-04-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:26:02] Production.INFO: ==23576== Releasing lock...
[2025-04-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:26:03] Production.INFO: ==23579== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:26:03] Production.INFO: ==23581== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:26:03] Production.INFO: ==23585== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:26:03] Production.INFO: ==23583== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:26:03] Production.INFO: Account Balance Start.
[2025-04-09 10:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:26:03] Production.INFO: 117
[2025-04-09 10:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:26:03] Production.INFO: ==23587== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:26:03] Production.INFO: Total Charge 0
[2025-04-09 10:26:03] Production.INFO: CreateAllLog End
[2025-04-09 10:26:03] Production.INFO: ==23589== Lock acquired, processing the job...
[2025-04-09 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:26:04] Production.INFO: ==23581== Releasing lock...
[2025-04-09 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:26:04] Production.INFO: Account Balance End.
[2025-04-09 10:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:26:04] Production.INFO: ==23585== Releasing lock...
[2025-04-09 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:26:04] Production.INFO: count ==12
[2025-04-09 10:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:26:04] Production.INFO: count ==23
[2025-04-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868918') start
[2025-04-09 10:26:04] Production.ERROR: done
[2025-04-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868918') end
[2025-04-09 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:26:04] Production.INFO: 1
[2025-04-09 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:26:04] Production.ERROR: done
[2025-04-09 10:26:04] Production.INFO: ==23589== Releasing lock...
[2025-04-09 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:26:05
[end_date_ymd] => 2025-04-09 10:26:05
[RateCDR] => 1
)
[2025-04-09 10:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:26:05' and `end` < '2025-04-09 10:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:26:12] Production.ERROR: CronJobId end10
[2025-04-09 10:26:12] Production.INFO: ==23583== Releasing lock...
[2025-04-09 10:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:26:15] Production.INFO: call_cost start
[2025-04-09 10:26:15] Production.INFO: call_cost end
[2025-04-09 10:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:26:16] Production.INFO: ==23579== Releasing lock...
[2025-04-09 10:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:26:18] Production.INFO: count ==2653
[2025-04-09 10:26:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:26:05 - End Time 2025-04-09 10:26:05
[2025-04-09 10:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868919', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868919', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868919', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868919', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:26:20] Production.INFO: ProcessCDR(1,14868919,1,1,2)
[2025-04-09 10:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868919', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868919', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:26:25] Production.INFO: ==23587== Releasing lock...
[2025-04-09 10:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:26:25] Production.INFO: 48 MB #Memory Used#
[2025-04-09 15:27:01] Production.INFO: ==23645== Lock acquired, processing the job...
[2025-04-09 15:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:27:01] Production.INFO: neon service started
[2025-04-09 15:27:01] Production.INFO: neon service started
[2025-04-09 15:27:01] Production.INFO: ==23645== Releasing lock...
[2025-04-09 15:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:27:01] Production.INFO: ==23647== Lock acquired, processing the job...
[2025-04-09 10:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:27:02] Production.INFO: ==23647== Releasing lock...
[2025-04-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:27:02] Production.INFO: ==23649== Lock acquired, processing the job...
[2025-04-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:27:02] Production.INFO: ==23649== Releasing lock...
[2025-04-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:27:03] Production.INFO: ==23652== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:27:03] Production.INFO: ==23654== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:27:03] Production.INFO: ==23656== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:27:03] Production.INFO: ==23658== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:27:03] Production.INFO: ==23660== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:27:03] Production.INFO: ==23662== Lock acquired, processing the job...
[2025-04-09 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:27:03] Production.INFO: ==23654== Releasing lock...
[2025-04-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:27:03] Production.INFO: Account Balance Start.
[2025-04-09 10:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:27:03] Production.INFO: 117
[2025-04-09 10:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:27:03] Production.INFO: Total Charge 0
[2025-04-09 10:27:03] Production.INFO: CreateAllLog End
[2025-04-09 10:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:27:03] Production.INFO: count ==12
[2025-04-09 10:27:03] Production.ERROR: done
[2025-04-09 10:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:27:03] Production.INFO: count ==23
[2025-04-09 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868923') start
[2025-04-09 10:27:03] Production.INFO: Account Balance End.
[2025-04-09 10:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:27:04] Production.INFO: ==23658== Releasing lock...
[2025-04-09 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:27:04] Production.ERROR: done
[2025-04-09 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868923') end
[2025-04-09 10:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:27:04] Production.INFO: 1
[2025-04-09 10:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:27:04] Production.INFO: ==23662== Releasing lock...
[2025-04-09 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:27:05
[end_date_ymd] => 2025-04-09 10:27:05
[RateCDR] => 1
)
[2025-04-09 10:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:27:05' and `end` < '2025-04-09 10:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:27:11] Production.ERROR: CronJobId end10
[2025-04-09 10:27:11] Production.INFO: ==23656== Releasing lock...
[2025-04-09 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:27:14] Production.INFO: call_cost start
[2025-04-09 10:27:14] Production.INFO: call_cost end
[2025-04-09 10:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:27:15] Production.INFO: ==23652== Releasing lock...
[2025-04-09 10:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:27:18] Production.INFO: count ==2670
[2025-04-09 10:27:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:27:05 - End Time 2025-04-09 10:27:05
[2025-04-09 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868924', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868924', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868924', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868924', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:27:19] Production.INFO: ProcessCDR(1,14868924,1,1,2)
[2025-04-09 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868924', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868924', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:27:24] Production.INFO: ==23660== Releasing lock...
[2025-04-09 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:27:24] Production.INFO: 48 MB #Memory Used#
[2025-04-09 15:28:01] Production.INFO: ==23720== Lock acquired, processing the job...
[2025-04-09 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:28:01] Production.INFO: neon service started
[2025-04-09 15:28:01] Production.INFO: neon service started
[2025-04-09 15:28:01] Production.INFO: ==23720== Releasing lock...
[2025-04-09 15:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:28:02] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-04-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:28:02] Production.INFO: ==23724== Lock acquired, processing the job...
[2025-04-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:28:02] Production.INFO: ==23724== Releasing lock...
[2025-04-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:28:02] Production.INFO: ==23722== Releasing lock...
[2025-04-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:28:03] Production.INFO: ==23730== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:28:03] Production.INFO: ==23737== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:28:03] Production.INFO: ==23732== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 10:28:03] Production.INFO: count ==12
[2025-04-09 10:28:03] Production.INFO: Account Balance Start.
[2025-04-09 10:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:28:03] Production.INFO: 117
[2025-04-09 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-04-09 10:28:03] Production.INFO: count ==23
[2025-04-09 10:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868925') start
[2025-04-09 10:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:28:03] Production.INFO: ==23726== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868925') end
[2025-04-09 10:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:28:03] Production.INFO: 1
[2025-04-09 10:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:28:03] Production.INFO: ==23728== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:28:03] Production.INFO: ==23737== Releasing lock...
[2025-04-09 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:28:03] Production.INFO: Total Charge 0
[2025-04-09 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:28:03] Production.INFO: ==23734== Lock acquired, processing the job...
[2025-04-09 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:28:03] Production.INFO: CreateAllLog End
[2025-04-09 10:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:28:04] Production.INFO: Account Balance End.
[2025-04-09 10:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:28:04] Production.INFO: ==23732== Releasing lock...
[2025-04-09 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:28:04] Production.INFO: ==23728== Releasing lock...
[2025-04-09 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:28:04] Production.ERROR: done
[2025-04-09 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:28:04] Production.ERROR: done
[2025-04-09 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:28:05
[end_date_ymd] => 2025-04-09 10:28:05
[RateCDR] => 1
)
[2025-04-09 10:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:28:05' and `end` < '2025-04-09 10:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:28:11] Production.ERROR: CronJobId end10
[2025-04-09 10:28:11] Production.INFO: ==23730== Releasing lock...
[2025-04-09 10:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:28:14] Production.INFO: call_cost start
[2025-04-09 10:28:14] Production.INFO: call_cost end
[2025-04-09 10:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:28:15] Production.INFO: ==23726== Releasing lock...
[2025-04-09 10:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:28:19] Production.INFO: count ==2676
[2025-04-09 10:28:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:28:05 - End Time 2025-04-09 10:28:05
[2025-04-09 10:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868929', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868929', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868929', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868929', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:28:20] Production.INFO: ProcessCDR(1,14868929,1,1,2)
[2025-04-09 10:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868929', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868929', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:28:26] Production.INFO: ==23734== Releasing lock...
[2025-04-09 10:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:28:26] Production.INFO: 48.25 MB #Memory Used#
[2025-04-09 15:29:02] Production.INFO: ==23796== Lock acquired, processing the job...
[2025-04-09 15:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:29:02] Production.INFO: neon service started
[2025-04-09 15:29:02] Production.INFO: neon service started
[2025-04-09 15:29:02] Production.INFO: ==23796== Releasing lock...
[2025-04-09 15:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:29:03] Production.INFO: ==23798== Lock acquired, processing the job...
[2025-04-09 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:29:03] Production.INFO: ==23800== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:29:03] Production.INFO: ==23800== Releasing lock...
[2025-04-09 14:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:29:03] Production.INFO: ==23798== Releasing lock...
[2025-04-09 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:29:04] Production.INFO: ==23809== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:29:04] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:29:04] Production.INFO: Account Balance Start.
[2025-04-09 10:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:29:04] Production.INFO: 117
[2025-04-09 10:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 10: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-04-09 10:29:04] Production.INFO: ==23803== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:29:04] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:29:04] Production.INFO: ==23807== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:29:04] Production.INFO: ==23805== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:29:04] Production.INFO: count ==23
[2025-04-09 10:29:04] Production.INFO: Total Charge 0
[2025-04-09 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868931') start
[2025-04-09 10:29:04] Production.INFO: CreateAllLog End
[2025-04-09 10:29:04] Production.INFO: ==23811== Lock acquired, processing the job...
[2025-04-09 10:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868931') end
[2025-04-09 10:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:29:04] Production.INFO: 1
[2025-04-09 10:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:29:04] Production.INFO: ==23813== Releasing lock...
[2025-04-09 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:29:04] Production.INFO: Account Balance End.
[2025-04-09 10:29:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:29:05] Production.INFO: ==23809== Releasing lock...
[2025-04-09 10:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:29:05] Production.INFO: ==23805== Releasing lock...
[2025-04-09 10:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:29:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:29:05] Production.ERROR: done
[2025-04-09 10:29:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:29:05] Production.ERROR: done
[2025-04-09 10:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:29:06
[end_date_ymd] => 2025-04-09 10:29:06
[RateCDR] => 1
)
[2025-04-09 10:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:29:06' and `end` < '2025-04-09 10:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:29:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-09 10:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:29:13] Production.ERROR: CronJobId end10
[2025-04-09 10:29:13] Production.INFO: ==23807== Releasing lock...
[2025-04-09 10:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:29:14] Production.INFO: call_cost start
[2025-04-09 10:29:14] Production.INFO: call_cost end
[2025-04-09 10:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:29:15] Production.INFO: ==23803== Releasing lock...
[2025-04-09 10:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:29:19] Production.INFO: count ==2688
[2025-04-09 10:29:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:29:06 - End Time 2025-04-09 10:29:06
[2025-04-09 10:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868934', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868934', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868934', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868934', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:29:21] Production.INFO: ProcessCDR(1,14868934,1,1,2)
[2025-04-09 10:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868934', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868934', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:29:26] Production.INFO: ==23811== Releasing lock...
[2025-04-09 10:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:29:26] Production.INFO: 48.25 MB #Memory Used#
[2025-04-09 15:30:01] Production.INFO: ==23869== Lock acquired, processing the job...
[2025-04-09 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:30:01] Production.INFO: neon service started
[2025-04-09 15:30:01] Production.INFO: neon service started
[2025-04-09 15:30:01] Production.INFO: ==23869== Releasing lock...
[2025-04-09 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:30:02] Production.INFO: ==23871== Lock acquired, processing the job...
[2025-04-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:30:02] Production.INFO: ==23873== Lock acquired, processing the job...
[2025-04-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:30:02] Production.INFO: ==23871== Releasing lock...
[2025-04-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:30:02] Production.INFO: ==23873== Releasing lock...
[2025-04-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:30:03] Production.INFO: ==23876== Lock acquired, processing the job...
[2025-04-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:30:03] Production.INFO: ==23876== Releasing lock...
[2025-04-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:30:03] Production.INFO: ==23878== Lock acquired, processing the job...
[2025-04-09 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:30:04] Production.INFO: ==23880== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:30:04] Production.INFO: ==23882== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:30:04] Production.INFO: ==23884== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:30:04] Production.INFO: ==23888== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:30:04] Production.INFO: ==23886== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:30:04] Production.INFO: Account Balance Start.
[2025-04-09 10:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:30:04] Production.INFO: 117
[2025-04-09 10:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:30:04] Production.INFO: ==23890== Lock acquired, processing the job...
[2025-04-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:30:04] Production.INFO: Total Charge 0
[2025-04-09 10:30:04] Production.INFO: CreateAllLog End
[2025-04-09 10:30:04] Production.INFO: ==23880== Releasing lock...
[2025-04-09 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:30:04] Production.INFO: count ==12
[2025-04-09 10:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:30:04] Production.INFO: count ==23
[2025-04-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868938') start
[2025-04-09 10:30:04] Production.ERROR: done
[2025-04-09 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868939', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:30:04] Production.INFO: Account Balance End.
[2025-04-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868938') end
[2025-04-09 10:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:30:04] Production.INFO: 1
[2025-04-09 10:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:30:04] Production.INFO: ==23884== Releasing lock...
[2025-04-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:30:05] Production.ERROR: done
[2025-04-09 10:30:05] Production.INFO: ==23890== Releasing lock...
[2025-04-09 10:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:30:05] Production.ERROR: done
[2025-04-09 10:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:30:06
[end_date_ymd] => 2025-04-09 10:30:06
[RateCDR] => 1
)
[2025-04-09 10:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:30:06' and `end` < '2025-04-09 10:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868939', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:30:09] Production.INFO: ProcessCDR(1,14868939,1,1,2)
[2025-04-09 10:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:30:09] Production.INFO: ==23888== Releasing lock...
[2025-04-09 10:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:30:14] Production.ERROR: CronJobId end10
[2025-04-09 10:30:14] Production.INFO: ==23882== Releasing lock...
[2025-04-09 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:30:16] Production.INFO: call_cost start
[2025-04-09 10:30:16] Production.INFO: call_cost end
[2025-04-09 10:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:30:17] Production.INFO: ==23878== Releasing lock...
[2025-04-09 10:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:30:20] Production.INFO: count ==2710
[2025-04-09 10:30:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:30:06 - End Time 2025-04-09 10:30:06
[2025-04-09 10:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868940', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868940', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868940', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868940', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:30:21] Production.INFO: ProcessCDR(1,14868940,1,1,2)
[2025-04-09 10:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868940', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868940', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:30:26] Production.INFO: ==23886== Releasing lock...
[2025-04-09 10:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:30:26] Production.INFO: 48.5 MB #Memory Used#
[2025-04-09 15:31:01] Production.INFO: ==23949== Lock acquired, processing the job...
[2025-04-09 15:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:31:01] Production.INFO: neon service started
[2025-04-09 15:31:01] Production.INFO: neon service started
[2025-04-09 15:31:01] Production.INFO: ==23949== Releasing lock...
[2025-04-09 15:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:31:01] Production.INFO: ==23951== Lock acquired, processing the job...
[2025-04-09 10:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:31:02] Production.INFO: ==23951== Releasing lock...
[2025-04-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:31:02] Production.INFO: ==23953== Lock acquired, processing the job...
[2025-04-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:31:02] Production.INFO: ==23953== Releasing lock...
[2025-04-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:31:02] Production.INFO: ==23955== Lock acquired, processing the job...
[2025-04-09 10:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:31:03] Production.INFO: ==23963== Lock acquired, processing the job...
[2025-04-09 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:31:03] Production.INFO: ==23965== Lock acquired, processing the job...
[2025-04-09 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:31:03] Production.INFO: ==23957== Lock acquired, processing the job...
[2025-04-09 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:31:03] Production.INFO: ==23961== Lock acquired, processing the job...
[2025-04-09 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:31:03] Production.INFO: ==23959== Lock acquired, processing the job...
[2025-04-09 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:31:03] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:31:03] Production.INFO: count ==23
[2025-04-09 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868942') start
[2025-04-09 10:31:03] Production.INFO: Account Balance Start.
[2025-04-09 10:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:31:03] Production.INFO: 117
[2025-04-09 10:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:31:03] Production.ERROR: done
[2025-04-09 10:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:31:03] Production.INFO: Total Charge 0
[2025-04-09 10:31:03] Production.INFO: CreateAllLog End
[2025-04-09 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868942') end
[2025-04-09 10:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:31:03] Production.INFO: 1
[2025-04-09 10:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:31:03] Production.INFO: ==23965== Releasing lock...
[2025-04-09 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:31:03] Production.INFO: ==23957== Releasing lock...
[2025-04-09 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:31:03] Production.ERROR: done
[2025-04-09 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:31:03] Production.INFO: Account Balance End.
[2025-04-09 10:31:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:31:03] Production.INFO: ==23961== Releasing lock...
[2025-04-09 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:31:04
[end_date_ymd] => 2025-04-09 10:31:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:31:04' and `end` < '2025-04-09 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-04-09 10:31:11] Production.ERROR: CronJobId end10
[2025-04-09 10:31:11] Production.INFO: ==23959== Releasing lock...
[2025-04-09 10:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:31:14] Production.INFO: call_cost start
[2025-04-09 10:31:14] Production.INFO: call_cost end
[2025-04-09 10:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:31:15] Production.INFO: ==23955== Releasing lock...
[2025-04-09 10:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:31:18] Production.INFO: count ==2819
[2025-04-09 10:31:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:31:04 - End Time 2025-04-09 10:31:04
[2025-04-09 10:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868945', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868945', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868945', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868945', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:31:19] Production.INFO: ProcessCDR(1,14868945,1,1,2)
[2025-04-09 10:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868945', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868945', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:31:23] Production.INFO: ==23963== Releasing lock...
[2025-04-09 10:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:31:23] Production.INFO: 49.25 MB #Memory Used#
[2025-04-09 15:32:01] Production.INFO: ==24064== Lock acquired, processing the job...
[2025-04-09 15:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:32:01] Production.INFO: neon service started
[2025-04-09 15:32:01] Production.INFO: neon service started
[2025-04-09 15:32:01] Production.INFO: ==24064== Releasing lock...
[2025-04-09 15:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:32:02] Production.INFO: ==24066== Lock acquired, processing the job...
[2025-04-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:32:02] Production.INFO: ==24066== Releasing lock...
[2025-04-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:32:02] Production.INFO: ==24068== Lock acquired, processing the job...
[2025-04-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:32:02] Production.INFO: ==24068== Releasing lock...
[2025-04-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:32:03] Production.INFO: ==24072== Lock acquired, processing the job...
[2025-04-09 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:32:03] Production.INFO: ==24078== Lock acquired, processing the job...
[2025-04-09 10:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:32:03] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-04-09 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:32:04] Production.INFO: ==24074== Lock acquired, processing the job...
[2025-04-09 10:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:32:04] Production.INFO: ==24072== Releasing lock...
[2025-04-09 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:32:04] Production.INFO: ==24076== Lock acquired, processing the job...
[2025-04-09 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:32:04] Production.INFO: ==24081== Lock acquired, processing the job...
[2025-04-09 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:32:04] Production.INFO: Account Balance Start.
[2025-04-09 10:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:32:04] Production.INFO: 117
[2025-04-09 10:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:32:04] Production.INFO: count ==12
[2025-04-09 10:32:04] Production.INFO: Total Charge 0
[2025-04-09 10:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:32:04] Production.ERROR: done
[2025-04-09 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:32:04] Production.INFO: count ==23
[2025-04-09 10:32:04] Production.INFO: CreateAllLog End
[2025-04-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868949') start
[2025-04-09 10:32:04] Production.ERROR: done
[2025-04-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868949') end
[2025-04-09 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:32:04] Production.INFO: 1
[2025-04-09 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:32:04] Production.INFO: Account Balance End.
[2025-04-09 10:32:04] Production.INFO: ==24081== Releasing lock...
[2025-04-09 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:32:04] Production.INFO: ==24076== Releasing lock...
[2025-04-09 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:32:05
[end_date_ymd] => 2025-04-09 10:32:05
[RateCDR] => 1
)
[2025-04-09 10:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:32:05' and `end` < '2025-04-09 10:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:32:13] Production.ERROR: CronJobId end10
[2025-04-09 10:32:13] Production.INFO: ==24074== Releasing lock...
[2025-04-09 10:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:32:15] Production.INFO: call_cost start
[2025-04-09 10:32:15] Production.INFO: call_cost end
[2025-04-09 10:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:32:16] Production.INFO: ==24070== Releasing lock...
[2025-04-09 10:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:32:19] Production.INFO: count ==2838
[2025-04-09 10:32:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:32:05 - End Time 2025-04-09 10:32:05
[2025-04-09 10:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868950', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868950', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868950', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868950', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:32:20] Production.INFO: ProcessCDR(1,14868950,1,1,2)
[2025-04-09 10:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868950', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868950', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:32:25] Production.INFO: ==24078== Releasing lock...
[2025-04-09 10:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:32:25] Production.INFO: 49.25 MB #Memory Used#
[2025-04-09 15:33:02] Production.INFO: ==24136== Lock acquired, processing the job...
[2025-04-09 15:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:33:02] Production.INFO: neon service started
[2025-04-09 15:33:02] Production.INFO: neon service started
[2025-04-09 15:33:02] Production.INFO: ==24136== Releasing lock...
[2025-04-09 15:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:33:02] Production.INFO: ==24138== Lock acquired, processing the job...
[2025-04-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:33:02] Production.INFO: ==24140== Lock acquired, processing the job...
[2025-04-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:33:03] Production.INFO: ==24138== Releasing lock...
[2025-04-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:33:03] Production.INFO: ==24140== Releasing lock...
[2025-04-09 14:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:33:03] Production.INFO: ==24144== Lock acquired, processing the job...
[2025-04-09 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:33:03] Production.INFO: ==24142== Lock acquired, processing the job...
[2025-04-09 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:33:03] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-04-09 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:33:04] Production.INFO: ==24146== Lock acquired, processing the job...
[2025-04-09 10:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10: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-04-09 10:33:04] Production.INFO: count ==12
[2025-04-09 10:33:04] Production.INFO: ==24148== Lock acquired, processing the job...
[2025-04-09 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10: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-04-09 10:33:04] Production.INFO: count ==23
[2025-04-09 10:33:04] Production.INFO: ==24144== Releasing lock...
[2025-04-09 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868953') start
[2025-04-09 10:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:33:04] Production.INFO: ==24150== Lock acquired, processing the job...
[2025-04-09 10:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:33:04] Production.INFO: Account Balance Start.
[2025-04-09 10:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:33:04] Production.INFO: 117
[2025-04-09 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868953') end
[2025-04-09 10:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:33:04] Production.INFO: 1
[2025-04-09 10:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:33:04] Production.INFO: ==24153== Releasing lock...
[2025-04-09 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:33:04] Production.ERROR: done
[2025-04-09 10:33:04] Production.INFO: Total Charge 0
[2025-04-09 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:33:04] Production.INFO: CreateAllLog End
[2025-04-09 10:33:05] Production.ERROR: done
[2025-04-09 10:33:05] Production.INFO: Account Balance End.
[2025-04-09 10:33:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:33:05] Production.INFO: ==24148== Releasing lock...
[2025-04-09 10:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:33:06
[end_date_ymd] => 2025-04-09 10:33:06
[RateCDR] => 1
)
[2025-04-09 10: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-04-09 07:33:06' and `end` < '2025-04-09 10: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-04-09 10:33:12] Production.ERROR: CronJobId end10
[2025-04-09 10:33:12] Production.INFO: ==24146== Releasing lock...
[2025-04-09 10:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:33:14] Production.INFO: call_cost start
[2025-04-09 10:33:14] Production.INFO: call_cost end
[2025-04-09 10:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:33:15] Production.INFO: ==24142== Releasing lock...
[2025-04-09 10:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:33:19] Production.INFO: count ==2837
[2025-04-09 10:33:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:33:06 - End Time 2025-04-09 10:33:06
[2025-04-09 10:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868955', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868955', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868955', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868955', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:33:20] Production.INFO: ProcessCDR(1,14868955,1,1,2)
[2025-04-09 10:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868955', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868955', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:33:25] Production.INFO: ==24150== Releasing lock...
[2025-04-09 10:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:33:25] Production.INFO: 49.25 MB #Memory Used#
[2025-04-09 15:34:01] Production.INFO: ==24210== Lock acquired, processing the job...
[2025-04-09 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:34:01] Production.INFO: neon service started
[2025-04-09 15:34:01] Production.INFO: neon service started
[2025-04-09 15:34:01] Production.INFO: ==24210== Releasing lock...
[2025-04-09 15:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:34:02] Production.INFO: ==24214== Lock acquired, processing the job...
[2025-04-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:34:02] Production.INFO: ==24214== Releasing lock...
[2025-04-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:34:02] Production.INFO: ==24212== Lock acquired, processing the job...
[2025-04-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:34:02] Production.INFO: ==24212== Releasing lock...
[2025-04-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:34:03] Production.INFO: ==24217== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:34:03] Production.INFO: ==24221== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:34:03] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:34:03] Production.INFO: ==24219== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:34:03] Production.INFO: ==24223== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:34:03] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-04-09 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:34:03] Production.INFO: Account Balance Start.
[2025-04-09 10:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:34:03] Production.INFO: 117
[2025-04-09 10:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:34:04] Production.ERROR: done
[2025-04-09 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:34:04] Production.INFO: Total Charge 0
[2025-04-09 10:34:04] Production.INFO: CreateAllLog End
[2025-04-09 10:34:04] Production.INFO: count ==12
[2025-04-09 10:34:04] Production.INFO: ==24219== Releasing lock...
[2025-04-09 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:34:04] Production.INFO: count ==23
[2025-04-09 10:34:04] Production.ERROR: done
[2025-04-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868959') start
[2025-04-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868959') end
[2025-04-09 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:34:04] Production.INFO: 1
[2025-04-09 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:34:04] Production.INFO: Account Balance End.
[2025-04-09 10:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:34:04] Production.INFO: ==24223== Releasing lock...
[2025-04-09 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:34:04] Production.INFO: ==24227== Releasing lock...
[2025-04-09 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:34:05
[end_date_ymd] => 2025-04-09 10:34:05
[RateCDR] => 1
)
[2025-04-09 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:34:05' and `end` < '2025-04-09 10:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:34:12] Production.ERROR: CronJobId end10
[2025-04-09 10:34:12] Production.INFO: ==24221== Releasing lock...
[2025-04-09 10:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:34:14] Production.INFO: call_cost start
[2025-04-09 10:34:14] Production.INFO: call_cost end
[2025-04-09 10:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:34:15] Production.INFO: ==24217== Releasing lock...
[2025-04-09 10:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:34:18] Production.INFO: count ==2863
[2025-04-09 10:34:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:34:05 - End Time 2025-04-09 10:34:05
[2025-04-09 10:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868960', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868960', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868960', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868960', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:34:19] Production.INFO: ProcessCDR(1,14868960,1,1,2)
[2025-04-09 10:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868960', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868960', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:34:24] Production.INFO: ==24225== Releasing lock...
[2025-04-09 10:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:34:24] Production.INFO: 49.75 MB #Memory Used#
[2025-04-09 15:35:02] Production.INFO: ==24282== Lock acquired, processing the job...
[2025-04-09 15:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:35:02] Production.INFO: neon service started
[2025-04-09 15:35:02] Production.INFO: neon service started
[2025-04-09 15:35:02] Production.INFO: ==24282== Releasing lock...
[2025-04-09 15:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:35:02] Production.INFO: ==24284== Lock acquired, processing the job...
[2025-04-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:35:02] Production.INFO: ==24284== Releasing lock...
[2025-04-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:35:03] Production.INFO: ==24286== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:35:03] Production.INFO: ==24286== Releasing lock...
[2025-04-09 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:35:03] Production.INFO: ==24288== Lock acquired, processing the job...
[2025-04-09 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:35:03] Production.INFO: ==24290== Lock acquired, processing the job...
[2025-04-09 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:35:03] Production.INFO: ==24294== Lock acquired, processing the job...
[2025-04-09 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:35:03] Production.INFO: Account Balance Start.
[2025-04-09 10:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:35:03] Production.INFO: 117
[2025-04-09 10:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:35:03] Production.INFO: Total Charge 0
[2025-04-09 10:35:03] Production.INFO: CreateAllLog End
[2025-04-09 10:35:04] Production.INFO: ==24292== Lock acquired, processing the job...
[2025-04-09 10:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:35:04] Production.INFO: ==24296== Lock acquired, processing the job...
[2025-04-09 10:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:35:04] Production.INFO: Account Balance End.
[2025-04-09 10:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:35:04] Production.INFO: ==24299== Lock acquired, processing the job...
[2025-04-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:35:04] Production.INFO: ==24294== Releasing lock...
[2025-04-09 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10: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-04-09 10:35:04] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:35:04] Production.INFO: count ==23
[2025-04-09 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868964') start
[2025-04-09 10:35:04] Production.ERROR: done
[2025-04-09 10:35:04] Production.INFO: ==24290== Releasing lock...
[2025-04-09 10:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868964') end
[2025-04-09 10:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:35:04] Production.INFO: 1
[2025-04-09 10:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:35:04] Production.INFO: ==24299== Releasing lock...
[2025-04-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:35:04] Production.ERROR: done
[2025-04-09 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:35:05
[end_date_ymd] => 2025-04-09 10:35:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:35:05' and `end` < '2025-04-09 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-04-09 10:35:12] Production.ERROR: CronJobId end10
[2025-04-09 10:35:12] Production.INFO: ==24292== Releasing lock...
[2025-04-09 10:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:35:14] Production.INFO: call_cost start
[2025-04-09 10:35:14] Production.INFO: call_cost end
[2025-04-09 10:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:35:15] Production.INFO: ==24288== Releasing lock...
[2025-04-09 10:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:35:19] Production.INFO: count ==2881
[2025-04-09 10:35:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:35:05 - End Time 2025-04-09 10:35:05
[2025-04-09 10:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868965', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868965', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868965', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868965', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:35:20] Production.INFO: ProcessCDR(1,14868965,1,1,2)
[2025-04-09 10:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:35:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868965', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868965', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:35:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:35:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:35:25] Production.INFO: ==24296== Releasing lock...
[2025-04-09 10:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:35:25] Production.INFO: 49.5 MB #Memory Used#
[2025-04-09 15:36:01] Production.INFO: ==24359== Lock acquired, processing the job...
[2025-04-09 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:36:01] Production.INFO: neon service started
[2025-04-09 15:36:01] Production.INFO: neon service started
[2025-04-09 15:36:01] Production.INFO: ==24359== Releasing lock...
[2025-04-09 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:36:02] Production.INFO: ==24361== Lock acquired, processing the job...
[2025-04-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:36:02] Production.INFO: ==24361== Releasing lock...
[2025-04-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:36:02] Production.INFO: ==24363== Lock acquired, processing the job...
[2025-04-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:36:02] Production.INFO: ==24363== Releasing lock...
[2025-04-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:36:03] Production.INFO: ==24367== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:36:03] Production.INFO: ==24365== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:36:03] Production.INFO: ==24370== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:36:03] Production.INFO: ==24376== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:36:03] Production.INFO: ==24372== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:36:03] Production.INFO: ==24374== Lock acquired, processing the job...
[2025-04-09 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10: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-04-09 10:36:03] Production.INFO: ==24367== Releasing lock...
[2025-04-09 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:36:03] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:36:03] Production.INFO: count ==23
[2025-04-09 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868968') start
[2025-04-09 10:36:03] Production.INFO: Account Balance Start.
[2025-04-09 10:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:36:03] Production.INFO: 117
[2025-04-09 10:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868968') end
[2025-04-09 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:36:04] Production.INFO: 1
[2025-04-09 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:36:04] Production.INFO: ==24376== Releasing lock...
[2025-04-09 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:36:04] Production.INFO: Total Charge 0
[2025-04-09 10:36:04] Production.INFO: CreateAllLog End
[2025-04-09 10:36:04] Production.ERROR: done
[2025-04-09 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:36:04] Production.INFO: Account Balance End.
[2025-04-09 10:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:36:04] Production.INFO: ==24372== Releasing lock...
[2025-04-09 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:36:04] Production.ERROR: done
[2025-04-09 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:36:05
[end_date_ymd] => 2025-04-09 10:36:05
[RateCDR] => 1
)
[2025-04-09 10:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:36:05' and `end` < '2025-04-09 10:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:36:11] Production.ERROR: CronJobId end10
[2025-04-09 10:36:11] Production.INFO: ==24370== Releasing lock...
[2025-04-09 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:36:14] Production.INFO: call_cost start
[2025-04-09 10:36:14] Production.INFO: call_cost end
[2025-04-09 10:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:36:15] Production.INFO: ==24365== Releasing lock...
[2025-04-09 10:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:36:19] Production.INFO: count ==2891
[2025-04-09 10:36:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:36:05 - End Time 2025-04-09 10:36:05
[2025-04-09 10:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868970', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868970', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868970', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868970', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:36:20] Production.INFO: ProcessCDR(1,14868970,1,1,2)
[2025-04-09 10:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868970', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868970', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:36:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:36:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:36:25] Production.INFO: ==24374== Releasing lock...
[2025-04-09 10:36:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:36:25] Production.INFO: 49.5 MB #Memory Used#
[2025-04-09 15:37:02] Production.INFO: ==24437== Lock acquired, processing the job...
[2025-04-09 15:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:37:02] Production.INFO: neon service started
[2025-04-09 15:37:02] Production.INFO: neon service started
[2025-04-09 15:37:02] Production.INFO: ==24437== Releasing lock...
[2025-04-09 15:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:37:02] Production.INFO: ==24439== Lock acquired, processing the job...
[2025-04-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:37:02] Production.INFO: ==24439== Releasing lock...
[2025-04-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:37:02] Production.INFO: ==24441== Lock acquired, processing the job...
[2025-04-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:37:02] Production.INFO: ==24441== Releasing lock...
[2025-04-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:37:03] Production.INFO: ==24453== Lock acquired, processing the job...
[2025-04-09 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:37:03] Production.INFO: ==24451== Lock acquired, processing the job...
[2025-04-09 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 10:37:03] Production.INFO: ==24443== Lock acquired, processing the job...
[2025-04-09 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:37:03] Production.INFO: count ==12
[2025-04-09 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:37:04] Production.INFO: count ==23
[2025-04-09 10:37:04] Production.INFO: ==24445== Lock acquired, processing the job...
[2025-04-09 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868971') start
[2025-04-09 10:37:04] Production.INFO: ==24447== Lock acquired, processing the job...
[2025-04-09 10:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:37:04] Production.INFO: ==24449== Lock acquired, processing the job...
[2025-04-09 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868971') end
[2025-04-09 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:37:04] Production.INFO: 1
[2025-04-09 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:37:04] Production.INFO: Account Balance Start.
[2025-04-09 10:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:37:04] Production.ERROR: done
[2025-04-09 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:37:04] Production.INFO: 117
[2025-04-09 10:37:04] Production.INFO: ==24453== Releasing lock...
[2025-04-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:37:04] Production.INFO: Total Charge 0
[2025-04-09 10:37:04] Production.INFO: CreateAllLog End
[2025-04-09 10:37:04] Production.ERROR: done
[2025-04-09 10:37:04] Production.INFO: ==24445== Releasing lock...
[2025-04-09 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:37:04] Production.INFO: Account Balance End.
[2025-04-09 10:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:37:04] Production.INFO: ==24449== Releasing lock...
[2025-04-09 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:37:05
[end_date_ymd] => 2025-04-09 10:37:05
[RateCDR] => 1
)
[2025-04-09 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:37:05' and `end` < '2025-04-09 10:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:37:12] Production.ERROR: CronJobId end10
[2025-04-09 10:37:12] Production.INFO: ==24447== Releasing lock...
[2025-04-09 10:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:37:15] Production.INFO: call_cost start
[2025-04-09 10:37:15] Production.INFO: call_cost end
[2025-04-09 10:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:37:16] Production.INFO: ==24443== Releasing lock...
[2025-04-09 10:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:37:18] Production.INFO: count ==3114
[2025-04-09 10:37:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:37:05 - End Time 2025-04-09 10:37:05
[2025-04-09 10:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868975', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868975', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868975', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868975', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:37:20] Production.INFO: ProcessCDR(1,14868975,1,1,2)
[2025-04-09 10:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868975', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868975', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:37:25] Production.INFO: ==24451== Releasing lock...
[2025-04-09 10:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:37:25] Production.INFO: 51.25 MB #Memory Used#
[2025-04-09 15:38:01] Production.INFO: ==24513== Lock acquired, processing the job...
[2025-04-09 15:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:38:01] Production.INFO: neon service started
[2025-04-09 15:38:01] Production.INFO: neon service started
[2025-04-09 15:38:01] Production.INFO: ==24513== Releasing lock...
[2025-04-09 15:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:38:01] Production.INFO: ==24515== Lock acquired, processing the job...
[2025-04-09 10:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:38:02] Production.INFO: ==24517== Lock acquired, processing the job...
[2025-04-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:38:02] Production.INFO: ==24517== Releasing lock...
[2025-04-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:38:02] Production.INFO: ==24515== Releasing lock...
[2025-04-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:38:03] Production.INFO: ==24522== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:38:03] Production.INFO: ==24530== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:38:03] Production.INFO: ==24520== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:38:03] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:38:03] Production.INFO: count ==23
[2025-04-09 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868977') start
[2025-04-09 10:38:03] Production.INFO: ==24526== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:38:03] Production.INFO: ==24524== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:38:03] Production.INFO: ==24528== Lock acquired, processing the job...
[2025-04-09 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868977') end
[2025-04-09 10:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:38:03] Production.INFO: 1
[2025-04-09 10:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:38:03] Production.INFO: ==24522== Releasing lock...
[2025-04-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:38:03] Production.INFO: ==24530== Releasing lock...
[2025-04-09 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:38:03] Production.INFO: Account Balance Start.
[2025-04-09 10:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:38:03] Production.INFO: 117
[2025-04-09 10:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:38:03] Production.INFO: Total Charge 0
[2025-04-09 10:38:03] Production.INFO: CreateAllLog End
[2025-04-09 10:38:03] Production.ERROR: done
[2025-04-09 10:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:38:04] Production.ERROR: done
[2025-04-09 10:38:04] Production.INFO: Account Balance End.
[2025-04-09 10:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:38:04] Production.INFO: ==24526== Releasing lock...
[2025-04-09 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:38:05
[end_date_ymd] => 2025-04-09 10:38:05
[RateCDR] => 1
)
[2025-04-09 10:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:38:05' and `end` < '2025-04-09 10:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:38:12] Production.ERROR: CronJobId end10
[2025-04-09 10:38:12] Production.INFO: ==24524== Releasing lock...
[2025-04-09 10:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:38:14] Production.INFO: call_cost start
[2025-04-09 10:38:14] Production.INFO: call_cost end
[2025-04-09 10:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:38:15] Production.INFO: ==24520== Releasing lock...
[2025-04-09 10:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:38:18] Production.INFO: count ==3118
[2025-04-09 10:38:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:38:05 - End Time 2025-04-09 10:38:05
[2025-04-09 10:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868980', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868980', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868980', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868980', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:38:20] Production.INFO: ProcessCDR(1,14868980,1,1,2)
[2025-04-09 10:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868980', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868980', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:38:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:38:25] Production.INFO: ==24528== Releasing lock...
[2025-04-09 10:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:38:25] Production.INFO: 51.75 MB #Memory Used#
[2025-04-09 15:39:02] Production.INFO: ==24584== Lock acquired, processing the job...
[2025-04-09 15:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:39:02] Production.INFO: neon service started
[2025-04-09 15:39:02] Production.INFO: neon service started
[2025-04-09 15:39:02] Production.INFO: ==24584== Releasing lock...
[2025-04-09 15:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:39:02] Production.INFO: ==24588== Lock acquired, processing the job...
[2025-04-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:39:02] Production.INFO: ==24588== Releasing lock...
[2025-04-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:39:02] Production.INFO: ==24586== Lock acquired, processing the job...
[2025-04-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:39:02] Production.INFO: ==24586== Releasing lock...
[2025-04-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:39:03] Production.INFO: ==24591== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:39:03] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:39:03] Production.INFO: ==24593== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:39:03] Production.INFO: ==24595== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:39:03] Production.INFO: ==24597== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:39:03] Production.INFO: count ==12
[2025-04-09 10:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:39:03] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-04-09 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:39:03] Production.INFO: count ==23
[2025-04-09 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868981') start
[2025-04-09 10:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:39:04] Production.INFO: Account Balance Start.
[2025-04-09 10:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:39:04] Production.INFO: 117
[2025-04-09 10:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868981') end
[2025-04-09 10:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:39:04] Production.INFO: 1
[2025-04-09 10:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:39:04] Production.INFO: Total Charge 0
[2025-04-09 10:39:04] Production.INFO: CreateAllLog End
[2025-04-09 10:39:04] Production.INFO: ==24601== Releasing lock...
[2025-04-09 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:39:04] Production.INFO: ==24593== Releasing lock...
[2025-04-09 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:39:04] Production.ERROR: done
[2025-04-09 10:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:39:04] Production.INFO: Account Balance End.
[2025-04-09 10:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:39:04] Production.INFO: ==24597== Releasing lock...
[2025-04-09 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:39:04] Production.ERROR: done
[2025-04-09 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:39:05
[end_date_ymd] => 2025-04-09 10:39:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:39:05' and `end` < '2025-04-09 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-04-09 10:39:12] Production.ERROR: CronJobId end10
[2025-04-09 10:39:12] Production.INFO: ==24595== Releasing lock...
[2025-04-09 10:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:39:14] Production.INFO: call_cost start
[2025-04-09 10:39:14] Production.INFO: call_cost end
[2025-04-09 10:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:39:15] Production.INFO: ==24591== Releasing lock...
[2025-04-09 10:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:39:19] Production.INFO: count ==3165
[2025-04-09 10:39:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:39:05 - End Time 2025-04-09 10:39:05
[2025-04-09 10:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868985', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868985', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868985', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868985', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:39:20] Production.INFO: ProcessCDR(1,14868985,1,1,2)
[2025-04-09 10:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868985', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868985', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:39:23] Production.INFO: ==24599== Releasing lock...
[2025-04-09 10:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:39:23] Production.INFO: 51.5 MB #Memory Used#
[2025-04-09 15:40:01] Production.INFO: ==24658== Lock acquired, processing the job...
[2025-04-09 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:40:01] Production.INFO: neon service started
[2025-04-09 15:40:01] Production.INFO: neon service started
[2025-04-09 15:40:01] Production.INFO: ==24658== Releasing lock...
[2025-04-09 15:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:40:01] Production.INFO: ==24661== Lock acquired, processing the job...
[2025-04-09 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:40:02] Production.INFO: ==24663== Lock acquired, processing the job...
[2025-04-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:40:02] Production.INFO: ==24661== Releasing lock...
[2025-04-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:40:02] Production.INFO: ==24663== Releasing lock...
[2025-04-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:40:03] Production.INFO: ==24673== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:40:03] Production.INFO: ==24665== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:40:03] Production.INFO: Account Balance Start.
[2025-04-09 10:40:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 10:40:03] Production.ERROR: CronJob PID - 24673
[2025-04-09 10:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 10:40:03] Production.ERROR: CronJob ID - 12
[2025-04-09 10:40:03] Production.ERROR: CronJob Last Run Time 2025-04-09 10:40:00
[2025-04-09 10:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 10:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 10:40:03] Production.INFO: 117
[2025-04-09 10:40:03] Production.INFO: ==24680== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:40:03] Production.INFO: ==24665== Releasing lock...
[2025-04-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:40:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:40:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:40:03] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:40:03] Production.INFO: ==24667== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:40:03] Production.INFO: ==24669== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:40:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:40:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:40:03] Production.INFO: Total Charge 0
[2025-04-09 10:40:03] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:40:03] Production.INFO: CreateAllLog End
[2025-04-09 10: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-04-09 10:40:03] Production.INFO: ==24675== Lock acquired, processing the job...
[2025-04-09 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:40:04] Production.INFO: count ==12
[2025-04-09 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:40:04] Production.INFO: count ==23
[2025-04-09 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868987') start
[2025-04-09 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868987') end
[2025-04-09 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:40:04] Production.INFO: 1
[2025-04-09 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:40:04] Production.ERROR: done
[2025-04-09 10:40:04] Production.INFO: ==24680== Releasing lock...
[2025-04-09 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:40:04] Production.INFO: ==24669== Releasing lock...
[2025-04-09 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:40:04] Production.INFO: Account Balance End.
[2025-04-09 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868990', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:40:04] Production.INFO: ==24673== Releasing lock...
[2025-04-09 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:40:04] Production.ERROR: done
[2025-04-09 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:40:04] Production.ERROR: done
[2025-04-09 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:40:06
[end_date_ymd] => 2025-04-09 10:40:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:40:06' and `end` < '2025-04-09 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-04-09 10:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14868990', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:40:08] Production.INFO: ProcessCDR(1,14868990,1,1,2)
[2025-04-09 10:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14868990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14868990,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:40:08] Production.INFO: ==24678== Releasing lock...
[2025-04-09 10:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:40:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:40:14] Production.ERROR: CronJobId end10
[2025-04-09 10:40:14] Production.INFO: ==24671== Releasing lock...
[2025-04-09 10:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:40:17] Production.INFO: call_cost start
[2025-04-09 10:40:17] Production.INFO: call_cost end
[2025-04-09 10:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:40:18] Production.INFO: ==24667== Releasing lock...
[2025-04-09 10:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:40:19] Production.INFO: count ==3183
[2025-04-09 10:40:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:40:06 - End Time 2025-04-09 10:40:06
[2025-04-09 10:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868991', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868991', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868991', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868991', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:40:21] Production.INFO: ProcessCDR(1,14868991,1,1,2)
[2025-04-09 10:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868991', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868991', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:40:26] Production.INFO: ==24675== Releasing lock...
[2025-04-09 10:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:40:26] Production.INFO: 51.75 MB #Memory Used#
[2025-04-09 15:41:01] Production.INFO: ==24741== Lock acquired, processing the job...
[2025-04-09 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:41:01] Production.INFO: neon service started
[2025-04-09 15:41:01] Production.INFO: neon service started
[2025-04-09 15:41:01] Production.INFO: ==24741== Releasing lock...
[2025-04-09 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:41:02] Production.INFO: ==24743== Lock acquired, processing the job...
[2025-04-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:41:02] Production.INFO: ==24743== Releasing lock...
[2025-04-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:41:02] Production.INFO: ==24745== Lock acquired, processing the job...
[2025-04-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:41:02] Production.INFO: ==24745== Releasing lock...
[2025-04-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:41:03] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:41:03] Production.INFO: ==24757== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:41:03] Production.INFO: count ==12
[2025-04-09 10:41:03] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:41:03] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:41:03] Production.INFO: count ==23
[2025-04-09 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868992') start
[2025-04-09 10:41:03] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:41:03] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-04-09 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14868992') end
[2025-04-09 10:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:41:03] Production.INFO: 1
[2025-04-09 10:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:41:03] Production.INFO: ==24757== Releasing lock...
[2025-04-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:41:03] Production.ERROR: done
[2025-04-09 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:41:03] Production.INFO: Account Balance Start.
[2025-04-09 10:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:41:03] Production.INFO: 117
[2025-04-09 10:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:41:04] Production.INFO: Total Charge 0
[2025-04-09 10:41:04] Production.INFO: CreateAllLog End
[2025-04-09 10:41:04] Production.ERROR: done
[2025-04-09 10:41:04] Production.INFO: ==24749== Releasing lock...
[2025-04-09 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:41:04] Production.INFO: Account Balance End.
[2025-04-09 10:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:41:04] Production.INFO: ==24753== Releasing lock...
[2025-04-09 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:41:05
[end_date_ymd] => 2025-04-09 10:41:05
[RateCDR] => 1
)
[2025-04-09 10:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:41:05' and `end` < '2025-04-09 10:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:41:12] Production.ERROR: CronJobId end10
[2025-04-09 10:41:12] Production.INFO: ==24751== Releasing lock...
[2025-04-09 10:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:41:15] Production.INFO: call_cost start
[2025-04-09 10:41:15] Production.INFO: call_cost end
[2025-04-09 10:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:41:16] Production.INFO: ==24747== Releasing lock...
[2025-04-09 10:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:41:18] Production.INFO: count ==3275
[2025-04-09 10:41:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:41:05 - End Time 2025-04-09 10:41:05
[2025-04-09 10:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868996', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14868996', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868996', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14868996', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:41:19] Production.INFO: ProcessCDR(1,14868996,1,1,2)
[2025-04-09 10:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14868996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14868996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14868996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14868996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868996', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14868996', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:41:25] Production.INFO: ==24755== Releasing lock...
[2025-04-09 10:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:41:25] Production.INFO: 52.5 MB #Memory Used#
[2025-04-09 15:42:02] Production.INFO: ==24814== Lock acquired, processing the job...
[2025-04-09 15:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:42:02] Production.INFO: neon service started
[2025-04-09 15:42:02] Production.INFO: neon service started
[2025-04-09 15:42:02] Production.INFO: ==24814== Releasing lock...
[2025-04-09 15:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:42:03] Production.INFO: ==24818== Lock acquired, processing the job...
[2025-04-09 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 10:42:03] Production.INFO: ==24816== Lock acquired, processing the job...
[2025-04-09 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:42:03] Production.INFO: ==24818== Releasing lock...
[2025-04-09 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:42:03] Production.INFO: ==24816== Releasing lock...
[2025-04-09 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:42:04] Production.INFO: ==24825== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:42:04] Production.INFO: ==24831== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:42:04] Production.INFO: ==24821== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:42:04] Production.INFO: ==24823== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:42:04] Production.INFO: count ==12
[2025-04-09 10:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:42:04] Production.INFO: count ==23
[2025-04-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868997') start
[2025-04-09 10:42:04] Production.INFO: ==24827== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:42:04] Production.INFO: ==24829== Lock acquired, processing the job...
[2025-04-09 10:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14868997') end
[2025-04-09 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:42:04] Production.INFO: 1
[2025-04-09 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:42:04] Production.INFO: ==24831== Releasing lock...
[2025-04-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:42:04] Production.INFO: Account Balance Start.
[2025-04-09 10:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:42:04] Production.INFO: 117
[2025-04-09 10:42:05] Production.INFO: Date 2025-04-08
[2025-04-09 10:42:05] Production.INFO: Reseller ==> 0
[2025-04-09 10:42:05] Production.INFO: Date 2025-04-09
[2025-04-09 10:42:05] Production.INFO: Reseller ==> 0
[2025-04-09 10:42:05] Production.INFO: Total Charge 0
[2025-04-09 10:42:05] Production.INFO: CreateAllLog End
[2025-04-09 10:42:05] Production.ERROR: done
[2025-04-09 10:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:42:05] Production.INFO: ==24823== Releasing lock...
[2025-04-09 10:42:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:42:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:42:05] Production.ERROR: done
[2025-04-09 10:42:05] Production.INFO: Account Balance End.
[2025-04-09 10:42:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:42:05] Production.INFO: ==24827== Releasing lock...
[2025-04-09 10:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:42:06
[end_date_ymd] => 2025-04-09 10:42:06
[RateCDR] => 1
)
[2025-04-09 10: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-04-09 07:42:06' and `end` < '2025-04-09 10: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-04-09 10:42:12] Production.ERROR: CronJobId end10
[2025-04-09 10:42:12] Production.INFO: ==24825== Releasing lock...
[2025-04-09 10:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:42:15] Production.INFO: call_cost start
[2025-04-09 10:42:15] Production.INFO: call_cost end
[2025-04-09 10:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:42:16] Production.INFO: ==24821== Releasing lock...
[2025-04-09 10:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:42:19] Production.INFO: count ==3290
[2025-04-09 10:42:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:42:06 - End Time 2025-04-09 10:42:06
[2025-04-09 10:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869001', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869001', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869001', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869001', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:42:21] Production.INFO: ProcessCDR(1,14869001,1,1,2)
[2025-04-09 10:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869001', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869001', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:42:26] Production.INFO: ==24829== Releasing lock...
[2025-04-09 10:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:42:26] Production.INFO: 53 MB #Memory Used#
[2025-04-09 15:43:01] Production.INFO: ==24889== Lock acquired, processing the job...
[2025-04-09 15:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:43:01] Production.INFO: neon service started
[2025-04-09 15:43:01] Production.INFO: neon service started
[2025-04-09 15:43:01] Production.INFO: ==24889== Releasing lock...
[2025-04-09 15:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:43:02] Production.INFO: ==24891== Lock acquired, processing the job...
[2025-04-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:43:02] Production.INFO: ==24891== Releasing lock...
[2025-04-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:43:02] Production.INFO: ==24893== Lock acquired, processing the job...
[2025-04-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:43:02] Production.INFO: ==24893== Releasing lock...
[2025-04-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:43:03] Production.INFO: ==24901== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:43:03] Production.INFO: ==24895== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:43:03] Production.INFO: ==24906== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:43:03] Production.INFO: Account Balance Start.
[2025-04-09 10:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:43:03] Production.INFO: 117
[2025-04-09 10:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:43:03] Production.INFO: ==24897== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:43:03] Production.INFO: ==24899== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10: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-04-09 10:43:03] Production.INFO: Total Charge 0
[2025-04-09 10:43:03] Production.INFO: CreateAllLog End
[2025-04-09 10:43:03] Production.INFO: count ==12
[2025-04-09 10: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-04-09 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:43:03] Production.INFO: count ==23
[2025-04-09 10:43:03] Production.INFO: ==24903== Lock acquired, processing the job...
[2025-04-09 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869003') start
[2025-04-09 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869003') end
[2025-04-09 10:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:43:03] Production.INFO: 1
[2025-04-09 10:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:43:04] Production.INFO: ==24906== Releasing lock...
[2025-04-09 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:43:04] Production.INFO: ==24897== Releasing lock...
[2025-04-09 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:43:04] Production.INFO: Account Balance End.
[2025-04-09 10:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:43:04] Production.INFO: ==24901== Releasing lock...
[2025-04-09 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:43:04] Production.ERROR: done
[2025-04-09 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:43:04] Production.ERROR: done
[2025-04-09 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:43:05
[end_date_ymd] => 2025-04-09 10:43:05
[RateCDR] => 1
)
[2025-04-09 10:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:43:05' and `end` < '2025-04-09 10:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:43:11] Production.ERROR: CronJobId end10
[2025-04-09 10:43:11] Production.INFO: ==24899== Releasing lock...
[2025-04-09 10:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:43:14] Production.INFO: call_cost start
[2025-04-09 10:43:14] Production.INFO: call_cost end
[2025-04-09 10:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:43:15] Production.INFO: ==24895== Releasing lock...
[2025-04-09 10:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:43:19] Production.INFO: count ==3310
[2025-04-09 10:43:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:43:05 - End Time 2025-04-09 10:43:05
[2025-04-09 10:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869006', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869006', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869006', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869006', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:43:20] Production.INFO: ProcessCDR(1,14869006,1,1,2)
[2025-04-09 10:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869006', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869006', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:43:25] Production.INFO: ==24903== Releasing lock...
[2025-04-09 10:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:43:25] Production.INFO: 52.75 MB #Memory Used#
[2025-04-09 15:44:02] Production.INFO: ==24964== Lock acquired, processing the job...
[2025-04-09 15:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:44:02] Production.INFO: neon service started
[2025-04-09 15:44:02] Production.INFO: neon service started
[2025-04-09 15:44:02] Production.INFO: ==24964== Releasing lock...
[2025-04-09 15:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:44:02] Production.INFO: ==24966== Lock acquired, processing the job...
[2025-04-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:44:03] Production.INFO: ==24966== Releasing lock...
[2025-04-09 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:44:03] Production.INFO: ==24968== Lock acquired, processing the job...
[2025-04-09 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:44:03] Production.INFO: ==24968== Releasing lock...
[2025-04-09 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:44:03] Production.INFO: ==24971== Lock acquired, processing the job...
[2025-04-09 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:44:04] Production.INFO: ==24975== Lock acquired, processing the job...
[2025-04-09 10:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:44:04] Production.INFO: ==24979== Lock acquired, processing the job...
[2025-04-09 10:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:44:04] Production.INFO: ==24973== Lock acquired, processing the job...
[2025-04-09 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:44:04] Production.INFO: ==24977== Lock acquired, processing the job...
[2025-04-09 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:44:04] Production.INFO: ==24981== Lock acquired, processing the job...
[2025-04-09 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:44:04] Production.INFO: Account Balance Start.
[2025-04-09 10:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:44:04] Production.INFO: 117
[2025-04-09 10:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:44:04] Production.ERROR: done
[2025-04-09 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10: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-04-09 10:44:04] Production.INFO: Total Charge 0
[2025-04-09 10:44:04] Production.INFO: CreateAllLog End
[2025-04-09 10:44:04] Production.INFO: count ==12
[2025-04-09 10:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:44:04] Production.INFO: count ==23
[2025-04-09 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869010') start
[2025-04-09 10:44:04] Production.ERROR: done
[2025-04-09 10:44:04] Production.INFO: ==24973== Releasing lock...
[2025-04-09 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:44:04] Production.INFO: Account Balance End.
[2025-04-09 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869010') end
[2025-04-09 10:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:44:04] Production.INFO: 1
[2025-04-09 10:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:44:04] Production.INFO: ==24981== Releasing lock...
[2025-04-09 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:44:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:44:05] Production.INFO: ==24977== Releasing lock...
[2025-04-09 10:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:44:05
[end_date_ymd] => 2025-04-09 10:44:05
[RateCDR] => 1
)
[2025-04-09 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:44:05' and `end` < '2025-04-09 10:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:44:12] Production.ERROR: CronJobId end10
[2025-04-09 10:44:12] Production.INFO: ==24975== Releasing lock...
[2025-04-09 10:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:44:15] Production.INFO: call_cost start
[2025-04-09 10:44:15] Production.INFO: call_cost end
[2025-04-09 10:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:44:16] Production.INFO: ==24971== Releasing lock...
[2025-04-09 10:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:44:19] Production.INFO: count ==3324
[2025-04-09 10:44:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:44:05 - End Time 2025-04-09 10:44:05
[2025-04-09 10:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869011', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869011', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869011', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869011', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:44:20] Production.INFO: ProcessCDR(1,14869011,1,1,2)
[2025-04-09 10:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869011', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869011', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:44:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:44:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:44:25] Production.INFO: ==24979== Releasing lock...
[2025-04-09 10:44:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:44:25] Production.INFO: 52.75 MB #Memory Used#
[2025-04-09 15:45:01] Production.INFO: ==25037== Lock acquired, processing the job...
[2025-04-09 15:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:45:01] Production.INFO: neon service started
[2025-04-09 15:45:01] Production.INFO: neon service started
[2025-04-09 15:45:01] Production.INFO: ==25037== Releasing lock...
[2025-04-09 15:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:45:02] Production.INFO: ==25039== Lock acquired, processing the job...
[2025-04-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:45:02] Production.INFO: ==25039== Releasing lock...
[2025-04-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:45:02] Production.INFO: ==25041== Lock acquired, processing the job...
[2025-04-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:45:03] Production.INFO: ==25041== Releasing lock...
[2025-04-09 14:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:45:03] Production.INFO: ==25054== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:45:03] Production.INFO: ==25044== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:45:03] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:45:03] Production.INFO: ==25050== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10: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-04-09 10:45:03] Production.INFO: count ==12
[2025-04-09 10:45:03] Production.INFO: ==25052== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:45:03] Production.INFO: ==25048== Lock acquired, processing the job...
[2025-04-09 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10: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-04-09 10:45:03] Production.INFO: count ==23
[2025-04-09 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869012') start
[2025-04-09 10:45:03] Production.INFO: Account Balance Start.
[2025-04-09 10:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:45:03] Production.INFO: 117
[2025-04-09 10:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869012') end
[2025-04-09 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:45:04] Production.INFO: 1
[2025-04-09 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:45:04] Production.INFO: Total Charge 0
[2025-04-09 10:45:04] Production.INFO: CreateAllLog End
[2025-04-09 10:45:04] Production.INFO: ==25054== Releasing lock...
[2025-04-09 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:45:04] Production.INFO: ==25046== Releasing lock...
[2025-04-09 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:45:04] Production.ERROR: done
[2025-04-09 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:45:04] Production.INFO: Account Balance End.
[2025-04-09 10:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:45:04] Production.INFO: ==25050== Releasing lock...
[2025-04-09 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:45:04] Production.ERROR: done
[2025-04-09 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:45:05
[end_date_ymd] => 2025-04-09 10:45:05
[RateCDR] => 1
)
[2025-04-09 10:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:45:05' and `end` < '2025-04-09 10:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:45:12] Production.ERROR: CronJobId end10
[2025-04-09 10:45:12] Production.INFO: ==25048== Releasing lock...
[2025-04-09 10:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:45:15] Production.INFO: call_cost start
[2025-04-09 10:45:15] Production.INFO: call_cost end
[2025-04-09 10:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:45:16] Production.INFO: ==25044== Releasing lock...
[2025-04-09 10:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:45:19] Production.INFO: count ==3350
[2025-04-09 10:45:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:45:05 - End Time 2025-04-09 10:45:05
[2025-04-09 10:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869016', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869016', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869016', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869016', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:45:20] Production.INFO: ProcessCDR(1,14869016,1,1,2)
[2025-04-09 10:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869016', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869016', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:45:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:45:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:45:25] Production.INFO: ==25052== Releasing lock...
[2025-04-09 10:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:45:25] Production.INFO: 53 MB #Memory Used#
[2025-04-09 15:46:01] Production.INFO: ==25111== Lock acquired, processing the job...
[2025-04-09 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:46:01] Production.INFO: neon service started
[2025-04-09 15:46:01] Production.INFO: neon service started
[2025-04-09 15:46:01] Production.INFO: ==25111== Releasing lock...
[2025-04-09 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:46:01] Production.INFO: ==25113== Lock acquired, processing the job...
[2025-04-09 10:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:46:02] Production.INFO: ==25113== Releasing lock...
[2025-04-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:46:02] Production.INFO: ==25115== Lock acquired, processing the job...
[2025-04-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:46:02] Production.INFO: ==25115== Releasing lock...
[2025-04-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:46:03] Production.INFO: ==25119== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:46:03] Production.INFO: ==25128== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:46:03] Production.INFO: ==25117== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:46:03] Production.INFO: count ==12
[2025-04-09 10:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:46:03] Production.INFO: count ==23
[2025-04-09 10:46:03] Production.INFO: ==25121== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869017') start
[2025-04-09 10:46:03] Production.INFO: ==25126== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:46:03] Production.INFO: ==25123== Lock acquired, processing the job...
[2025-04-09 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869017') end
[2025-04-09 10:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:46:03] Production.INFO: 1
[2025-04-09 10:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:46:03] Production.INFO: ==25128== Releasing lock...
[2025-04-09 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:46:03] Production.INFO: Account Balance Start.
[2025-04-09 10:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:46:03] Production.INFO: 117
[2025-04-09 10:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:46:03] Production.INFO: ==25119== Releasing lock...
[2025-04-09 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:46:03] Production.INFO: Total Charge 0
[2025-04-09 10:46:03] Production.INFO: CreateAllLog End
[2025-04-09 10:46:03] Production.ERROR: done
[2025-04-09 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:46:04] Production.ERROR: done
[2025-04-09 10:46:04] Production.INFO: Account Balance End.
[2025-04-09 10:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:46:04] Production.INFO: ==25123== Releasing lock...
[2025-04-09 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:46:04
[end_date_ymd] => 2025-04-09 10:46:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:46:04' and `end` < '2025-04-09 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-04-09 10:46:12] Production.ERROR: CronJobId end10
[2025-04-09 10:46:12] Production.INFO: ==25121== Releasing lock...
[2025-04-09 10:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:46:14] Production.INFO: call_cost start
[2025-04-09 10:46:14] Production.INFO: call_cost end
[2025-04-09 10:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:46:15] Production.INFO: ==25117== Releasing lock...
[2025-04-09 10:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:46:18] Production.INFO: count ==3358
[2025-04-09 10:46:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:46:04 - End Time 2025-04-09 10:46:04
[2025-04-09 10:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869021', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869021', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869021', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869021', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:46:19] Production.INFO: ProcessCDR(1,14869021,1,1,2)
[2025-04-09 10:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869021', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869021', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:46:25] Production.INFO: ==25126== Releasing lock...
[2025-04-09 10:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:46:25] Production.INFO: 53 MB #Memory Used#
[2025-04-09 15:47:01] Production.INFO: ==25220== Lock acquired, processing the job...
[2025-04-09 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:47:01] Production.INFO: neon service started
[2025-04-09 15:47:01] Production.INFO: neon service started
[2025-04-09 15:47:01] Production.INFO: ==25220== Releasing lock...
[2025-04-09 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:47:02] Production.INFO: ==25225== Lock acquired, processing the job...
[2025-04-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:47:02] Production.INFO: ==25225== Releasing lock...
[2025-04-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:47:02] Production.INFO: ==25223== Lock acquired, processing the job...
[2025-04-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:47:02] Production.INFO: ==25223== Releasing lock...
[2025-04-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:47:03] Production.INFO: ==25233== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:47:03] Production.INFO: ==25231== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:47:03] Production.INFO: Account Balance Start.
[2025-04-09 10:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:47:03] Production.INFO: 117
[2025-04-09 10:47:03] Production.INFO: ==25227== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:47:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:47:03] Production.INFO: ==25229== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:47:03] Production.INFO: Total Charge 0
[2025-04-09 10:47:03] Production.INFO: CreateAllLog End
[2025-04-09 10:47:03] Production.INFO: ==25235== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:47:03] Production.INFO: ==25237== Lock acquired, processing the job...
[2025-04-09 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 10:47:03] Production.INFO: count ==12
[2025-04-09 10:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:47:04] Production.INFO: count ==23
[2025-04-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869024') start
[2025-04-09 10:47:04] Production.INFO: Account Balance End.
[2025-04-09 10:47:04] Production.ERROR: done
[2025-04-09 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869024') end
[2025-04-09 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:47:04] Production.INFO: 1
[2025-04-09 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:47:04] Production.INFO: ==25233== Releasing lock...
[2025-04-09 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:47:04] Production.INFO: ==25237== Releasing lock...
[2025-04-09 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:47:04] Production.ERROR: done
[2025-04-09 10:47:04] Production.INFO: ==25229== Releasing lock...
[2025-04-09 10:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:47:05
[end_date_ymd] => 2025-04-09 10:47:05
[RateCDR] => 1
)
[2025-04-09 10:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:47:05' and `end` < '2025-04-09 10:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:47:12] Production.ERROR: CronJobId end10
[2025-04-09 10:47:12] Production.INFO: ==25231== Releasing lock...
[2025-04-09 10:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:47:15] Production.INFO: call_cost start
[2025-04-09 10:47:15] Production.INFO: call_cost end
[2025-04-09 10:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:47:16] Production.INFO: ==25227== Releasing lock...
[2025-04-09 10:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:47:19] Production.INFO: count ==3369
[2025-04-09 10:47:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:47:05 - End Time 2025-04-09 10:47:05
[2025-04-09 10:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869026', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869026', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869026', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869026', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:47:20] Production.INFO: ProcessCDR(1,14869026,1,1,2)
[2025-04-09 10:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869026', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869026', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:47:25] Production.INFO: ==25235== Releasing lock...
[2025-04-09 10:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:47:25] Production.INFO: 53 MB #Memory Used#
[2025-04-09 15:48:02] Production.INFO: ==25295== Lock acquired, processing the job...
[2025-04-09 15:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:48:02] Production.INFO: neon service started
[2025-04-09 15:48:02] Production.INFO: neon service started
[2025-04-09 15:48:02] Production.INFO: ==25295== Releasing lock...
[2025-04-09 15:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:48:02] Production.INFO: ==25297== Lock acquired, processing the job...
[2025-04-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:48:02] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-04-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:48:03] Production.INFO: ==25299== Releasing lock...
[2025-04-09 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:48:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:48:03] Production.INFO: ==25297== Releasing lock...
[2025-04-09 10:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:48:04] Production.INFO: ==25304== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:48:04] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:48:04] Production.INFO: ==25308== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:48:04] Production.INFO: ==25306== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:48:04] Production.INFO: ==25310== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:48:04] Production.INFO: Account Balance Start.
[2025-04-09 10:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:48:04] Production.INFO: 117
[2025-04-09 10:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:48:04] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-04-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:48:04] Production.INFO: Total Charge 0
[2025-04-09 10:48:04] Production.INFO: CreateAllLog End
[2025-04-09 10:48:04] Production.INFO: count ==12
[2025-04-09 10:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:48:04] Production.INFO: count ==23
[2025-04-09 10:48:04] Production.INFO: ==25304== Releasing lock...
[2025-04-09 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869030') start
[2025-04-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869030') end
[2025-04-09 10:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:48:04] Production.INFO: 1
[2025-04-09 10:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:48:04] Production.INFO: ==25312== Releasing lock...
[2025-04-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:48:04] Production.ERROR: done
[2025-04-09 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:48:04] Production.INFO: Account Balance End.
[2025-04-09 10:48:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:48:05] Production.INFO: ==25308== Releasing lock...
[2025-04-09 10:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:48:05] Production.ERROR: done
[2025-04-09 10:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:48:06
[end_date_ymd] => 2025-04-09 10:48:06
[RateCDR] => 1
)
[2025-04-09 10:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:48:06' and `end` < '2025-04-09 10:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:48:12] Production.ERROR: CronJobId end10
[2025-04-09 10:48:12] Production.INFO: ==25306== Releasing lock...
[2025-04-09 10:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:48:15] Production.INFO: call_cost start
[2025-04-09 10:48:15] Production.INFO: call_cost end
[2025-04-09 10:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:48:16] Production.INFO: ==25302== Releasing lock...
[2025-04-09 10:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:48:19] Production.INFO: count ==3389
[2025-04-09 10:48:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:48:06 - End Time 2025-04-09 10:48:06
[2025-04-09 10:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869031', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869031', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869031', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869031', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:48:20] Production.INFO: ProcessCDR(1,14869031,1,1,2)
[2025-04-09 10:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869031', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869031', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:48:26] Production.INFO: ==25310== Releasing lock...
[2025-04-09 10:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:48:26] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:49:01] Production.INFO: ==25369== Lock acquired, processing the job...
[2025-04-09 15:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:49:01] Production.INFO: neon service started
[2025-04-09 15:49:01] Production.INFO: neon service started
[2025-04-09 15:49:01] Production.INFO: ==25369== Releasing lock...
[2025-04-09 15:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:49:02] Production.INFO: ==25372== Lock acquired, processing the job...
[2025-04-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:49:02] Production.INFO: ==25372== Releasing lock...
[2025-04-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:49:02] Production.INFO: ==25374== Lock acquired, processing the job...
[2025-04-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:49:02] Production.INFO: ==25374== Releasing lock...
[2025-04-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:49:03] Production.INFO: ==25380== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:49:03] Production.INFO: ==25376== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:49:03] Production.INFO: ==25386== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:49:03] Production.INFO: ==25378== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:49:03] Production.INFO: ==25382== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:49:03] Production.INFO: count ==12
[2025-04-09 10:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:49:03] Production.INFO: count ==23
[2025-04-09 10:49:03] Production.INFO: Account Balance Start.
[2025-04-09 10:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:49:03] Production.INFO: ==25384== Lock acquired, processing the job...
[2025-04-09 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869032') start
[2025-04-09 10:49:03] Production.INFO: 117
[2025-04-09 10:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869032') end
[2025-04-09 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:49:04] Production.INFO: 1
[2025-04-09 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:49:04] Production.INFO: Total Charge 0
[2025-04-09 10:49:04] Production.INFO: CreateAllLog End
[2025-04-09 10:49:04] Production.INFO: ==25386== Releasing lock...
[2025-04-09 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:49:04] Production.INFO: ==25378== Releasing lock...
[2025-04-09 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:49:04] Production.ERROR: done
[2025-04-09 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:49:04] Production.INFO: Account Balance End.
[2025-04-09 10:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:49:04] Production.INFO: ==25382== Releasing lock...
[2025-04-09 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:49:04] Production.ERROR: done
[2025-04-09 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:49:05
[end_date_ymd] => 2025-04-09 10:49:05
[RateCDR] => 1
)
[2025-04-09 10:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:49:05' and `end` < '2025-04-09 10:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:49:12] Production.ERROR: CronJobId end10
[2025-04-09 10:49:12] Production.INFO: ==25380== Releasing lock...
[2025-04-09 10:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:49:14] Production.INFO: call_cost start
[2025-04-09 10:49:14] Production.INFO: call_cost end
[2025-04-09 10:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:49:15] Production.INFO: ==25376== Releasing lock...
[2025-04-09 10:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:49:19] Production.INFO: count ==3388
[2025-04-09 10:49:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:49:05 - End Time 2025-04-09 10:49:05
[2025-04-09 10:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869036', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869036', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869036', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869036', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:49:20] Production.INFO: ProcessCDR(1,14869036,1,1,2)
[2025-04-09 10:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869036', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869036', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:49:24] Production.INFO: ==25384== Releasing lock...
[2025-04-09 10:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:49:24] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:50:02] Production.INFO: ==25441== Lock acquired, processing the job...
[2025-04-09 15:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:50:02] Production.INFO: neon service started
[2025-04-09 15:50:02] Production.INFO: neon service started
[2025-04-09 15:50:02] Production.INFO: ==25441== Releasing lock...
[2025-04-09 15:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:50:02] Production.INFO: ==25443== Lock acquired, processing the job...
[2025-04-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:50:03] Production.INFO: ==25443== Releasing lock...
[2025-04-09 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:50:03] Production.INFO: ==25445== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:50:03] Production.INFO: ==25445== Releasing lock...
[2025-04-09 14:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:50:04] Production.INFO: ==25448== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 10:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 10:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 10:50:04] Production.INFO: ==25448== Releasing lock...
[2025-04-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 10:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 10:50:04] Production.INFO: ==25458== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:50:04] Production.INFO: ==25450== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:50:04] Production.INFO: ==25452== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:50:04] Production.INFO: ==25462== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:50:04] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:50:04] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:50:04] Production.INFO: ==25460== Lock acquired, processing the job...
[2025-04-09 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:50:04] Production.INFO: count ==12
[2025-04-09 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:50:04] Production.INFO: count ==23
[2025-04-09 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869037') start
[2025-04-09 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:50:04] Production.INFO: Account Balance Start.
[2025-04-09 10:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:50:04] Production.INFO: 117
[2025-04-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869037') end
[2025-04-09 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:50:04] Production.INFO: 1
[2025-04-09 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:50:04] Production.INFO: ==25462== Releasing lock...
[2025-04-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:50:05] Production.ERROR: done
[2025-04-09 10:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:50:05] Production.INFO: Date 2025-04-09
[2025-04-09 10:50:05] Production.INFO: Reseller ==> 0
[2025-04-09 10:50:05] Production.INFO: Total Charge 0
[2025-04-09 10:50:05] Production.INFO: CreateAllLog End
[2025-04-09 10:50:05] Production.ERROR: done
[2025-04-09 10:50:05] Production.ERROR: done
[2025-04-09 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869041', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 10:50:05] Production.INFO: ==25452== Releasing lock...
[2025-04-09 10:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:50:05] Production.INFO: Account Balance End.
[2025-04-09 10:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:50:05] Production.INFO: ==25456== Releasing lock...
[2025-04-09 10:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:50:06
[end_date_ymd] => 2025-04-09 10:50:06
[RateCDR] => 1
)
[2025-04-09 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:50:06' and `end` < '2025-04-09 10:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869041', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 10:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 10:50:09] Production.INFO: ProcessCDR(1,14869041,1,1,2)
[2025-04-09 10:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:50:09] Production.INFO: ==25460== Releasing lock...
[2025-04-09 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 10:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 10:50:14] Production.ERROR: CronJobId end10
[2025-04-09 10:50:14] Production.INFO: ==25454== Releasing lock...
[2025-04-09 10:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:50:17] Production.INFO: call_cost start
[2025-04-09 10:50:17] Production.INFO: call_cost end
[2025-04-09 10:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:50:17] Production.INFO: ==25450== Releasing lock...
[2025-04-09 10:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:50:20] Production.INFO: count ==3389
[2025-04-09 10:50:21] Production.ERROR: pbx CDR StartTime 2025-04-09 07:50:06 - End Time 2025-04-09 10:50:06
[2025-04-09 10:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869042', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869042', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869042', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869042', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:50:21] Production.INFO: ProcessCDR(1,14869042,1,1,2)
[2025-04-09 10:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:50:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869042', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869042', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:50:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:50:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:50:26] Production.INFO: ==25458== Releasing lock...
[2025-04-09 10:50:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:50:26] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:51:01] Production.INFO: ==25521== Lock acquired, processing the job...
[2025-04-09 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:51:01] Production.INFO: neon service started
[2025-04-09 15:51:01] Production.INFO: neon service started
[2025-04-09 15:51:01] Production.INFO: ==25521== Releasing lock...
[2025-04-09 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:51:02] Production.INFO: ==25525== Lock acquired, processing the job...
[2025-04-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:51:02] Production.INFO: ==25525== Releasing lock...
[2025-04-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:51:02] Production.INFO: ==25523== Lock acquired, processing the job...
[2025-04-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:51:02] Production.INFO: ==25523== Releasing lock...
[2025-04-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:51:03] Production.INFO: ==25533== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:51:03] Production.INFO: ==25538== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:51:03] Production.INFO: Account Balance Start.
[2025-04-09 10:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:51:03] Production.INFO: 117
[2025-04-09 10:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:51:03] Production.INFO: count ==12
[2025-04-09 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-04-09 10:51:03] Production.INFO: count ==23
[2025-04-09 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869044') start
[2025-04-09 10:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:51:03] Production.INFO: ==25527== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:51:03] Production.INFO: Total Charge 0
[2025-04-09 10:51:03] Production.INFO: ==25529== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:51:03] Production.INFO: CreateAllLog End
[2025-04-09 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869044') end
[2025-04-09 10:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:51:03] Production.INFO: 1
[2025-04-09 10:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:51:03] Production.INFO: ==25531== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:51:03] Production.INFO: ==25536== Lock acquired, processing the job...
[2025-04-09 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:51:03] Production.INFO: ==25538== Releasing lock...
[2025-04-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:51:03] Production.INFO: Account Balance End.
[2025-04-09 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:51:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:51:03] Production.INFO: ==25533== Releasing lock...
[2025-04-09 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:51:04] Production.INFO: ==25529== Releasing lock...
[2025-04-09 10:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:51:04] Production.ERROR: done
[2025-04-09 10:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:51:04] Production.ERROR: done
[2025-04-09 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:51:05
[end_date_ymd] => 2025-04-09 10:51:05
[RateCDR] => 1
)
[2025-04-09 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:51:05' and `end` < '2025-04-09 10:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:51:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-09 10:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:51:12] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:51:12] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:51:12] Production.INFO: call_cost start
[2025-04-09 10:51:12] Production.INFO: call_cost end
[2025-04-09 10:51:12] Production.ERROR: CronJobId end10
[2025-04-09 10:51:12] Production.INFO: ==25531== Releasing lock...
[2025-04-09 10:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:51:13] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:51:13] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:51:13] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:51:13] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:51:13] Production.INFO: ==25527== Releasing lock...
[2025-04-09 10:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:51:19] Production.INFO: count ==3503
[2025-04-09 10:51:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:51:05 - End Time 2025-04-09 10:51:05
[2025-04-09 10:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869047', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869047', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869047', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869047', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:51:20] Production.INFO: ProcessCDR(1,14869047,1,1,2)
[2025-04-09 10:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:51:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869047', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869047', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:51:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:51:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:51:25] Production.INFO: ==25536== Releasing lock...
[2025-04-09 10:51:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:51:25] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:52:02] Production.INFO: ==25594== Lock acquired, processing the job...
[2025-04-09 15:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:52:02] Production.INFO: neon service started
[2025-04-09 15:52:02] Production.INFO: neon service started
[2025-04-09 15:52:02] Production.INFO: ==25594== Releasing lock...
[2025-04-09 15:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:52:02] Production.INFO: ==25598== Lock acquired, processing the job...
[2025-04-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:52:02] Production.INFO: ==25598== Releasing lock...
[2025-04-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:52:02] Production.INFO: ==25596== Lock acquired, processing the job...
[2025-04-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:52:03] Production.INFO: ==25596== Releasing lock...
[2025-04-09 10:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:52:04] Production.INFO: ==25609== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:52:04] Production.INFO: ==25601== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:52:04] Production.INFO: ==25611== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:52:04] Production.INFO: ==25603== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:52:04] Production.INFO: ==25605== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:52:04] Production.INFO: ==25607== Lock acquired, processing the job...
[2025-04-09 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:52:04] Production.INFO: count ==12
[2025-04-09 10:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:52:04] Production.INFO: count ==23
[2025-04-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869049') start
[2025-04-09 10:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:52:04] Production.INFO: Account Balance Start.
[2025-04-09 10:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:52:04] Production.INFO: 117
[2025-04-09 10:52:04] Production.ERROR: done
[2025-04-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869049') end
[2025-04-09 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:52:04] Production.INFO: 1
[2025-04-09 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:52:04] Production.INFO: ==25611== Releasing lock...
[2025-04-09 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:52:04] Production.INFO: Total Charge 0
[2025-04-09 10:52:04] Production.ERROR: done
[2025-04-09 10:52:04] Production.INFO: CreateAllLog End
[2025-04-09 10:52:04] Production.INFO: ==25603== Releasing lock...
[2025-04-09 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:52:04] Production.INFO: Account Balance End.
[2025-04-09 10:52:05] Production.ERROR: CronJobId end 12
[2025-04-09 10:52:05] Production.INFO: ==25607== Releasing lock...
[2025-04-09 10:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:52:05
[end_date_ymd] => 2025-04-09 10:52:05
[RateCDR] => 1
)
[2025-04-09 10:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:52:05' and `end` < '2025-04-09 10:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:52:13] Production.ERROR: CronJobId end10
[2025-04-09 10:52:13] Production.INFO: ==25605== Releasing lock...
[2025-04-09 10:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:52:15] Production.INFO: call_cost start
[2025-04-09 10:52:15] Production.INFO: call_cost end
[2025-04-09 10:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:52:16] Production.INFO: ==25601== Releasing lock...
[2025-04-09 10:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:52:19] Production.INFO: count ==3511
[2025-04-09 10:52:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:52:05 - End Time 2025-04-09 10:52:05
[2025-04-09 10:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869052', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869052', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869052', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869052', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:52:20] Production.INFO: ProcessCDR(1,14869052,1,1,2)
[2025-04-09 10:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869052', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869052', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:52:25] Production.INFO: ==25609== Releasing lock...
[2025-04-09 10:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:52:25] Production.INFO: 55.25 MB #Memory Used#
[2025-04-09 15:53:01] Production.INFO: ==25669== Lock acquired, processing the job...
[2025-04-09 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:53:01] Production.INFO: neon service started
[2025-04-09 15:53:01] Production.INFO: neon service started
[2025-04-09 15:53:01] Production.INFO: ==25669== Releasing lock...
[2025-04-09 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:53:02] Production.INFO: ==25673== Lock acquired, processing the job...
[2025-04-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:53:02] Production.INFO: ==25673== Releasing lock...
[2025-04-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:53:02] Production.INFO: ==25671== Lock acquired, processing the job...
[2025-04-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:53:02] Production.INFO: ==25671== Releasing lock...
[2025-04-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:53:03] Production.INFO: ==25676== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:53:03] Production.INFO: ==25678== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:53:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:53:03] Production.INFO: ==25680== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:53:03] Production.INFO: ==25678== Releasing lock...
[2025-04-09 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:53:03] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:53:03] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-04-09 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:53:04] Production.INFO: Account Balance Start.
[2025-04-09 10:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:53:04] Production.INFO: 117
[2025-04-09 10:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:53:04] Production.INFO: count ==12
[2025-04-09 10:53:04] Production.ERROR: done
[2025-04-09 10:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:53:04] Production.INFO: count ==23
[2025-04-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869056') start
[2025-04-09 10:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:53:04] Production.INFO: Total Charge 0
[2025-04-09 10:53:04] Production.INFO: CreateAllLog End
[2025-04-09 10:53:04] Production.ERROR: done
[2025-04-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869056') end
[2025-04-09 10:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:53:04] Production.INFO: 1
[2025-04-09 10:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:53:04] Production.INFO: ==25686== Releasing lock...
[2025-04-09 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:53:04] Production.INFO: Account Balance End.
[2025-04-09 10:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:53:04] Production.INFO: ==25682== Releasing lock...
[2025-04-09 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:53:05
[end_date_ymd] => 2025-04-09 10:53:05
[RateCDR] => 1
)
[2025-04-09 10:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:53:05' and `end` < '2025-04-09 10:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:53:12] Production.ERROR: CronJobId end10
[2025-04-09 10:53:12] Production.INFO: ==25680== Releasing lock...
[2025-04-09 10:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:53:15] Production.INFO: call_cost start
[2025-04-09 10:53:15] Production.INFO: call_cost end
[2025-04-09 10:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:53:16] Production.INFO: ==25676== Releasing lock...
[2025-04-09 10:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:53:19] Production.INFO: count ==3514
[2025-04-09 10:53:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:53:05 - End Time 2025-04-09 10:53:05
[2025-04-09 10:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869057', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869057', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869057', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869057', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:53:20] Production.INFO: ProcessCDR(1,14869057,1,1,2)
[2025-04-09 10:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869057', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869057', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:53:25] Production.INFO: ==25684== Releasing lock...
[2025-04-09 10:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:53:25] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:54:02] Production.INFO: ==25741== Lock acquired, processing the job...
[2025-04-09 15:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:54:02] Production.INFO: neon service started
[2025-04-09 15:54:02] Production.INFO: neon service started
[2025-04-09 15:54:02] Production.INFO: ==25741== Releasing lock...
[2025-04-09 15:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:54:02] Production.INFO: ==25743== Lock acquired, processing the job...
[2025-04-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:54:02] Production.INFO: ==25743== Releasing lock...
[2025-04-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:54:02] Production.INFO: ==25745== Lock acquired, processing the job...
[2025-04-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:54:02] Production.INFO: ==25745== Releasing lock...
[2025-04-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:54:03] Production.INFO: ==25753== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:54:03] Production.INFO: ==25757== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:54:03] Production.INFO: Account Balance Start.
[2025-04-09 10:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:54:03] Production.INFO: 117
[2025-04-09 10:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 10:54:03] Production.INFO: ==25747== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:54:03] Production.INFO: Total Charge 0
[2025-04-09 10:54:03] Production.INFO: CreateAllLog End
[2025-04-09 10:54:03] Production.INFO: count ==12
[2025-04-09 10:54:03] Production.INFO: ==25749== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 10:54:03] Production.INFO: count ==23
[2025-04-09 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869059') start
[2025-04-09 10:54:03] Production.INFO: ==25751== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:54:03] Production.INFO: Account Balance End.
[2025-04-09 10:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869059') end
[2025-04-09 10:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:54:03] Production.INFO: 1
[2025-04-09 10:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:54:03] Production.ERROR: CronJobId end 12
[2025-04-09 10:54:03] Production.INFO: ==25753== Releasing lock...
[2025-04-09 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:54:03] Production.INFO: ==25757== Releasing lock...
[2025-04-09 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:54:03] Production.INFO: ==25755== Lock acquired, processing the job...
[2025-04-09 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:54:04] Production.INFO: ==25749== Releasing lock...
[2025-04-09 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:54:04] Production.ERROR: done
[2025-04-09 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:54:04] Production.ERROR: done
[2025-04-09 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:54:05
[end_date_ymd] => 2025-04-09 10:54:05
[RateCDR] => 1
)
[2025-04-09 10:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:54:05' and `end` < '2025-04-09 10:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:54:11] Production.ERROR: CronJobId end10
[2025-04-09 10:54:11] Production.INFO: ==25751== Releasing lock...
[2025-04-09 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:54:14] Production.INFO: call_cost start
[2025-04-09 10:54:14] Production.INFO: call_cost end
[2025-04-09 10:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:54:15] Production.INFO: ==25747== Releasing lock...
[2025-04-09 10:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:54:19] Production.INFO: count ==3525
[2025-04-09 10:54:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:54:05 - End Time 2025-04-09 10:54:05
[2025-04-09 10:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869062', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869062', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869062', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869062', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:54:21] Production.INFO: ProcessCDR(1,14869062,1,1,2)
[2025-04-09 10:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869062', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869062', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:54:26] Production.INFO: ==25755== Releasing lock...
[2025-04-09 10:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:54:26] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:55:01] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-04-09 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:55:01] Production.INFO: neon service started
[2025-04-09 15:55:01] Production.INFO: neon service started
[2025-04-09 15:55:01] Production.INFO: ==25814== Releasing lock...
[2025-04-09 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:55:01] Production.INFO: ==25816== Lock acquired, processing the job...
[2025-04-09 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:55:02] Production.INFO: ==25816== Releasing lock...
[2025-04-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:55:02] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-04-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:55:02] Production.INFO: ==25818== Releasing lock...
[2025-04-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:55:02] Production.INFO: ==25828== Lock acquired, processing the job...
[2025-04-09 10:55:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:55:03] Production.INFO: ==25826== Lock acquired, processing the job...
[2025-04-09 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:55:03] Production.INFO: ==25820== Lock acquired, processing the job...
[2025-04-09 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:55:03] Production.ERROR: done
[2025-04-09 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:55:03] Production.INFO: ==25822== Lock acquired, processing the job...
[2025-04-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:55:03] Production.INFO: ==25824== Lock acquired, processing the job...
[2025-04-09 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:55:03] Production.INFO: ==25830== Lock acquired, processing the job...
[2025-04-09 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:55:03] Production.INFO: Account Balance Start.
[2025-04-09 10:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:55:03] Production.INFO: 117
[2025-04-09 10:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:55:03] Production.ERROR: done
[2025-04-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:55:03] Production.INFO: count ==12
[2025-04-09 10:55:03] Production.INFO: Total Charge 0
[2025-04-09 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:55:03] Production.INFO: count ==23
[2025-04-09 10:55:03] Production.INFO: CreateAllLog End
[2025-04-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869064') start
[2025-04-09 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869064') end
[2025-04-09 10:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:55:04] Production.INFO: 1
[2025-04-09 10:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:55:04] Production.INFO: Account Balance End.
[2025-04-09 10:55:04] Production.INFO: ==25822== Releasing lock...
[2025-04-09 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:55:04] Production.INFO: ==25826== Releasing lock...
[2025-04-09 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:55:04] Production.INFO: ==25830== Releasing lock...
[2025-04-09 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:55:04
[end_date_ymd] => 2025-04-09 10:55:04
[RateCDR] => 1
)
[2025-04-09 10:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:55:04' and `end` < '2025-04-09 10:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:55:11] Production.ERROR: CronJobId end10
[2025-04-09 10:55:11] Production.INFO: ==25824== Releasing lock...
[2025-04-09 10:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:55:14] Production.INFO: call_cost start
[2025-04-09 10:55:14] Production.INFO: call_cost end
[2025-04-09 10:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:55:15] Production.INFO: ==25820== Releasing lock...
[2025-04-09 10:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:55:18] Production.INFO: count ==3536
[2025-04-09 10:55:19] Production.ERROR: pbx CDR StartTime 2025-04-09 07:55:04 - End Time 2025-04-09 10:55:04
[2025-04-09 10:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869067', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869067', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869067', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869067', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:55:19] Production.INFO: ProcessCDR(1,14869067,1,1,2)
[2025-04-09 10:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869067', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869067', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:55:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:55:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:55:25] Production.INFO: ==25828== Releasing lock...
[2025-04-09 10:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:55:25] Production.INFO: 55 MB #Memory Used#
[2025-04-09 15:56:02] Production.INFO: ==25885== Lock acquired, processing the job...
[2025-04-09 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:56:02] Production.INFO: neon service started
[2025-04-09 15:56:02] Production.INFO: neon service started
[2025-04-09 15:56:02] Production.INFO: ==25885== Releasing lock...
[2025-04-09 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:56:02] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-04-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:56:02] Production.INFO: ==25889== Releasing lock...
[2025-04-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:56:02] Production.INFO: ==25887== Lock acquired, processing the job...
[2025-04-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:56:02] Production.INFO: ==25887== Releasing lock...
[2025-04-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:56:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:56:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:56:03] Production.INFO: ==25900== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:56:03] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:56:03] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-04-09 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:56:03] Production.INFO: ==25902== Lock acquired, processing the job...
[2025-04-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:56:04] Production.INFO: Account Balance Start.
[2025-04-09 10:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:56:04] Production.INFO: 117
[2025-04-09 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:56:04] Production.INFO: Total Charge 0
[2025-04-09 10:56:04] Production.INFO: CreateAllLog End
[2025-04-09 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:56:04] Production.INFO: ==25894== Releasing lock...
[2025-04-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:56:04] Production.INFO: count ==12
[2025-04-09 10:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:56:04] Production.INFO: count ==23
[2025-04-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869071') start
[2025-04-09 10:56:04] Production.ERROR: done
[2025-04-09 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:56:04] Production.INFO: Account Balance End.
[2025-04-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869071') end
[2025-04-09 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:56:04] Production.INFO: 1
[2025-04-09 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:56:04] Production.INFO: ==25898== Releasing lock...
[2025-04-09 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:56:04] Production.INFO: ==25902== Releasing lock...
[2025-04-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:56:04] Production.ERROR: done
[2025-04-09 10:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:56:05
[end_date_ymd] => 2025-04-09 10:56:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 07:56:05' and `end` < '2025-04-09 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-04-09 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:56:13] Production.ERROR: CronJobId end10
[2025-04-09 10:56:13] Production.INFO: ==25896== Releasing lock...
[2025-04-09 10:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:56:13] Production.INFO: call_cost start
[2025-04-09 10:56:13] Production.INFO: call_cost end
[2025-04-09 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:56:14] Production.INFO: ==25892== Releasing lock...
[2025-04-09 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:56:19] Production.INFO: count ==3537
[2025-04-09 10:56:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:56:05 - End Time 2025-04-09 10:56:05
[2025-04-09 10:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869072', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869072', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869072', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869072', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:56:20] Production.INFO: ProcessCDR(1,14869072,1,1,2)
[2025-04-09 10:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869072', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869072', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:56:25] Production.INFO: ==25900== Releasing lock...
[2025-04-09 10:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:56:25] Production.INFO: 54.25 MB #Memory Used#
[2025-04-09 15:57:01] Production.INFO: ==25961== Lock acquired, processing the job...
[2025-04-09 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:57:01] Production.INFO: neon service started
[2025-04-09 15:57:01] Production.INFO: neon service started
[2025-04-09 15:57:01] Production.INFO: ==25961== Releasing lock...
[2025-04-09 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 10:57:02] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-04-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:57:02] Production.INFO: ==25965== Lock acquired, processing the job...
[2025-04-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:57:02] Production.INFO: ==25965== Releasing lock...
[2025-04-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:57:02] Production.INFO: ==25963== Releasing lock...
[2025-04-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:57:03] Production.INFO: ==25970== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:57:03] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:57:03] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:57:03] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:57:03] Production.INFO: ==25974== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:57:03] Production.INFO: ==25978== Lock acquired, processing the job...
[2025-04-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:57:03] Production.INFO: ==25970== Releasing lock...
[2025-04-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:57:03] Production.INFO: Account Balance Start.
[2025-04-09 10:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:57:03] Production.INFO: 117
[2025-04-09 10:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:57:03] Production.INFO: Total Charge 0
[2025-04-09 10:57:03] Production.INFO: CreateAllLog End
[2025-04-09 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:57:03] Production.ERROR: done
[2025-04-09 10:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:57:04] Production.INFO: count ==12
[2025-04-09 10:57:04] Production.ERROR: done
[2025-04-09 10:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:57:04] Production.INFO: count ==23
[2025-04-09 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869076') start
[2025-04-09 10:57:04] Production.INFO: Account Balance End.
[2025-04-09 10:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:57:04] Production.INFO: ==25974== Releasing lock...
[2025-04-09 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869076') end
[2025-04-09 10:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:57:04] Production.INFO: 1
[2025-04-09 10:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:57:04] Production.INFO: ==25978== Releasing lock...
[2025-04-09 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:57:05
[end_date_ymd] => 2025-04-09 10:57:05
[RateCDR] => 1
)
[2025-04-09 10:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:57:05' and `end` < '2025-04-09 10:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:57:11] Production.ERROR: CronJobId end10
[2025-04-09 10:57:11] Production.INFO: ==25972== Releasing lock...
[2025-04-09 10:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:57:14] Production.INFO: call_cost start
[2025-04-09 10:57:14] Production.INFO: call_cost end
[2025-04-09 10:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:57:15] Production.INFO: ==25968== Releasing lock...
[2025-04-09 10:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:57:19] Production.INFO: count ==3543
[2025-04-09 10:57:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:57:05 - End Time 2025-04-09 10:57:05
[2025-04-09 10:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869077', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869077', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869077', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869077', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:57:20] Production.INFO: ProcessCDR(1,14869077,1,1,2)
[2025-04-09 10:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869077', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869077', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:57:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:57:25] Production.INFO: ==25976== Releasing lock...
[2025-04-09 10:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:57:25] Production.INFO: 54.5 MB #Memory Used#
[2025-04-09 15:58:01] Production.INFO: ==26033== Lock acquired, processing the job...
[2025-04-09 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:58:01] Production.INFO: neon service started
[2025-04-09 15:58:01] Production.INFO: neon service started
[2025-04-09 15:58:01] Production.INFO: ==26033== Releasing lock...
[2025-04-09 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:58:02] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-04-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:58:02] Production.INFO: ==26037== Releasing lock...
[2025-04-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:58:02] Production.INFO: ==26035== Lock acquired, processing the job...
[2025-04-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:58:02] Production.INFO: ==26035== Releasing lock...
[2025-04-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:58:03] Production.INFO: ==26042== Lock acquired, processing the job...
[2025-04-09 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:58:03] Production.INFO: ==26040== Lock acquired, processing the job...
[2025-04-09 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:58:03] Production.INFO: ==26044== Lock acquired, processing the job...
[2025-04-09 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:58:03] Production.INFO: ==26046== Lock acquired, processing the job...
[2025-04-09 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:58:03] Production.INFO: Account Balance Start.
[2025-04-09 10:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 10:58:03] Production.INFO: 117
[2025-04-09 10:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 10:58:03] Production.INFO: ==26050== Lock acquired, processing the job...
[2025-04-09 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 10:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 10:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:58:04] Production.INFO: Total Charge 0
[2025-04-09 10:58:04] Production.INFO: ==26048== Lock acquired, processing the job...
[2025-04-09 10:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:58:04] Production.INFO: ==26042== Releasing lock...
[2025-04-09 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:58:04] Production.INFO: CreateAllLog End
[2025-04-09 10:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:58:04] Production.INFO: count ==12
[2025-04-09 10:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:58:04] Production.INFO: count ==23
[2025-04-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869081') start
[2025-04-09 10:58:04] Production.INFO: Account Balance End.
[2025-04-09 10:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:58:04] Production.INFO: ==26046== Releasing lock...
[2025-04-09 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869081') end
[2025-04-09 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:58:04] Production.INFO: 1
[2025-04-09 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:58:04] Production.INFO: ==26050== Releasing lock...
[2025-04-09 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:58:04] Production.ERROR: done
[2025-04-09 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:58:04] Production.ERROR: done
[2025-04-09 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:58:05
[end_date_ymd] => 2025-04-09 10:58:05
[RateCDR] => 1
)
[2025-04-09 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 07:58:05' and `end` < '2025-04-09 10:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 10:58:12] Production.ERROR: CronJobId end10
[2025-04-09 10:58:12] Production.INFO: ==26044== Releasing lock...
[2025-04-09 10:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:58:15] Production.INFO: call_cost start
[2025-04-09 10:58:15] Production.INFO: call_cost end
[2025-04-09 10:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:58:16] Production.INFO: ==26040== Releasing lock...
[2025-04-09 10:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:58:19] Production.INFO: count ==3547
[2025-04-09 10:58:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:58:05 - End Time 2025-04-09 10:58:05
[2025-04-09 10:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869082', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869082', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869082', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869082', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:58:21] Production.INFO: ProcessCDR(1,14869082,1,1,2)
[2025-04-09 10:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869082', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869082', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:58:26] Production.INFO: ==26048== Releasing lock...
[2025-04-09 10:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:58:26] Production.INFO: 55.25 MB #Memory Used#
[2025-04-09 15:59:02] Production.INFO: ==26107== Lock acquired, processing the job...
[2025-04-09 15:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 15:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 15:59:02] Production.INFO: neon service started
[2025-04-09 15:59:02] Production.INFO: neon service started
[2025-04-09 15:59:02] Production.INFO: ==26107== Releasing lock...
[2025-04-09 15:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 15:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:59:02] Production.INFO: ==26111== Lock acquired, processing the job...
[2025-04-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:59:02] Production.INFO: ==26111== Releasing lock...
[2025-04-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 10:59:02] Production.INFO: ==26109== Lock acquired, processing the job...
[2025-04-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 10:59:03] Production.INFO: ==26109== Releasing lock...
[2025-04-09 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 10:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 10:59:03] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-04-09 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 10:59:04] Production.INFO: ==26122== Lock acquired, processing the job...
[2025-04-09 10:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 10:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 10:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 10:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 10:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 10:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 10:59:04] Production.INFO: ==26113== Lock acquired, processing the job...
[2025-04-09 10:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 10:59:04] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-04-09 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 10:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 10:59:04] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-04-09 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 10:59:04] Production.INFO: ==26124== Lock acquired, processing the job...
[2025-04-09 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 10:59:04] Production.INFO: Account Balance Start.
[2025-04-09 10:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 10:59:04] Production.INFO: 117
[2025-04-09 10:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 10:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 10:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 10:59:04] Production.INFO: Total Charge 0
[2025-04-09 10:59:04] Production.INFO: CreateAllLog End
[2025-04-09 10:59:04] Production.ERROR: done
[2025-04-09 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 10:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:59:04] Production.INFO: count ==12
[2025-04-09 10:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 10:59:04] Production.INFO: count ==23
[2025-04-09 10:59:04] Production.INFO: Account Balance End.
[2025-04-09 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869085') start
[2025-04-09 10:59:04] Production.ERROR: done
[2025-04-09 10:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 10:59:04] Production.INFO: ==26120== Releasing lock...
[2025-04-09 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 10:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869085') end
[2025-04-09 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 10:59:04] Production.INFO: 1
[2025-04-09 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 10:59:04] Production.INFO: ==26124== Releasing lock...
[2025-04-09 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 10:59:04] Production.INFO: ==26115== Releasing lock...
[2025-04-09 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 10:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 07:59:05
[end_date_ymd] => 2025-04-09 10:59:05
[RateCDR] => 1
)
[2025-04-09 10: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-04-09 07:59:05' and `end` < '2025-04-09 10: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-04-09 10:59:12] Production.ERROR: CronJobId end10
[2025-04-09 10:59:12] Production.INFO: ==26117== Releasing lock...
[2025-04-09 10:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 10:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 10:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 10:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 10:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 10:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 10:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 10:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 10:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 10:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 10:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 10:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 10:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 10:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 10:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 10:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 10:59:16] Production.INFO: call_cost start
[2025-04-09 10:59:16] Production.INFO: call_cost end
[2025-04-09 10:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 10:59:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 10:59:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 10:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 10:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 10:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 10:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 10:59:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 10:59:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 10:59:17] Production.INFO: ==26113== Releasing lock...
[2025-04-09 10:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 10:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 10:59:19] Production.INFO: count ==3556
[2025-04-09 10:59:20] Production.ERROR: pbx CDR StartTime 2025-04-09 07:59:05 - End Time 2025-04-09 10:59:05
[2025-04-09 10:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869087', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869087', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869087', 'tblTempVendorCDR_20' ) start
[2025-04-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869087', 'tblTempVendorCDR_20' ) end
[2025-04-09 10:59:20] Production.INFO: ProcessCDR(1,14869087,1,1,2)
[2025-04-09 10:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 10:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 10:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869087', 'tblTempUsageDetail_20' ) start
[2025-04-09 10:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869087', 'tblTempUsageDetail_20' ) end
[2025-04-09 10:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 10:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 10:59:26] Production.INFO: ==26122== Releasing lock...
[2025-04-09 10:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 10:59:26] Production.INFO: 54.5 MB #Memory Used#
[2025-04-09 16:00:01] Production.INFO: ==26181== Lock acquired, processing the job...
[2025-04-09 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:00:01] Production.INFO: neon service started
[2025-04-09 16:00:01] Production.INFO: neon service started
[2025-04-09 16:00:01] Production.INFO: ==26181== Releasing lock...
[2025-04-09 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:00:02] Production.INFO: ==26183== Lock acquired, processing the job...
[2025-04-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:00:02] Production.INFO: ==26185== Lock acquired, processing the job...
[2025-04-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:00:02] Production.INFO: ==26185== Releasing lock...
[2025-04-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:00:03] Production.INFO: ==26183== Releasing lock...
[2025-04-09 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:00:04] Production.INFO: ==26188== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:00:04] Production.INFO: ==26190== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:00:04] Production.INFO: ==26188== Releasing lock...
[2025-04-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:00:04] Production.INFO: ==26192== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:00:04] Production.INFO: ==26194== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:00:04] Production.INFO: ==26196== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-04-09 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:00:04] Production.INFO: ==26198== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:00:04] Production.INFO: ==26202== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:00:04] Production.INFO: Account Balance Start.
[2025-04-09 11:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:00:04] Production.INFO: 117
[2025-04-09 11:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:00:04] Production.INFO: ==26200== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: ==26204== Lock acquired, processing the job...
[2025-04-09 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: ==26192== Releasing lock...
[2025-04-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:04] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-04-09 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:04] Production.INFO: Outstanding Amount 64.98
[2025-04-09 11:00:04] Production.INFO: Invoice Full Number INV11763
[2025-04-09 11:00:04] Production.INFO: Transaction start
[2025-04-09 11:00:04] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 11:00:04] Production.INFO: CreateAllLog End
[2025-04-09 11:00:04] Production.INFO: count ==12
[2025-04-09 11:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:00:05] Production.INFO: count ==23
[2025-04-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869091') start
[2025-04-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869091') end
[2025-04-09 11:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:00:05] Production.INFO: 1
[2025-04-09 11:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:00:05] Production.INFO: ==26204== Releasing lock...
[2025-04-09 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:00:05] Production.ERROR: done
[2025-04-09 11:00:05] Production.ERROR: done
[2025-04-09 11:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869092', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:00:05] Production.INFO: Account Balance End.
[2025-04-09 11:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:00:05] Production.INFO: ==26198== Releasing lock...
[2025-04-09 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:00:05] Production.ERROR: done
[2025-04-09 11:00:06] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL)
#1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException))
#2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request))
#3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array)
#4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array)
#5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create()
#7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction()
#9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->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\BulkAutoPaymentCapture), 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-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:06] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-04-09 11:00:06] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:06] Production.INFO: Outstanding Amount 26.58
[2025-04-09 11:00:06] Production.INFO: Invoice Full Number INV11840
[2025-04-09 11:00:06] Production.INFO: Transaction start
[2025-04-09 11:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:00:07
[end_date_ymd] => 2025-04-09 11:00:07
[RateCDR] => 1
)
[2025-04-09 11:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:00:07' and `end` < '2025-04-09 11:00:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:00:07] Production.INFO: Transaction end
[2025-04-09 11:00:08] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-04-09 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:08] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-04-09 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:08] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-04-09 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:08] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-04-09 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:08] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-04-09 11:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:08] Production.INFO: Outstanding Amount 43.21
[2025-04-09 11:00:08] Production.INFO: Invoice Full Number INV11689
[2025-04-09 11:00:08] Production.INFO: Transaction start
[2025-04-09 11:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869092', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:00:09] Production.INFO: ProcessCDR(1,14869092,1,1,2)
[2025-04-09 11:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869092,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:00:09] Production.INFO: ==26202== Releasing lock...
[2025-04-09 11:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:00:10] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL)
#1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException))
#2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request))
#3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array)
#4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array)
#5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create()
#7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction()
#9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->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\BulkAutoPaymentCapture), 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-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 6
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 7
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 0
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 2
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 3
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 20
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 0
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:10] Production.INFO: PaymentMethod - 1
[2025-04-09 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' )
[2025-04-09 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-09 11:00:12] Production.ERROR: CronJobId end11
[2025-04-09 11:00:12] Production.INFO: ==26196== Releasing lock...
[2025-04-09 11:00:12] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-04-09 11:00:12] Production.INFO: 34.25 MB #Memory Used#
[2025-04-09 11:00:15] Production.ERROR: CronJobId end10
[2025-04-09 11:00:15] Production.INFO: ==26194== Releasing lock...
[2025-04-09 11:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:00:18] Production.INFO: call_cost start
[2025-04-09 11:00:18] Production.INFO: call_cost end
[2025-04-09 11:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:00:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:00:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:00:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:00:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:00:19] Production.INFO: ==26190== Releasing lock...
[2025-04-09 11:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:00:21] Production.INFO: count ==3562
[2025-04-09 11:00:23] Production.ERROR: pbx CDR StartTime 2025-04-09 08:00:07 - End Time 2025-04-09 11:00:07
[2025-04-09 11:00:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869093', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869093', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869093', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869093', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:00:23] Production.INFO: ProcessCDR(1,14869093,1,1,2)
[2025-04-09 11:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869093', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869093', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:00:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:00:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:00:28] Production.INFO: ==26200== Releasing lock...
[2025-04-09 11:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:00:28] Production.INFO: 54.5 MB #Memory Used#
[2025-04-09 16:01:02] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-04-09 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:01:02] Production.INFO: neon service started
[2025-04-09 16:01:02] Production.INFO: neon service started
[2025-04-09 16:01:02] Production.INFO: ==26273== Releasing lock...
[2025-04-09 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:01:02] Production.INFO: ==26280== Lock acquired, processing the job...
[2025-04-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:01:02] Production.INFO: ==26280== Releasing lock...
[2025-04-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:01:02] Production.INFO: ==26278== Lock acquired, processing the job...
[2025-04-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:01:03] Production.INFO: ==26278== Releasing lock...
[2025-04-09 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:01:03] Production.INFO: ==26328== Lock acquired, processing the job...
[2025-04-09 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:01:04] Production.INFO: ==26334== Lock acquired, processing the job...
[2025-04-09 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:01:04] Production.INFO: ==26324== Lock acquired, processing the job...
[2025-04-09 11:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:01:04] Production.INFO: ==26326== Lock acquired, processing the job...
[2025-04-09 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:01:04] Production.INFO: count ==12
[2025-04-09 11:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:01:04] Production.INFO: count ==23
[2025-04-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869094') start
[2025-04-09 11:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:01:04] Production.INFO: ==26330== Lock acquired, processing the job...
[2025-04-09 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869094') end
[2025-04-09 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:01:04] Production.INFO: 1
[2025-04-09 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:01:04] Production.INFO: ==26334== Releasing lock...
[2025-04-09 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:01:04] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-04-09 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:01:04] Production.INFO: Account Balance Start.
[2025-04-09 11:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:01:04] Production.INFO: 117
[2025-04-09 11:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:01:04] Production.INFO: Total Charge 0
[2025-04-09 11:01:04] Production.INFO: ==26326== Releasing lock...
[2025-04-09 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:01:04] Production.INFO: CreateAllLog End
[2025-04-09 11:01:04] Production.ERROR: done
[2025-04-09 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:01:05] Production.ERROR: done
[2025-04-09 11:01:05] Production.INFO: Account Balance End.
[2025-04-09 11:01:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:01:05] Production.INFO: ==26330== Releasing lock...
[2025-04-09 11:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:01:06
[end_date_ymd] => 2025-04-09 11:01:06
[RateCDR] => 1
)
[2025-04-09 11:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:01:06' and `end` < '2025-04-09 11:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:01:12] Production.ERROR: CronJobId end10
[2025-04-09 11:01:12] Production.INFO: ==26328== Releasing lock...
[2025-04-09 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:01:15] Production.INFO: call_cost start
[2025-04-09 11:01:15] Production.INFO: call_cost end
[2025-04-09 11:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:01:16] Production.INFO: ==26324== Releasing lock...
[2025-04-09 11:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:01:19] Production.INFO: count ==3692
[2025-04-09 11:01:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:01:06 - End Time 2025-04-09 11:01:06
[2025-04-09 11:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869098', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869098', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869098', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869098', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:01:21] Production.INFO: ProcessCDR(1,14869098,1,1,2)
[2025-04-09 11:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869098', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869098', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:01:26] Production.INFO: ==26332== Releasing lock...
[2025-04-09 11:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:01:26] Production.INFO: 55.5 MB #Memory Used#
[2025-04-09 16:02:01] Production.INFO: ==26429== Lock acquired, processing the job...
[2025-04-09 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:02:01] Production.INFO: neon service started
[2025-04-09 16:02:01] Production.INFO: neon service started
[2025-04-09 16:02:01] Production.INFO: ==26429== Releasing lock...
[2025-04-09 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:02:02] Production.INFO: ==26431== Lock acquired, processing the job...
[2025-04-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:02:02] Production.INFO: ==26433== Lock acquired, processing the job...
[2025-04-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:02:02] Production.INFO: ==26433== Releasing lock...
[2025-04-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:02:03] Production.INFO: ==26431== Releasing lock...
[2025-04-09 11:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:02:03] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-04-09 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:02:03] Production.INFO: ==26438== Lock acquired, processing the job...
[2025-04-09 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:02:04] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-04-09 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:02:04] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-04-09 11:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:02:04] Production.INFO: ==26446== Lock acquired, processing the job...
[2025-04-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:02:04] Production.INFO: Account Balance Start.
[2025-04-09 11:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:02:04] Production.INFO: 117
[2025-04-09 11:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:02:04] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-04-09 11:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:02:04] Production.INFO: Total Charge 0
[2025-04-09 11:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:02:04] Production.INFO: CreateAllLog End
[2025-04-09 11:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:02:04] Production.INFO: count ==12
[2025-04-09 11:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:02:04] Production.INFO: count ==23
[2025-04-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869102') start
[2025-04-09 11:02:04] Production.INFO: ==26438== Releasing lock...
[2025-04-09 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869102') end
[2025-04-09 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:02:04] Production.INFO: 1
[2025-04-09 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:02:04] Production.INFO: ==26446== Releasing lock...
[2025-04-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:02:04] Production.INFO: Account Balance End.
[2025-04-09 11:02:04] Production.ERROR: done
[2025-04-09 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:02:04] Production.INFO: ==26442== Releasing lock...
[2025-04-09 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:02:05] Production.ERROR: done
[2025-04-09 11:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:02:06
[end_date_ymd] => 2025-04-09 11:02:06
[RateCDR] => 1
)
[2025-04-09 11:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:02:06' and `end` < '2025-04-09 11:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:02:13] Production.ERROR: CronJobId end10
[2025-04-09 11:02:13] Production.INFO: ==26440== Releasing lock...
[2025-04-09 11:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:02:16] Production.INFO: call_cost start
[2025-04-09 11:02:16] Production.INFO: call_cost end
[2025-04-09 11:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:02:17] Production.INFO: ==26436== Releasing lock...
[2025-04-09 11:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:02:20] Production.INFO: count ==3719
[2025-04-09 11:02:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:02:06 - End Time 2025-04-09 11:02:06
[2025-04-09 11:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869103', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869103', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869103', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869103', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:02:21] Production.INFO: ProcessCDR(1,14869103,1,1,2)
[2025-04-09 11:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869103', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869103', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:02:27] Production.INFO: ==26444== Releasing lock...
[2025-04-09 11:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:02:27] Production.INFO: 55.75 MB #Memory Used#
[2025-04-09 16:03:01] Production.INFO: ==26547== Lock acquired, processing the job...
[2025-04-09 16:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:03:01] Production.INFO: neon service started
[2025-04-09 16:03:01] Production.INFO: neon service started
[2025-04-09 16:03:01] Production.INFO: ==26547== Releasing lock...
[2025-04-09 16:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:03:02] Production.INFO: ==26549== Lock acquired, processing the job...
[2025-04-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:03:02] Production.INFO: ==26551== Lock acquired, processing the job...
[2025-04-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:03:02] Production.INFO: ==26551== Releasing lock...
[2025-04-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:03:02] Production.INFO: ==26549== Releasing lock...
[2025-04-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:03:03] Production.INFO: ==26556== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:03:03] Production.INFO: ==26554== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:03:03] Production.INFO: ==26560== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:03:03] Production.INFO: ==26558== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:03:03] Production.INFO: Account Balance Start.
[2025-04-09 11:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:03:03] Production.INFO: 117
[2025-04-09 11:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:03:03] Production.INFO: Total Charge 0
[2025-04-09 11:03:03] Production.INFO: CreateAllLog End
[2025-04-09 11:03:03] Production.INFO: ==26562== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:03:03] Production.INFO: Account Balance End.
[2025-04-09 11:03:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:03:03] Production.INFO: ==26560== Releasing lock...
[2025-04-09 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:03:03] Production.INFO: ==26556== Releasing lock...
[2025-04-09 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:03:03] Production.INFO: ==26564== Lock acquired, processing the job...
[2025-04-09 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:03:04] Production.INFO: count ==12
[2025-04-09 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:03:04] Production.INFO: count ==23
[2025-04-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869107') start
[2025-04-09 11:03:04] Production.ERROR: done
[2025-04-09 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869107') end
[2025-04-09 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:03:04] Production.INFO: 1
[2025-04-09 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:03:04] Production.INFO: ==26564== Releasing lock...
[2025-04-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:03:04] Production.ERROR: done
[2025-04-09 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:03:05
[end_date_ymd] => 2025-04-09 11:03:05
[RateCDR] => 1
)
[2025-04-09 11:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:03:05' and `end` < '2025-04-09 11:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:03:13] Production.ERROR: CronJobId end10
[2025-04-09 11:03:13] Production.INFO: ==26558== Releasing lock...
[2025-04-09 11:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:03:15] Production.INFO: call_cost start
[2025-04-09 11:03:15] Production.INFO: call_cost end
[2025-04-09 11:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:03:16] Production.INFO: ==26554== Releasing lock...
[2025-04-09 11:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:03:20] Production.INFO: count ==3752
[2025-04-09 11:03:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:03:05 - End Time 2025-04-09 11:03:05
[2025-04-09 11:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869108', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869108', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869108', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869108', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:03:21] Production.INFO: ProcessCDR(1,14869108,1,1,2)
[2025-04-09 11:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869108', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869108', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:03:27] Production.INFO: ==26562== Releasing lock...
[2025-04-09 11:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:03:27] Production.INFO: 56 MB #Memory Used#
[2025-04-09 16:04:01] Production.INFO: ==26621== Lock acquired, processing the job...
[2025-04-09 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:04:01] Production.INFO: neon service started
[2025-04-09 16:04:02] Production.INFO: neon service started
[2025-04-09 16:04:02] Production.INFO: ==26621== Releasing lock...
[2025-04-09 16:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:04:02] Production.INFO: ==26623== Lock acquired, processing the job...
[2025-04-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:04:02] Production.INFO: ==26623== Releasing lock...
[2025-04-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:04:02] Production.INFO: ==26625== Lock acquired, processing the job...
[2025-04-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:04:02] Production.INFO: ==26625== Releasing lock...
[2025-04-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:04:03] Production.INFO: ==26631== Lock acquired, processing the job...
[2025-04-09 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:04:04] Production.INFO: ==26627== Lock acquired, processing the job...
[2025-04-09 11:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:04:04] Production.INFO: ==26629== Lock acquired, processing the job...
[2025-04-09 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:04:04] Production.INFO: ==26638== Lock acquired, processing the job...
[2025-04-09 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:04:04] Production.INFO: ==26633== Lock acquired, processing the job...
[2025-04-09 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:04:04] Production.INFO: count ==12
[2025-04-09 11:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:04:04] Production.INFO: count ==23
[2025-04-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869110') start
[2025-04-09 11:04:04] Production.INFO: ==26635== Lock acquired, processing the job...
[2025-04-09 11:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:04:04] Production.INFO: Account Balance Start.
[2025-04-09 11:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869110') end
[2025-04-09 11:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:04:04] Production.INFO: 1
[2025-04-09 11:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:04:04] Production.INFO: 117
[2025-04-09 11:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:04:04] Production.INFO: ==26629== Releasing lock...
[2025-04-09 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:04:04] Production.INFO: ==26638== Releasing lock...
[2025-04-09 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:04:04] Production.INFO: Total Charge 0
[2025-04-09 11:04:04] Production.INFO: CreateAllLog End
[2025-04-09 11:04:04] Production.ERROR: done
[2025-04-09 11:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:04:05] Production.ERROR: done
[2025-04-09 11:04:05] Production.INFO: Account Balance End.
[2025-04-09 11:04:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:04:05] Production.INFO: ==26633== Releasing lock...
[2025-04-09 11:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:04:05
[end_date_ymd] => 2025-04-09 11:04:05
[RateCDR] => 1
)
[2025-04-09 11:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:04:05' and `end` < '2025-04-09 11:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:04:13] Production.ERROR: CronJobId end10
[2025-04-09 11:04:13] Production.INFO: ==26631== Releasing lock...
[2025-04-09 11:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:04:16] Production.INFO: call_cost start
[2025-04-09 11:04:16] Production.INFO: call_cost end
[2025-04-09 11:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:04:17] Production.INFO: ==26627== Releasing lock...
[2025-04-09 11:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:04:19] Production.INFO: count ==3754
[2025-04-09 11:04:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:04:05 - End Time 2025-04-09 11:04:05
[2025-04-09 11:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869113', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869113', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869113', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869113', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:04:21] Production.INFO: ProcessCDR(1,14869113,1,1,2)
[2025-04-09 11:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869113', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869113', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:04:26] Production.INFO: ==26635== Releasing lock...
[2025-04-09 11:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:04:26] Production.INFO: 56.25 MB #Memory Used#
[2025-04-09 16:05:01] Production.INFO: ==26772== Lock acquired, processing the job...
[2025-04-09 16:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:05:01] Production.INFO: neon service started
[2025-04-09 16:05:01] Production.INFO: neon service started
[2025-04-09 16:05:01] Production.INFO: ==26772== Releasing lock...
[2025-04-09 16:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:05:02] Production.INFO: ==26776== Lock acquired, processing the job...
[2025-04-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:05:02] Production.INFO: ==26776== Releasing lock...
[2025-04-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:05:02] Production.INFO: ==26774== Lock acquired, processing the job...
[2025-04-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:05:02] Production.INFO: ==26774== Releasing lock...
[2025-04-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:05:03] Production.INFO: ==26785== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:05:03] Production.INFO: ==26789== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:05:03] Production.INFO: Account Balance Start.
[2025-04-09 11:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:05:03] Production.INFO: 117
[2025-04-09 11:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 11: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-04-09 11:05:03] Production.INFO: count ==12
[2025-04-09 11:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 11: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-04-09 11:05:03] Production.INFO: count ==23
[2025-04-09 11:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869115') start
[2025-04-09 11:05:03] Production.INFO: Total Charge 0
[2025-04-09 11:05:03] Production.INFO: CreateAllLog End
[2025-04-09 11:05:03] Production.INFO: ==26779== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869115') end
[2025-04-09 11:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:05:03] Production.INFO: 1
[2025-04-09 11:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:05:03] Production.INFO: ==26789== Releasing lock...
[2025-04-09 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:05:03] Production.INFO: ==26783== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:05:03] Production.INFO: ==26781== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:05:03] Production.INFO: ==26787== Lock acquired, processing the job...
[2025-04-09 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:05:03] Production.INFO: Account Balance End.
[2025-04-09 11:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:05:04] Production.INFO: ==26785== Releasing lock...
[2025-04-09 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:05:04] Production.INFO: ==26781== Releasing lock...
[2025-04-09 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:05:04] Production.ERROR: done
[2025-04-09 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:05:04] Production.ERROR: done
[2025-04-09 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:05:05
[end_date_ymd] => 2025-04-09 11:05:05
[RateCDR] => 1
)
[2025-04-09 11:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:05:05' and `end` < '2025-04-09 11:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:05:13] Production.ERROR: CronJobId end10
[2025-04-09 11:05:13] Production.INFO: ==26783== Releasing lock...
[2025-04-09 11:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:05:15] Production.INFO: call_cost start
[2025-04-09 11:05:15] Production.INFO: call_cost end
[2025-04-09 11:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:05:16] Production.INFO: ==26779== Releasing lock...
[2025-04-09 11:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:05:19] Production.INFO: count ==3767
[2025-04-09 11:05:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:05:05 - End Time 2025-04-09 11:05:05
[2025-04-09 11:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869118', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869118', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869118', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869118', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:05:20] Production.INFO: ProcessCDR(1,14869118,1,1,2)
[2025-04-09 11:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869118', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869118', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:05:26] Production.INFO: ==26787== Releasing lock...
[2025-04-09 11:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:05:26] Production.INFO: 56 MB #Memory Used#
[2025-04-09 16:06:01] Production.INFO: ==26846== Lock acquired, processing the job...
[2025-04-09 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:06:01] Production.INFO: neon service started
[2025-04-09 16:06:01] Production.INFO: neon service started
[2025-04-09 16:06:01] Production.INFO: ==26846== Releasing lock...
[2025-04-09 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:06:01] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:06:02] Production.INFO: ==26848== Lock acquired, processing the job...
[2025-04-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:06:02] Production.INFO: ==26848== Releasing lock...
[2025-04-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:06:02] Production.INFO: ==26850== Lock acquired, processing the job...
[2025-04-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:06:03] Production.INFO: ==26850== Releasing lock...
[2025-04-09 15:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:06:03] Production.INFO: ==26852== Lock acquired, processing the job...
[2025-04-09 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:06:03] Production.INFO: ==26863== Lock acquired, processing the job...
[2025-04-09 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:06:03] Production.INFO: ==26854== Lock acquired, processing the job...
[2025-04-09 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:06:03] Production.INFO: ==26856== Lock acquired, processing the job...
[2025-04-09 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:06:03] Production.INFO: ==26858== Lock acquired, processing the job...
[2025-04-09 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:06:03] Production.INFO: count ==12
[2025-04-09 11:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:06:04] Production.INFO: count ==23
[2025-04-09 11:06:04] Production.INFO: ==26861== Lock acquired, processing the job...
[2025-04-09 11:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869120') start
[2025-04-09 11:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:06:04] Production.INFO: Account Balance Start.
[2025-04-09 11:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:06:04] Production.INFO: 117
[2025-04-09 11:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869120') end
[2025-04-09 11:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:06:04] Production.INFO: 1
[2025-04-09 11:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:06:04] Production.INFO: Total Charge 0
[2025-04-09 11:06:04] Production.INFO: CreateAllLog End
[2025-04-09 11:06:04] Production.INFO: ==26863== Releasing lock...
[2025-04-09 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:06:04] Production.INFO: ==26854== Releasing lock...
[2025-04-09 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:06:04] Production.ERROR: done
[2025-04-09 11:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:06:04] Production.ERROR: done
[2025-04-09 11:06:04] Production.INFO: Account Balance End.
[2025-04-09 11:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:06:04] Production.INFO: ==26858== Releasing lock...
[2025-04-09 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:06:05
[end_date_ymd] => 2025-04-09 11:06:05
[RateCDR] => 1
)
[2025-04-09 11:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:06:05' and `end` < '2025-04-09 11:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:06:14] Production.ERROR: CronJobId end10
[2025-04-09 11:06:14] Production.INFO: ==26856== Releasing lock...
[2025-04-09 11:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:06:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:06:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:06:17] Production.INFO: call_cost start
[2025-04-09 11:06:17] Production.INFO: call_cost end
[2025-04-09 11:06:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:06:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:06:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:06:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:06:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:06:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:06:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:06:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:06:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:06:18] Production.INFO: ==26852== Releasing lock...
[2025-04-09 11:06:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:06:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:06:19] Production.INFO: count ==3766
[2025-04-09 11:06:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:06:05 - End Time 2025-04-09 11:06:05
[2025-04-09 11:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869123', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869123', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869123', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869123', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:06:21] Production.INFO: ProcessCDR(1,14869123,1,1,2)
[2025-04-09 11:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869123', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869123', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:06:26] Production.INFO: ==26861== Releasing lock...
[2025-04-09 11:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:06:26] Production.INFO: 57 MB #Memory Used#
[2025-04-09 16:07:02] Production.INFO: ==26923== Lock acquired, processing the job...
[2025-04-09 16:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:07:02] Production.INFO: neon service started
[2025-04-09 16:07:02] Production.INFO: neon service started
[2025-04-09 16:07:02] Production.INFO: ==26923== Releasing lock...
[2025-04-09 16:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:07:03] Production.INFO: ==26925== Lock acquired, processing the job...
[2025-04-09 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:07:03] Production.INFO: ==26927== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:07:03] Production.INFO: ==26927== Releasing lock...
[2025-04-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:07:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:07:03] Production.INFO: ==26925== Releasing lock...
[2025-04-09 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:07:04] Production.INFO: ==26932== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:07:04] Production.INFO: ==26940== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:07:04] Production.INFO: ==26932== Releasing lock...
[2025-04-09 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:07:04] Production.INFO: ==26930== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 11:07:04] Production.INFO: count ==12
[2025-04-09 11:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:07:04] Production.INFO: count ==23
[2025-04-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869125') start
[2025-04-09 11:07:04] Production.INFO: ==26934== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:07:04] Production.INFO: ==26936== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:07:04] Production.INFO: ==26938== Lock acquired, processing the job...
[2025-04-09 11:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869125') end
[2025-04-09 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:07:04] Production.INFO: 1
[2025-04-09 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:07:04] Production.INFO: ==26940== Releasing lock...
[2025-04-09 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:07:04] Production.INFO: Account Balance Start.
[2025-04-09 11:07:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:07:04] Production.INFO: 117
[2025-04-09 11:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:07:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:07:05] Production.INFO: Date 2025-04-09
[2025-04-09 11:07:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:07:05] Production.INFO: Total Charge 0
[2025-04-09 11:07:05] Production.INFO: CreateAllLog End
[2025-04-09 11:07:05] Production.INFO: Account Balance End.
[2025-04-09 11:07:05] Production.ERROR: done
[2025-04-09 11:07:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:07:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:07:05] Production.INFO: ==26936== Releasing lock...
[2025-04-09 11:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:07:05] Production.ERROR: done
[2025-04-09 11:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:07:06
[end_date_ymd] => 2025-04-09 11:07:06
[RateCDR] => 1
)
[2025-04-09 11: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-04-09 08:07:06' and `end` < '2025-04-09 11:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:07:13] Production.ERROR: CronJobId end10
[2025-04-09 11:07:13] Production.INFO: ==26934== Releasing lock...
[2025-04-09 11:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:07:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:07:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:07:16] Production.INFO: call_cost start
[2025-04-09 11:07:16] Production.INFO: call_cost end
[2025-04-09 11:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:07:17] Production.INFO: ==26930== Releasing lock...
[2025-04-09 11:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:07:21] Production.INFO: count ==3782
[2025-04-09 11:07:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:07:06 - End Time 2025-04-09 11:07:06
[2025-04-09 11:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869128', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869128', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869128', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869128', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:07:22] Production.INFO: ProcessCDR(1,14869128,1,1,2)
[2025-04-09 11:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869128', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869128', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:07:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:07:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:07:28] Production.INFO: ==26938== Releasing lock...
[2025-04-09 11:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:07:28] Production.INFO: 57 MB #Memory Used#
[2025-04-09 16:08:01] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-04-09 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:08:01] Production.INFO: neon service started
[2025-04-09 16:08:01] Production.INFO: neon service started
[2025-04-09 16:08:01] Production.INFO: ==27072== Releasing lock...
[2025-04-09 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:08:02] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-04-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:08:02] Production.INFO: ==27074== Releasing lock...
[2025-04-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:08:02] Production.INFO: ==27076== Lock acquired, processing the job...
[2025-04-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:08:02] Production.INFO: ==27076== Releasing lock...
[2025-04-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:08:03] Production.INFO: ==27081== Lock acquired, processing the job...
[2025-04-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:08:03] Production.INFO: ==27079== Lock acquired, processing the job...
[2025-04-09 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:08:03] Production.INFO: ==27087== Lock acquired, processing the job...
[2025-04-09 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:08:04] Production.INFO: ==27083== Lock acquired, processing the job...
[2025-04-09 11:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:08:04] Production.INFO: ==27085== Lock acquired, processing the job...
[2025-04-09 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:08:04] Production.INFO: ==27089== Lock acquired, processing the job...
[2025-04-09 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:08:04] Production.INFO: ==27081== Releasing lock...
[2025-04-09 11:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:08:04] Production.INFO: Account Balance Start.
[2025-04-09 11:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:08:04] Production.INFO: 117
[2025-04-09 11: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-04-09 11:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:08:04] Production.INFO: count ==12
[2025-04-09 11:08:04] Production.ERROR: done
[2025-04-09 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:08:04] Production.INFO: count ==23
[2025-04-09 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869132') start
[2025-04-09 11:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:08:04] Production.INFO: Total Charge 0
[2025-04-09 11:08:04] Production.ERROR: done
[2025-04-09 11:08:04] Production.INFO: CreateAllLog End
[2025-04-09 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869132') end
[2025-04-09 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:08:04] Production.INFO: 1
[2025-04-09 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:08:04] Production.INFO: ==27089== Releasing lock...
[2025-04-09 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:08:04] Production.INFO: Account Balance End.
[2025-04-09 11:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:08:04] Production.INFO: ==27085== Releasing lock...
[2025-04-09 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:08:06
[end_date_ymd] => 2025-04-09 11:08:06
[RateCDR] => 1
)
[2025-04-09 11:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:08:06' and `end` < '2025-04-09 11:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:08:13] Production.ERROR: CronJobId end10
[2025-04-09 11:08:13] Production.INFO: ==27083== Releasing lock...
[2025-04-09 11:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:08:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:08:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:08:16] Production.INFO: call_cost start
[2025-04-09 11:08:16] Production.INFO: call_cost end
[2025-04-09 11:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:08:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:08:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:08:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:08:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:08:17] Production.INFO: ==27079== Releasing lock...
[2025-04-09 11:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:08:20] Production.INFO: count ==3798
[2025-04-09 11:08:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:08:06 - End Time 2025-04-09 11:08:06
[2025-04-09 11:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869133', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869133', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869133', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869133', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:08:22] Production.INFO: ProcessCDR(1,14869133,1,1,2)
[2025-04-09 11:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869133', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869133', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:08:28] Production.INFO: ==27087== Releasing lock...
[2025-04-09 11:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:08:28] Production.INFO: 56.25 MB #Memory Used#
[2025-04-09 16:09:01] Production.INFO: ==27144== Lock acquired, processing the job...
[2025-04-09 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:09:01] Production.INFO: neon service started
[2025-04-09 16:09:01] Production.INFO: neon service started
[2025-04-09 16:09:01] Production.INFO: ==27144== Releasing lock...
[2025-04-09 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:09:01] Production.INFO: ==27148== Lock acquired, processing the job...
[2025-04-09 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:09:01] Production.INFO: ==27148== Releasing lock...
[2025-04-09 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:09:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:09:02] Production.INFO: ==27146== Lock acquired, processing the job...
[2025-04-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:09:02] Production.INFO: ==27146== Releasing lock...
[2025-04-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:09:03] Production.INFO: ==27153== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:09:03] Production.INFO: ==27151== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:09:03] Production.INFO: ==27161== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 11:09:03] Production.INFO: ==27155== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:09:03] Production.INFO: count ==12
[2025-04-09 11: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-04-09 11:09:03] Production.INFO: count ==23
[2025-04-09 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869136') start
[2025-04-09 11:09:03] Production.INFO: ==27157== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:09:03] Production.INFO: ==27153== Releasing lock...
[2025-04-09 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869136') end
[2025-04-09 11:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:09:03] Production.INFO: 1
[2025-04-09 11:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:09:03] Production.INFO: ==27159== Lock acquired, processing the job...
[2025-04-09 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:09:03] Production.INFO: Account Balance Start.
[2025-04-09 11:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:09:04] Production.INFO: 117
[2025-04-09 11:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:09:04] Production.INFO: ==27161== Releasing lock...
[2025-04-09 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:09:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:09:04] Production.INFO: Total Charge 0
[2025-04-09 11:09:04] Production.INFO: CreateAllLog End
[2025-04-09 11:09:04] Production.ERROR: done
[2025-04-09 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:09:04] Production.INFO: Account Balance End.
[2025-04-09 11:09:04] Production.ERROR: done
[2025-04-09 11:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:09:04] Production.INFO: ==27157== Releasing lock...
[2025-04-09 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:09:05
[end_date_ymd] => 2025-04-09 11:09:05
[RateCDR] => 1
)
[2025-04-09 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:09:05' and `end` < '2025-04-09 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:09:12] Production.ERROR: CronJobId end10
[2025-04-09 11:09:12] Production.INFO: ==27155== Releasing lock...
[2025-04-09 11:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:09:15] Production.INFO: call_cost start
[2025-04-09 11:09:15] Production.INFO: call_cost end
[2025-04-09 11:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:09:16] Production.INFO: ==27151== Releasing lock...
[2025-04-09 11:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:09:19] Production.INFO: count ==3797
[2025-04-09 11:09:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:09:05 - End Time 2025-04-09 11:09:05
[2025-04-09 11:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869138', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869138', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869138', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869138', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:09:21] Production.INFO: ProcessCDR(1,14869138,1,1,2)
[2025-04-09 11:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869138', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869138', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:09:26] Production.INFO: ==27159== Releasing lock...
[2025-04-09 11:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:09:26] Production.INFO: 56.25 MB #Memory Used#
[2025-04-09 16:10:01] Production.INFO: ==27220== Lock acquired, processing the job...
[2025-04-09 16:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:10:01] Production.INFO: neon service started
[2025-04-09 16:10:01] Production.INFO: neon service started
[2025-04-09 16:10:01] Production.INFO: ==27220== Releasing lock...
[2025-04-09 16:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:10:02] Production.INFO: ==27224== Lock acquired, processing the job...
[2025-04-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:10:02] Production.INFO: ==27224== Releasing lock...
[2025-04-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:10:02] Production.INFO: ==27222== Lock acquired, processing the job...
[2025-04-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:10:03] Production.INFO: ==27222== Releasing lock...
[2025-04-09 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:10:04] Production.INFO: ==27229== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:10:04] Production.INFO: ==27237== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:10:04] Production.INFO: ==27227== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:10:04] Production.ERROR: CronJob PID - 27229
[2025-04-09 11:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 11:10:04] Production.ERROR: CronJob ID - 5
[2025-04-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:10:00
[2025-04-09 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:10:04] Production.ERROR: CronJob PID - 27237
[2025-04-09 11:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 11:10:04] Production.ERROR: CronJob ID - 16
[2025-04-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:10:00
[2025-04-09 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:10:04] Production.INFO: ==27241== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:10:04] Production.INFO: ==27231== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:10:04] Production.INFO: ==27235== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:10:04] Production.INFO: ==27227== Releasing lock...
[2025-04-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:10:04] Production.INFO: ==27239== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:10:04] Production.INFO: ==27233== Lock acquired, processing the job...
[2025-04-09 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:10:04] Production.INFO: Account Balance Start.
[2025-04-09 11:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:10:04] Production.INFO: 117
[2025-04-09 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:10:04] Production.INFO: count ==12
[2025-04-09 11:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:10:04] Production.INFO: count ==23
[2025-04-09 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869141') start
[2025-04-09 11:10:04] Production.ERROR: done
[2025-04-09 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:10:05] Production.INFO: Total Charge 0
[2025-04-09 11:10:05] Production.INFO: CreateAllLog End
[2025-04-09 11:10:05] Production.INFO: ==27231== Releasing lock...
[2025-04-09 11:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:10:05] Production.ERROR: done
[2025-04-09 11:10:05] Production.ERROR: done
[2025-04-09 11:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869144', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869141') end
[2025-04-09 11:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:10:05] Production.INFO: 1
[2025-04-09 11:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:10:05] Production.INFO: Account Balance End.
[2025-04-09 11:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:10:05] Production.INFO: ==27235== Releasing lock...
[2025-04-09 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:10:05] Production.INFO: ==27241== Releasing lock...
[2025-04-09 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:10:06
[end_date_ymd] => 2025-04-09 11:10:06
[RateCDR] => 1
)
[2025-04-09 11:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:10:06' and `end` < '2025-04-09 11:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869144', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:10:10] Production.INFO: ProcessCDR(1,14869144,1,1,2)
[2025-04-09 11:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869144,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869144,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:10:10] Production.INFO: ==27239== Releasing lock...
[2025-04-09 11:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:10:14] Production.ERROR: CronJobId end10
[2025-04-09 11:10:14] Production.INFO: ==27233== Releasing lock...
[2025-04-09 11:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:10:18] Production.INFO: call_cost start
[2025-04-09 11:10:18] Production.INFO: call_cost end
[2025-04-09 11:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:10:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:10:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:10:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:10:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:10:19] Production.INFO: ==27229== Releasing lock...
[2025-04-09 11:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:10:20] Production.INFO: count ==3802
[2025-04-09 11:10:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:10:06 - End Time 2025-04-09 11:10:06
[2025-04-09 11:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869143', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869143', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869143', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869143', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:10:22] Production.INFO: ProcessCDR(1,14869143,1,1,2)
[2025-04-09 11:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869143', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869143', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:10:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:10:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:10:27] Production.INFO: ==27237== Releasing lock...
[2025-04-09 11:10:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:10:27] Production.INFO: 56.25 MB #Memory Used#
[2025-04-09 16:11:01] Production.INFO: ==27298== Lock acquired, processing the job...
[2025-04-09 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:11:01] Production.INFO: neon service started
[2025-04-09 16:11:01] Production.INFO: neon service started
[2025-04-09 16:11:01] Production.INFO: ==27298== Releasing lock...
[2025-04-09 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:11:01] Production.INFO: ==27300== Lock acquired, processing the job...
[2025-04-09 11:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:11:02] Production.INFO: ==27300== Releasing lock...
[2025-04-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:11:02] Production.INFO: ==27302== Lock acquired, processing the job...
[2025-04-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:11:02] Production.INFO: ==27302== Releasing lock...
[2025-04-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:11:02] Production.INFO: ==27315== Lock acquired, processing the job...
[2025-04-09 11:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:11:02] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:11:03] Production.INFO: ==27317== Lock acquired, processing the job...
[2025-04-09 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:11:03] Production.INFO: ==27306== Lock acquired, processing the job...
[2025-04-09 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:11:03] Production.INFO: ==27311== Lock acquired, processing the job...
[2025-04-09 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11: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-04-09 11:11:03] Production.INFO: ==27308== Lock acquired, processing the job...
[2025-04-09 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:11:03] Production.INFO: ==27313== Lock acquired, processing the job...
[2025-04-09 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:11:03] Production.INFO: count ==12
[2025-04-09 11: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-04-09 11:11:03] Production.INFO: count ==23
[2025-04-09 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:11:03] Production.INFO: Account Balance Start.
[2025-04-09 11:11:03] Production.ERROR: done
[2025-04-09 11:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869145') start
[2025-04-09 11:11:03] Production.INFO: 117
[2025-04-09 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869145') end
[2025-04-09 11:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:11:03] Production.INFO: 1
[2025-04-09 11:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:11:03] Production.ERROR: done
[2025-04-09 11:11:03] Production.INFO: ==27317== Releasing lock...
[2025-04-09 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:11:03] Production.INFO: Total Charge 0
[2025-04-09 11:11:03] Production.INFO: CreateAllLog End
[2025-04-09 11:11:03] Production.INFO: Account Balance End.
[2025-04-09 11:11:03] Production.INFO: ==27308== Releasing lock...
[2025-04-09 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:11:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:11:03] Production.INFO: ==27313== Releasing lock...
[2025-04-09 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:11:04
[end_date_ymd] => 2025-04-09 11:11:04
[RateCDR] => 1
)
[2025-04-09 11: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-04-09 08:11:04' and `end` < '2025-04-09 11: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-04-09 11:11:12] Production.ERROR: CronJobId end10
[2025-04-09 11:11:12] Production.INFO: ==27311== Releasing lock...
[2025-04-09 11:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:11:14] Production.INFO: call_cost start
[2025-04-09 11:11:14] Production.INFO: call_cost end
[2025-04-09 11:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:11:15] Production.INFO: ==27306== Releasing lock...
[2025-04-09 11:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:11:18] Production.INFO: count ==3905
[2025-04-09 11:11:19] Production.ERROR: pbx CDR StartTime 2025-04-09 08:11:04 - End Time 2025-04-09 11:11:04
[2025-04-09 11:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869149', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869149', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869149', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869149', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:11:19] Production.INFO: ProcessCDR(1,14869149,1,1,2)
[2025-04-09 11:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869149', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869149', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:11:25] Production.INFO: ==27315== Releasing lock...
[2025-04-09 11:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:11:25] Production.INFO: 57.25 MB #Memory Used#
[2025-04-09 16:12:01] Production.INFO: ==27451== Lock acquired, processing the job...
[2025-04-09 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:12:01] Production.INFO: neon service started
[2025-04-09 16:12:02] Production.INFO: neon service started
[2025-04-09 16:12:02] Production.INFO: ==27451== Releasing lock...
[2025-04-09 16:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:12:02] Production.INFO: ==27453== Lock acquired, processing the job...
[2025-04-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:12:02] Production.INFO: ==27453== Releasing lock...
[2025-04-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:12:02] Production.INFO: ==27455== Lock acquired, processing the job...
[2025-04-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:12:03] Production.INFO: ==27455== Releasing lock...
[2025-04-09 15:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:12:03] Production.INFO: ==27457== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:12:03] Production.INFO: ==27459== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:12:03] Production.INFO: ==27463== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:12:03] Production.INFO: Account Balance Start.
[2025-04-09 11:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:12:03] Production.INFO: 117
[2025-04-09 11:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:12:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:12:03] Production.INFO: ==27461== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:12:03] Production.INFO: Total Charge 0
[2025-04-09 11:12:03] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:12:03] Production.INFO: CreateAllLog End
[2025-04-09 11:12:03] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-04-09 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:12:04] Production.INFO: ==27459== Releasing lock...
[2025-04-09 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:12:04] Production.INFO: Account Balance End.
[2025-04-09 11:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:12:04] Production.INFO: ==27463== Releasing lock...
[2025-04-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:12:04] Production.INFO: count ==12
[2025-04-09 11:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:12:04] Production.INFO: count ==23
[2025-04-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869153') start
[2025-04-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869153') end
[2025-04-09 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:12:04] Production.INFO: 1
[2025-04-09 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:12:04] Production.INFO: ==27467== Releasing lock...
[2025-04-09 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:12:04] Production.ERROR: done
[2025-04-09 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:12:04] Production.ERROR: done
[2025-04-09 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:12:05
[end_date_ymd] => 2025-04-09 11:12:05
[RateCDR] => 1
)
[2025-04-09 11:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:12:05' and `end` < '2025-04-09 11:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:12:12] Production.ERROR: CronJobId end10
[2025-04-09 11:12:12] Production.INFO: ==27461== Releasing lock...
[2025-04-09 11:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:12:15] Production.INFO: call_cost start
[2025-04-09 11:12:15] Production.INFO: call_cost end
[2025-04-09 11:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:12:16] Production.INFO: ==27457== Releasing lock...
[2025-04-09 11:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:12:19] Production.INFO: count ==3947
[2025-04-09 11:12:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:12:05 - End Time 2025-04-09 11:12:05
[2025-04-09 11:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869154', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869154', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869154', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869154', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:12:21] Production.INFO: ProcessCDR(1,14869154,1,1,2)
[2025-04-09 11:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869154', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869154', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:12:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:12:27] Production.INFO: ==27465== Releasing lock...
[2025-04-09 11:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:12:27] Production.INFO: 57.5 MB #Memory Used#
[2025-04-09 16:13:01] Production.INFO: ==27520== Lock acquired, processing the job...
[2025-04-09 16:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:13:01] Production.INFO: neon service started
[2025-04-09 16:13:01] Production.INFO: neon service started
[2025-04-09 16:13:01] Production.INFO: ==27520== Releasing lock...
[2025-04-09 16:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:13:01] Production.INFO: ==27524== Lock acquired, processing the job...
[2025-04-09 15:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:13:01] Production.INFO: ==27524== Releasing lock...
[2025-04-09 15:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:13:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:13:01] Production.INFO: ==27522== Lock acquired, processing the job...
[2025-04-09 11:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:13:02] Production.INFO: ==27522== Releasing lock...
[2025-04-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:13:03] Production.INFO: ==27526== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:13:03] Production.INFO: ==27528== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:13:03] Production.INFO: ==27534== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:13:03] Production.INFO: ==27528== Releasing lock...
[2025-04-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:13:03] Production.INFO: ==27532== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:13:03] Production.INFO: ==27530== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:13:03] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-04-09 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:13:03] Production.INFO: Account Balance Start.
[2025-04-09 11:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:13:03] Production.INFO: 117
[2025-04-09 11:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:13:03] Production.INFO: Total Charge 0
[2025-04-09 11:13:03] Production.INFO: CreateAllLog End
[2025-04-09 11: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-04-09 11:13:03] Production.INFO: count ==12
[2025-04-09 11: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-04-09 11:13:03] Production.ERROR: done
[2025-04-09 11:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:13:03] Production.INFO: count ==23
[2025-04-09 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869158') start
[2025-04-09 11:13:04] Production.INFO: Account Balance End.
[2025-04-09 11:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:13:04] Production.INFO: ==27532== Releasing lock...
[2025-04-09 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:13:04] Production.ERROR: done
[2025-04-09 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869158') end
[2025-04-09 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:13:04] Production.INFO: 1
[2025-04-09 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:13:04] Production.INFO: ==27537== Releasing lock...
[2025-04-09 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:13:05
[end_date_ymd] => 2025-04-09 11:13:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:13:05' and `end` < '2025-04-09 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-04-09 11:13:12] Production.ERROR: CronJobId end10
[2025-04-09 11:13:12] Production.INFO: ==27530== Releasing lock...
[2025-04-09 11:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:13:14] Production.INFO: call_cost start
[2025-04-09 11:13:14] Production.INFO: call_cost end
[2025-04-09 11:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:13:15] Production.INFO: ==27526== Releasing lock...
[2025-04-09 11:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:13:18] Production.INFO: count ==3965
[2025-04-09 11:13:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:13:05 - End Time 2025-04-09 11:13:05
[2025-04-09 11:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869159', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869159', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869159', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869159', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:13:20] Production.INFO: ProcessCDR(1,14869159,1,1,2)
[2025-04-09 11:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869159', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869159', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:13:25] Production.INFO: ==27534== Releasing lock...
[2025-04-09 11:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:13:25] Production.INFO: 57.5 MB #Memory Used#
[2025-04-09 16:14:01] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-04-09 16:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:14:01] Production.INFO: neon service started
[2025-04-09 16:14:01] Production.INFO: neon service started
[2025-04-09 16:14:01] Production.INFO: ==27595== Releasing lock...
[2025-04-09 16:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:14:02] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-04-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:14:02] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-04-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:14:02] Production.INFO: ==27599== Releasing lock...
[2025-04-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:14:02] Production.INFO: ==27597== Releasing lock...
[2025-04-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:14:03] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:14:03] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:14:03] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:14:03] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:14:03] Production.INFO: ==27610== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:14:03] Production.INFO: Account Balance Start.
[2025-04-09 11:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:14:03] Production.INFO: 117
[2025-04-09 11:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:14:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:14:03] Production.INFO: Total Charge 0
[2025-04-09 11:14:03] Production.INFO: CreateAllLog End
[2025-04-09 11:14:03] Production.INFO: ==27612== Lock acquired, processing the job...
[2025-04-09 11:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:14:04] Production.INFO: ==27603== Releasing lock...
[2025-04-09 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:14:04] Production.INFO: Account Balance End.
[2025-04-09 11:14:04] Production.ERROR: done
[2025-04-09 11:14:04] Production.INFO: count ==12
[2025-04-09 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:14:04] Production.INFO: count ==23
[2025-04-09 11:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:14:04] Production.INFO: ==27607== Releasing lock...
[2025-04-09 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869163') start
[2025-04-09 11:14:04] Production.ERROR: done
[2025-04-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869163') end
[2025-04-09 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:14:04] Production.INFO: 1
[2025-04-09 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:14:04] Production.INFO: ==27612== Releasing lock...
[2025-04-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:14:05
[end_date_ymd] => 2025-04-09 11:14:05
[RateCDR] => 1
)
[2025-04-09 11:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:14:05' and `end` < '2025-04-09 11:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:14:12] Production.ERROR: CronJobId end10
[2025-04-09 11:14:12] Production.INFO: ==27605== Releasing lock...
[2025-04-09 11:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:14:15] Production.INFO: call_cost start
[2025-04-09 11:14:15] Production.INFO: call_cost end
[2025-04-09 11:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:14:16] Production.INFO: ==27601== Releasing lock...
[2025-04-09 11:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:14:19] Production.INFO: count ==3979
[2025-04-09 11:14:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:14:05 - End Time 2025-04-09 11:14:05
[2025-04-09 11:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869164', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869164', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869164', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869164', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:14:21] Production.INFO: ProcessCDR(1,14869164,1,1,2)
[2025-04-09 11:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869164', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869164', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:14:26] Production.INFO: ==27610== Releasing lock...
[2025-04-09 11:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:14:26] Production.INFO: 57.75 MB #Memory Used#
[2025-04-09 16:15:02] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-04-09 16:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:15:02] Production.INFO: neon service started
[2025-04-09 16:15:02] Production.INFO: neon service started
[2025-04-09 16:15:02] Production.INFO: ==27746== Releasing lock...
[2025-04-09 16:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:15:03] Production.INFO: ==27750== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:15:03] Production.INFO: ==27750== Releasing lock...
[2025-04-09 15:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:15:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:15:03] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-04-09 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:15:03] Production.INFO: ==27748== Releasing lock...
[2025-04-09 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:15:04] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:15:04] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:15:04] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:15:04] Production.INFO: Account Balance Start.
[2025-04-09 11:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:15:04] Production.INFO: 117
[2025-04-09 11:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:15:04] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:15:04] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:15:04] Production.INFO: count ==12
[2025-04-09 11:15:04] Production.INFO: Total Charge 0
[2025-04-09 11:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:15:04] Production.INFO: count ==23
[2025-04-09 11:15:04] Production.INFO: CreateAllLog End
[2025-04-09 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869167') start
[2025-04-09 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:15:04] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-04-09 11:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869167') end
[2025-04-09 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:15:04] Production.INFO: 1
[2025-04-09 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:15:04] Production.INFO: ==27763== Releasing lock...
[2025-04-09 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:15:04] Production.INFO: Account Balance End.
[2025-04-09 11:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:15:04] Production.INFO: ==27759== Releasing lock...
[2025-04-09 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:15:05] Production.INFO: ==27755== Releasing lock...
[2025-04-09 11:15:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:15:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:15:05] Production.ERROR: done
[2025-04-09 11:15:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:15:05] Production.ERROR: done
[2025-04-09 11:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:15:06
[end_date_ymd] => 2025-04-09 11:15:06
[RateCDR] => 1
)
[2025-04-09 11:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:15:06' and `end` < '2025-04-09 11:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:15:13] Production.ERROR: CronJobId end10
[2025-04-09 11:15:13] Production.INFO: ==27757== Releasing lock...
[2025-04-09 11:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:15:15] Production.INFO: call_cost start
[2025-04-09 11:15:15] Production.INFO: call_cost end
[2025-04-09 11:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:15:16] Production.INFO: ==27753== Releasing lock...
[2025-04-09 11:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:15:20] Production.INFO: count ==3998
[2025-04-09 11:15:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:15:06 - End Time 2025-04-09 11:15:06
[2025-04-09 11:15:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869169', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869169', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869169', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869169', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:15:22] Production.INFO: ProcessCDR(1,14869169,1,1,2)
[2025-04-09 11:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869169', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869169', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:15:27] Production.INFO: ==27761== Releasing lock...
[2025-04-09 11:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:15:27] Production.INFO: 57.75 MB #Memory Used#
[2025-04-09 16:16:01] Production.INFO: ==27815== Lock acquired, processing the job...
[2025-04-09 16:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:16:01] Production.INFO: neon service started
[2025-04-09 16:16:01] Production.INFO: neon service started
[2025-04-09 16:16:01] Production.INFO: ==27815== Releasing lock...
[2025-04-09 16:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:16:02] Production.INFO: ==27817== Lock acquired, processing the job...
[2025-04-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:16:02] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-04-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:16:02] Production.INFO: ==27819== Releasing lock...
[2025-04-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:16:03] Production.INFO: ==27817== Releasing lock...
[2025-04-09 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:16:03] Production.INFO: ==27826== Lock acquired, processing the job...
[2025-04-09 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:16:03] Production.INFO: ==27832== Lock acquired, processing the job...
[2025-04-09 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:16:04] Production.INFO: ==27822== Lock acquired, processing the job...
[2025-04-09 11:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:16:04] Production.INFO: ==27824== Lock acquired, processing the job...
[2025-04-09 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:16:04] Production.INFO: count ==12
[2025-04-09 11:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:16:04] Production.INFO: count ==23
[2025-04-09 11:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:16:04] Production.INFO: ==27828== Lock acquired, processing the job...
[2025-04-09 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869170') start
[2025-04-09 11:16:04] Production.INFO: ==27830== Lock acquired, processing the job...
[2025-04-09 11:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869170') end
[2025-04-09 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:16:04] Production.INFO: 1
[2025-04-09 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:16:04] Production.INFO: Account Balance Start.
[2025-04-09 11:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:16:04] Production.INFO: 117
[2025-04-09 11:16:04] Production.INFO: ==27832== Releasing lock...
[2025-04-09 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:16:04] Production.INFO: ==27824== Releasing lock...
[2025-04-09 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:16:04] Production.ERROR: done
[2025-04-09 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:16:04] Production.INFO: Total Charge 0
[2025-04-09 11:16:05] Production.INFO: CreateAllLog End
[2025-04-09 11:16:05] Production.ERROR: done
[2025-04-09 11:16:05] Production.INFO: Account Balance End.
[2025-04-09 11:16:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:16:05] Production.INFO: ==27828== Releasing lock...
[2025-04-09 11:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:16:06
[end_date_ymd] => 2025-04-09 11:16:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:16:06' and `end` < '2025-04-09 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-04-09 11:16:11] Production.ERROR: CronJobId end10
[2025-04-09 11:16:11] Production.INFO: ==27826== Releasing lock...
[2025-04-09 11:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:16:15] Production.INFO: call_cost start
[2025-04-09 11:16:15] Production.INFO: call_cost end
[2025-04-09 11:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:16:16] Production.INFO: ==27822== Releasing lock...
[2025-04-09 11:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:16:20] Production.INFO: count ==3997
[2025-04-09 11:16:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:16:06 - End Time 2025-04-09 11:16:06
[2025-04-09 11:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869174', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869174', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869174', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869174', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:16:21] Production.INFO: ProcessCDR(1,14869174,1,1,2)
[2025-04-09 11:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869174', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869174', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:16:25] Production.INFO: ==27830== Releasing lock...
[2025-04-09 11:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:16:25] Production.INFO: 57.75 MB #Memory Used#
[2025-04-09 16:17:01] Production.INFO: ==27890== Lock acquired, processing the job...
[2025-04-09 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:17:01] Production.INFO: neon service started
[2025-04-09 16:17:01] Production.INFO: neon service started
[2025-04-09 16:17:01] Production.INFO: ==27890== Releasing lock...
[2025-04-09 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:17:01] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-04-09 11:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:17:02] Production.INFO: ==27892== Releasing lock...
[2025-04-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:17:02] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-04-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:17:02] Production.INFO: ==27894== Releasing lock...
[2025-04-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:17:03] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:17:03] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:17:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:17:03] Production.INFO: Account Balance Start.
[2025-04-09 11:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:17:03] Production.INFO: ==27900== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:17:03] Production.INFO: 117
[2025-04-09 11:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:17:03] Production.INFO: Total Charge 0
[2025-04-09 11:17:03] Production.INFO: CreateAllLog End
[2025-04-09 11:17:03] Production.INFO: Account Balance End.
[2025-04-09 11:17:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:17:03] Production.INFO: ==27904== Releasing lock...
[2025-04-09 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:17:03] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:17:03] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-04-09 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:17:03] Production.INFO: ==27900== Releasing lock...
[2025-04-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 11:17:04] Production.INFO: count ==12
[2025-04-09 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-04-09 11:17:04] Production.INFO: count ==23
[2025-04-09 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869178') start
[2025-04-09 11:17:04] Production.ERROR: done
[2025-04-09 11:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869178') end
[2025-04-09 11:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:17:04] Production.INFO: 1
[2025-04-09 11:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:17:04] Production.INFO: ==27908== Releasing lock...
[2025-04-09 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:17:04] Production.ERROR: done
[2025-04-09 11:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:17:05
[end_date_ymd] => 2025-04-09 11:17:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:17:05' and `end` < '2025-04-09 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-04-09 11:17:13] Production.ERROR: CronJobId end10
[2025-04-09 11:17:13] Production.INFO: ==27902== Releasing lock...
[2025-04-09 11:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:17:15] Production.INFO: call_cost start
[2025-04-09 11:17:15] Production.INFO: call_cost end
[2025-04-09 11:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:17:16] Production.INFO: ==27898== Releasing lock...
[2025-04-09 11:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:17:19] Production.INFO: count ==4011
[2025-04-09 11:17:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:17:05 - End Time 2025-04-09 11:17:05
[2025-04-09 11:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869179', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869179', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869179', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869179', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:17:21] Production.INFO: ProcessCDR(1,14869179,1,1,2)
[2025-04-09 11:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869179', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869179', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:17:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:17:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:17:26] Production.INFO: ==27906== Releasing lock...
[2025-04-09 11:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:17:26] Production.INFO: 58.25 MB #Memory Used#
[2025-04-09 16:18:01] Production.INFO: ==28004== Lock acquired, processing the job...
[2025-04-09 16:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:18:01] Production.INFO: neon service started
[2025-04-09 16:18:01] Production.INFO: neon service started
[2025-04-09 16:18:01] Production.INFO: ==28004== Releasing lock...
[2025-04-09 16:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:18:02] Production.INFO: ==28008== Lock acquired, processing the job...
[2025-04-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:18:02] Production.INFO: ==28008== Releasing lock...
[2025-04-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:18:02] Production.INFO: ==28006== Lock acquired, processing the job...
[2025-04-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:18:02] Production.INFO: ==28006== Releasing lock...
[2025-04-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:18:03] Production.INFO: ==28011== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:18:03] Production.INFO: ==28019== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:18:03] Production.INFO: ==28013== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:18:03] Production.INFO: ==28015== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:18:03] Production.INFO: ==28017== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:18:03] Production.INFO: ==28021== Lock acquired, processing the job...
[2025-04-09 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:18:04] Production.INFO: Account Balance Start.
[2025-04-09 11:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:18:04] Production.INFO: 117
[2025-04-09 11:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 11:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:18:04] Production.INFO: count ==12
[2025-04-09 11:18:04] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 11:18:04] Production.INFO: count ==23
[2025-04-09 11:18:04] Production.ERROR: done
[2025-04-09 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869182') start
[2025-04-09 11:18:04] Production.INFO: CreateAllLog End
[2025-04-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869182') end
[2025-04-09 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:18:04] Production.INFO: 1
[2025-04-09 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:18:04] Production.INFO: ==28013== Releasing lock...
[2025-04-09 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:18:04] Production.ERROR: done
[2025-04-09 11:18:04] Production.INFO: ==28021== Releasing lock...
[2025-04-09 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:18:04] Production.INFO: Account Balance End.
[2025-04-09 11:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:18:04] Production.INFO: ==28017== Releasing lock...
[2025-04-09 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:18:05
[end_date_ymd] => 2025-04-09 11:18:05
[RateCDR] => 1
)
[2025-04-09 11:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:18:05' and `end` < '2025-04-09 11:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:18:13] Production.ERROR: CronJobId end10
[2025-04-09 11:18:13] Production.INFO: ==28015== Releasing lock...
[2025-04-09 11:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:18:15] Production.INFO: call_cost start
[2025-04-09 11:18:15] Production.INFO: call_cost end
[2025-04-09 11:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:18:16] Production.INFO: ==28011== Releasing lock...
[2025-04-09 11:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:18:19] Production.INFO: count ==4026
[2025-04-09 11:18:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:18:05 - End Time 2025-04-09 11:18:05
[2025-04-09 11:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869184', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869184', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869184', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869184', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:18:21] Production.INFO: ProcessCDR(1,14869184,1,1,2)
[2025-04-09 11:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:18:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869184', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869184', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:18:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:18:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:18:27] Production.INFO: ==28019== Releasing lock...
[2025-04-09 11:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:18:27] Production.INFO: 58 MB #Memory Used#
[2025-04-09 16:19:02] Production.INFO: ==28079== Lock acquired, processing the job...
[2025-04-09 16:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:19:02] Production.INFO: neon service started
[2025-04-09 16:19:02] Production.INFO: neon service started
[2025-04-09 16:19:02] Production.INFO: ==28079== Releasing lock...
[2025-04-09 16:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:19:03] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-04-09 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:19:03] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-04-09 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:19:03] Production.INFO: ==28083== Releasing lock...
[2025-04-09 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:19:03] Production.INFO: ==28081== Releasing lock...
[2025-04-09 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:19:04] Production.INFO: ==28094== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:19:04] Production.INFO: ==28096== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:19:04] Production.INFO: count ==12
[2025-04-09 11:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:19:04] Production.INFO: count ==23
[2025-04-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869185') start
[2025-04-09 11:19:04] Production.INFO: ==28086== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:19:04] Production.INFO: ==28088== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:19:04] Production.INFO: ==28090== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869185') end
[2025-04-09 11:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:19:04] Production.INFO: 1
[2025-04-09 11:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:19:04] Production.INFO: ==28092== Lock acquired, processing the job...
[2025-04-09 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:19:04] Production.INFO: ==28096== Releasing lock...
[2025-04-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:19:05] Production.ERROR: done
[2025-04-09 11:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:19:05] Production.INFO: Account Balance Start.
[2025-04-09 11:19:05] Production.INFO: CreateAllLog Start
[2025-04-09 11:19:05] Production.INFO: 117
[2025-04-09 11:19:05] Production.INFO: Date 2025-04-08
[2025-04-09 11:19:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:19:05] Production.INFO: Date 2025-04-09
[2025-04-09 11:19:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:19:05] Production.INFO: Total Charge 0
[2025-04-09 11:19:05] Production.INFO: CreateAllLog End
[2025-04-09 11:19:05] Production.INFO: ==28088== Releasing lock...
[2025-04-09 11:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:19:05] Production.ERROR: done
[2025-04-09 11:19:05] Production.INFO: Account Balance End.
[2025-04-09 11:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:19:05] Production.INFO: ==28092== Releasing lock...
[2025-04-09 11:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:19:06
[end_date_ymd] => 2025-04-09 11:19:06
[RateCDR] => 1
)
[2025-04-09 11:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:19:06' and `end` < '2025-04-09 11:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:19:14] Production.ERROR: CronJobId end10
[2025-04-09 11:19:14] Production.INFO: ==28090== Releasing lock...
[2025-04-09 11:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:19:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:19:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:19:17] Production.INFO: call_cost start
[2025-04-09 11:19:17] Production.INFO: call_cost end
[2025-04-09 11:19:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:19:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:19:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:19:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:19:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:19:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:19:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:19:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:19:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:19:18] Production.INFO: ==28086== Releasing lock...
[2025-04-09 11:19:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:19:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:19:19] Production.INFO: count ==4030
[2025-04-09 11:19:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:19:06 - End Time 2025-04-09 11:19:06
[2025-04-09 11:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869189', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869189', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869189', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869189', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:19:21] Production.INFO: ProcessCDR(1,14869189,1,1,2)
[2025-04-09 11:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869189', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869189', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:19:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:19:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:19:27] Production.INFO: ==28094== Releasing lock...
[2025-04-09 11:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:19:27] Production.INFO: 58 MB #Memory Used#
[2025-04-09 16:20:01] Production.INFO: ==28150== Lock acquired, processing the job...
[2025-04-09 16:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:20:01] Production.INFO: neon service started
[2025-04-09 16:20:01] Production.INFO: neon service started
[2025-04-09 16:20:01] Production.INFO: ==28150== Releasing lock...
[2025-04-09 16:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:20:02] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-04-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:20:02] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-04-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:20:02] Production.INFO: ==28154== Releasing lock...
[2025-04-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:20:02] Production.INFO: ==28152== Releasing lock...
[2025-04-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:20:03] Production.INFO: ==28157== Lock acquired, processing the job...
[2025-04-09 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:20:03] Production.INFO: ==28159== Lock acquired, processing the job...
[2025-04-09 11:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:20:03] Production.INFO: ==28157== Releasing lock...
[2025-04-09 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:20:04] Production.INFO: ==28167== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:20:04] Production.INFO: ==28169== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:20:04] Production.INFO: ==28161== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:20:04] Production.INFO: ==28163== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:20:04] Production.INFO: ==28165== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:20:04] Production.INFO: ==28171== Lock acquired, processing the job...
[2025-04-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:20:04] Production.INFO: Account Balance Start.
[2025-04-09 11:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:20:04] Production.INFO: 117
[2025-04-09 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:20:04] Production.INFO: count ==12
[2025-04-09 11:20:04] Production.INFO: Total Charge 0
[2025-04-09 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:20:04] Production.INFO: count ==23
[2025-04-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869193') start
[2025-04-09 11:20:04] Production.INFO: CreateAllLog End
[2025-04-09 11:20:04] Production.ERROR: done
[2025-04-09 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:20:04] Production.ERROR: done
[2025-04-09 11:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869194', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869193') end
[2025-04-09 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:20:04] Production.INFO: 1
[2025-04-09 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:20:04] Production.INFO: ==28161== Releasing lock...
[2025-04-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:20:04] Production.INFO: ==28171== Releasing lock...
[2025-04-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:20:04] Production.ERROR: done
[2025-04-09 11:20:05] Production.INFO: Account Balance End.
[2025-04-09 11:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:20:05] Production.INFO: ==28165== Releasing lock...
[2025-04-09 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:20:06
[end_date_ymd] => 2025-04-09 11:20:06
[RateCDR] => 1
)
[2025-04-09 11:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:20:06' and `end` < '2025-04-09 11:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869194', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:20:08] Production.INFO: ProcessCDR(1,14869194,1,1,2)
[2025-04-09 11:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869194,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:20:08] Production.INFO: ==28169== Releasing lock...
[2025-04-09 11:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:20:13] Production.ERROR: CronJobId end10
[2025-04-09 11:20:13] Production.INFO: ==28163== Releasing lock...
[2025-04-09 11:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:20:16] Production.INFO: call_cost start
[2025-04-09 11:20:16] Production.INFO: call_cost end
[2025-04-09 11:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:20:17] Production.INFO: ==28159== Releasing lock...
[2025-04-09 11:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:20:20] Production.INFO: count ==4029
[2025-04-09 11:20:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:20:06 - End Time 2025-04-09 11:20:06
[2025-04-09 11:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869195', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869195', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869195', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869195', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:20:21] Production.INFO: ProcessCDR(1,14869195,1,1,2)
[2025-04-09 11:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:20:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:20:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:20:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869195', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869195', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:20:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:20:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:20:25] Production.INFO: ==28167== Releasing lock...
[2025-04-09 11:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:20:25] Production.INFO: 58 MB #Memory Used#
[2025-04-09 16:21:02] Production.INFO: ==28227== Lock acquired, processing the job...
[2025-04-09 16:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:21:02] Production.INFO: neon service started
[2025-04-09 16:21:02] Production.INFO: neon service started
[2025-04-09 16:21:02] Production.INFO: ==28227== Releasing lock...
[2025-04-09 16:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:21:02] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-04-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:21:03] Production.INFO: ==28229== Releasing lock...
[2025-04-09 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:21:03] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-04-09 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:21:03] Production.INFO: ==28231== Releasing lock...
[2025-04-09 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:21:04] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:21:04] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:21:04] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:21:04] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:21:04] Production.INFO: ==28242== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:21:04] Production.INFO: ==28240== Lock acquired, processing the job...
[2025-04-09 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:21:04] Production.INFO: count ==12
[2025-04-09 11:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:21:04] Production.INFO: count ==23
[2025-04-09 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869197') start
[2025-04-09 11:21:04] Production.INFO: Account Balance Start.
[2025-04-09 11:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:21:04] Production.INFO: 117
[2025-04-09 11:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:21:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869197') end
[2025-04-09 11:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:21:05] Production.INFO: 1
[2025-04-09 11:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:21:05] Production.INFO: Date 2025-04-09
[2025-04-09 11:21:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:21:05] Production.INFO: ==28244== Releasing lock...
[2025-04-09 11:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:21:05] Production.INFO: Total Charge 0
[2025-04-09 11:21:05] Production.INFO: ==28235== Releasing lock...
[2025-04-09 11:21:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:21:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:21:05] Production.ERROR: done
[2025-04-09 11:21:05] Production.INFO: CreateAllLog End
[2025-04-09 11:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:21:05] Production.ERROR: done
[2025-04-09 11:21:05] Production.INFO: Account Balance End.
[2025-04-09 11:21:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:21:05] Production.INFO: ==28240== Releasing lock...
[2025-04-09 11:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:21:06
[end_date_ymd] => 2025-04-09 11:21:06
[RateCDR] => 1
)
[2025-04-09 11:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:21:06' and `end` < '2025-04-09 11:21:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:21:14] Production.ERROR: CronJobId end10
[2025-04-09 11:21:14] Production.INFO: ==28237== Releasing lock...
[2025-04-09 11:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:21:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:21:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:21:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:21:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:21:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:21:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:21:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:21:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:21:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:21:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:21:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:21:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:21:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:21:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:21:18] Production.INFO: call_cost start
[2025-04-09 11:21:18] Production.INFO: call_cost end
[2025-04-09 11:21:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:21:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:21:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:21:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:21:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:21:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:21:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:21:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:21:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:21:19] Production.INFO: ==28233== Releasing lock...
[2025-04-09 11:21:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:21:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:21:20] Production.INFO: count ==4130
[2025-04-09 11:21:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:21:06 - End Time 2025-04-09 11:21:06
[2025-04-09 11:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869200', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869200', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869200', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869200', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:21:22] Production.INFO: ProcessCDR(1,14869200,1,1,2)
[2025-04-09 11:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:21:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:21:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:21:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869200', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869200', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:21:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:21:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:21:28] Production.INFO: ==28242== Releasing lock...
[2025-04-09 11:21:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:21:28] Production.INFO: 58.75 MB #Memory Used#
[2025-04-09 16:22:01] Production.INFO: ==28306== Lock acquired, processing the job...
[2025-04-09 16:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:22:01] Production.INFO: neon service started
[2025-04-09 16:22:01] Production.INFO: neon service started
[2025-04-09 16:22:01] Production.INFO: ==28306== Releasing lock...
[2025-04-09 16:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:22:02] Production.INFO: ==28310== Lock acquired, processing the job...
[2025-04-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:22:02] Production.INFO: ==28310== Releasing lock...
[2025-04-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:22:02] Production.INFO: ==28308== Lock acquired, processing the job...
[2025-04-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:22:03] Production.INFO: ==28308== Releasing lock...
[2025-04-09 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:22:03] Production.INFO: ==28313== Lock acquired, processing the job...
[2025-04-09 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:22:03] Production.INFO: ==28317== Lock acquired, processing the job...
[2025-04-09 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:22:04] Production.INFO: ==28323== Lock acquired, processing the job...
[2025-04-09 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:22:04] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-04-09 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:22:04] Production.INFO: count ==12
[2025-04-09 11:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:22:04] Production.INFO: count ==23
[2025-04-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869202') start
[2025-04-09 11:22:04] Production.INFO: ==28319== Lock acquired, processing the job...
[2025-04-09 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:22:04] Production.INFO: ==28321== Lock acquired, processing the job...
[2025-04-09 11:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869202') end
[2025-04-09 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:22:04] Production.INFO: 1
[2025-04-09 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:22:04] Production.INFO: ==28323== Releasing lock...
[2025-04-09 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:22:04] Production.INFO: Account Balance Start.
[2025-04-09 11:22:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:22:04] Production.INFO: 117
[2025-04-09 11:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:22:04] Production.INFO: ==28315== Releasing lock...
[2025-04-09 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:22:04] Production.INFO: Total Charge 0
[2025-04-09 11:22:04] Production.INFO: CreateAllLog End
[2025-04-09 11:22:05] Production.ERROR: done
[2025-04-09 11:22:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:22:05] Production.INFO: Account Balance End.
[2025-04-09 11:22:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:22:05] Production.INFO: ==28319== Releasing lock...
[2025-04-09 11:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:22:05] Production.ERROR: done
[2025-04-09 11:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:22:06
[end_date_ymd] => 2025-04-09 11:22:06
[RateCDR] => 1
)
[2025-04-09 11: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-04-09 08:22:06' and `end` < '2025-04-09 11: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-04-09 11:22:14] Production.ERROR: CronJobId end10
[2025-04-09 11:22:14] Production.INFO: ==28317== Releasing lock...
[2025-04-09 11:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:22:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:22:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:22:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:22:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:22:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:22:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:22:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:22:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:22:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:22:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:22:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:22:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:22:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:22:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:22:17] Production.INFO: call_cost start
[2025-04-09 11:22:17] Production.INFO: call_cost end
[2025-04-09 11:22:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:22:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:22:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:22:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:22:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:22:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:22:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:22:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:22:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:22:18] Production.INFO: ==28313== Releasing lock...
[2025-04-09 11:22:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:22:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:22:20] Production.INFO: count ==4137
[2025-04-09 11:22:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:22:06 - End Time 2025-04-09 11:22:06
[2025-04-09 11:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869205', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869205', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869205', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869205', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:22:22] Production.INFO: ProcessCDR(1,14869205,1,1,2)
[2025-04-09 11:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869205', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869205', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:22:27] Production.INFO: ==28321== Releasing lock...
[2025-04-09 11:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:22:27] Production.INFO: 59 MB #Memory Used#
[2025-04-09 16:23:01] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-04-09 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:23:01] Production.INFO: neon service started
[2025-04-09 16:23:01] Production.INFO: neon service started
[2025-04-09 16:23:01] Production.INFO: ==28380== Releasing lock...
[2025-04-09 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:23:01] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-04-09 11:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:23:02] Production.INFO: ==28382== Releasing lock...
[2025-04-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:23:02] Production.INFO: ==28384== Lock acquired, processing the job...
[2025-04-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:23:02] Production.INFO: ==28384== Releasing lock...
[2025-04-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:23:03] Production.INFO: ==28395== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:23:03] Production.INFO: ==28397== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:23:03] Production.INFO: ==28386== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:23:03] Production.INFO: ==28388== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:23:03] Production.INFO: ==28391== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:23:03] Production.INFO: ==28393== Lock acquired, processing the job...
[2025-04-09 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:23:03] Production.ERROR: done
[2025-04-09 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 11:23:03] Production.INFO: Account Balance Start.
[2025-04-09 11:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:23:03] Production.INFO: 117
[2025-04-09 11:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:23:03] Production.INFO: count ==12
[2025-04-09 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-04-09 11:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:23:03] Production.INFO: count ==23
[2025-04-09 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869206') start
[2025-04-09 11:23:03] Production.ERROR: done
[2025-04-09 11:23:03] Production.INFO: ==28388== Releasing lock...
[2025-04-09 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:23:03] Production.INFO: Total Charge 0
[2025-04-09 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:23:03] Production.INFO: CreateAllLog End
[2025-04-09 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869206') end
[2025-04-09 11:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:23:03] Production.INFO: 1
[2025-04-09 11:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:23:04] Production.INFO: Account Balance End.
[2025-04-09 11:23:04] Production.INFO: ==28397== Releasing lock...
[2025-04-09 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:23:04] Production.INFO: ==28393== Releasing lock...
[2025-04-09 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:23:04
[end_date_ymd] => 2025-04-09 11:23:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:23:04' and `end` < '2025-04-09 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-04-09 11:23:11] Production.ERROR: CronJobId end10
[2025-04-09 11:23:11] Production.INFO: ==28391== Releasing lock...
[2025-04-09 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:23:14] Production.INFO: call_cost start
[2025-04-09 11:23:14] Production.INFO: call_cost end
[2025-04-09 11:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:23:15] Production.INFO: ==28386== Releasing lock...
[2025-04-09 11:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:23:18] Production.INFO: count ==4142
[2025-04-09 11:23:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:23:04 - End Time 2025-04-09 11:23:04
[2025-04-09 11:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869210', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869210', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869210', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869210', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:23:20] Production.INFO: ProcessCDR(1,14869210,1,1,2)
[2025-04-09 11:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869210', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869210', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:23:25] Production.INFO: ==28395== Releasing lock...
[2025-04-09 11:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:23:25] Production.INFO: 59 MB #Memory Used#
[2025-04-09 16:24:01] Production.INFO: ==28455== Lock acquired, processing the job...
[2025-04-09 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:24:01] Production.INFO: neon service started
[2025-04-09 16:24:01] Production.INFO: neon service started
[2025-04-09 16:24:01] Production.INFO: ==28455== Releasing lock...
[2025-04-09 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:24:02] Production.INFO: ==28457== Lock acquired, processing the job...
[2025-04-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:24:02] Production.INFO: ==28457== Releasing lock...
[2025-04-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:24:02] Production.INFO: ==28459== Lock acquired, processing the job...
[2025-04-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:24:02] Production.INFO: ==28459== Releasing lock...
[2025-04-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:24:03] Production.INFO: ==28461== Lock acquired, processing the job...
[2025-04-09 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:24:03] Production.INFO: ==28465== Lock acquired, processing the job...
[2025-04-09 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:24:03] Production.INFO: ==28463== Lock acquired, processing the job...
[2025-04-09 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:24:04] Production.INFO: ==28463== Releasing lock...
[2025-04-09 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:24:04] Production.INFO: ==28467== Lock acquired, processing the job...
[2025-04-09 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:24:04] Production.INFO: ==28469== Lock acquired, processing the job...
[2025-04-09 11:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:24:04] Production.INFO: ==28471== Lock acquired, processing the job...
[2025-04-09 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:24:04] Production.INFO: Account Balance Start.
[2025-04-09 11:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:24:04] Production.INFO: 117
[2025-04-09 11:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:24:04] Production.INFO: Total Charge 0
[2025-04-09 11:24:04] Production.INFO: CreateAllLog End
[2025-04-09 11:24:04] Production.INFO: count ==12
[2025-04-09 11:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:24:04] Production.INFO: count ==23
[2025-04-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869214') start
[2025-04-09 11:24:04] Production.ERROR: done
[2025-04-09 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869214') end
[2025-04-09 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:24:04] Production.INFO: 1
[2025-04-09 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:24:04] Production.INFO: Account Balance End.
[2025-04-09 11:24:04] Production.INFO: ==28471== Releasing lock...
[2025-04-09 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:24:04] Production.INFO: ==28467== Releasing lock...
[2025-04-09 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:24:04] Production.ERROR: done
[2025-04-09 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:24:05
[end_date_ymd] => 2025-04-09 11:24:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:24:05' and `end` < '2025-04-09 11:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:24:12] Production.ERROR: CronJobId end10
[2025-04-09 11:24:12] Production.INFO: ==28465== Releasing lock...
[2025-04-09 11:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:24:15] Production.INFO: call_cost start
[2025-04-09 11:24:15] Production.INFO: call_cost end
[2025-04-09 11:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:24:16] Production.INFO: ==28461== Releasing lock...
[2025-04-09 11:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:24:19] Production.INFO: count ==4162
[2025-04-09 11:24:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:24:05 - End Time 2025-04-09 11:24:05
[2025-04-09 11:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869215', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869215', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869215', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869215', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:24:21] Production.INFO: ProcessCDR(1,14869215,1,1,2)
[2025-04-09 11:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:24:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869215', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869215', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:24:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:24:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:24:27] Production.INFO: ==28469== Releasing lock...
[2025-04-09 11:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:24:27] Production.INFO: 59 MB #Memory Used#
[2025-04-09 16:25:02] Production.INFO: ==28528== Lock acquired, processing the job...
[2025-04-09 16:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:25:02] Production.INFO: neon service started
[2025-04-09 16:25:02] Production.INFO: neon service started
[2025-04-09 16:25:02] Production.INFO: ==28528== Releasing lock...
[2025-04-09 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:25:03] Production.INFO: ==28531== Lock acquired, processing the job...
[2025-04-09 11:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:25:03] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:25:03] Production.INFO: ==28533== Releasing lock...
[2025-04-09 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:25:03] Production.INFO: ==28531== Releasing lock...
[2025-04-09 11:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:25:04] Production.INFO: ==28538== Lock acquired, processing the job...
[2025-04-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:25:04] Production.INFO: ==28540== Lock acquired, processing the job...
[2025-04-09 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:25:04] Production.INFO: ==28536== Lock acquired, processing the job...
[2025-04-09 11:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:25:04] Production.INFO: ==28538== Releasing lock...
[2025-04-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:25:05] Production.INFO: ==28546== Lock acquired, processing the job...
[2025-04-09 11:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:25:05] Production.INFO: ==28542== Lock acquired, processing the job...
[2025-04-09 11:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:25:05] Production.INFO: ==28544== Lock acquired, processing the job...
[2025-04-09 11:25:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:25: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-04-09 11:25:05] Production.INFO: count ==12
[2025-04-09 11:25: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-04-09 11:25:05] Production.INFO: count ==23
[2025-04-09 11:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869218') start
[2025-04-09 11:25:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:25:05] Production.INFO: Account Balance Start.
[2025-04-09 11:25:05] Production.INFO: CreateAllLog Start
[2025-04-09 11:25:05] Production.INFO: 117
[2025-04-09 11:25:05] Production.INFO: Date 2025-04-08
[2025-04-09 11:25:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869218') end
[2025-04-09 11:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:25:05] Production.INFO: 1
[2025-04-09 11:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:25:05] Production.INFO: Date 2025-04-09
[2025-04-09 11:25:05] Production.INFO: Reseller ==> 0
[2025-04-09 11:25:05] Production.INFO: Total Charge 0
[2025-04-09 11:25:05] Production.INFO: CreateAllLog End
[2025-04-09 11:25:05] Production.INFO: ==28546== Releasing lock...
[2025-04-09 11:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:25:05] Production.ERROR: done
[2025-04-09 11:25:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:25:05] Production.INFO: Account Balance End.
[2025-04-09 11:25:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:25:05] Production.INFO: ==28542== Releasing lock...
[2025-04-09 11:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:25:06] Production.ERROR: done
[2025-04-09 11:25:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:25:07
[end_date_ymd] => 2025-04-09 11:25:07
[RateCDR] => 1
)
[2025-04-09 11:25:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:25:07' and `end` < '2025-04-09 11:25:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:25:13] Production.ERROR: CronJobId end10
[2025-04-09 11:25:13] Production.INFO: ==28540== Releasing lock...
[2025-04-09 11:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:25:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:25:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:25:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:25:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:25:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:25:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:25:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:25:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:25:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:25:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:25:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:25:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:25:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:25:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:25:16] Production.INFO: call_cost start
[2025-04-09 11:25:16] Production.INFO: call_cost end
[2025-04-09 11:25:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:25:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:25:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:25:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:25:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:25:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:25:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:25:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:25:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:25:17] Production.INFO: ==28536== Releasing lock...
[2025-04-09 11:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:25:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:25:20] Production.INFO: count ==4169
[2025-04-09 11:25:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:25:07 - End Time 2025-04-09 11:25:07
[2025-04-09 11:25:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869220', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869220', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869220', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869220', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:25:22] Production.INFO: ProcessCDR(1,14869220,1,1,2)
[2025-04-09 11:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869220', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869220', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:25:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:25:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:25:27] Production.INFO: ==28544== Releasing lock...
[2025-04-09 11:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:25:27] Production.INFO: 59.25 MB #Memory Used#
[2025-04-09 16:26:01] Production.INFO: ==28614== Lock acquired, processing the job...
[2025-04-09 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:26:01] Production.INFO: neon service started
[2025-04-09 16:26:01] Production.INFO: neon service started
[2025-04-09 16:26:01] Production.INFO: ==28614== Releasing lock...
[2025-04-09 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:26:02] Production.INFO: ==28616== Lock acquired, processing the job...
[2025-04-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:26:02] Production.INFO: ==28616== Releasing lock...
[2025-04-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:26:02] Production.INFO: ==28618== Lock acquired, processing the job...
[2025-04-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:26:02] Production.INFO: ==28618== Releasing lock...
[2025-04-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:26:03] Production.INFO: ==28627== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:26:03] Production.INFO: ==28631== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:26:03] Production.INFO: Account Balance Start.
[2025-04-09 11:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:26:03] Production.INFO: 117
[2025-04-09 11:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:26:03] Production.INFO: count ==12
[2025-04-09 11:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:26:03] Production.INFO: count ==23
[2025-04-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869221') start
[2025-04-09 11:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:26:03] Production.INFO: ==28621== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:26:03] Production.INFO: Total Charge 0
[2025-04-09 11:26:03] Production.INFO: ==28625== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:26:03] Production.INFO: ==28623== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:26:03] Production.INFO: CreateAllLog End
[2025-04-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869221') end
[2025-04-09 11:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:26:03] Production.INFO: 1
[2025-04-09 11:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:26:03] Production.INFO: ==28629== Lock acquired, processing the job...
[2025-04-09 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:26:03] Production.INFO: ==28631== Releasing lock...
[2025-04-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:26:03] Production.INFO: Account Balance End.
[2025-04-09 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:26:04] Production.INFO: ==28627== Releasing lock...
[2025-04-09 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:26:04] Production.INFO: ==28623== Releasing lock...
[2025-04-09 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:26:04] Production.ERROR: done
[2025-04-09 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:26:04] Production.ERROR: done
[2025-04-09 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:26:05
[end_date_ymd] => 2025-04-09 11:26:05
[RateCDR] => 1
)
[2025-04-09 11:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:26:05' and `end` < '2025-04-09 11:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:26:12] Production.ERROR: CronJobId end10
[2025-04-09 11:26:12] Production.INFO: ==28625== Releasing lock...
[2025-04-09 11:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:26:14] Production.INFO: call_cost start
[2025-04-09 11:26:14] Production.INFO: call_cost end
[2025-04-09 11:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:26:15] Production.INFO: ==28621== Releasing lock...
[2025-04-09 11:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:26:19] Production.INFO: count ==4181
[2025-04-09 11:26:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:26:05 - End Time 2025-04-09 11:26:05
[2025-04-09 11:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869225', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869225', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869225', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869225', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:26:20] Production.INFO: ProcessCDR(1,14869225,1,1,2)
[2025-04-09 11:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869225', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869225', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:26:26] Production.INFO: ==28629== Releasing lock...
[2025-04-09 11:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:26:26] Production.INFO: 59.25 MB #Memory Used#
[2025-04-09 16:27:01] Production.INFO: ==28704== Lock acquired, processing the job...
[2025-04-09 16:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:27:01] Production.INFO: neon service started
[2025-04-09 16:27:01] Production.INFO: neon service started
[2025-04-09 16:27:01] Production.INFO: ==28704== Releasing lock...
[2025-04-09 16:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:27:01] Production.INFO: ==28706== Lock acquired, processing the job...
[2025-04-09 11:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:27:02] Production.INFO: ==28706== Releasing lock...
[2025-04-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:27:02] Production.INFO: ==28708== Lock acquired, processing the job...
[2025-04-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:27:02] Production.INFO: ==28708== Releasing lock...
[2025-04-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:27:03] Production.INFO: ==28714== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:27:03] Production.INFO: ==28716== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:27:03] Production.INFO: Account Balance Start.
[2025-04-09 11:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:27:03] Production.INFO: 117
[2025-04-09 11:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:27:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:27:03] Production.INFO: ==28712== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:27:03] Production.INFO: Total Charge 0
[2025-04-09 11:27:03] Production.INFO: ==28710== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:27:03] Production.INFO: CreateAllLog End
[2025-04-09 11:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:27:03] Production.INFO: ==28718== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:27:03] Production.INFO: ==28720== Lock acquired, processing the job...
[2025-04-09 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:27:03] Production.INFO: Account Balance End.
[2025-04-09 11:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:27:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:27:03] Production.INFO: ==28716== Releasing lock...
[2025-04-09 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 11:27:03] Production.INFO: count ==12
[2025-04-09 11:27:03] Production.INFO: ==28712== Releasing lock...
[2025-04-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 11:27:03] Production.INFO: count ==23
[2025-04-09 11:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869229') start
[2025-04-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869229') end
[2025-04-09 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:27:04] Production.INFO: 1
[2025-04-09 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:27:04] Production.INFO: ==28720== Releasing lock...
[2025-04-09 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:27:04] Production.ERROR: done
[2025-04-09 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:27:04] Production.ERROR: done
[2025-04-09 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:27:05
[end_date_ymd] => 2025-04-09 11:27:05
[RateCDR] => 1
)
[2025-04-09 11:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:27:05' and `end` < '2025-04-09 11:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:27:12] Production.ERROR: CronJobId end10
[2025-04-09 11:27:12] Production.INFO: ==28714== Releasing lock...
[2025-04-09 11:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:27:15] Production.INFO: call_cost start
[2025-04-09 11:27:15] Production.INFO: call_cost end
[2025-04-09 11:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:27:16] Production.INFO: ==28710== Releasing lock...
[2025-04-09 11:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:27:18] Production.INFO: count ==4185
[2025-04-09 11:27:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:27:05 - End Time 2025-04-09 11:27:05
[2025-04-09 11:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869230', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869230', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869230', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869230', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:27:20] Production.INFO: ProcessCDR(1,14869230,1,1,2)
[2025-04-09 11:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:27:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:27:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:27:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869230', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869230', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:27:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:27:26] Production.INFO: ==28718== Releasing lock...
[2025-04-09 11:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:27:26] Production.INFO: 59.25 MB #Memory Used#
[2025-04-09 16:28:01] Production.INFO: ==28793== Lock acquired, processing the job...
[2025-04-09 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:28:01] Production.INFO: neon service started
[2025-04-09 16:28:01] Production.INFO: neon service started
[2025-04-09 16:28:01] Production.INFO: ==28793== Releasing lock...
[2025-04-09 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:28:02] Production.INFO: ==28795== Lock acquired, processing the job...
[2025-04-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:28:02] Production.INFO: ==28797== Lock acquired, processing the job...
[2025-04-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:28:02] Production.INFO: ==28797== Releasing lock...
[2025-04-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:28:02] Production.INFO: ==28795== Releasing lock...
[2025-04-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:28:03] Production.INFO: ==28806== Lock acquired, processing the job...
[2025-04-09 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:28:03] Production.INFO: ==28803== Lock acquired, processing the job...
[2025-04-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:28:03] Production.INFO: ==28810== Lock acquired, processing the job...
[2025-04-09 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:28:03] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-04-09 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:28:03] Production.INFO: ==28808== Lock acquired, processing the job...
[2025-04-09 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:28:04] Production.INFO: ==28803== Releasing lock...
[2025-04-09 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:28:04] Production.INFO: ==28812== Lock acquired, processing the job...
[2025-04-09 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:28:04] Production.INFO: Account Balance Start.
[2025-04-09 11:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:28:04] Production.INFO: 117
[2025-04-09 11:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:28:04] Production.ERROR: done
[2025-04-09 11:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:28:04] Production.INFO: Total Charge 0
[2025-04-09 11:28:04] Production.INFO: CreateAllLog End
[2025-04-09 11:28:04] Production.INFO: count ==12
[2025-04-09 11:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:28:04] Production.INFO: count ==23
[2025-04-09 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869234') start
[2025-04-09 11:28:04] Production.ERROR: done
[2025-04-09 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869234') end
[2025-04-09 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:28:04] Production.INFO: 1
[2025-04-09 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:28:04] Production.INFO: Account Balance End.
[2025-04-09 11:28:04] Production.INFO: ==28812== Releasing lock...
[2025-04-09 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:28:04] Production.INFO: ==28808== Releasing lock...
[2025-04-09 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:28:05
[end_date_ymd] => 2025-04-09 11:28:05
[RateCDR] => 1
)
[2025-04-09 11:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:28:05' and `end` < '2025-04-09 11:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:28:12] Production.ERROR: CronJobId end10
[2025-04-09 11:28:12] Production.INFO: ==28806== Releasing lock...
[2025-04-09 11:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:28:15] Production.INFO: call_cost start
[2025-04-09 11:28:15] Production.INFO: call_cost end
[2025-04-09 11:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:28:16] Production.INFO: ==28801== Releasing lock...
[2025-04-09 11:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:28:19] Production.INFO: count ==4211
[2025-04-09 11:28:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:28:05 - End Time 2025-04-09 11:28:05
[2025-04-09 11:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869235', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869235', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869235', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869235', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:28:21] Production.INFO: ProcessCDR(1,14869235,1,1,2)
[2025-04-09 11:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869235', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869235', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:28:26] Production.INFO: ==28810== Releasing lock...
[2025-04-09 11:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:28:26] Production.INFO: 59.5 MB #Memory Used#
[2025-04-09 16:29:02] Production.INFO: ==28874== Lock acquired, processing the job...
[2025-04-09 16:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:29:02] Production.INFO: neon service started
[2025-04-09 16:29:02] Production.INFO: neon service started
[2025-04-09 16:29:02] Production.INFO: ==28874== Releasing lock...
[2025-04-09 16:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:29:02] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-04-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:29:02] Production.INFO: ==28878== Releasing lock...
[2025-04-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:29:02] Production.INFO: ==28876== Lock acquired, processing the job...
[2025-04-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:29:03] Production.INFO: ==28876== Releasing lock...
[2025-04-09 11:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:29:04] Production.INFO: ==28885== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:29:04] Production.INFO: ==28883== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:29:04] Production.INFO: ==28891== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:29:04] Production.INFO: ==28885== Releasing lock...
[2025-04-09 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:29:04] Production.INFO: ==28887== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:29:04] Production.INFO: ==28893== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:29:04] Production.INFO: ==28889== Lock acquired, processing the job...
[2025-04-09 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:29:04] Production.ERROR: done
[2025-04-09 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 11:29:04] Production.INFO: Account Balance Start.
[2025-04-09 11:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:29:04] Production.INFO: 117
[2025-04-09 11:29:04] Production.INFO: count ==12
[2025-04-09 11:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:29:04] Production.INFO: count ==23
[2025-04-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869238') start
[2025-04-09 11:29:04] Production.ERROR: done
[2025-04-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869238') end
[2025-04-09 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:29:04] Production.INFO: 1
[2025-04-09 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:29:05] Production.INFO: ==28893== Releasing lock...
[2025-04-09 11:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:29:05] Production.INFO: Total Charge 0
[2025-04-09 11:29:05] Production.INFO: CreateAllLog End
[2025-04-09 11:29:05] Production.INFO: Account Balance End.
[2025-04-09 11:29:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:29:05] Production.INFO: ==28889== Releasing lock...
[2025-04-09 11:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:29:06
[end_date_ymd] => 2025-04-09 11:29:06
[RateCDR] => 1
)
[2025-04-09 11:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:29:06' and `end` < '2025-04-09 11:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:29:13] Production.ERROR: CronJobId end10
[2025-04-09 11:29:13] Production.INFO: ==28887== Releasing lock...
[2025-04-09 11:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:29:15] Production.INFO: call_cost start
[2025-04-09 11:29:15] Production.INFO: call_cost end
[2025-04-09 11:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:29:16] Production.INFO: ==28883== Releasing lock...
[2025-04-09 11:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:29:19] Production.INFO: count ==4232
[2025-04-09 11:29:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:29:06 - End Time 2025-04-09 11:29:06
[2025-04-09 11:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869240', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869240', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869240', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869240', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:29:22] Production.INFO: ProcessCDR(1,14869240,1,1,2)
[2025-04-09 11:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869240', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869240', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:29:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:29:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:29:27] Production.INFO: ==28891== Releasing lock...
[2025-04-09 11:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:29:27] Production.INFO: 59.75 MB #Memory Used#
[2025-04-09 16:30:01] Production.INFO: ==28956== Lock acquired, processing the job...
[2025-04-09 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:30:01] Production.INFO: neon service started
[2025-04-09 16:30:01] Production.INFO: neon service started
[2025-04-09 16:30:01] Production.INFO: ==28956== Releasing lock...
[2025-04-09 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:30:02] Production.INFO: ==28958== Lock acquired, processing the job...
[2025-04-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:30:02] Production.INFO: ==28960== Lock acquired, processing the job...
[2025-04-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:30:02] Production.INFO: ==28960== Releasing lock...
[2025-04-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:30:02] Production.INFO: ==28958== Releasing lock...
[2025-04-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:30:03] Production.INFO: ==28966== Lock acquired, processing the job...
[2025-04-09 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:30:03] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-04-09 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:30:04] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:30:04] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:30:04] Production.INFO: ==28966== Releasing lock...
[2025-04-09 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:30:04] Production.INFO: ==28962== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:30:04] Production.INFO: Account Balance Start.
[2025-04-09 11:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 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-04-09 11:30:04] Production.INFO: 117
[2025-04-09 11:30:04] Production.INFO: count ==12
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:30:04] Production.ERROR: CronJob PID - 28969
[2025-04-09 11:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 11:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:30:00
[2025-04-09 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:30:04] Production.ERROR: CronJob PID - 28971
[2025-04-09 11:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 11:30:04] Production.ERROR: CronJob ID - 12
[2025-04-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:30:00
[2025-04-09 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:30:04] Production.ERROR: CronJob PID - 28977
[2025-04-09 11:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 11:30:04] Production.ERROR: CronJob ID - 19
[2025-04-09 11:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:30:00
[2025-04-09 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:30:04] Production.INFO: count ==23
[2025-04-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869243') start
[2025-04-09 11:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:30:04] Production.INFO: ==28962== Releasing lock...
[2025-04-09 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:30:04] Production.INFO: ==28964== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:30:04] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:30:04] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-04-09 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869243') end
[2025-04-09 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:30:04] Production.INFO: 1
[2025-04-09 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:30:04] Production.INFO: ==28977== Releasing lock...
[2025-04-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:30:04] Production.INFO: Total Charge 0
[2025-04-09 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:30:04] Production.INFO: CreateAllLog End
[2025-04-09 11:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:30:04] Production.ERROR: done
[2025-04-09 11:30:04] Production.ERROR: done
[2025-04-09 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:30:04] Production.INFO: Account Balance End.
[2025-04-09 11:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:30:04] Production.INFO: ==28971== Releasing lock...
[2025-04-09 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:30:05] Production.ERROR: done
[2025-04-09 11:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869245', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:30:06
[end_date_ymd] => 2025-04-09 11:30:06
[RateCDR] => 1
)
[2025-04-09 11:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:30:06' and `end` < '2025-04-09 11:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869245', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:30:10] Production.INFO: ProcessCDR(1,14869245,1,1,2)
[2025-04-09 11:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:30:10] Production.INFO: ==28975== Releasing lock...
[2025-04-09 11:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:30:15] Production.ERROR: CronJobId end10
[2025-04-09 11:30:15] Production.INFO: ==28969== Releasing lock...
[2025-04-09 11:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:30:17] Production.INFO: call_cost start
[2025-04-09 11:30:17] Production.INFO: call_cost end
[2025-04-09 11:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:30:18] Production.INFO: ==28964== Releasing lock...
[2025-04-09 11:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:30:20] Production.INFO: count ==4227
[2025-04-09 11:30:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:30:06 - End Time 2025-04-09 11:30:06
[2025-04-09 11:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869246', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869246', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869246', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869246', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:30:21] Production.INFO: ProcessCDR(1,14869246,1,1,2)
[2025-04-09 11:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869246', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869246', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:30:27] Production.INFO: ==28973== Releasing lock...
[2025-04-09 11:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:30:27] Production.INFO: 59.5 MB #Memory Used#
[2025-04-09 16:31:02] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-04-09 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:31:02] Production.INFO: neon service started
[2025-04-09 16:31:02] Production.INFO: neon service started
[2025-04-09 16:31:02] Production.INFO: ==29046== Releasing lock...
[2025-04-09 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:31:02] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-04-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:31:02] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-04-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:31:02] Production.INFO: ==29050== Releasing lock...
[2025-04-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:31:03] Production.INFO: ==29048== Releasing lock...
[2025-04-09 11:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:31:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-04-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:31:04] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-04-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:31:04] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-04-09 11:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:31:04] Production.INFO: ==29055== Releasing lock...
[2025-04-09 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:31:04] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-04-09 11:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:31:04] Production.INFO: count ==12
[2025-04-09 11:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:31:04] Production.INFO: count ==23
[2025-04-09 11:31:04] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-04-09 11:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869248') start
[2025-04-09 11:31:04] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-04-09 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869248') end
[2025-04-09 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:31:04] Production.INFO: 1
[2025-04-09 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:31:04] Production.INFO: Account Balance Start.
[2025-04-09 11:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:31:04] Production.INFO: 117
[2025-04-09 11:31:04] Production.INFO: ==29063== Releasing lock...
[2025-04-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:31:04] Production.INFO: Total Charge 0
[2025-04-09 11:31:04] Production.INFO: CreateAllLog End
[2025-04-09 11:31:04] Production.ERROR: done
[2025-04-09 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:31:04] Production.ERROR: done
[2025-04-09 11:31:04] Production.INFO: Account Balance End.
[2025-04-09 11:31:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:31:05] Production.INFO: ==29059== Releasing lock...
[2025-04-09 11:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:31:05
[end_date_ymd] => 2025-04-09 11:31:05
[RateCDR] => 1
)
[2025-04-09 11:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:31:05' and `end` < '2025-04-09 11:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:31:12] Production.ERROR: CronJobId end10
[2025-04-09 11:31:12] Production.INFO: ==29057== Releasing lock...
[2025-04-09 11:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:31:15] Production.INFO: call_cost start
[2025-04-09 11:31:15] Production.INFO: call_cost end
[2025-04-09 11:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:31:15] Production.INFO: ==29053== Releasing lock...
[2025-04-09 11:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:31:19] Production.INFO: count ==4359
[2025-04-09 11:31:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:31:05 - End Time 2025-04-09 11:31:05
[2025-04-09 11:31:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869251', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869251', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869251', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869251', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:31:21] Production.INFO: ProcessCDR(1,14869251,1,1,2)
[2025-04-09 11:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869251', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869251', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:31:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:31:27] Production.INFO: ==29061== Releasing lock...
[2025-04-09 11:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:31:27] Production.INFO: 60.5 MB #Memory Used#
[2025-04-09 16:32:01] Production.INFO: ==29120== Lock acquired, processing the job...
[2025-04-09 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:32:01] Production.INFO: neon service started
[2025-04-09 16:32:01] Production.INFO: neon service started
[2025-04-09 16:32:01] Production.INFO: ==29120== Releasing lock...
[2025-04-09 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:32:02] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-04-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:32:02] Production.INFO: ==29124== Releasing lock...
[2025-04-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:32:02] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-04-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:32:02] Production.INFO: ==29122== Releasing lock...
[2025-04-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:32:03] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:32:03] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:32:03] Production.INFO: ==29126== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:32:03] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:32:03] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:32:03] Production.INFO: ==29137== Lock acquired, processing the job...
[2025-04-09 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:32:04] Production.INFO: count ==12
[2025-04-09 11:32:04] Production.INFO: Account Balance Start.
[2025-04-09 11:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:32:04] Production.INFO: 117
[2025-04-09 11:32:04] Production.ERROR: done
[2025-04-09 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:32:04] Production.INFO: count ==23
[2025-04-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869253') start
[2025-04-09 11:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:32:04] Production.INFO: Total Charge 0
[2025-04-09 11:32:04] Production.INFO: ==29128== Releasing lock...
[2025-04-09 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:32:04] Production.INFO: CreateAllLog End
[2025-04-09 11:32:04] Production.ERROR: done
[2025-04-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869253') end
[2025-04-09 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:32:04] Production.INFO: 1
[2025-04-09 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:32:04] Production.INFO: ==29137== Releasing lock...
[2025-04-09 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:32:04] Production.INFO: Account Balance End.
[2025-04-09 11:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:32:04] Production.INFO: ==29133== Releasing lock...
[2025-04-09 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:32:05
[end_date_ymd] => 2025-04-09 11:32:05
[RateCDR] => 1
)
[2025-04-09 11: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-04-09 08:32:05' and `end` < '2025-04-09 11:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:32:13] Production.ERROR: CronJobId end10
[2025-04-09 11:32:13] Production.INFO: ==29130== Releasing lock...
[2025-04-09 11:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:32:15] Production.INFO: call_cost start
[2025-04-09 11:32:15] Production.INFO: call_cost end
[2025-04-09 11:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:32:16] Production.INFO: ==29126== Releasing lock...
[2025-04-09 11:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:32:19] Production.INFO: count ==4373
[2025-04-09 11:32:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:32:05 - End Time 2025-04-09 11:32:05
[2025-04-09 11:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869256', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869256', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869256', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869256', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:32:21] Production.INFO: ProcessCDR(1,14869256,1,1,2)
[2025-04-09 11:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869256', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869256', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:32:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:32:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:32:26] Production.INFO: ==29135== Releasing lock...
[2025-04-09 11:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:32:26] Production.INFO: 60.75 MB #Memory Used#
[2025-04-09 16:33:02] Production.INFO: ==29235== Lock acquired, processing the job...
[2025-04-09 16:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:33:02] Production.INFO: neon service started
[2025-04-09 16:33:02] Production.INFO: neon service started
[2025-04-09 16:33:02] Production.INFO: ==29235== Releasing lock...
[2025-04-09 16:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:33:02] Production.INFO: ==29237== Lock acquired, processing the job...
[2025-04-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:33:02] Production.INFO: ==29237== Releasing lock...
[2025-04-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:33:02] Production.INFO: ==29239== Lock acquired, processing the job...
[2025-04-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:33:03] Production.INFO: ==29239== Releasing lock...
[2025-04-09 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:33:03] Production.INFO: ==29241== Lock acquired, processing the job...
[2025-04-09 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:33:03] Production.INFO: ==29243== Lock acquired, processing the job...
[2025-04-09 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:33:03] Production.INFO: ==29245== Lock acquired, processing the job...
[2025-04-09 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:33:04] Production.INFO: ==29247== Lock acquired, processing the job...
[2025-04-09 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:33:04] Production.INFO: ==29249== Lock acquired, processing the job...
[2025-04-09 11:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:33:04] Production.INFO: Account Balance Start.
[2025-04-09 11:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:33:04] Production.INFO: 117
[2025-04-09 11:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:33:04] Production.INFO: ==29243== Releasing lock...
[2025-04-09 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:33:04] Production.INFO: ==29251== Lock acquired, processing the job...
[2025-04-09 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:33:04] Production.INFO: Total Charge 0
[2025-04-09 11:33:04] Production.INFO: CreateAllLog End
[2025-04-09 11:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:33:04] Production.INFO: count ==12
[2025-04-09 11:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:33:04] Production.INFO: count ==23
[2025-04-09 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869260') start
[2025-04-09 11:33:04] Production.ERROR: done
[2025-04-09 11:33:04] Production.INFO: Account Balance End.
[2025-04-09 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869260') end
[2025-04-09 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:33:04] Production.INFO: 1
[2025-04-09 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:33:04] Production.INFO: ==29247== Releasing lock...
[2025-04-09 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:33:04] Production.INFO: ==29251== Releasing lock...
[2025-04-09 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:33:05] Production.ERROR: done
[2025-04-09 11:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:33:06
[end_date_ymd] => 2025-04-09 11:33:06
[RateCDR] => 1
)
[2025-04-09 11:33:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:33:06' and `end` < '2025-04-09 11:33:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:33:12] Production.ERROR: CronJobId end10
[2025-04-09 11:33:12] Production.INFO: ==29245== Releasing lock...
[2025-04-09 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:33:15] Production.INFO: call_cost start
[2025-04-09 11:33:15] Production.INFO: call_cost end
[2025-04-09 11:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:33:16] Production.INFO: ==29241== Releasing lock...
[2025-04-09 11:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:33:19] Production.INFO: count ==4383
[2025-04-09 11:33:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:33:06 - End Time 2025-04-09 11:33:06
[2025-04-09 11:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869261', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869261', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869261', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869261', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:33:21] Production.INFO: ProcessCDR(1,14869261,1,1,2)
[2025-04-09 11:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869261', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869261', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:33:27] Production.INFO: ==29249== Releasing lock...
[2025-04-09 11:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:33:27] Production.INFO: 60.75 MB #Memory Used#
[2025-04-09 16:34:01] Production.INFO: ==29309== Lock acquired, processing the job...
[2025-04-09 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:34:01] Production.INFO: neon service started
[2025-04-09 16:34:01] Production.INFO: neon service started
[2025-04-09 16:34:01] Production.INFO: ==29309== Releasing lock...
[2025-04-09 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:34:02] Production.INFO: ==29313== Lock acquired, processing the job...
[2025-04-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:34:02] Production.INFO: ==29313== Releasing lock...
[2025-04-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:34:02] Production.INFO: ==29311== Lock acquired, processing the job...
[2025-04-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:34:02] Production.INFO: ==29311== Releasing lock...
[2025-04-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:34:03] Production.INFO: ==29316== Lock acquired, processing the job...
[2025-04-09 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:34:03] Production.INFO: ==29318== Lock acquired, processing the job...
[2025-04-09 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:34:03] Production.INFO: ==29322== Lock acquired, processing the job...
[2025-04-09 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:34:03] Production.INFO: Account Balance Start.
[2025-04-09 11:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:34:03] Production.INFO: 117
[2025-04-09 11:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:34:03] Production.INFO: ==29320== Lock acquired, processing the job...
[2025-04-09 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:34:03] Production.INFO: Total Charge 0
[2025-04-09 11:34:03] Production.INFO: CreateAllLog End
[2025-04-09 11:34:03] Production.INFO: ==29318== Releasing lock...
[2025-04-09 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:34:03] Production.INFO: ==29324== Lock acquired, processing the job...
[2025-04-09 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:34:04] Production.INFO: ==29326== Lock acquired, processing the job...
[2025-04-09 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:34:04] Production.INFO: Account Balance End.
[2025-04-09 11:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:34:04] Production.INFO: ==29322== Releasing lock...
[2025-04-09 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:34:04] Production.INFO: count ==12
[2025-04-09 11:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:34:04] Production.INFO: count ==23
[2025-04-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869265') start
[2025-04-09 11:34:04] Production.ERROR: done
[2025-04-09 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:34:04] Production.ERROR: done
[2025-04-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869265') end
[2025-04-09 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:34:04] Production.INFO: 1
[2025-04-09 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:34:04] Production.INFO: ==29326== Releasing lock...
[2025-04-09 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:34:05
[end_date_ymd] => 2025-04-09 11:34:05
[RateCDR] => 1
)
[2025-04-09 11:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:34:05' and `end` < '2025-04-09 11:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:34:13] Production.ERROR: CronJobId end10
[2025-04-09 11:34:13] Production.INFO: ==29320== Releasing lock...
[2025-04-09 11:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:34:14] Production.INFO: call_cost start
[2025-04-09 11:34:14] Production.INFO: call_cost end
[2025-04-09 11:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:34:15] Production.INFO: ==29316== Releasing lock...
[2025-04-09 11:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:34:19] Production.INFO: count ==4415
[2025-04-09 11:34:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:34:05 - End Time 2025-04-09 11:34:05
[2025-04-09 11:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869266', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869266', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869266', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869266', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:34:21] Production.INFO: ProcessCDR(1,14869266,1,1,2)
[2025-04-09 11:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869266', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869266', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:34:27] Production.INFO: ==29324== Releasing lock...
[2025-04-09 11:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:34:27] Production.INFO: 61 MB #Memory Used#
[2025-04-09 16:35:02] Production.INFO: ==29382== Lock acquired, processing the job...
[2025-04-09 16:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:35:02] Production.INFO: neon service started
[2025-04-09 16:35:02] Production.INFO: neon service started
[2025-04-09 16:35:02] Production.INFO: ==29382== Releasing lock...
[2025-04-09 16:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:35:02] Production.INFO: ==29384== Lock acquired, processing the job...
[2025-04-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:35:02] Production.INFO: ==29384== Releasing lock...
[2025-04-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:35:02] Production.INFO: ==29386== Lock acquired, processing the job...
[2025-04-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:35:03] Production.INFO: ==29386== Releasing lock...
[2025-04-09 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:35:03] Production.INFO: ==29395== Lock acquired, processing the job...
[2025-04-09 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:35:03] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-04-09 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:35:03] Production.INFO: Account Balance Start.
[2025-04-09 11:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:35:03] Production.INFO: 117
[2025-04-09 11:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:35:03] Production.INFO: ==29388== Lock acquired, processing the job...
[2025-04-09 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:35:03] Production.INFO: Total Charge 0
[2025-04-09 11:35:04] Production.INFO: CreateAllLog End
[2025-04-09 11:35:04] Production.INFO: ==29399== Lock acquired, processing the job...
[2025-04-09 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:35:04] Production.INFO: ==29390== Lock acquired, processing the job...
[2025-04-09 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:35:04] Production.INFO: Account Balance End.
[2025-04-09 11:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:35:04] Production.INFO: ==29395== Releasing lock...
[2025-04-09 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:35:04] Production.INFO: ==29397== Lock acquired, processing the job...
[2025-04-09 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:35:04] Production.INFO: count ==12
[2025-04-09 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:35:04] Production.INFO: count ==23
[2025-04-09 11:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869269') start
[2025-04-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869269') end
[2025-04-09 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:35:04] Production.INFO: 1
[2025-04-09 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:35:04] Production.ERROR: done
[2025-04-09 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:35:04] Production.INFO: ==29399== Releasing lock...
[2025-04-09 11:35:04] Production.INFO: ==29390== Releasing lock...
[2025-04-09 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:35:04] Production.ERROR: done
[2025-04-09 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:35:05
[end_date_ymd] => 2025-04-09 11:35:05
[RateCDR] => 1
)
[2025-04-09 11:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:35:05' and `end` < '2025-04-09 11:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:35:11] Production.ERROR: CronJobId end10
[2025-04-09 11:35:11] Production.INFO: ==29392== Releasing lock...
[2025-04-09 11:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:35:14] Production.INFO: call_cost start
[2025-04-09 11:35:14] Production.INFO: call_cost end
[2025-04-09 11:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:35:15] Production.INFO: ==29388== Releasing lock...
[2025-04-09 11:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:35:19] Production.INFO: count ==4417
[2025-04-09 11:35:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:35:05 - End Time 2025-04-09 11:35:05
[2025-04-09 11:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869271', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869271', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869271', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869271', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:35:21] Production.INFO: ProcessCDR(1,14869271,1,1,2)
[2025-04-09 11:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869271', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869271', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:35:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:35:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:35:27] Production.INFO: ==29397== Releasing lock...
[2025-04-09 11:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:35:27] Production.INFO: 61 MB #Memory Used#
[2025-04-09 16:36:01] Production.INFO: ==29451== Lock acquired, processing the job...
[2025-04-09 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:36:01] Production.INFO: neon service started
[2025-04-09 16:36:01] Production.INFO: neon service started
[2025-04-09 16:36:01] Production.INFO: ==29451== Releasing lock...
[2025-04-09 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:36:02] Production.INFO: ==29455== Lock acquired, processing the job...
[2025-04-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:36:02] Production.INFO: ==29455== Releasing lock...
[2025-04-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:36:02] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-04-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:36:02] Production.INFO: ==29453== Releasing lock...
[2025-04-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:36:03] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:36:03] Production.INFO: ==29460== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:36:03] Production.INFO: ==29464== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:36:03] Production.INFO: Account Balance Start.
[2025-04-09 11:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:36:03] Production.INFO: 117
[2025-04-09 11:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:36:03] Production.INFO: Total Charge 0
[2025-04-09 11:36:03] Production.INFO: ==29462== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:36:03] Production.INFO: CreateAllLog End
[2025-04-09 11:36:03] Production.INFO: ==29468== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:36:03] Production.INFO: ==29466== Lock acquired, processing the job...
[2025-04-09 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:36:03] Production.INFO: ==29460== Releasing lock...
[2025-04-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:36:04] Production.INFO: Account Balance End.
[2025-04-09 11:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:36:04] Production.INFO: ==29464== Releasing lock...
[2025-04-09 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:36:04] Production.INFO: count ==12
[2025-04-09 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-04-09 11:36:04] Production.INFO: count ==23
[2025-04-09 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869275') start
[2025-04-09 11:36:04] Production.ERROR: done
[2025-04-09 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869275') end
[2025-04-09 11:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:36:04] Production.INFO: 1
[2025-04-09 11:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:36:04] Production.INFO: ==29468== Releasing lock...
[2025-04-09 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:36:04] Production.ERROR: done
[2025-04-09 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:36:05
[end_date_ymd] => 2025-04-09 11:36:05
[RateCDR] => 1
)
[2025-04-09 11:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:36:05' and `end` < '2025-04-09 11:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:36:12] Production.ERROR: CronJobId end10
[2025-04-09 11:36:12] Production.INFO: ==29462== Releasing lock...
[2025-04-09 11:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:36:15] Production.INFO: call_cost start
[2025-04-09 11:36:15] Production.INFO: call_cost end
[2025-04-09 11:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:36:16] Production.INFO: ==29458== Releasing lock...
[2025-04-09 11:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:36:19] Production.INFO: count ==4425
[2025-04-09 11:36:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:36:05 - End Time 2025-04-09 11:36:05
[2025-04-09 11:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869276', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869276', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869276', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869276', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:36:21] Production.INFO: ProcessCDR(1,14869276,1,1,2)
[2025-04-09 11:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869276', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869276', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:36:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:36:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:36:27] Production.INFO: ==29466== Releasing lock...
[2025-04-09 11:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:36:27] Production.INFO: 61 MB #Memory Used#
[2025-04-09 16:37:02] Production.INFO: ==29548== Lock acquired, processing the job...
[2025-04-09 16:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:37:02] Production.INFO: neon service started
[2025-04-09 16:37:02] Production.INFO: neon service started
[2025-04-09 16:37:02] Production.INFO: ==29548== Releasing lock...
[2025-04-09 16:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:37:02] Production.INFO: ==29551== Lock acquired, processing the job...
[2025-04-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:37:02] Production.INFO: ==29551== Releasing lock...
[2025-04-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:37:03] Production.INFO: ==29553== Lock acquired, processing the job...
[2025-04-09 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:37:03] Production.INFO: ==29553== Releasing lock...
[2025-04-09 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:37:03] Production.INFO: ==29555== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:37:03] Production.INFO: ==29557== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:37:03] Production.INFO: ==29561== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:37:03] Production.INFO: ==29559== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:37:03] Production.INFO: ==29565== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:37:03] Production.INFO: ==29563== Lock acquired, processing the job...
[2025-04-09 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 11:37:03] Production.INFO: Account Balance Start.
[2025-04-09 11:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:37:03] Production.INFO: 117
[2025-04-09 11:37:03] Production.INFO: count ==12
[2025-04-09 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 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-04-09 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:37:03] Production.INFO: count ==23
[2025-04-09 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869278') start
[2025-04-09 11:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869278') end
[2025-04-09 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:37:04] Production.INFO: 1
[2025-04-09 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:37:04] Production.INFO: Total Charge 0
[2025-04-09 11:37:04] Production.INFO: CreateAllLog End
[2025-04-09 11:37:04] Production.INFO: ==29565== Releasing lock...
[2025-04-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:37:04] Production.INFO: ==29557== Releasing lock...
[2025-04-09 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:37:04] Production.INFO: Account Balance End.
[2025-04-09 11:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:37:04] Production.INFO: ==29561== Releasing lock...
[2025-04-09 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:37:04] Production.ERROR: done
[2025-04-09 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:37:04] Production.ERROR: done
[2025-04-09 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:37:05
[end_date_ymd] => 2025-04-09 11:37:05
[RateCDR] => 1
)
[2025-04-09 11:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:37:05' and `end` < '2025-04-09 11:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:37:16] Production.ERROR: CronJobId end10
[2025-04-09 11:37:16] Production.INFO: ==29559== Releasing lock...
[2025-04-09 11:37:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:37:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:37:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:37:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:37:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:37:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:37:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:37:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:37:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:37:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:37:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:37:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:37:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:37:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:37:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:37:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:37:17] Production.INFO: call_cost start
[2025-04-09 11:37:17] Production.INFO: call_cost end
[2025-04-09 11:37:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:37:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:37:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:37:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:37:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:37:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:37:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:37:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:37:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:37:18] Production.INFO: ==29555== Releasing lock...
[2025-04-09 11:37:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:37:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:37:19] Production.INFO: count ==4612
[2025-04-09 11:37:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:37:05 - End Time 2025-04-09 11:37:05
[2025-04-09 11:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869281', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869281', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869281', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869281', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:37:22] Production.INFO: ProcessCDR(1,14869281,1,1,2)
[2025-04-09 11:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869281', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869281', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:37:28] Production.INFO: ==29563== Releasing lock...
[2025-04-09 11:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:37:28] Production.INFO: 62.5 MB #Memory Used#
[2025-04-09 16:38:01] Production.INFO: ==29621== Lock acquired, processing the job...
[2025-04-09 16:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:38:01] Production.INFO: neon service started
[2025-04-09 16:38:01] Production.INFO: neon service started
[2025-04-09 16:38:01] Production.INFO: ==29621== Releasing lock...
[2025-04-09 16:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:38:01] Production.INFO: ==29623== Lock acquired, processing the job...
[2025-04-09 11:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:38:02] Production.INFO: ==29623== Releasing lock...
[2025-04-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:38:02] Production.INFO: ==29625== Lock acquired, processing the job...
[2025-04-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:38:02] Production.INFO: ==29625== Releasing lock...
[2025-04-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:38:03] Production.INFO: ==29633== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:38:03] Production.INFO: Account Balance Start.
[2025-04-09 11:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:38:03] Production.INFO: 117
[2025-04-09 11:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:38:03] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:38:03] Production.INFO: ==29627== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:38:03] Production.INFO: Total Charge 0
[2025-04-09 11:38:03] Production.INFO: ==29629== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:38:03] Production.INFO: CreateAllLog End
[2025-04-09 11:38:03] Production.INFO: ==29631== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:38:03] Production.INFO: Account Balance End.
[2025-04-09 11:38:03] Production.INFO: ==29635== Lock acquired, processing the job...
[2025-04-09 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:38:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:38:03] Production.INFO: ==29633== Releasing lock...
[2025-04-09 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:38:03] Production.INFO: count ==12
[2025-04-09 11:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 11:38:03] Production.INFO: count ==23
[2025-04-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869283') start
[2025-04-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869283') end
[2025-04-09 11:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:38:03] Production.INFO: 1
[2025-04-09 11:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:38:04] Production.INFO: ==29629== Releasing lock...
[2025-04-09 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:38:04] Production.INFO: ==29638== Releasing lock...
[2025-04-09 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:38:04] Production.ERROR: done
[2025-04-09 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:38:04] Production.ERROR: done
[2025-04-09 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:38:05
[end_date_ymd] => 2025-04-09 11:38:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:38:05' and `end` < '2025-04-09 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-04-09 11:38:13] Production.ERROR: CronJobId end10
[2025-04-09 11:38:13] Production.INFO: ==29631== Releasing lock...
[2025-04-09 11:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:38:15] Production.INFO: call_cost start
[2025-04-09 11:38:15] Production.INFO: call_cost end
[2025-04-09 11:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:38:16] Production.INFO: ==29627== Releasing lock...
[2025-04-09 11:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:38:18] Production.INFO: count ==4623
[2025-04-09 11:38:20] Production.ERROR: pbx CDR StartTime 2025-04-09 08:38:05 - End Time 2025-04-09 11:38:05
[2025-04-09 11:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869286', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869286', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869286', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869286', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:38:21] Production.INFO: ProcessCDR(1,14869286,1,1,2)
[2025-04-09 11:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869286', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869286', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:38:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:38:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:38:27] Production.INFO: ==29635== Releasing lock...
[2025-04-09 11:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:38:27] Production.INFO: 62.5 MB #Memory Used#
[2025-04-09 16:39:02] Production.INFO: ==29693== Lock acquired, processing the job...
[2025-04-09 16:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:39:02] Production.INFO: neon service started
[2025-04-09 16:39:02] Production.INFO: neon service started
[2025-04-09 16:39:02] Production.INFO: ==29693== Releasing lock...
[2025-04-09 16:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:39:02] Production.INFO: ==29696== Lock acquired, processing the job...
[2025-04-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:39:02] Production.INFO: ==29696== Releasing lock...
[2025-04-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:39:02] Production.INFO: ==29698== Lock acquired, processing the job...
[2025-04-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:39:02] Production.INFO: ==29698== Releasing lock...
[2025-04-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:39:03] Production.INFO: ==29708== Lock acquired, processing the job...
[2025-04-09 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:39:03] Production.INFO: ==29706== Lock acquired, processing the job...
[2025-04-09 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:39:03] Production.INFO: ==29700== Lock acquired, processing the job...
[2025-04-09 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:39:04] Production.INFO: Account Balance Start.
[2025-04-09 11:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:39:04] Production.INFO: ==29702== Lock acquired, processing the job...
[2025-04-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:39:04] Production.INFO: 117
[2025-04-09 11:39:04] Production.INFO: ==29704== Lock acquired, processing the job...
[2025-04-09 11:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:39:04] Production.INFO: ==29710== Lock acquired, processing the job...
[2025-04-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:39:04] Production.INFO: Total Charge 0
[2025-04-09 11:39:04] Production.INFO: CreateAllLog End
[2025-04-09 11:39:04] Production.ERROR: done
[2025-04-09 11:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11: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-04-09 11:39:04] Production.INFO: count ==12
[2025-04-09 11: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-04-09 11:39:04] Production.INFO: count ==23
[2025-04-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869289') start
[2025-04-09 11:39:04] Production.ERROR: done
[2025-04-09 11:39:04] Production.INFO: ==29702== Releasing lock...
[2025-04-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:39:04] Production.INFO: Account Balance End.
[2025-04-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869289') end
[2025-04-09 11:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:39:04] Production.INFO: 1
[2025-04-09 11:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:39:04] Production.INFO: ==29706== Releasing lock...
[2025-04-09 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:39:04] Production.INFO: ==29710== Releasing lock...
[2025-04-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:39:05
[end_date_ymd] => 2025-04-09 11:39:05
[RateCDR] => 1
)
[2025-04-09 11:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:39:05' and `end` < '2025-04-09 11:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:39:12] Production.ERROR: CronJobId end10
[2025-04-09 11:39:12] Production.INFO: ==29704== Releasing lock...
[2025-04-09 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:39:15] Production.INFO: call_cost start
[2025-04-09 11:39:15] Production.INFO: call_cost end
[2025-04-09 11:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:39:16] Production.INFO: ==29700== Releasing lock...
[2025-04-09 11:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:39:19] Production.INFO: count ==4628
[2025-04-09 11:39:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:39:05 - End Time 2025-04-09 11:39:05
[2025-04-09 11:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869291', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869291', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869291', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869291', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:39:21] Production.INFO: ProcessCDR(1,14869291,1,1,2)
[2025-04-09 11:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869291', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869291', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:39:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:39:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:39:27] Production.INFO: ==29708== Releasing lock...
[2025-04-09 11:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:39:27] Production.INFO: 62.5 MB #Memory Used#
[2025-04-09 16:40:01] Production.INFO: ==29768== Lock acquired, processing the job...
[2025-04-09 16:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:40:01] Production.INFO: neon service started
[2025-04-09 16:40:01] Production.INFO: neon service started
[2025-04-09 16:40:01] Production.INFO: ==29768== Releasing lock...
[2025-04-09 16:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:40:02] Production.INFO: ==29770== Lock acquired, processing the job...
[2025-04-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:40:02] Production.INFO: ==29772== Lock acquired, processing the job...
[2025-04-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:40:02] Production.INFO: ==29770== Releasing lock...
[2025-04-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:40:02] Production.INFO: ==29772== Releasing lock...
[2025-04-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:40:03] Production.INFO: ==29781== Lock acquired, processing the job...
[2025-04-09 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:40:03] Production.INFO: ==29785== Lock acquired, processing the job...
[2025-04-09 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:40:03] Production.INFO: ==29774== Lock acquired, processing the job...
[2025-04-09 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:40:03] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-04-09 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:40:03] Production.INFO: ==29779== Lock acquired, processing the job...
[2025-04-09 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:40:04] Production.INFO: ==29787== Lock acquired, processing the job...
[2025-04-09 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:40:04] Production.INFO: ==29783== Lock acquired, processing the job...
[2025-04-09 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:40:04] Production.INFO: ==29789== Lock acquired, processing the job...
[2025-04-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:40:04] Production.ERROR: CronJob PID - 29776
[2025-04-09 11:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 11:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:40:00
[2025-04-09 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:40:04] Production.ERROR: CronJob PID - 29779
[2025-04-09 11:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 11:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:40:00
[2025-04-09 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:40:04] Production.ERROR: CronJob PID - 29781
[2025-04-09 11:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 11:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:40:00
[2025-04-09 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:40:04] Production.ERROR: CronJob PID - 29785
[2025-04-09 11:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 11:40:04] Production.ERROR: CronJob ID - 16
[2025-04-09 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:40:00
[2025-04-09 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 11:40:04] Production.ERROR: CronJob PID - 29787
[2025-04-09 11:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 11:40:04] Production.ERROR: CronJob ID - 17
[2025-04-09 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 11:40:00
[2025-04-09 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 11:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:40:04] Production.INFO: ==29774== Releasing lock...
[2025-04-09 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:40:04] Production.INFO: Account Balance Start.
[2025-04-09 11:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:40:04] Production.INFO: 117
[2025-04-09 11:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:40:04] Production.INFO: count ==12
[2025-04-09 11:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:40:04] Production.INFO: count ==23
[2025-04-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869294') start
[2025-04-09 11:40:04] Production.ERROR: done
[2025-04-09 11:40:04] Production.ERROR: done
[2025-04-09 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869296', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869294') end
[2025-04-09 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:40:04] Production.INFO: 1
[2025-04-09 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:40:04] Production.INFO: ==29779== Releasing lock...
[2025-04-09 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:40:04] Production.INFO: Total Charge 0
[2025-04-09 11:40:04] Production.INFO: ==29789== Releasing lock...
[2025-04-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:40:04] Production.INFO: CreateAllLog End
[2025-04-09 11:40:04] Production.ERROR: done
[2025-04-09 11:40:04] Production.INFO: Account Balance End.
[2025-04-09 11:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:40:05] Production.INFO: ==29783== Releasing lock...
[2025-04-09 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:40:06
[end_date_ymd] => 2025-04-09 11:40:06
[RateCDR] => 1
)
[2025-04-09 11: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-04-09 08:40:06' and `end` < '2025-04-09 11: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-04-09 11:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869296', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:40:09] Production.INFO: ProcessCDR(1,14869296,1,1,2)
[2025-04-09 11:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869296,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:40:09] Production.INFO: ==29787== Releasing lock...
[2025-04-09 11:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:40:14] Production.ERROR: CronJobId end10
[2025-04-09 11:40:14] Production.INFO: ==29781== Releasing lock...
[2025-04-09 11:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:40:17] Production.INFO: call_cost start
[2025-04-09 11:40:17] Production.INFO: call_cost end
[2025-04-09 11:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:40:18] Production.INFO: ==29776== Releasing lock...
[2025-04-09 11:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:40:20] Production.INFO: count ==5080
[2025-04-09 11:40:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:40:06 - End Time 2025-04-09 11:40:06
[2025-04-09 11:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869297', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869297', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869297', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869297', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:40:23] Production.INFO: ProcessCDR(1,14869297,1,1,2)
[2025-04-09 11:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:40:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:40:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869297', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869297', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:40:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:40:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:40:29] Production.INFO: ==29785== Releasing lock...
[2025-04-09 11:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:40:29] Production.INFO: 66 MB #Memory Used#
[2025-04-09 16:41:01] Production.INFO: ==29849== Lock acquired, processing the job...
[2025-04-09 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:41:01] Production.INFO: neon service started
[2025-04-09 16:41:01] Production.INFO: neon service started
[2025-04-09 16:41:01] Production.INFO: ==29849== Releasing lock...
[2025-04-09 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:41:02] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-04-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:41:02] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-04-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:41:02] Production.INFO: ==29851== Releasing lock...
[2025-04-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:41:02] Production.INFO: ==29853== Releasing lock...
[2025-04-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:41:03] Production.INFO: ==29855== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:41:03] Production.INFO: ==29860== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:41:03] Production.INFO: ==29862== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:41:03] Production.INFO: Account Balance Start.
[2025-04-09 11:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:41:03] Production.INFO: 117
[2025-04-09 11:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:41:03] Production.INFO: ==29858== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:41:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:41:03] Production.INFO: Total Charge 0
[2025-04-09 11:41:03] Production.INFO: ==29864== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:41:03] Production.INFO: CreateAllLog End
[2025-04-09 11:41:03] Production.INFO: ==29866== Lock acquired, processing the job...
[2025-04-09 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 11:41:04] Production.INFO: count ==12
[2025-04-09 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-04-09 11:41:04] Production.INFO: count ==23
[2025-04-09 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869301') start
[2025-04-09 11:41:04] Production.INFO: ==29858== Releasing lock...
[2025-04-09 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:41:04] Production.INFO: Account Balance End.
[2025-04-09 11:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:41:04] Production.INFO: ==29862== Releasing lock...
[2025-04-09 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869301') end
[2025-04-09 11:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:41:04] Production.INFO: 1
[2025-04-09 11:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:41:04] Production.ERROR: done
[2025-04-09 11:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:41:04] Production.INFO: ==29866== Releasing lock...
[2025-04-09 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:41:04] Production.ERROR: done
[2025-04-09 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:41:05
[end_date_ymd] => 2025-04-09 11:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:41:05' and `end` < '2025-04-09 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-04-09 11:41:12] Production.ERROR: CronJobId end10
[2025-04-09 11:41:12] Production.INFO: ==29860== Releasing lock...
[2025-04-09 11:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:41:15] Production.INFO: call_cost start
[2025-04-09 11:41:15] Production.INFO: call_cost end
[2025-04-09 11:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:41:16] Production.INFO: ==29855== Releasing lock...
[2025-04-09 11:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:41:19] Production.INFO: count ==5181
[2025-04-09 11:41:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:41:05 - End Time 2025-04-09 11:41:05
[2025-04-09 11:41:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869302', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869302', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869302', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869302', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:41:22] Production.INFO: ProcessCDR(1,14869302,1,1,2)
[2025-04-09 11:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:41:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:41:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869302', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869302', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:41:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:41:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:41:27] Production.INFO: ==29864== Releasing lock...
[2025-04-09 11:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:41:27] Production.INFO: 66.75 MB #Memory Used#
[2025-04-09 16:42:01] Production.INFO: ==29918== Lock acquired, processing the job...
[2025-04-09 16:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:42:01] Production.INFO: neon service started
[2025-04-09 16:42:01] Production.INFO: neon service started
[2025-04-09 16:42:01] Production.INFO: ==29918== Releasing lock...
[2025-04-09 16:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:42:01] Production.INFO: ==29920== Lock acquired, processing the job...
[2025-04-09 11:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:42:02] Production.INFO: ==29920== Releasing lock...
[2025-04-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:42:02] Production.INFO: ==29922== Lock acquired, processing the job...
[2025-04-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:42:02] Production.INFO: ==29922== Releasing lock...
[2025-04-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:42:03] Production.INFO: ==29928== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:42:03] Production.INFO: ==29924== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:42:03] Production.INFO: ==29926== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:42:03] Production.INFO: ==29932== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:42:03] Production.INFO: ==29930== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:42:03] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-04-09 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:42:03] Production.INFO: Account Balance Start.
[2025-04-09 11:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:42:03] Production.INFO: 117
[2025-04-09 11:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:42:03] Production.INFO: Total Charge 0
[2025-04-09 11:42:03] Production.INFO: CreateAllLog End
[2025-04-09 11:42:03] Production.INFO: count ==12
[2025-04-09 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-04-09 11:42:03] Production.INFO: count ==23
[2025-04-09 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869306') start
[2025-04-09 11:42:04] Production.ERROR: done
[2025-04-09 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:42:04] Production.INFO: ==29926== Releasing lock...
[2025-04-09 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:42:04] Production.ERROR: done
[2025-04-09 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869306') end
[2025-04-09 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:42:04] Production.INFO: Account Balance End.
[2025-04-09 11:42:04] Production.INFO: 1
[2025-04-09 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:42:04] Production.INFO: ==29935== Releasing lock...
[2025-04-09 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:42:04] Production.INFO: ==29930== Releasing lock...
[2025-04-09 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:42:05
[end_date_ymd] => 2025-04-09 11:42:05
[RateCDR] => 1
)
[2025-04-09 11:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:42:05' and `end` < '2025-04-09 11:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:42:13] Production.ERROR: CronJobId end10
[2025-04-09 11:42:13] Production.INFO: ==29928== Releasing lock...
[2025-04-09 11:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:42:15] Production.INFO: call_cost start
[2025-04-09 11:42:15] Production.INFO: call_cost end
[2025-04-09 11:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:42:16] Production.INFO: ==29924== Releasing lock...
[2025-04-09 11:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:42:18] Production.INFO: count ==5235
[2025-04-09 11:42:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:42:05 - End Time 2025-04-09 11:42:05
[2025-04-09 11:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869307', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869307', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869307', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869307', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:42:21] Production.INFO: ProcessCDR(1,14869307,1,1,2)
[2025-04-09 11:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869307', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869307', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:42:27] Production.INFO: ==29932== Releasing lock...
[2025-04-09 11:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:42:27] Production.INFO: 67.25 MB #Memory Used#
[2025-04-09 16:43:01] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-04-09 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:43:01] Production.INFO: neon service started
[2025-04-09 16:43:01] Production.INFO: neon service started
[2025-04-09 16:43:01] Production.INFO: ==29993== Releasing lock...
[2025-04-09 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:43:02] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-04-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:43:02] Production.INFO: ==29995== Releasing lock...
[2025-04-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:43:02] Production.INFO: ==29997== Lock acquired, processing the job...
[2025-04-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:43:02] Production.INFO: ==29997== Releasing lock...
[2025-04-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:43:03] Production.INFO: ==30005== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:43:03] Production.INFO: ==30009== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:43:03] Production.INFO: ==29999== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:43:03] Production.INFO: Account Balance Start.
[2025-04-09 11:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:43:03] Production.INFO: 117
[2025-04-09 11:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:43:03] Production.INFO: ==30001== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:43:03] Production.INFO: ==30003== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:43:03] Production.INFO: Total Charge 0
[2025-04-09 11:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:43:03] Production.INFO: CreateAllLog End
[2025-04-09 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:43:03] Production.INFO: ==30007== Lock acquired, processing the job...
[2025-04-09 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:43:04] Production.INFO: count ==12
[2025-04-09 11: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-04-09 11:43:04] Production.INFO: count ==23
[2025-04-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869310') start
[2025-04-09 11:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869310') end
[2025-04-09 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:43:04] Production.INFO: 1
[2025-04-09 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:43:04] Production.INFO: ==30009== Releasing lock...
[2025-04-09 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:43:04] Production.INFO: ==30001== Releasing lock...
[2025-04-09 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:43:04] Production.INFO: Account Balance End.
[2025-04-09 11:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:43:04] Production.INFO: ==30005== Releasing lock...
[2025-04-09 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:43:04] Production.ERROR: done
[2025-04-09 11:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:43:04] Production.ERROR: done
[2025-04-09 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:43:05
[end_date_ymd] => 2025-04-09 11:43:05
[RateCDR] => 1
)
[2025-04-09 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:43:05' and `end` < '2025-04-09 11:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:43:12] Production.ERROR: CronJobId end10
[2025-04-09 11:43:12] Production.INFO: ==30003== Releasing lock...
[2025-04-09 11:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:43:15] Production.INFO: call_cost start
[2025-04-09 11:43:15] Production.INFO: call_cost end
[2025-04-09 11:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:43:16] Production.INFO: ==29999== Releasing lock...
[2025-04-09 11:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:43:19] Production.INFO: count ==5260
[2025-04-09 11:43:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:43:05 - End Time 2025-04-09 11:43:05
[2025-04-09 11:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869312', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869312', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869312', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869312', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:43:21] Production.INFO: ProcessCDR(1,14869312,1,1,2)
[2025-04-09 11:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869312', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869312', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:43:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:43:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:43:27] Production.INFO: ==30007== Releasing lock...
[2025-04-09 11:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:43:27] Production.INFO: 67.25 MB #Memory Used#
[2025-04-09 16:44:01] Production.INFO: ==30065== Lock acquired, processing the job...
[2025-04-09 16:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:44:01] Production.INFO: neon service started
[2025-04-09 16:44:01] Production.INFO: neon service started
[2025-04-09 16:44:01] Production.INFO: ==30065== Releasing lock...
[2025-04-09 16:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:44:01] Production.INFO: ==30067== Lock acquired, processing the job...
[2025-04-09 11:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:44:02] Production.INFO: ==30067== Releasing lock...
[2025-04-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:44:02] Production.INFO: ==30069== Lock acquired, processing the job...
[2025-04-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:44:02] Production.INFO: ==30069== Releasing lock...
[2025-04-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:44:03] Production.INFO: ==30077== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:44:03] Production.INFO: ==30082== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:44:03] Production.INFO: Account Balance Start.
[2025-04-09 11:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:44:03] Production.INFO: 117
[2025-04-09 11:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:44:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:44:03] Production.INFO: ==30073== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:44:03] Production.INFO: ==30071== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:44:03] Production.INFO: ==30075== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:44:03] Production.INFO: count ==12
[2025-04-09 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-04-09 11:44:03] Production.INFO: count ==23
[2025-04-09 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869314') start
[2025-04-09 11:44:03] Production.INFO: Total Charge 0
[2025-04-09 11:44:03] Production.INFO: ==30080== Lock acquired, processing the job...
[2025-04-09 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:44:03] Production.INFO: CreateAllLog End
[2025-04-09 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869314') end
[2025-04-09 11:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:44:03] Production.INFO: 1
[2025-04-09 11:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:44:03] Production.INFO: ==30082== Releasing lock...
[2025-04-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:44:03] Production.INFO: Account Balance End.
[2025-04-09 11:44:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:44:03] Production.INFO: ==30077== Releasing lock...
[2025-04-09 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:44:03] Production.INFO: ==30073== Releasing lock...
[2025-04-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:44:03] Production.ERROR: done
[2025-04-09 11:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:44:04] Production.ERROR: done
[2025-04-09 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:44:05
[end_date_ymd] => 2025-04-09 11:44:05
[RateCDR] => 1
)
[2025-04-09 11:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:44:05' and `end` < '2025-04-09 11:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:44:10] Production.ERROR: CronJobId end10
[2025-04-09 11:44:10] Production.INFO: ==30075== Releasing lock...
[2025-04-09 11:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:44:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:44:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:44:14] Production.INFO: call_cost start
[2025-04-09 11:44:14] Production.INFO: call_cost end
[2025-04-09 11:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:44:15] Production.INFO: ==30071== Releasing lock...
[2025-04-09 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:44:18] Production.INFO: count ==5286
[2025-04-09 11:44:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:44:05 - End Time 2025-04-09 11:44:05
[2025-04-09 11:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869317', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869317', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869317', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869317', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:44:21] Production.INFO: ProcessCDR(1,14869317,1,1,2)
[2025-04-09 11:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869317', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869317', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:44:27] Production.INFO: ==30080== Releasing lock...
[2025-04-09 11:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:44:27] Production.INFO: 67.5 MB #Memory Used#
[2025-04-09 16:45:01] Production.INFO: ==30135== Lock acquired, processing the job...
[2025-04-09 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:45:01] Production.INFO: neon service started
[2025-04-09 16:45:01] Production.INFO: neon service started
[2025-04-09 16:45:01] Production.INFO: ==30135== Releasing lock...
[2025-04-09 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:45:02] Production.INFO: ==30137== Lock acquired, processing the job...
[2025-04-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:45:02] Production.INFO: ==30139== Lock acquired, processing the job...
[2025-04-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:45:02] Production.INFO: ==30139== Releasing lock...
[2025-04-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:45:02] Production.INFO: ==30137== Releasing lock...
[2025-04-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:45:03] Production.INFO: ==30142== Lock acquired, processing the job...
[2025-04-09 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:45:03] Production.INFO: ==30146== Lock acquired, processing the job...
[2025-04-09 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:45:03] Production.INFO: ==30150== Lock acquired, processing the job...
[2025-04-09 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:45:03] Production.INFO: ==30148== Lock acquired, processing the job...
[2025-04-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:45:03] Production.INFO: ==30144== Lock acquired, processing the job...
[2025-04-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:45:04] Production.INFO: ==30152== Lock acquired, processing the job...
[2025-04-09 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:45:04] Production.ERROR: done
[2025-04-09 11:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:45:04] Production.INFO: Account Balance Start.
[2025-04-09 11:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:45:04] Production.INFO: 117
[2025-04-09 11:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:45:04] Production.INFO: count ==12
[2025-04-09 11:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:45:04] Production.INFO: count ==23
[2025-04-09 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869321') start
[2025-04-09 11:45:04] Production.ERROR: done
[2025-04-09 11:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:45:04] Production.INFO: Total Charge 0
[2025-04-09 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869321') end
[2025-04-09 11:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:45:04] Production.INFO: 1
[2025-04-09 11:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:45:04] Production.INFO: ==30152== Releasing lock...
[2025-04-09 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:45:04] Production.INFO: CreateAllLog End
[2025-04-09 11:45:04] Production.INFO: ==30144== Releasing lock...
[2025-04-09 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:45:04] Production.INFO: Account Balance End.
[2025-04-09 11:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:45:04] Production.INFO: ==30148== Releasing lock...
[2025-04-09 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:45:05
[end_date_ymd] => 2025-04-09 11:45:05
[RateCDR] => 1
)
[2025-04-09 11:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:45:05' and `end` < '2025-04-09 11:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:45:11] Production.ERROR: CronJobId end10
[2025-04-09 11:45:11] Production.INFO: ==30146== Releasing lock...
[2025-04-09 11:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:45:15] Production.INFO: call_cost start
[2025-04-09 11:45:15] Production.INFO: call_cost end
[2025-04-09 11:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:45:16] Production.INFO: ==30142== Releasing lock...
[2025-04-09 11:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:45:19] Production.INFO: count ==5298
[2025-04-09 11:45:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:45:05 - End Time 2025-04-09 11:45:05
[2025-04-09 11:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869322', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869322', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869322', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869322', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:45:21] Production.INFO: ProcessCDR(1,14869322,1,1,2)
[2025-04-09 11:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869322', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869322', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:45:27] Production.INFO: ==30150== Releasing lock...
[2025-04-09 11:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:45:27] Production.INFO: 67.5 MB #Memory Used#
[2025-04-09 16:46:02] Production.INFO: ==30213== Lock acquired, processing the job...
[2025-04-09 16:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:46:02] Production.INFO: neon service started
[2025-04-09 16:46:02] Production.INFO: neon service started
[2025-04-09 16:46:02] Production.INFO: ==30213== Releasing lock...
[2025-04-09 16:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:46:02] Production.INFO: ==30216== Lock acquired, processing the job...
[2025-04-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:46:03] Production.INFO: ==30216== Releasing lock...
[2025-04-09 11:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:46:03] Production.INFO: ==30218== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:46:03] Production.INFO: ==30218== Releasing lock...
[2025-04-09 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:46:04] Production.INFO: ==30226== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:46:04] Production.INFO: ==30220== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:46:04] Production.INFO: ==30222== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:46:04] Production.INFO: ==30228== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:46:04] Production.INFO: ==30224== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:46:04] Production.INFO: Account Balance Start.
[2025-04-09 11:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:46:04] Production.INFO: 117
[2025-04-09 11:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:46:04] Production.INFO: ==30230== Lock acquired, processing the job...
[2025-04-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:46:04] Production.INFO: Total Charge 0
[2025-04-09 11:46:04] Production.INFO: CreateAllLog End
[2025-04-09 11:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:46:04] Production.INFO: count ==12
[2025-04-09 11:46:04] Production.ERROR: done
[2025-04-09 11:46:04] Production.INFO: ==30222== Releasing lock...
[2025-04-09 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:46:04] Production.INFO: count ==23
[2025-04-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869326') start
[2025-04-09 11:46:04] Production.ERROR: done
[2025-04-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869326') end
[2025-04-09 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:46:04] Production.INFO: 1
[2025-04-09 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:46:04] Production.INFO: Account Balance End.
[2025-04-09 11:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:46:04] Production.INFO: ==30226== Releasing lock...
[2025-04-09 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:46:04] Production.INFO: ==30230== Releasing lock...
[2025-04-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:46:05
[end_date_ymd] => 2025-04-09 11:46:05
[RateCDR] => 1
)
[2025-04-09 11:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:46:05' and `end` < '2025-04-09 11:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:46:13] Production.ERROR: CronJobId end10
[2025-04-09 11:46:13] Production.INFO: ==30224== Releasing lock...
[2025-04-09 11:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:46:14] Production.INFO: call_cost start
[2025-04-09 11:46:14] Production.INFO: call_cost end
[2025-04-09 11:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:46:15] Production.INFO: ==30220== Releasing lock...
[2025-04-09 11:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:46:19] Production.INFO: count ==5315
[2025-04-09 11:46:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:46:05 - End Time 2025-04-09 11:46:05
[2025-04-09 11:46:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869327', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869327', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869327', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869327', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:46:22] Production.INFO: ProcessCDR(1,14869327,1,1,2)
[2025-04-09 11:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:46:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:46:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869327', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869327', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:46:27] Production.INFO: ==30228== Releasing lock...
[2025-04-09 11:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:46:27] Production.INFO: 67.75 MB #Memory Used#
[2025-04-09 16:47:01] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-04-09 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:47:01] Production.INFO: neon service started
[2025-04-09 16:47:01] Production.INFO: neon service started
[2025-04-09 16:47:01] Production.INFO: ==30286== Releasing lock...
[2025-04-09 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:47:02] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-04-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:47:02] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-04-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:47:02] Production.INFO: ==30290== Releasing lock...
[2025-04-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:47:02] Production.INFO: ==30288== Releasing lock...
[2025-04-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:47:03] Production.INFO: ==30293== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:47:03] Production.INFO: ==30303== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:47:03] Production.INFO: ==30295== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:47:03] Production.INFO: ==30297== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:47:03] Production.INFO: count ==12
[2025-04-09 11:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:47:03] Production.INFO: ==30299== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:47:03] Production.INFO: count ==23
[2025-04-09 11:47:03] Production.INFO: ==30301== Lock acquired, processing the job...
[2025-04-09 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869329') start
[2025-04-09 11:47:04] Production.INFO: Account Balance Start.
[2025-04-09 11:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:47:04] Production.INFO: 117
[2025-04-09 11:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869329') end
[2025-04-09 11:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:47:04] Production.INFO: 1
[2025-04-09 11:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:47:04] Production.INFO: Total Charge 0
[2025-04-09 11:47:04] Production.INFO: CreateAllLog End
[2025-04-09 11:47:04] Production.INFO: ==30303== Releasing lock...
[2025-04-09 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:47:04] Production.INFO: ==30295== Releasing lock...
[2025-04-09 11:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:47:04] Production.INFO: Account Balance End.
[2025-04-09 11:47:04] Production.ERROR: done
[2025-04-09 11:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:47:04] Production.INFO: ==30299== Releasing lock...
[2025-04-09 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:47:04] Production.ERROR: done
[2025-04-09 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:47:05
[end_date_ymd] => 2025-04-09 11:47:05
[RateCDR] => 1
)
[2025-04-09 11:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:47:05' and `end` < '2025-04-09 11:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:47:12] Production.ERROR: CronJobId end10
[2025-04-09 11:47:12] Production.INFO: ==30297== Releasing lock...
[2025-04-09 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:47:14] Production.INFO: call_cost start
[2025-04-09 11:47:14] Production.INFO: call_cost end
[2025-04-09 11:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:47:15] Production.INFO: ==30293== Releasing lock...
[2025-04-09 11:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:47:19] Production.INFO: count ==5315
[2025-04-09 11:47:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:47:05 - End Time 2025-04-09 11:47:05
[2025-04-09 11:47:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869332', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869332', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869332', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869332', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:47:22] Production.INFO: ProcessCDR(1,14869332,1,1,2)
[2025-04-09 11:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:47:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:47:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869332', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869332', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:47:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:47:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:47:27] Production.INFO: ==30301== Releasing lock...
[2025-04-09 11:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:47:27] Production.INFO: 67.75 MB #Memory Used#
[2025-04-09 16:48:02] Production.INFO: ==30356== Lock acquired, processing the job...
[2025-04-09 16:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:48:02] Production.INFO: neon service started
[2025-04-09 16:48:02] Production.INFO: neon service started
[2025-04-09 16:48:02] Production.INFO: ==30356== Releasing lock...
[2025-04-09 16:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:48:02] Production.INFO: ==30360== Lock acquired, processing the job...
[2025-04-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:48:02] Production.INFO: ==30360== Releasing lock...
[2025-04-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:48:02] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-04-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:48:03] Production.INFO: ==30358== Releasing lock...
[2025-04-09 11:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:48:03] Production.INFO: ==30365== Lock acquired, processing the job...
[2025-04-09 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:48:03] Production.INFO: ==30369== Lock acquired, processing the job...
[2025-04-09 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:48:03] Production.INFO: ==30371== Lock acquired, processing the job...
[2025-04-09 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:48:03] Production.INFO: Account Balance Start.
[2025-04-09 11:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:48:03] Production.INFO: 117
[2025-04-09 11:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:48:04] Production.INFO: Total Charge 0
[2025-04-09 11:48:04] Production.INFO: ==30363== Lock acquired, processing the job...
[2025-04-09 11:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:48:04] Production.INFO: CreateAllLog End
[2025-04-09 11:48:04] Production.INFO: ==30365== Releasing lock...
[2025-04-09 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:48:04] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-04-09 11:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:48:04] Production.INFO: ==30373== Lock acquired, processing the job...
[2025-04-09 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:48:04] Production.ERROR: done
[2025-04-09 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 11:48:04] Production.INFO: Account Balance End.
[2025-04-09 11:48:04] Production.INFO: count ==12
[2025-04-09 11:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:48:04] Production.INFO: ==30369== Releasing lock...
[2025-04-09 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 11:48:04] Production.INFO: count ==23
[2025-04-09 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869336') start
[2025-04-09 11:48:04] Production.ERROR: done
[2025-04-09 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869336') end
[2025-04-09 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:48:04] Production.INFO: 1
[2025-04-09 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:48:04] Production.INFO: ==30373== Releasing lock...
[2025-04-09 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:48:05
[end_date_ymd] => 2025-04-09 11:48:05
[RateCDR] => 1
)
[2025-04-09 11:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:48:05' and `end` < '2025-04-09 11:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:48:13] Production.ERROR: CronJobId end10
[2025-04-09 11:48:13] Production.INFO: ==30367== Releasing lock...
[2025-04-09 11:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:48:15] Production.INFO: call_cost start
[2025-04-09 11:48:15] Production.INFO: call_cost end
[2025-04-09 11:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:48:16] Production.INFO: ==30363== Releasing lock...
[2025-04-09 11:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:48:19] Production.INFO: count ==5324
[2025-04-09 11:48:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:48:05 - End Time 2025-04-09 11:48:05
[2025-04-09 11:48:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869337', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869337', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869337', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869337', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:48:22] Production.INFO: ProcessCDR(1,14869337,1,1,2)
[2025-04-09 11:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869337', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869337', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:48:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:48:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:48:27] Production.INFO: ==30371== Releasing lock...
[2025-04-09 11:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:48:27] Production.INFO: 67.75 MB #Memory Used#
[2025-04-09 16:49:01] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-04-09 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:49:01] Production.INFO: neon service started
[2025-04-09 16:49:01] Production.INFO: neon service started
[2025-04-09 16:49:01] Production.INFO: ==30468== Releasing lock...
[2025-04-09 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:49:01] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-04-09 11:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:49:02] Production.INFO: ==30470== Releasing lock...
[2025-04-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:49:02] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-04-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:49:02] Production.INFO: ==30472== Releasing lock...
[2025-04-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:49:03] Production.INFO: ==30475== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:49:03] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:49:03] Production.INFO: ==30479== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:49:03] Production.INFO: ==30481== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:49:03] Production.INFO: ==30483== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:49:03] Production.INFO: ==30485== Lock acquired, processing the job...
[2025-04-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:49:03] Production.INFO: ==30477== Releasing lock...
[2025-04-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:49:03] Production.INFO: Account Balance Start.
[2025-04-09 11:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:49:03] Production.INFO: 117
[2025-04-09 11:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:49:03] Production.INFO: Total Charge 0
[2025-04-09 11:49:03] Production.INFO: CreateAllLog End
[2025-04-09 11:49:03] Production.INFO: count ==12
[2025-04-09 11:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:49:03] Production.INFO: count ==23
[2025-04-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869341') start
[2025-04-09 11:49:04] Production.ERROR: done
[2025-04-09 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:49:04] Production.INFO: Account Balance End.
[2025-04-09 11:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:49:04] Production.INFO: ==30481== Releasing lock...
[2025-04-09 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869341') end
[2025-04-09 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:49:04] Production.INFO: 1
[2025-04-09 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:49:04] Production.INFO: ==30485== Releasing lock...
[2025-04-09 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:49:04] Production.ERROR: done
[2025-04-09 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:49:05
[end_date_ymd] => 2025-04-09 11:49:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:49:05' and `end` < '2025-04-09 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-04-09 11:49:12] Production.ERROR: CronJobId end10
[2025-04-09 11:49:12] Production.INFO: ==30479== Releasing lock...
[2025-04-09 11:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:49:14] Production.INFO: call_cost start
[2025-04-09 11:49:14] Production.INFO: call_cost end
[2025-04-09 11:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:49:15] Production.INFO: ==30475== Releasing lock...
[2025-04-09 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:49:19] Production.INFO: count ==5338
[2025-04-09 11:49:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:49:05 - End Time 2025-04-09 11:49:05
[2025-04-09 11:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869342', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869342', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869342', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869342', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:49:21] Production.INFO: ProcessCDR(1,14869342,1,1,2)
[2025-04-09 11:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869342', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869342', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:49:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:49:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:49:27] Production.INFO: ==30483== Releasing lock...
[2025-04-09 11:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:49:27] Production.INFO: 68 MB #Memory Used#
[2025-04-09 16:50:02] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-04-09 16:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:50:02] Production.INFO: neon service started
[2025-04-09 16:50:02] Production.INFO: neon service started
[2025-04-09 16:50:02] Production.INFO: ==30539== Releasing lock...
[2025-04-09 16:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:50:02] Production.INFO: ==30543== Lock acquired, processing the job...
[2025-04-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:50:02] Production.INFO: ==30541== Lock acquired, processing the job...
[2025-04-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:50:02] Production.INFO: ==30543== Releasing lock...
[2025-04-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:50:02] Production.INFO: ==30541== Releasing lock...
[2025-04-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:50:03] Production.INFO: ==30546== Lock acquired, processing the job...
[2025-04-09 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 11:50:03] Production.INFO: ==30550== Lock acquired, processing the job...
[2025-04-09 11:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 11:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 11:50:04] Production.INFO: ==30546== Releasing lock...
[2025-04-09 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 11:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 11:50:04] Production.INFO: ==30556== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:50:04] Production.INFO: ==30548== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:50:04] Production.INFO: ==30552== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:50:04] Production.INFO: ==30554== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:50:04] Production.INFO: ==30558== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 11:50:04] Production.INFO: ==30560== Lock acquired, processing the job...
[2025-04-09 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:50:04] Production.INFO: ==30550== Releasing lock...
[2025-04-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:50:04] Production.INFO: Account Balance Start.
[2025-04-09 11:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:50:04] Production.INFO: 117
[2025-04-09 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:50:04] Production.ERROR: done
[2025-04-09 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:50:04] Production.INFO: count ==12
[2025-04-09 11:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:50:04] Production.INFO: count ==23
[2025-04-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869346') start
[2025-04-09 11:50:04] Production.ERROR: done
[2025-04-09 11:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:50:04] Production.INFO: Total Charge 0
[2025-04-09 11:50:04] Production.INFO: CreateAllLog End
[2025-04-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869346') end
[2025-04-09 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:50:04] Production.INFO: 1
[2025-04-09 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:50:05] Production.INFO: ==30560== Releasing lock...
[2025-04-09 11:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:50:05] Production.ERROR: done
[2025-04-09 11:50:05] Production.INFO: Account Balance End.
[2025-04-09 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869348', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 11:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:50:05] Production.INFO: ==30554== Releasing lock...
[2025-04-09 11:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:50:06
[end_date_ymd] => 2025-04-09 11:50:06
[RateCDR] => 1
)
[2025-04-09 11:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:50:06' and `end` < '2025-04-09 11:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869348', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 11:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 11:50:08] Production.INFO: ProcessCDR(1,14869348,1,1,2)
[2025-04-09 11:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869348,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869348,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:50:08] Production.INFO: ==30558== Releasing lock...
[2025-04-09 11:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 11:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 11:50:13] Production.ERROR: CronJobId end10
[2025-04-09 11:50:13] Production.INFO: ==30552== Releasing lock...
[2025-04-09 11:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:50:16] Production.INFO: call_cost start
[2025-04-09 11:50:16] Production.INFO: call_cost end
[2025-04-09 11:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:50:17] Production.INFO: ==30548== Releasing lock...
[2025-04-09 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:50:20] Production.INFO: count ==5353
[2025-04-09 11:50:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:50:06 - End Time 2025-04-09 11:50:06
[2025-04-09 11:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869347', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869347', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869347', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869347', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:50:22] Production.INFO: ProcessCDR(1,14869347,1,1,2)
[2025-04-09 11:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869347', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869347', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:50:27] Production.INFO: ==30556== Releasing lock...
[2025-04-09 11:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:50:27] Production.INFO: 68 MB #Memory Used#
[2025-04-09 16:51:01] Production.INFO: ==30616== Lock acquired, processing the job...
[2025-04-09 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:51:01] Production.INFO: neon service started
[2025-04-09 16:51:01] Production.INFO: neon service started
[2025-04-09 16:51:01] Production.INFO: ==30616== Releasing lock...
[2025-04-09 16:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:51:01] Production.INFO: ==30618== Lock acquired, processing the job...
[2025-04-09 11:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:51:02] Production.INFO: ==30618== Releasing lock...
[2025-04-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:51:02] Production.INFO: ==30620== Lock acquired, processing the job...
[2025-04-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:51:02] Production.INFO: ==30620== Releasing lock...
[2025-04-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:51:03] Production.INFO: ==30629== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:51:03] Production.INFO: ==30633== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:51:03] Production.INFO: Account Balance Start.
[2025-04-09 11:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:51:03] Production.INFO: 117
[2025-04-09 11:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:51:03] Production.INFO: ==30625== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:51:03] Production.INFO: ==30623== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 11: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-04-09 11:51:03] Production.INFO: Total Charge 0
[2025-04-09 11:51:03] Production.INFO: count ==12
[2025-04-09 11:51:03] Production.INFO: CreateAllLog End
[2025-04-09 11: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-04-09 11:51:03] Production.INFO: ==30627== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:51:03] Production.INFO: count ==23
[2025-04-09 11:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869350') start
[2025-04-09 11:51:03] Production.INFO: ==30631== Lock acquired, processing the job...
[2025-04-09 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869350') end
[2025-04-09 11:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:51:03] Production.INFO: 1
[2025-04-09 11:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:51:03] Production.INFO: Account Balance End.
[2025-04-09 11:51:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:51:03] Production.INFO: ==30629== Releasing lock...
[2025-04-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:51:03] Production.INFO: ==30633== Releasing lock...
[2025-04-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:51:03] Production.INFO: ==30625== Releasing lock...
[2025-04-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:51:03] Production.ERROR: done
[2025-04-09 11:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:51:03] Production.ERROR: done
[2025-04-09 11:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:51:05
[end_date_ymd] => 2025-04-09 11:51:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:51:05' and `end` < '2025-04-09 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-04-09 11:51:12] Production.ERROR: CronJobId end10
[2025-04-09 11:51:12] Production.INFO: ==30627== Releasing lock...
[2025-04-09 11:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:51:14] Production.INFO: call_cost start
[2025-04-09 11:51:14] Production.INFO: call_cost end
[2025-04-09 11:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:51:15] Production.INFO: ==30623== Releasing lock...
[2025-04-09 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:51:18] Production.INFO: count ==5421
[2025-04-09 11:51:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:51:05 - End Time 2025-04-09 11:51:05
[2025-04-09 11:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869353', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869353', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869353', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869353', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:51:21] Production.INFO: ProcessCDR(1,14869353,1,1,2)
[2025-04-09 11:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869353', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869353', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:51:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:51:27] Production.INFO: ==30631== Releasing lock...
[2025-04-09 11:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:51:27] Production.INFO: 68.5 MB #Memory Used#
[2025-04-09 16:52:01] Production.INFO: ==30695== Lock acquired, processing the job...
[2025-04-09 16:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:52:02] Production.INFO: neon service started
[2025-04-09 16:52:02] Production.INFO: neon service started
[2025-04-09 16:52:02] Production.INFO: ==30695== Releasing lock...
[2025-04-09 16:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:52:02] Production.INFO: ==30697== Lock acquired, processing the job...
[2025-04-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:52:02] Production.INFO: ==30699== Lock acquired, processing the job...
[2025-04-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:52:02] Production.INFO: ==30699== Releasing lock...
[2025-04-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:52:02] Production.INFO: ==30697== Releasing lock...
[2025-04-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:52:03] Production.INFO: ==30704== Lock acquired, processing the job...
[2025-04-09 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:52:03] Production.INFO: ==30706== Lock acquired, processing the job...
[2025-04-09 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:52:03] Production.INFO: ==30708== Lock acquired, processing the job...
[2025-04-09 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:52:03] Production.INFO: Account Balance Start.
[2025-04-09 11:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:52:03] Production.INFO: 117
[2025-04-09 11:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:52:03] Production.INFO: ==30702== Lock acquired, processing the job...
[2025-04-09 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:52:03] Production.INFO: ==30704== Releasing lock...
[2025-04-09 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:52:03] Production.INFO: Total Charge 0
[2025-04-09 11:52:03] Production.INFO: CreateAllLog End
[2025-04-09 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:52:04] Production.INFO: Account Balance End.
[2025-04-09 11:52:04] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-04-09 11:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:52:04] Production.INFO: ==30708== Releasing lock...
[2025-04-09 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:52:04] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-04-09 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 11:52:04] Production.INFO: count ==12
[2025-04-09 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-04-09 11:52:04] Production.INFO: count ==23
[2025-04-09 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869357') start
[2025-04-09 11:52:04] Production.ERROR: done
[2025-04-09 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869357') end
[2025-04-09 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:52:04] Production.INFO: 1
[2025-04-09 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:52:04] Production.INFO: ==30712== Releasing lock...
[2025-04-09 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:52:04] Production.ERROR: done
[2025-04-09 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:52:05
[end_date_ymd] => 2025-04-09 11:52:05
[RateCDR] => 1
)
[2025-04-09 11:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:52:05' and `end` < '2025-04-09 11:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:52:12] Production.ERROR: CronJobId end10
[2025-04-09 11:52:12] Production.INFO: ==30706== Releasing lock...
[2025-04-09 11:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:52:14] Production.INFO: call_cost start
[2025-04-09 11:52:14] Production.INFO: call_cost end
[2025-04-09 11:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:52:15] Production.INFO: ==30702== Releasing lock...
[2025-04-09 11:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:52:19] Production.INFO: count ==5452
[2025-04-09 11:52:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:52:05 - End Time 2025-04-09 11:52:05
[2025-04-09 11:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869358', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869358', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869358', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869358', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:52:22] Production.INFO: ProcessCDR(1,14869358,1,1,2)
[2025-04-09 11:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869358', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869358', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:52:27] Production.INFO: ==30710== Releasing lock...
[2025-04-09 11:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:52:27] Production.INFO: 68.75 MB #Memory Used#
[2025-04-09 16:53:01] Production.INFO: ==30766== Lock acquired, processing the job...
[2025-04-09 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:53:01] Production.INFO: neon service started
[2025-04-09 16:53:01] Production.INFO: neon service started
[2025-04-09 16:53:01] Production.INFO: ==30766== Releasing lock...
[2025-04-09 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:53:01] Production.INFO: ==30770== Lock acquired, processing the job...
[2025-04-09 15:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:53:01] Production.INFO: ==30770== Releasing lock...
[2025-04-09 15:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:53:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:53:02] Production.INFO: ==30768== Lock acquired, processing the job...
[2025-04-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:53:02] Production.INFO: ==30768== Releasing lock...
[2025-04-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:53:03] Production.INFO: ==30773== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:53:03] Production.INFO: ==30775== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:53:03] Production.INFO: ==30777== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:53:03] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:53:03] Production.INFO: ==30781== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:53:03] Production.INFO: ==30783== Lock acquired, processing the job...
[2025-04-09 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:53:03] Production.INFO: Account Balance Start.
[2025-04-09 11:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:53:03] Production.INFO: 117
[2025-04-09 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:53:03] Production.INFO: count ==12
[2025-04-09 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:53:03] Production.INFO: count ==23
[2025-04-09 11:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869362') start
[2025-04-09 11:53:03] Production.INFO: Total Charge 0
[2025-04-09 11:53:03] Production.INFO: CreateAllLog End
[2025-04-09 11:53:04] Production.ERROR: done
[2025-04-09 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869362') end
[2025-04-09 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:53:04] Production.INFO: 1
[2025-04-09 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:53:04] Production.INFO: ==30775== Releasing lock...
[2025-04-09 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:53:04] Production.INFO: ==30783== Releasing lock...
[2025-04-09 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:53:04] Production.ERROR: done
[2025-04-09 11:53:04] Production.INFO: Account Balance End.
[2025-04-09 11:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:53:04] Production.INFO: ==30779== Releasing lock...
[2025-04-09 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:53:05
[end_date_ymd] => 2025-04-09 11:53:05
[RateCDR] => 1
)
[2025-04-09 11:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:53:05' and `end` < '2025-04-09 11:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:53:12] Production.ERROR: CronJobId end10
[2025-04-09 11:53:12] Production.INFO: ==30777== Releasing lock...
[2025-04-09 11:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:53:15] Production.INFO: call_cost start
[2025-04-09 11:53:15] Production.INFO: call_cost end
[2025-04-09 11:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:53:16] Production.INFO: ==30773== Releasing lock...
[2025-04-09 11:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:53:19] Production.INFO: count ==5447
[2025-04-09 11:53:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:53:05 - End Time 2025-04-09 11:53:05
[2025-04-09 11:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869363', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869363', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869363', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869363', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:53:21] Production.INFO: ProcessCDR(1,14869363,1,1,2)
[2025-04-09 11:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869363', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869363', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:53:26] Production.INFO: ==30781== Releasing lock...
[2025-04-09 11:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:53:26] Production.INFO: 68.75 MB #Memory Used#
[2025-04-09 16:54:01] Production.INFO: ==30837== Lock acquired, processing the job...
[2025-04-09 16:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:54:01] Production.INFO: neon service started
[2025-04-09 16:54:01] Production.INFO: neon service started
[2025-04-09 16:54:01] Production.INFO: ==30837== Releasing lock...
[2025-04-09 16:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:54:02] Production.INFO: ==30839== Lock acquired, processing the job...
[2025-04-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:54:02] Production.INFO: ==30841== Lock acquired, processing the job...
[2025-04-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:54:02] Production.INFO: ==30841== Releasing lock...
[2025-04-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:54:03] Production.INFO: ==30839== Releasing lock...
[2025-04-09 11:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:54:03] Production.INFO: ==30848== Lock acquired, processing the job...
[2025-04-09 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:54:03] Production.INFO: ==30844== Lock acquired, processing the job...
[2025-04-09 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:54:04] Production.INFO: ==30846== Lock acquired, processing the job...
[2025-04-09 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:54:04] Production.INFO: ==30852== Lock acquired, processing the job...
[2025-04-09 11:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:54:04] Production.INFO: ==30850== Lock acquired, processing the job...
[2025-04-09 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:54:04] Production.INFO: Account Balance Start.
[2025-04-09 11:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:54:04] Production.INFO: 117
[2025-04-09 11:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:54:04] Production.INFO: Total Charge 0
[2025-04-09 11:54:04] Production.INFO: ==30854== Lock acquired, processing the job...
[2025-04-09 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:54:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 11:54:04] Production.INFO: count ==12
[2025-04-09 11:54:04] Production.INFO: ==30846== Releasing lock...
[2025-04-09 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:54:04] Production.ERROR: done
[2025-04-09 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 11:54:04] Production.INFO: count ==23
[2025-04-09 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869367') start
[2025-04-09 11:54:04] Production.ERROR: done
[2025-04-09 11:54:05] Production.INFO: Account Balance End.
[2025-04-09 11:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869367') end
[2025-04-09 11:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:54:05] Production.INFO: 1
[2025-04-09 11:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:54:05] Production.ERROR: CronJobId end 12
[2025-04-09 11:54:05] Production.INFO: ==30850== Releasing lock...
[2025-04-09 11:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:54:05] Production.INFO: ==30854== Releasing lock...
[2025-04-09 11:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:54:06
[end_date_ymd] => 2025-04-09 11:54:06
[RateCDR] => 1
)
[2025-04-09 11:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:54:06' and `end` < '2025-04-09 11:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:54:13] Production.ERROR: CronJobId end10
[2025-04-09 11:54:13] Production.INFO: ==30848== Releasing lock...
[2025-04-09 11:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:54:16] Production.INFO: call_cost start
[2025-04-09 11:54:16] Production.INFO: call_cost end
[2025-04-09 11:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:54:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:54:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:54:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:54:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:54:17] Production.INFO: ==30844== Releasing lock...
[2025-04-09 11:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:54:20] Production.INFO: count ==5451
[2025-04-09 11:54:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:54:06 - End Time 2025-04-09 11:54:06
[2025-04-09 11:54:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869368', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869368', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869368', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869368', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:54:22] Production.INFO: ProcessCDR(1,14869368,1,1,2)
[2025-04-09 11:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:54:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:54:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869368', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869368', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:54:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:54:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:54:27] Production.INFO: ==30852== Releasing lock...
[2025-04-09 11:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:54:27] Production.INFO: 68.75 MB #Memory Used#
[2025-04-09 16:55:01] Production.INFO: ==30908== Lock acquired, processing the job...
[2025-04-09 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:55:01] Production.INFO: neon service started
[2025-04-09 16:55:01] Production.INFO: neon service started
[2025-04-09 16:55:01] Production.INFO: ==30908== Releasing lock...
[2025-04-09 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:55:01] Production.INFO: ==30912== Lock acquired, processing the job...
[2025-04-09 15:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:55:01] Production.INFO: ==30912== Releasing lock...
[2025-04-09 15:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:55:01] Production.INFO: ==30910== Lock acquired, processing the job...
[2025-04-09 11:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:55:02] Production.INFO: ==30910== Releasing lock...
[2025-04-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:55:03] Production.INFO: ==30917== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:55:03] Production.INFO: ==30921== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:55:03] Production.INFO: ==30925== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:55:03] Production.INFO: Account Balance Start.
[2025-04-09 11:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:55:03] Production.INFO: 117
[2025-04-09 11:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 11:55:03] Production.INFO: Total Charge 0
[2025-04-09 11:55:03] Production.INFO: CreateAllLog End
[2025-04-09 11:55:03] Production.INFO: count ==12
[2025-04-09 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-04-09 11:55:03] Production.INFO: ==30917== Releasing lock...
[2025-04-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:55:03] Production.INFO: count ==23
[2025-04-09 11:55:03] Production.INFO: Account Balance End.
[2025-04-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869371') start
[2025-04-09 11:55:03] Production.ERROR: CronJobId end 12
[2025-04-09 11:55:03] Production.INFO: ==30921== Releasing lock...
[2025-04-09 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869371') end
[2025-04-09 11:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:55:03] Production.INFO: 1
[2025-04-09 11:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:55:03] Production.INFO: ==30915== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:55:03] Production.INFO: ==30919== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:55:03] Production.INFO: ==30925== Releasing lock...
[2025-04-09 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:55:03] Production.INFO: ==30923== Lock acquired, processing the job...
[2025-04-09 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:55:04] Production.ERROR: done
[2025-04-09 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:55:04] Production.ERROR: done
[2025-04-09 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:55:05
[end_date_ymd] => 2025-04-09 11:55:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 08:55:05' and `end` < '2025-04-09 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-04-09 11:55:12] Production.ERROR: CronJobId end10
[2025-04-09 11:55:12] Production.INFO: ==30919== Releasing lock...
[2025-04-09 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:55:14] Production.INFO: call_cost start
[2025-04-09 11:55:14] Production.INFO: call_cost end
[2025-04-09 11:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:55:15] Production.INFO: ==30915== Releasing lock...
[2025-04-09 11:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:55:19] Production.INFO: count ==5475
[2025-04-09 11:55:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:55:05 - End Time 2025-04-09 11:55:05
[2025-04-09 11:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869373', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869373', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869373', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869373', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:55:21] Production.INFO: ProcessCDR(1,14869373,1,1,2)
[2025-04-09 11:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869373', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869373', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:55:27] Production.INFO: ==30923== Releasing lock...
[2025-04-09 11:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:55:27] Production.INFO: 69 MB #Memory Used#
[2025-04-09 16:56:01] Production.INFO: ==30984== Lock acquired, processing the job...
[2025-04-09 16:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:56:01] Production.INFO: neon service started
[2025-04-09 16:56:01] Production.INFO: neon service started
[2025-04-09 16:56:01] Production.INFO: ==30984== Releasing lock...
[2025-04-09 16:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:56:02] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-04-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:56:02] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-04-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 11:56:02] Production.INFO: ==30986== Releasing lock...
[2025-04-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:56:02] Production.INFO: ==30988== Releasing lock...
[2025-04-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:56:03] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:56:03] Production.INFO: ==30993== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:56:03] Production.INFO: ==30995== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:56:03] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:56:03] Production.INFO: ==30997== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:56:03] Production.INFO: ==30993== Releasing lock...
[2025-04-09 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:56:03] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-04-09 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:56:03] Production.INFO: Account Balance Start.
[2025-04-09 11:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 11:56:03] Production.INFO: 117
[2025-04-09 11:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 11:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 11:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 11:56:03] Production.INFO: Total Charge 0
[2025-04-09 11:56:03] Production.INFO: CreateAllLog End
[2025-04-09 11: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-04-09 11:56:04] Production.INFO: count ==12
[2025-04-09 11:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:56:04] Production.INFO: count ==23
[2025-04-09 11:56:04] Production.ERROR: done
[2025-04-09 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869377') start
[2025-04-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869377') end
[2025-04-09 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:56:04] Production.INFO: 1
[2025-04-09 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:56:04] Production.INFO: ==31001== Releasing lock...
[2025-04-09 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:56:04] Production.ERROR: done
[2025-04-09 11:56:04] Production.INFO: Account Balance End.
[2025-04-09 11:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:56:04] Production.INFO: ==30997== Releasing lock...
[2025-04-09 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:56:05
[end_date_ymd] => 2025-04-09 11:56:05
[RateCDR] => 1
)
[2025-04-09 11:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:56:05' and `end` < '2025-04-09 11:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:56:11] Production.ERROR: CronJobId end10
[2025-04-09 11:56:11] Production.INFO: ==30995== Releasing lock...
[2025-04-09 11:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:56:14] Production.INFO: call_cost start
[2025-04-09 11:56:14] Production.INFO: call_cost end
[2025-04-09 11:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:56:15] Production.INFO: ==30990== Releasing lock...
[2025-04-09 11:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:56:19] Production.INFO: count ==5481
[2025-04-09 11:56:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:56:05 - End Time 2025-04-09 11:56:05
[2025-04-09 11:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869378', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869378', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869378', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869378', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:56:21] Production.INFO: ProcessCDR(1,14869378,1,1,2)
[2025-04-09 11:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869378', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869378', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:56:26] Production.INFO: ==30999== Releasing lock...
[2025-04-09 11:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:56:26] Production.INFO: 69 MB #Memory Used#
[2025-04-09 16:57:02] Production.INFO: ==31057== Lock acquired, processing the job...
[2025-04-09 16:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:57:02] Production.INFO: neon service started
[2025-04-09 16:57:02] Production.INFO: neon service started
[2025-04-09 16:57:02] Production.INFO: ==31057== Releasing lock...
[2025-04-09 16:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:57:02] Production.INFO: ==31060== Lock acquired, processing the job...
[2025-04-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:57:02] Production.INFO: ==31060== Releasing lock...
[2025-04-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:57:03] Production.INFO: ==31062== Lock acquired, processing the job...
[2025-04-09 15:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:57:03] Production.INFO: ==31062== Releasing lock...
[2025-04-09 15:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:57:03] Production.INFO: ==31064== Lock acquired, processing the job...
[2025-04-09 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:57:03] Production.INFO: ==31068== Lock acquired, processing the job...
[2025-04-09 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:57:03] Production.INFO: ==31066== Lock acquired, processing the job...
[2025-04-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:57:03] Production.INFO: ==31070== Lock acquired, processing the job...
[2025-04-09 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:57:04] Production.INFO: ==31074== Lock acquired, processing the job...
[2025-04-09 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:57:04] Production.INFO: ==31072== Lock acquired, processing the job...
[2025-04-09 11:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:57:04] Production.INFO: Account Balance Start.
[2025-04-09 11:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:57:04] Production.INFO: 117
[2025-04-09 11:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:57:04] Production.INFO: count ==12
[2025-04-09 11:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:57:04] Production.INFO: count ==23
[2025-04-09 11:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869382') start
[2025-04-09 11:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:57:04] Production.INFO: ==31066== Releasing lock...
[2025-04-09 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:57:04] Production.INFO: Total Charge 0
[2025-04-09 11:57:04] Production.INFO: CreateAllLog End
[2025-04-09 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869382') end
[2025-04-09 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:57:04] Production.INFO: 1
[2025-04-09 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:57:04] Production.INFO: ==31074== Releasing lock...
[2025-04-09 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:57:04] Production.INFO: Account Balance End.
[2025-04-09 11:57:04] Production.ERROR: done
[2025-04-09 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:57:04] Production.INFO: ==31070== Releasing lock...
[2025-04-09 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:57:04] Production.ERROR: done
[2025-04-09 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:57:05
[end_date_ymd] => 2025-04-09 11:57:05
[RateCDR] => 1
)
[2025-04-09 11:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:57:05' and `end` < '2025-04-09 11:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:57:13] Production.ERROR: CronJobId end10
[2025-04-09 11:57:13] Production.INFO: ==31068== Releasing lock...
[2025-04-09 11:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:57:15] Production.INFO: call_cost start
[2025-04-09 11:57:15] Production.INFO: call_cost end
[2025-04-09 11:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:57:16] Production.INFO: ==31064== Releasing lock...
[2025-04-09 11:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:57:19] Production.INFO: count ==5495
[2025-04-09 11:57:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:57:05 - End Time 2025-04-09 11:57:05
[2025-04-09 11:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869383', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869383', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869383', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869383', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:57:22] Production.INFO: ProcessCDR(1,14869383,1,1,2)
[2025-04-09 11:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869383', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869383', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:57:28] Production.INFO: ==31072== Releasing lock...
[2025-04-09 11:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:57:28] Production.INFO: 69 MB #Memory Used#
[2025-04-09 16:58:01] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-04-09 16:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:58:01] Production.INFO: neon service started
[2025-04-09 16:58:01] Production.INFO: neon service started
[2025-04-09 16:58:01] Production.INFO: ==31128== Releasing lock...
[2025-04-09 16:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:58:02] Production.INFO: ==31132== Lock acquired, processing the job...
[2025-04-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:58:02] Production.INFO: ==31132== Releasing lock...
[2025-04-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:58:02] Production.INFO: ==31130== Lock acquired, processing the job...
[2025-04-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 11:58:02] Production.INFO: ==31130== Releasing lock...
[2025-04-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:58:03] Production.INFO: ==31139== Lock acquired, processing the job...
[2025-04-09 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:58:03] Production.INFO: ==31137== Lock acquired, processing the job...
[2025-04-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:58:03] Production.INFO: ==31143== Lock acquired, processing the job...
[2025-04-09 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:58:03] Production.INFO: ==31137== Releasing lock...
[2025-04-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:58:03] Production.INFO: ==31135== Lock acquired, processing the job...
[2025-04-09 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:58:04] Production.INFO: ==31141== Lock acquired, processing the job...
[2025-04-09 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:58:04] Production.INFO: ==31145== Lock acquired, processing the job...
[2025-04-09 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:58:04] Production.ERROR: done
[2025-04-09 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:58:04] Production.INFO: Account Balance Start.
[2025-04-09 11:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:58:04] Production.INFO: 117
[2025-04-09 11:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:58:04] Production.ERROR: done
[2025-04-09 11:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 11:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:58:04] Production.INFO: count ==12
[2025-04-09 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-04-09 11:58:04] Production.INFO: Total Charge 0
[2025-04-09 11:58:04] Production.INFO: CreateAllLog End
[2025-04-09 11:58:04] Production.INFO: count ==23
[2025-04-09 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869387') start
[2025-04-09 11:58:04] Production.INFO: Account Balance End.
[2025-04-09 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869387') end
[2025-04-09 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:58:04] Production.INFO: 1
[2025-04-09 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:58:04] Production.INFO: ==31141== Releasing lock...
[2025-04-09 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:58:04] Production.INFO: ==31145== Releasing lock...
[2025-04-09 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:58:05
[end_date_ymd] => 2025-04-09 11:58:05
[RateCDR] => 1
)
[2025-04-09 11:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:58:05' and `end` < '2025-04-09 11:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:58:12] Production.ERROR: CronJobId end10
[2025-04-09 11:58:12] Production.INFO: ==31139== Releasing lock...
[2025-04-09 11:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:58:15] Production.INFO: call_cost start
[2025-04-09 11:58:15] Production.INFO: call_cost end
[2025-04-09 11:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:58:16] Production.INFO: ==31135== Releasing lock...
[2025-04-09 11:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:58:19] Production.INFO: count ==5641
[2025-04-09 11:58:22] Production.ERROR: pbx CDR StartTime 2025-04-09 08:58:05 - End Time 2025-04-09 11:58:05
[2025-04-09 11:58:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869388', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869388', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869388', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869388', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:58:22] Production.INFO: ProcessCDR(1,14869388,1,1,2)
[2025-04-09 11:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869388', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869388', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:58:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:58:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:58:27] Production.INFO: ==31143== Releasing lock...
[2025-04-09 11:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:58:27] Production.INFO: 70.25 MB #Memory Used#
[2025-04-09 16:59:02] Production.INFO: ==31202== Lock acquired, processing the job...
[2025-04-09 16:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 16:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 16:59:02] Production.INFO: neon service started
[2025-04-09 16:59:02] Production.INFO: neon service started
[2025-04-09 16:59:02] Production.INFO: ==31202== Releasing lock...
[2025-04-09 16:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 16:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 11:59:02] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-04-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:59:02] Production.INFO: ==31206== Lock acquired, processing the job...
[2025-04-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:59:02] Production.INFO: ==31206== Releasing lock...
[2025-04-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 11:59:03] Production.INFO: ==31204== Releasing lock...
[2025-04-09 11:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 11:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 11:59:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-04-09 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 11:59:03] Production.INFO: ==31209== Lock acquired, processing the job...
[2025-04-09 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 11:59:04] Production.INFO: ==31217== Lock acquired, processing the job...
[2025-04-09 11:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 11:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 11:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 11:59:04] Production.INFO: ==31211== Releasing lock...
[2025-04-09 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 11:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 11:59:04] Production.INFO: ==31219== Lock acquired, processing the job...
[2025-04-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 11:59:04] Production.INFO: ==31213== Lock acquired, processing the job...
[2025-04-09 11:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 11:59:04] Production.INFO: ==31215== Lock acquired, processing the job...
[2025-04-09 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 11:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 11:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 11:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 11:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 11:59:04] Production.INFO: count ==12
[2025-04-09 11:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 11:59:04] Production.INFO: count ==23
[2025-04-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869391') start
[2025-04-09 11:59:04] Production.INFO: Account Balance Start.
[2025-04-09 11:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 11:59:04] Production.INFO: 117
[2025-04-09 11:59:04] Production.ERROR: done
[2025-04-09 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 11:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 11:59:04] Production.INFO: Total Charge 0
[2025-04-09 11:59:04] Production.INFO: CreateAllLog End
[2025-04-09 11:59:04] Production.ERROR: done
[2025-04-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869391') end
[2025-04-09 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 11:59:04] Production.INFO: 1
[2025-04-09 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 11:59:04] Production.INFO: ==31219== Releasing lock...
[2025-04-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 11:59:04] Production.INFO: Account Balance End.
[2025-04-09 11:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 11:59:04] Production.INFO: ==31215== Releasing lock...
[2025-04-09 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 08:59:05
[end_date_ymd] => 2025-04-09 11:59:05
[RateCDR] => 1
)
[2025-04-09 11:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 08:59:05' and `end` < '2025-04-09 11:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 11:59:13] Production.ERROR: CronJobId end10
[2025-04-09 11:59:13] Production.INFO: ==31213== Releasing lock...
[2025-04-09 11:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 11:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 11:59:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 11:59:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 11:59:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 11:59:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 11:59:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 11:59:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 11:59:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 11:59:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 11:59:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 11:59:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 11:59:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 11:59:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 11:59:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 11:59:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 11:59:16] Production.INFO: call_cost start
[2025-04-09 11:59:16] Production.INFO: call_cost end
[2025-04-09 11:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 11:59:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 11:59:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 11:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 11:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 11:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 11:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 11:59:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 11:59:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 11:59:17] Production.INFO: ==31209== Releasing lock...
[2025-04-09 11:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 11:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 11:59:19] Production.INFO: count ==5635
[2025-04-09 11:59:21] Production.ERROR: pbx CDR StartTime 2025-04-09 08:59:05 - End Time 2025-04-09 11:59:05
[2025-04-09 11:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869393', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869393', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869393', 'tblTempVendorCDR_20' ) start
[2025-04-09 11:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869393', 'tblTempVendorCDR_20' ) end
[2025-04-09 11:59:22] Production.INFO: ProcessCDR(1,14869393,1,1,2)
[2025-04-09 11:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 11:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869393', 'tblTempUsageDetail_20' ) start
[2025-04-09 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869393', 'tblTempUsageDetail_20' ) end
[2025-04-09 11:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 11:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 11:59:27] Production.INFO: ==31217== Releasing lock...
[2025-04-09 11:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 11:59:27] Production.INFO: 70.25 MB #Memory Used#
[2025-04-09 17:00:01] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-04-09 17:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:00:01] Production.INFO: neon service started
[2025-04-09 17:00:01] Production.INFO: neon service started
[2025-04-09 17:00:01] Production.INFO: ==31277== Releasing lock...
[2025-04-09 17:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:00:02] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-04-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:00:02] Production.INFO: ==31281== Lock acquired, processing the job...
[2025-04-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:00:02] Production.INFO: ==31281== Releasing lock...
[2025-04-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:00:02] Production.INFO: ==31279== Releasing lock...
[2025-04-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:00:03] Production.INFO: ==31284== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:00:03] Production.INFO: ==31284== Releasing lock...
[2025-04-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:00:03] Production.INFO: ==31288== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:00:03] Production.INFO: ==31290== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:00:03] Production.INFO: ==31294== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:00:03] Production.INFO: ==31286== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:00:03] Production.INFO: ==31288== Releasing lock...
[2025-04-09 12:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:00:03] Production.INFO: ==31292== Lock acquired, processing the job...
[2025-04-09 12:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:00:04] Production.INFO: ==31296== Lock acquired, processing the job...
[2025-04-09 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:00:04] Production.INFO: ==31298== Lock acquired, processing the job...
[2025-04-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:00:04] Production.INFO: Account Balance Start.
[2025-04-09 12:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:00:04] Production.INFO: 117
[2025-04-09 12:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:00:04] Production.ERROR: done
[2025-04-09 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:00:04] Production.INFO: Total Charge 0
[2025-04-09 12:00:04] Production.INFO: CreateAllLog End
[2025-04-09 12:00:04] Production.INFO: count ==12
[2025-04-09 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:00:04] Production.INFO: count ==23
[2025-04-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869397') start
[2025-04-09 12:00:04] Production.ERROR: done
[2025-04-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869397') end
[2025-04-09 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:00:04] Production.INFO: 1
[2025-04-09 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:00:04] Production.ERROR: done
[2025-04-09 12:00:04] Production.INFO: ==31298== Releasing lock...
[2025-04-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869399', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:00:04] Production.INFO: Account Balance End.
[2025-04-09 12:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:00:04] Production.INFO: ==31292== Releasing lock...
[2025-04-09 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:00:06
[end_date_ymd] => 2025-04-09 12:00:06
[RateCDR] => 1
)
[2025-04-09 12:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:00:06' and `end` < '2025-04-09 12:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869399', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:00:09] Production.INFO: ProcessCDR(1,14869399,1,1,2)
[2025-04-09 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869399,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869399,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:00:09] Production.INFO: ==31296== Releasing lock...
[2025-04-09 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:00:14] Production.ERROR: CronJobId end10
[2025-04-09 12:00:14] Production.INFO: ==31290== Releasing lock...
[2025-04-09 12:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:00:16] Production.INFO: call_cost start
[2025-04-09 12:00:16] Production.INFO: call_cost end
[2025-04-09 12:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:00:17] Production.INFO: ==31286== Releasing lock...
[2025-04-09 12:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:00:19] Production.INFO: count ==5634
[2025-04-09 12:00:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:00:06 - End Time 2025-04-09 12:00:06
[2025-04-09 12:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869398', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869398', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869398', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869398', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:00:22] Production.INFO: ProcessCDR(1,14869398,1,1,2)
[2025-04-09 12:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869398', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869398', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:00:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:00:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:00:28] Production.INFO: ==31294== Releasing lock...
[2025-04-09 12:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:00:28] Production.INFO: 70.25 MB #Memory Used#
[2025-04-09 17:01:02] Production.INFO: ==31363== Lock acquired, processing the job...
[2025-04-09 17:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:01:02] Production.INFO: neon service started
[2025-04-09 17:01:02] Production.INFO: neon service started
[2025-04-09 17:01:02] Production.INFO: ==31363== Releasing lock...
[2025-04-09 17:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:01:02] Production.INFO: ==31370== Lock acquired, processing the job...
[2025-04-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:01:02] Production.INFO: ==31370== Releasing lock...
[2025-04-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:01:02] Production.INFO: ==31372== Lock acquired, processing the job...
[2025-04-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:01:03] Production.INFO: ==31372== Releasing lock...
[2025-04-09 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:01:03] Production.INFO: ==31385== Lock acquired, processing the job...
[2025-04-09 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:01:03] Production.INFO: ==31375== Lock acquired, processing the job...
[2025-04-09 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 12:01:03] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-04-09 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:01:03] Production.INFO: count ==12
[2025-04-09 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-04-09 12:01:03] Production.INFO: count ==23
[2025-04-09 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869400') start
[2025-04-09 12:01:04] Production.INFO: ==31377== Lock acquired, processing the job...
[2025-04-09 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:01:04] Production.INFO: ==31379== Lock acquired, processing the job...
[2025-04-09 12:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:01:04] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-04-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869400') end
[2025-04-09 12:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:01:04] Production.INFO: 1
[2025-04-09 12:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:01:04] Production.INFO: ==31385== Releasing lock...
[2025-04-09 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:01:04] Production.INFO: Account Balance Start.
[2025-04-09 12:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:01:04] Production.INFO: 117
[2025-04-09 12:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:01:04] Production.ERROR: done
[2025-04-09 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:01:04] Production.INFO: ==31377== Releasing lock...
[2025-04-09 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:01:04] Production.INFO: Total Charge 0
[2025-04-09 12:01:04] Production.INFO: CreateAllLog End
[2025-04-09 12:01:04] Production.ERROR: done
[2025-04-09 12:01:04] Production.INFO: Account Balance End.
[2025-04-09 12:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:01:04] Production.INFO: ==31381== Releasing lock...
[2025-04-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:01:05
[end_date_ymd] => 2025-04-09 12:01:05
[RateCDR] => 1
)
[2025-04-09 12:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:01:05' and `end` < '2025-04-09 12:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:01:13] Production.ERROR: CronJobId end10
[2025-04-09 12:01:13] Production.INFO: ==31379== Releasing lock...
[2025-04-09 12:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:01:15] Production.INFO: call_cost start
[2025-04-09 12:01:15] Production.INFO: call_cost end
[2025-04-09 12:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:01:16] Production.INFO: ==31375== Releasing lock...
[2025-04-09 12:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:01:19] Production.INFO: count ==5682
[2025-04-09 12:01:21] Production.ERROR: pbx CDR StartTime 2025-04-09 09:01:05 - End Time 2025-04-09 12:01:05
[2025-04-09 12:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869404', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869404', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869404', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869404', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:01:21] Production.INFO: ProcessCDR(1,14869404,1,1,2)
[2025-04-09 12:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869404', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869404', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:01:27] Production.INFO: ==31383== Releasing lock...
[2025-04-09 12:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:01:27] Production.INFO: 70.5 MB #Memory Used#
[2025-04-09 17:02:01] Production.INFO: ==31438== Lock acquired, processing the job...
[2025-04-09 17:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:02:01] Production.INFO: neon service started
[2025-04-09 17:02:01] Production.INFO: neon service started
[2025-04-09 17:02:01] Production.INFO: ==31438== Releasing lock...
[2025-04-09 17:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:02:02] Production.INFO: ==31440== Lock acquired, processing the job...
[2025-04-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:02:02] Production.INFO: ==31440== Releasing lock...
[2025-04-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:02:02] Production.INFO: ==31442== Lock acquired, processing the job...
[2025-04-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:02:02] Production.INFO: ==31442== Releasing lock...
[2025-04-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:02:03] Production.INFO: ==31445== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:02:03] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:02:03] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:02:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:02:03] Production.INFO: ==31449== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:02:03] Production.INFO: Account Balance Start.
[2025-04-09 12:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:02:03] Production.INFO: 117
[2025-04-09 12:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:02:03] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-04-09 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:02:03] Production.INFO: count ==12
[2025-04-09 12:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:02:03] Production.INFO: count ==23
[2025-04-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869408') start
[2025-04-09 12:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:02:03] Production.INFO: ==31447== Releasing lock...
[2025-04-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:02:04] Production.INFO: Total Charge 0
[2025-04-09 12:02:04] Production.INFO: CreateAllLog End
[2025-04-09 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869408') end
[2025-04-09 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:02:04] Production.INFO: 1
[2025-04-09 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:02:04] Production.INFO: ==31455== Releasing lock...
[2025-04-09 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:02:04] Production.INFO: Account Balance End.
[2025-04-09 12:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:02:04] Production.INFO: ==31451== Releasing lock...
[2025-04-09 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:02:04] Production.ERROR: done
[2025-04-09 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:02:04] Production.ERROR: done
[2025-04-09 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:02:05
[end_date_ymd] => 2025-04-09 12:02:05
[RateCDR] => 1
)
[2025-04-09 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:02:05' and `end` < '2025-04-09 12:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:02:13] Production.ERROR: CronJobId end10
[2025-04-09 12:02:13] Production.INFO: ==31449== Releasing lock...
[2025-04-09 12:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:02:15] Production.INFO: call_cost start
[2025-04-09 12:02:15] Production.INFO: call_cost end
[2025-04-09 12:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:02:16] Production.INFO: ==31445== Releasing lock...
[2025-04-09 12:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:02:19] Production.INFO: count ==5687
[2025-04-09 12:02:21] Production.ERROR: pbx CDR StartTime 2025-04-09 09:02:05 - End Time 2025-04-09 12:02:05
[2025-04-09 12:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869409', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869409', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869409', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869409', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:02:21] Production.INFO: ProcessCDR(1,14869409,1,1,2)
[2025-04-09 12:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869409', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869409', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:02:27] Production.INFO: ==31453== Releasing lock...
[2025-04-09 12:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:02:27] Production.INFO: 70.5 MB #Memory Used#
[2025-04-09 17:03:02] Production.INFO: ==31510== Lock acquired, processing the job...
[2025-04-09 17:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:03:02] Production.INFO: neon service started
[2025-04-09 17:03:02] Production.INFO: neon service started
[2025-04-09 17:03:02] Production.INFO: ==31510== Releasing lock...
[2025-04-09 17:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:03:02] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-04-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:03:03] Production.INFO: ==31512== Releasing lock...
[2025-04-09 12:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:03:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-04-09 16:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:03:03] Production.INFO: ==31514== Releasing lock...
[2025-04-09 16:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:03:04] Production.INFO: ==31519== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:03:04] Production.INFO: ==31527== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:03:04] Production.INFO: ==31517== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:03:04] Production.INFO: ==31521== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:03:04] Production.INFO: count ==12
[2025-04-09 12:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:03:04] Production.INFO: count ==23
[2025-04-09 12:03:04] Production.INFO: ==31523== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869411') start
[2025-04-09 12:03:04] Production.INFO: ==31525== Lock acquired, processing the job...
[2025-04-09 12:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869411') end
[2025-04-09 12:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:03:04] Production.INFO: 1
[2025-04-09 12:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:03:04] Production.INFO: Account Balance Start.
[2025-04-09 12:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:03:04] Production.INFO: 117
[2025-04-09 12:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:03:04] Production.INFO: ==31527== Releasing lock...
[2025-04-09 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:03:04] Production.INFO: ==31519== Releasing lock...
[2025-04-09 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:03:04] Production.INFO: Total Charge 0
[2025-04-09 12:03:04] Production.INFO: CreateAllLog End
[2025-04-09 12:03:04] Production.ERROR: done
[2025-04-09 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:03:05] Production.INFO: Account Balance End.
[2025-04-09 12:03:05] Production.ERROR: done
[2025-04-09 12:03:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:03:05] Production.INFO: ==31523== Releasing lock...
[2025-04-09 12:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:03:06
[end_date_ymd] => 2025-04-09 12:03:06
[RateCDR] => 1
)
[2025-04-09 12:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:03:06' and `end` < '2025-04-09 12:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:03:13] Production.ERROR: CronJobId end10
[2025-04-09 12:03:13] Production.INFO: ==31521== Releasing lock...
[2025-04-09 12:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:03:16] Production.INFO: call_cost start
[2025-04-09 12:03:16] Production.INFO: call_cost end
[2025-04-09 12:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:03:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:03:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:03:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:03:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:03:17] Production.INFO: ==31517== Releasing lock...
[2025-04-09 12:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:03:20] Production.INFO: count ==5712
[2025-04-09 12:03:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:03:06 - End Time 2025-04-09 12:03:06
[2025-04-09 12:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869414', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869414', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869414', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869414', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:03:22] Production.INFO: ProcessCDR(1,14869414,1,1,2)
[2025-04-09 12:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:03:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869414', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869414', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:03:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:03:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:03:28] Production.INFO: ==31525== Releasing lock...
[2025-04-09 12:03:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:03:28] Production.INFO: 70.75 MB #Memory Used#
[2025-04-09 17:04:01] Production.INFO: ==31626== Lock acquired, processing the job...
[2025-04-09 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:04:01] Production.INFO: neon service started
[2025-04-09 17:04:01] Production.INFO: neon service started
[2025-04-09 17:04:01] Production.INFO: ==31626== Releasing lock...
[2025-04-09 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:04:02] Production.INFO: ==31628== Lock acquired, processing the job...
[2025-04-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:04:02] Production.INFO: ==31628== Releasing lock...
[2025-04-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:04:02] Production.INFO: ==31630== Lock acquired, processing the job...
[2025-04-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:04:02] Production.INFO: ==31630== Releasing lock...
[2025-04-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:04:03] Production.INFO: ==31639== Lock acquired, processing the job...
[2025-04-09 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:04:03] Production.INFO: ==31643== Lock acquired, processing the job...
[2025-04-09 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:04:03] Production.INFO: Account Balance Start.
[2025-04-09 12:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:04:03] Production.INFO: 117
[2025-04-09 12:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:04:04] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-04-09 12:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:04:04] Production.INFO: Total Charge 0
[2025-04-09 12:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:04:04] Production.INFO: CreateAllLog End
[2025-04-09 12:04:04] Production.INFO: count ==12
[2025-04-09 12:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:04:04] Production.INFO: count ==23
[2025-04-09 12:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869416') start
[2025-04-09 12:04:04] Production.INFO: ==31637== Lock acquired, processing the job...
[2025-04-09 12:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:04:04] Production.INFO: ==31635== Lock acquired, processing the job...
[2025-04-09 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869416') end
[2025-04-09 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:04:04] Production.INFO: 1
[2025-04-09 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:04:04] Production.INFO: Account Balance End.
[2025-04-09 12:04:04] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-04-09 12:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:04:04] Production.INFO: ==31643== Releasing lock...
[2025-04-09 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:04:04] Production.INFO: ==31639== Releasing lock...
[2025-04-09 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:04:04] Production.INFO: ==31635== Releasing lock...
[2025-04-09 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:04:05] Production.ERROR: done
[2025-04-09 12:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:04:05] Production.ERROR: done
[2025-04-09 12:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:04:06
[end_date_ymd] => 2025-04-09 12:04:06
[RateCDR] => 1
)
[2025-04-09 12:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:04:06' and `end` < '2025-04-09 12:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:04:14] Production.ERROR: CronJobId end10
[2025-04-09 12:04:14] Production.INFO: ==31637== Releasing lock...
[2025-04-09 12:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:04:16] Production.INFO: call_cost start
[2025-04-09 12:04:16] Production.INFO: call_cost end
[2025-04-09 12:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:04:17] Production.INFO: ==31633== Releasing lock...
[2025-04-09 12:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:04:20] Production.INFO: count ==5727
[2025-04-09 12:04:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:04:06 - End Time 2025-04-09 12:04:06
[2025-04-09 12:04:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869419', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869419', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869419', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869419', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:04:23] Production.INFO: ProcessCDR(1,14869419,1,1,2)
[2025-04-09 12:04:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:04:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869419', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869419', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:04:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:04:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:04:28] Production.INFO: ==31641== Releasing lock...
[2025-04-09 12:04:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:04:28] Production.INFO: 70.75 MB #Memory Used#
[2025-04-09 17:05:01] Production.INFO: ==31697== Lock acquired, processing the job...
[2025-04-09 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:05:01] Production.INFO: neon service started
[2025-04-09 17:05:01] Production.INFO: neon service started
[2025-04-09 17:05:01] Production.INFO: ==31697== Releasing lock...
[2025-04-09 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:05:01] Production.INFO: ==31699== Lock acquired, processing the job...
[2025-04-09 12:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:05:02] Production.INFO: ==31699== Releasing lock...
[2025-04-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:05:02] Production.INFO: ==31701== Lock acquired, processing the job...
[2025-04-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:05:02] Production.INFO: ==31701== Releasing lock...
[2025-04-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:05:03] Production.INFO: ==31709== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:05:03] Production.INFO: ==31703== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:05:03] Production.INFO: Account Balance Start.
[2025-04-09 12:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:05:03] Production.INFO: 117
[2025-04-09 12:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:05:03] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:05:03] Production.INFO: ==31705== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:05:03] Production.INFO: Total Charge 0
[2025-04-09 12:05:03] Production.INFO: ==31707== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:05:03] Production.INFO: CreateAllLog End
[2025-04-09 12:05:03] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-04-09 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12: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-04-09 12:05:03] Production.INFO: Account Balance End.
[2025-04-09 12:05:03] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:05:03] Production.INFO: count ==23
[2025-04-09 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869422') start
[2025-04-09 12:05:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:05:03] Production.INFO: ==31709== Releasing lock...
[2025-04-09 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869422') end
[2025-04-09 12:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:05:03] Production.INFO: 1
[2025-04-09 12:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:05:03] Production.INFO: ==31713== Releasing lock...
[2025-04-09 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:05:03] Production.INFO: ==31705== Releasing lock...
[2025-04-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:05:04] Production.ERROR: done
[2025-04-09 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:05:04] Production.ERROR: done
[2025-04-09 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:05:05
[end_date_ymd] => 2025-04-09 12:05:05
[RateCDR] => 1
)
[2025-04-09 12:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:05:05' and `end` < '2025-04-09 12:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:05:13] Production.ERROR: CronJobId end10
[2025-04-09 12:05:13] Production.INFO: ==31707== Releasing lock...
[2025-04-09 12:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:05:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:05:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:05:16] Production.INFO: call_cost start
[2025-04-09 12:05:16] Production.INFO: call_cost end
[2025-04-09 12:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:05:17] Production.INFO: ==31703== Releasing lock...
[2025-04-09 12:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:05:19] Production.INFO: count ==5742
[2025-04-09 12:05:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:05:05 - End Time 2025-04-09 12:05:05
[2025-04-09 12:05:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869424', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869424', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869424', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869424', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:05:22] Production.INFO: ProcessCDR(1,14869424,1,1,2)
[2025-04-09 12:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869424', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869424', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:05:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:05:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:05:28] Production.INFO: ==31711== Releasing lock...
[2025-04-09 12:05:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:05:28] Production.INFO: 71 MB #Memory Used#
[2025-04-09 17:06:02] Production.INFO: ==31770== Lock acquired, processing the job...
[2025-04-09 17:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:06:02] Production.INFO: neon service started
[2025-04-09 17:06:02] Production.INFO: neon service started
[2025-04-09 17:06:02] Production.INFO: ==31770== Releasing lock...
[2025-04-09 17:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:06:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:06:02] Production.INFO: ==31775== Lock acquired, processing the job...
[2025-04-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:06:02] Production.INFO: ==31775== Releasing lock...
[2025-04-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:06:02] Production.INFO: ==31773== Lock acquired, processing the job...
[2025-04-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:06:03] Production.INFO: ==31773== Releasing lock...
[2025-04-09 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:06:03] Production.INFO: ==31777== Lock acquired, processing the job...
[2025-04-09 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:06:03] Production.INFO: ==31779== Lock acquired, processing the job...
[2025-04-09 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:06:04] Production.INFO: ==31783== Lock acquired, processing the job...
[2025-04-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:06:04] Production.INFO: Account Balance Start.
[2025-04-09 12:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:06:04] Production.INFO: 117
[2025-04-09 12:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:06:04] Production.INFO: Total Charge 0
[2025-04-09 12:06:04] Production.INFO: ==31781== Lock acquired, processing the job...
[2025-04-09 12:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:06:04] Production.INFO: CreateAllLog End
[2025-04-09 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:06:04] Production.INFO: ==31785== Lock acquired, processing the job...
[2025-04-09 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:06:04] Production.INFO: Account Balance End.
[2025-04-09 12:06:04] Production.INFO: ==31787== Lock acquired, processing the job...
[2025-04-09 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:06:04] Production.INFO: ==31779== Releasing lock...
[2025-04-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:06:04] Production.INFO: ==31783== Releasing lock...
[2025-04-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:06:04] Production.INFO: count ==12
[2025-04-09 12:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:06:04] Production.INFO: count ==23
[2025-04-09 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869428') start
[2025-04-09 12:06:05] Production.ERROR: done
[2025-04-09 12:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869428') end
[2025-04-09 12:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:06:05] Production.INFO: 1
[2025-04-09 12:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:06:05] Production.INFO: ==31787== Releasing lock...
[2025-04-09 12:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:06:05] Production.ERROR: done
[2025-04-09 12:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:06:06
[end_date_ymd] => 2025-04-09 12:06:06
[RateCDR] => 1
)
[2025-04-09 12:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:06:06' and `end` < '2025-04-09 12:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:06:13] Production.ERROR: CronJobId end10
[2025-04-09 12:06:13] Production.INFO: ==31781== Releasing lock...
[2025-04-09 12:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:06:16] Production.INFO: call_cost start
[2025-04-09 12:06:16] Production.INFO: call_cost end
[2025-04-09 12:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:06:17] Production.INFO: ==31777== Releasing lock...
[2025-04-09 12:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:06:20] Production.INFO: count ==5863
[2025-04-09 12:06:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:06:06 - End Time 2025-04-09 12:06:06
[2025-04-09 12:06:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869429', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869429', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869429', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869429', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:06:23] Production.INFO: ProcessCDR(1,14869429,1,1,2)
[2025-04-09 12:06:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:06:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:06:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:06:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869429', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869429', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:06:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:06:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:06:28] Production.INFO: ==31785== Releasing lock...
[2025-04-09 12:06:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:06:28] Production.INFO: 71.75 MB #Memory Used#
[2025-04-09 17:07:01] Production.INFO: ==31843== Lock acquired, processing the job...
[2025-04-09 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:07:01] Production.INFO: neon service started
[2025-04-09 17:07:01] Production.INFO: neon service started
[2025-04-09 17:07:01] Production.INFO: ==31843== Releasing lock...
[2025-04-09 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:07:02] Production.INFO: ==31845== Lock acquired, processing the job...
[2025-04-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:07:02] Production.INFO: ==31845== Releasing lock...
[2025-04-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:07:02] Production.INFO: ==31847== Lock acquired, processing the job...
[2025-04-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:07:02] Production.INFO: ==31847== Releasing lock...
[2025-04-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:07:03] Production.INFO: ==31855== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:07:03] Production.INFO: ==31849== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:07:03] Production.INFO: Account Balance Start.
[2025-04-09 12:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:07:03] Production.INFO: 117
[2025-04-09 12:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:07:03] Production.INFO: ==31851== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:07:03] Production.INFO: ==31860== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:07:03] Production.INFO: ==31853== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:07:03] Production.INFO: Total Charge 0
[2025-04-09 12:07:03] Production.INFO: CreateAllLog End
[2025-04-09 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:07:03] Production.INFO: ==31858== Lock acquired, processing the job...
[2025-04-09 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:07:03] Production.INFO: count ==12
[2025-04-09 12:07:03] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 12:07:03] Production.INFO: count ==23
[2025-04-09 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869433') start
[2025-04-09 12:07:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:07:03] Production.INFO: ==31855== Releasing lock...
[2025-04-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869433') end
[2025-04-09 12:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:07:03] Production.INFO: 1
[2025-04-09 12:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:07:04] Production.INFO: ==31860== Releasing lock...
[2025-04-09 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:07:04] Production.INFO: ==31851== Releasing lock...
[2025-04-09 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:07:04] Production.ERROR: done
[2025-04-09 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:07:04] Production.ERROR: done
[2025-04-09 12:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:07:05
[end_date_ymd] => 2025-04-09 12:07:05
[RateCDR] => 1
)
[2025-04-09 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:07:05' and `end` < '2025-04-09 12:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:07:13] Production.ERROR: CronJobId end10
[2025-04-09 12:07:13] Production.INFO: ==31853== Releasing lock...
[2025-04-09 12:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:07:15] Production.INFO: call_cost start
[2025-04-09 12:07:15] Production.INFO: call_cost end
[2025-04-09 12:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:07:16] Production.INFO: ==31849== Releasing lock...
[2025-04-09 12:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:07:19] Production.INFO: count ==5864
[2025-04-09 12:07:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:07:05 - End Time 2025-04-09 12:07:05
[2025-04-09 12:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869434', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869434', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869434', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869434', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:07:23] Production.INFO: ProcessCDR(1,14869434,1,1,2)
[2025-04-09 12:07:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869434', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869434', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:07:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:07:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:07:28] Production.INFO: ==31858== Releasing lock...
[2025-04-09 12:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:07:28] Production.INFO: 71.75 MB #Memory Used#
[2025-04-09 17:08:02] Production.INFO: ==31916== Lock acquired, processing the job...
[2025-04-09 17:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:08:02] Production.INFO: neon service started
[2025-04-09 17:08:02] Production.INFO: neon service started
[2025-04-09 17:08:02] Production.INFO: ==31916== Releasing lock...
[2025-04-09 17:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:08:02] Production.INFO: ==31920== Lock acquired, processing the job...
[2025-04-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:08:02] Production.INFO: ==31920== Releasing lock...
[2025-04-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:08:02] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-04-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:08:02] Production.INFO: ==31918== Releasing lock...
[2025-04-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:08:03] Production.INFO: ==31931== Lock acquired, processing the job...
[2025-04-09 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:08:04] Production.INFO: ==31929== Lock acquired, processing the job...
[2025-04-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:08:04] Production.INFO: ==31923== Lock acquired, processing the job...
[2025-04-09 12:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:08:04] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-04-09 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:08:04] Production.INFO: Account Balance Start.
[2025-04-09 12:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:08:04] Production.INFO: ==31927== Lock acquired, processing the job...
[2025-04-09 12:08:04] Production.INFO: 117
[2025-04-09 12:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:08:04] Production.INFO: ==31933== Lock acquired, processing the job...
[2025-04-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:08:04] Production.INFO: count ==12
[2025-04-09 12:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:08:04] Production.INFO: Total Charge 0
[2025-04-09 12:08:04] Production.INFO: count ==23
[2025-04-09 12:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:08:04] Production.INFO: CreateAllLog End
[2025-04-09 12:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869437') start
[2025-04-09 12:08:04] Production.ERROR: done
[2025-04-09 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869437') end
[2025-04-09 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:08:04] Production.INFO: 1
[2025-04-09 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:08:04] Production.INFO: ==31925== Releasing lock...
[2025-04-09 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:08:04] Production.INFO: Account Balance End.
[2025-04-09 12:08:04] Production.INFO: ==31933== Releasing lock...
[2025-04-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:08:04] Production.ERROR: done
[2025-04-09 12:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:08:04] Production.INFO: ==31929== Releasing lock...
[2025-04-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:08:05
[end_date_ymd] => 2025-04-09 12:08:05
[RateCDR] => 1
)
[2025-04-09 12:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:08:05' and `end` < '2025-04-09 12:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:08:13] Production.ERROR: CronJobId end10
[2025-04-09 12:08:13] Production.INFO: ==31927== Releasing lock...
[2025-04-09 12:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:08:16] Production.INFO: call_cost start
[2025-04-09 12:08:16] Production.INFO: call_cost end
[2025-04-09 12:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:08:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:08:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:08:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:08:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:08:17] Production.INFO: ==31923== Releasing lock...
[2025-04-09 12:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:08:19] Production.INFO: count ==5860
[2025-04-09 12:08:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:08:05 - End Time 2025-04-09 12:08:05
[2025-04-09 12:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869439', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869439', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869439', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869439', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:08:22] Production.INFO: ProcessCDR(1,14869439,1,1,2)
[2025-04-09 12:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869439', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869439', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:08:27] Production.INFO: ==31931== Releasing lock...
[2025-04-09 12:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:08:27] Production.INFO: 71.75 MB #Memory Used#
[2025-04-09 17:09:01] Production.INFO: ==31988== Lock acquired, processing the job...
[2025-04-09 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:09:01] Production.INFO: neon service started
[2025-04-09 17:09:01] Production.INFO: neon service started
[2025-04-09 17:09:01] Production.INFO: ==31988== Releasing lock...
[2025-04-09 17:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:09:01] Production.INFO: ==31992== Lock acquired, processing the job...
[2025-04-09 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:09:01] Production.INFO: ==31992== Releasing lock...
[2025-04-09 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:09:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:09:02] Production.INFO: ==31990== Lock acquired, processing the job...
[2025-04-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:09:02] Production.INFO: ==31990== Releasing lock...
[2025-04-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:09:03] Production.INFO: ==31995== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:09:03] Production.INFO: ==31997== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:09:03] Production.INFO: ==32001== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:09:03] Production.INFO: Account Balance Start.
[2025-04-09 12:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:09:03] Production.INFO: 117
[2025-04-09 12:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:09:03] Production.INFO: ==31999== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:09:03] Production.INFO: ==32003== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:09:03] Production.INFO: Total Charge 0
[2025-04-09 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:09:03] Production.INFO: CreateAllLog End
[2025-04-09 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:09:03] Production.INFO: ==31997== Releasing lock...
[2025-04-09 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:09:03] Production.INFO: ==32005== Lock acquired, processing the job...
[2025-04-09 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:09:03] Production.INFO: Account Balance End.
[2025-04-09 12:09:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:09:03] Production.INFO: ==32001== Releasing lock...
[2025-04-09 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:09:03] Production.INFO: count ==12
[2025-04-09 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-04-09 12:09:03] Production.INFO: count ==23
[2025-04-09 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869443') start
[2025-04-09 12:09:04] Production.ERROR: done
[2025-04-09 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869443') end
[2025-04-09 12:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:09:04] Production.INFO: 1
[2025-04-09 12:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:09:04] Production.INFO: ==32005== Releasing lock...
[2025-04-09 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:09:04] Production.ERROR: done
[2025-04-09 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:09:05
[end_date_ymd] => 2025-04-09 12:09:05
[RateCDR] => 1
)
[2025-04-09 12:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:09:05' and `end` < '2025-04-09 12:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:09:11] Production.ERROR: CronJobId end10
[2025-04-09 12:09:11] Production.INFO: ==31999== Releasing lock...
[2025-04-09 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:09:14] Production.INFO: call_cost start
[2025-04-09 12:09:14] Production.INFO: call_cost end
[2025-04-09 12:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:09:15] Production.INFO: ==31995== Releasing lock...
[2025-04-09 12:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:09:19] Production.INFO: count ==5866
[2025-04-09 12:09:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:09:05 - End Time 2025-04-09 12:09:05
[2025-04-09 12:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869444', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869444', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869444', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869444', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:09:22] Production.INFO: ProcessCDR(1,14869444,1,1,2)
[2025-04-09 12:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869444', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869444', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:09:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:09:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:09:27] Production.INFO: ==32003== Releasing lock...
[2025-04-09 12:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:09:27] Production.INFO: 72 MB #Memory Used#
[2025-04-09 17:10:01] Production.INFO: ==32060== Lock acquired, processing the job...
[2025-04-09 17:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:10:01] Production.INFO: neon service started
[2025-04-09 17:10:02] Production.INFO: neon service started
[2025-04-09 17:10:02] Production.INFO: ==32060== Releasing lock...
[2025-04-09 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:10:02] Production.INFO: ==32062== Lock acquired, processing the job...
[2025-04-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:10:02] Production.INFO: ==32062== Releasing lock...
[2025-04-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:10:02] Production.INFO: ==32064== Lock acquired, processing the job...
[2025-04-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:10:02] Production.INFO: ==32064== Releasing lock...
[2025-04-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:10:03] Production.INFO: ==32071== Lock acquired, processing the job...
[2025-04-09 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:10:04] Production.INFO: ==32079== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:10:04] Production.INFO: ==32066== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:10:04] Production.INFO: ==32081== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:10:04] Production.INFO: ==32069== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:10:04] Production.ERROR: CronJob PID - 32071
[2025-04-09 12:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 12:10:04] Production.ERROR: CronJob ID - 7
[2025-04-09 12:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:10:00
[2025-04-09 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:10:04] Production.ERROR: CronJob PID - 32079
[2025-04-09 12:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 12:10:04] Production.ERROR: CronJob ID - 17
[2025-04-09 12:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:10:00
[2025-04-09 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:10:04] Production.ERROR: CronJob PID - 32081
[2025-04-09 12:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 12:10:04] Production.ERROR: CronJob ID - 19
[2025-04-09 12:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:10:00
[2025-04-09 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 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-04-09 12:10:04] Production.INFO: ==32073== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:10:04] Production.INFO: ==32075== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:10:04] Production.INFO: count ==12
[2025-04-09 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-04-09 12:10:04] Production.INFO: count ==23
[2025-04-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869446') start
[2025-04-09 12:10:04] Production.INFO: ==32077== Lock acquired, processing the job...
[2025-04-09 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:10:04] Production.INFO: ==32066== Releasing lock...
[2025-04-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:10:04] Production.INFO: ==32071== Releasing lock...
[2025-04-09 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:10:04] Production.INFO: Account Balance Start.
[2025-04-09 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:10:04] Production.INFO: 117
[2025-04-09 12:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869446') end
[2025-04-09 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:10:04] Production.INFO: 1
[2025-04-09 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:10:04] Production.INFO: ==32081== Releasing lock...
[2025-04-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:10:04] Production.ERROR: done
[2025-04-09 12:10:05] Production.INFO: Total Charge 0
[2025-04-09 12:10:05] Production.INFO: CreateAllLog End
[2025-04-09 12:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869449', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:10:05] Production.ERROR: done
[2025-04-09 12:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:10:05] Production.ERROR: done
[2025-04-09 12:10:05] Production.INFO: Account Balance End.
[2025-04-09 12:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:10:05] Production.INFO: ==32075== Releasing lock...
[2025-04-09 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:10:06
[end_date_ymd] => 2025-04-09 12:10:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:10:06' and `end` < '2025-04-09 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-04-09 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869449', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:10:09] Production.INFO: ProcessCDR(1,14869449,1,1,2)
[2025-04-09 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869449,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:10:09] Production.INFO: ==32079== Releasing lock...
[2025-04-09 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:10:14] Production.ERROR: CronJobId end10
[2025-04-09 12:10:14] Production.INFO: ==32073== Releasing lock...
[2025-04-09 12:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:10:17] Production.INFO: call_cost start
[2025-04-09 12:10:17] Production.INFO: call_cost end
[2025-04-09 12:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:10:18] Production.INFO: ==32069== Releasing lock...
[2025-04-09 12:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:10:20] Production.INFO: count ==5862
[2025-04-09 12:10:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:10:06 - End Time 2025-04-09 12:10:06
[2025-04-09 12:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869450', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869450', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869450', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869450', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:10:23] Production.INFO: ProcessCDR(1,14869450,1,1,2)
[2025-04-09 12:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869450', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869450', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:10:28] Production.INFO: ==32077== Releasing lock...
[2025-04-09 12:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:10:28] Production.INFO: 71.75 MB #Memory Used#
[2025-04-09 17:11:01] Production.INFO: ==32137== Lock acquired, processing the job...
[2025-04-09 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:11:01] Production.INFO: neon service started
[2025-04-09 17:11:01] Production.INFO: neon service started
[2025-04-09 17:11:01] Production.INFO: ==32137== Releasing lock...
[2025-04-09 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:11:02] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-04-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:11:02] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-04-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:11:02] Production.INFO: ==32141== Releasing lock...
[2025-04-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:11:02] Production.INFO: ==32139== Releasing lock...
[2025-04-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:11:03] Production.INFO: ==32150== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:11:03] Production.INFO: ==32154== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:11:03] Production.INFO: Account Balance Start.
[2025-04-09 12:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:11:03] Production.INFO: 117
[2025-04-09 12:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:11:03] Production.INFO: count ==12
[2025-04-09 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:11:03] Production.INFO: count ==23
[2025-04-09 12:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869452') start
[2025-04-09 12:11:03] Production.INFO: ==32144== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:11:03] Production.INFO: ==32146== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:11:03] Production.INFO: Total Charge 0
[2025-04-09 12:11:03] Production.INFO: ==32148== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:11:03] Production.INFO: CreateAllLog End
[2025-04-09 12:11:03] Production.INFO: ==32152== Lock acquired, processing the job...
[2025-04-09 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869452') end
[2025-04-09 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:11:03] Production.INFO: 1
[2025-04-09 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:11:03] Production.INFO: Account Balance End.
[2025-04-09 12:11:03] Production.INFO: ==32154== Releasing lock...
[2025-04-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:11:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:11:03] Production.INFO: ==32150== Releasing lock...
[2025-04-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:11:04] Production.ERROR: done
[2025-04-09 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:11:04] Production.INFO: ==32146== Releasing lock...
[2025-04-09 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:11:04] Production.ERROR: done
[2025-04-09 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:11:05
[end_date_ymd] => 2025-04-09 12:11:05
[RateCDR] => 1
)
[2025-04-09 12:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:11:05' and `end` < '2025-04-09 12:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:11:12] Production.ERROR: CronJobId end10
[2025-04-09 12:11:12] Production.INFO: ==32148== Releasing lock...
[2025-04-09 12:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:11:14] Production.INFO: call_cost start
[2025-04-09 12:11:14] Production.INFO: call_cost end
[2025-04-09 12:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:11:15] Production.INFO: ==32144== Releasing lock...
[2025-04-09 12:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:11:19] Production.INFO: count ==5930
[2025-04-09 12:11:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:11:05 - End Time 2025-04-09 12:11:05
[2025-04-09 12:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869455', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869455', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869455', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869455', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:11:22] Production.INFO: ProcessCDR(1,14869455,1,1,2)
[2025-04-09 12:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869455', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869455', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:11:27] Production.INFO: ==32152== Releasing lock...
[2025-04-09 12:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:11:27] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 17:12:01] Production.INFO: ==32207== Lock acquired, processing the job...
[2025-04-09 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:12:01] Production.INFO: neon service started
[2025-04-09 17:12:01] Production.INFO: neon service started
[2025-04-09 17:12:01] Production.INFO: ==32207== Releasing lock...
[2025-04-09 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:12:02] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-04-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:12:02] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-04-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:12:02] Production.INFO: ==32209== Releasing lock...
[2025-04-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:12:02] Production.INFO: ==32211== Releasing lock...
[2025-04-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:12:03] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-04-09 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:12:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-04-09 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:12:03] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-04-09 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:12:03] Production.INFO: ==32215== Releasing lock...
[2025-04-09 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:12:03] Production.INFO: ==32220== Lock acquired, processing the job...
[2025-04-09 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:12:04] Production.INFO: Account Balance Start.
[2025-04-09 12:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:12:04] Production.INFO: 117
[2025-04-09 12:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:12:04] Production.INFO: ==32224== Lock acquired, processing the job...
[2025-04-09 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:12:04] Production.INFO: ==32222== Lock acquired, processing the job...
[2025-04-09 12:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:12:04] Production.INFO: Total Charge 0
[2025-04-09 12:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:12:04] Production.INFO: CreateAllLog End
[2025-04-09 12:12:04] Production.INFO: count ==12
[2025-04-09 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:12:04] Production.INFO: count ==23
[2025-04-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869459') start
[2025-04-09 12:12:04] Production.INFO: Account Balance End.
[2025-04-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869459') end
[2025-04-09 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:12:04] Production.INFO: 1
[2025-04-09 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:12:04] Production.INFO: ==32220== Releasing lock...
[2025-04-09 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:12:04] Production.ERROR: done
[2025-04-09 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:12:04] Production.INFO: ==32224== Releasing lock...
[2025-04-09 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:12:04] Production.ERROR: done
[2025-04-09 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:12:05
[end_date_ymd] => 2025-04-09 12:12:05
[RateCDR] => 1
)
[2025-04-09 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:12:05' and `end` < '2025-04-09 12:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:12:12] Production.ERROR: CronJobId end10
[2025-04-09 12:12:12] Production.INFO: ==32217== Releasing lock...
[2025-04-09 12:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:12:14] Production.INFO: call_cost start
[2025-04-09 12:12:14] Production.INFO: call_cost end
[2025-04-09 12:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:12:15] Production.INFO: ==32213== Releasing lock...
[2025-04-09 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:12:19] Production.INFO: count ==5923
[2025-04-09 12:12:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:12:05 - End Time 2025-04-09 12:12:05
[2025-04-09 12:12:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869460', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869460', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869460', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869460', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:12:22] Production.INFO: ProcessCDR(1,14869460,1,1,2)
[2025-04-09 12:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869460', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869460', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:12:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:12:28] Production.INFO: ==32222== Releasing lock...
[2025-04-09 12:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:12:28] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 17:13:02] Production.INFO: ==32283== Lock acquired, processing the job...
[2025-04-09 17:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:13:02] Production.INFO: neon service started
[2025-04-09 17:13:02] Production.INFO: neon service started
[2025-04-09 17:13:02] Production.INFO: ==32283== Releasing lock...
[2025-04-09 17:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:13:02] Production.INFO: ==32286== Lock acquired, processing the job...
[2025-04-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:13:03] Production.INFO: ==32288== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:13:03] Production.INFO: ==32288== Releasing lock...
[2025-04-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:13:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:13:03] Production.INFO: ==32286== Releasing lock...
[2025-04-09 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:13:04] Production.INFO: ==32290== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:13:04] Production.INFO: ==32292== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:13:04] Production.INFO: ==32296== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:13:04] Production.INFO: ==32294== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:13:04] Production.INFO: ==32298== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:13:04] Production.INFO: Account Balance Start.
[2025-04-09 12:13:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:13:04] Production.INFO: 117
[2025-04-09 12:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:13:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:13:04] Production.INFO: ==32300== Lock acquired, processing the job...
[2025-04-09 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:13:04] Production.INFO: Total Charge 0
[2025-04-09 12:13:04] Production.INFO: CreateAllLog End
[2025-04-09 12:13:04] Production.INFO: ==32292== Releasing lock...
[2025-04-09 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:13: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-04-09 12:13:05] Production.INFO: count ==12
[2025-04-09 12:13: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-04-09 12:13:05] Production.INFO: count ==23
[2025-04-09 12:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869464') start
[2025-04-09 12:13:05] Production.ERROR: done
[2025-04-09 12:13:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:13:05] Production.INFO: Account Balance End.
[2025-04-09 12:13:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:13:05] Production.INFO: ==32296== Releasing lock...
[2025-04-09 12:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869464') end
[2025-04-09 12:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:13:05] Production.INFO: 1
[2025-04-09 12:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:13:05] Production.ERROR: done
[2025-04-09 12:13:05] Production.INFO: ==32300== Releasing lock...
[2025-04-09 12:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:13:06
[end_date_ymd] => 2025-04-09 12:13:06
[RateCDR] => 1
)
[2025-04-09 12: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-04-09 09:13:06' and `end` < '2025-04-09 12: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-04-09 12:13:13] Production.ERROR: CronJobId end10
[2025-04-09 12:13:13] Production.INFO: ==32294== Releasing lock...
[2025-04-09 12:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:13:15] Production.INFO: call_cost start
[2025-04-09 12:13:15] Production.INFO: call_cost end
[2025-04-09 12:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:13:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:13:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:13:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:13:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:13:17] Production.INFO: ==32290== Releasing lock...
[2025-04-09 12:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:13:20] Production.INFO: count ==5925
[2025-04-09 12:13:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:13:06 - End Time 2025-04-09 12:13:06
[2025-04-09 12:13:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869465', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869465', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869465', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869465', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:13:23] Production.INFO: ProcessCDR(1,14869465,1,1,2)
[2025-04-09 12:13:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:13:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:13:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:13:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869465', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869465', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:13:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:13:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:13:28] Production.INFO: ==32298== Releasing lock...
[2025-04-09 12:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:13:28] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 17:14:01] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-04-09 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:14:01] Production.INFO: neon service started
[2025-04-09 17:14:01] Production.INFO: neon service started
[2025-04-09 17:14:01] Production.INFO: ==32354== Releasing lock...
[2025-04-09 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:14:02] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-04-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:14:02] Production.INFO: ==32358== Releasing lock...
[2025-04-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:14:02] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-04-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:14:02] Production.INFO: ==32356== Releasing lock...
[2025-04-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:14:03] Production.INFO: ==32365== Lock acquired, processing the job...
[2025-04-09 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:14:03] Production.INFO: ==32371== Lock acquired, processing the job...
[2025-04-09 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12: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-04-09 12:14:03] Production.INFO: ==32361== Lock acquired, processing the job...
[2025-04-09 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:14:03] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:14:03] Production.INFO: count ==23
[2025-04-09 12:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869466') start
[2025-04-09 12:14:03] Production.INFO: ==32363== Lock acquired, processing the job...
[2025-04-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:14:04] Production.INFO: ==32367== Lock acquired, processing the job...
[2025-04-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869466') end
[2025-04-09 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:14:04] Production.INFO: 1
[2025-04-09 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:14:04] Production.INFO: ==32369== Lock acquired, processing the job...
[2025-04-09 12:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:14:04] Production.INFO: ==32371== Releasing lock...
[2025-04-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:14:04] Production.INFO: Account Balance Start.
[2025-04-09 12:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:14:04] Production.INFO: 117
[2025-04-09 12:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:14:04] Production.INFO: ==32363== Releasing lock...
[2025-04-09 12:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:14:04] Production.INFO: Total Charge 0
[2025-04-09 12:14:04] Production.INFO: CreateAllLog End
[2025-04-09 12:14:04] Production.ERROR: done
[2025-04-09 12:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:14:04] Production.ERROR: done
[2025-04-09 12:14:04] Production.INFO: Account Balance End.
[2025-04-09 12:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:14:04] Production.INFO: ==32367== Releasing lock...
[2025-04-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:14:05
[end_date_ymd] => 2025-04-09 12:14:05
[RateCDR] => 1
)
[2025-04-09 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:14:05' and `end` < '2025-04-09 12:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:14:12] Production.ERROR: CronJobId end10
[2025-04-09 12:14:12] Production.INFO: ==32365== Releasing lock...
[2025-04-09 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:14:14] Production.INFO: call_cost start
[2025-04-09 12:14:14] Production.INFO: call_cost end
[2025-04-09 12:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:14:15] Production.INFO: ==32361== Releasing lock...
[2025-04-09 12:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:14:19] Production.INFO: count ==5920
[2025-04-09 12:14:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:14:05 - End Time 2025-04-09 12:14:05
[2025-04-09 12:14:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869470', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869470', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869470', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869470', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:14:22] Production.INFO: ProcessCDR(1,14869470,1,1,2)
[2025-04-09 12:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:14:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:14:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:14:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869470', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869470', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:14:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:14:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:14:27] Production.INFO: ==32369== Releasing lock...
[2025-04-09 12:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:14:27] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 17:15:02] Production.INFO: ==32426== Lock acquired, processing the job...
[2025-04-09 17:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:15:02] Production.INFO: neon service started
[2025-04-09 17:15:02] Production.INFO: neon service started
[2025-04-09 17:15:02] Production.INFO: ==32426== Releasing lock...
[2025-04-09 17:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:15:03] Production.INFO: ==32428== Lock acquired, processing the job...
[2025-04-09 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:15:03] Production.INFO: ==32430== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:15:03] Production.INFO: ==32430== Releasing lock...
[2025-04-09 16:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:15:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:15:03] Production.INFO: ==32428== Releasing lock...
[2025-04-09 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:15:04] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:15:04] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:15:04] Production.INFO: ==32433== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:15:04] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:15:04] Production.INFO: ==32435== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:15:04] Production.INFO: ==32443== Lock acquired, processing the job...
[2025-04-09 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:15:04] Production.INFO: Account Balance Start.
[2025-04-09 12:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:15:04] Production.INFO: 117
[2025-04-09 12:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:15:04] Production.ERROR: done
[2025-04-09 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:15:04] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 12:15:04] Production.INFO: CreateAllLog End
[2025-04-09 12:15:04] Production.INFO: count ==12
[2025-04-09 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-04-09 12:15:04] Production.INFO: count ==23
[2025-04-09 12:15:04] Production.ERROR: done
[2025-04-09 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869474') start
[2025-04-09 12:15:04] Production.INFO: ==32435== Releasing lock...
[2025-04-09 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869474') end
[2025-04-09 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:15:04] Production.INFO: 1
[2025-04-09 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:15:04] Production.INFO: Account Balance End.
[2025-04-09 12:15:05] Production.INFO: ==32443== Releasing lock...
[2025-04-09 12:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:15:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:15:05] Production.INFO: ==32439== Releasing lock...
[2025-04-09 12:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:15:05
[end_date_ymd] => 2025-04-09 12:15:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:15:05' and `end` < '2025-04-09 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-04-09 12:15:12] Production.ERROR: CronJobId end10
[2025-04-09 12:15:12] Production.INFO: ==32437== Releasing lock...
[2025-04-09 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:15:15] Production.INFO: call_cost start
[2025-04-09 12:15:15] Production.INFO: call_cost end
[2025-04-09 12:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:15:16] Production.INFO: ==32433== Releasing lock...
[2025-04-09 12:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:15:19] Production.INFO: count ==5913
[2025-04-09 12:15:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:15:05 - End Time 2025-04-09 12:15:05
[2025-04-09 12:15:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869475', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869475', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869475', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869475', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:15:22] Production.INFO: ProcessCDR(1,14869475,1,1,2)
[2025-04-09 12:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:15:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:15:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869475', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869475', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:15:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:15:28] Production.INFO: ==32441== Releasing lock...
[2025-04-09 12:15:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:15:28] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 17:16:01] Production.INFO: ==32495== Lock acquired, processing the job...
[2025-04-09 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:16:01] Production.INFO: neon service started
[2025-04-09 17:16:01] Production.INFO: neon service started
[2025-04-09 17:16:01] Production.INFO: ==32495== Releasing lock...
[2025-04-09 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:16:02] Production.INFO: ==32498== Lock acquired, processing the job...
[2025-04-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:16:02] Production.INFO: ==32500== Lock acquired, processing the job...
[2025-04-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:16:02] Production.INFO: ==32500== Releasing lock...
[2025-04-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:16:02] Production.INFO: ==32498== Releasing lock...
[2025-04-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:16:03] Production.INFO: ==32506== Lock acquired, processing the job...
[2025-04-09 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:16:03] Production.INFO: ==32512== Lock acquired, processing the job...
[2025-04-09 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:16:03] Production.INFO: ==32502== Lock acquired, processing the job...
[2025-04-09 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:16:03] Production.INFO: ==32504== Lock acquired, processing the job...
[2025-04-09 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 12:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:16:04] Production.INFO: count ==12
[2025-04-09 12:16:04] Production.INFO: ==32508== Lock acquired, processing the job...
[2025-04-09 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 12:16:04] Production.INFO: count ==23
[2025-04-09 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869476') start
[2025-04-09 12:16:04] Production.INFO: ==32510== Lock acquired, processing the job...
[2025-04-09 12:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869476') end
[2025-04-09 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:16:04] Production.INFO: 1
[2025-04-09 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:16:04] Production.INFO: Account Balance Start.
[2025-04-09 12:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:16:04] Production.INFO: 117
[2025-04-09 12:16:04] Production.INFO: ==32512== Releasing lock...
[2025-04-09 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:16:04] Production.INFO: ==32504== Releasing lock...
[2025-04-09 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:16:04] Production.INFO: Total Charge 0
[2025-04-09 12:16:04] Production.INFO: CreateAllLog End
[2025-04-09 12:16:04] Production.ERROR: done
[2025-04-09 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:16:04] Production.ERROR: done
[2025-04-09 12:16:04] Production.INFO: Account Balance End.
[2025-04-09 12:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:16:04] Production.INFO: ==32508== Releasing lock...
[2025-04-09 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:16:05
[end_date_ymd] => 2025-04-09 12:16:05
[RateCDR] => 1
)
[2025-04-09 12:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:16:05' and `end` < '2025-04-09 12:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:16:12] Production.ERROR: CronJobId end10
[2025-04-09 12:16:12] Production.INFO: ==32506== Releasing lock...
[2025-04-09 12:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:16:14] Production.INFO: call_cost start
[2025-04-09 12:16:14] Production.INFO: call_cost end
[2025-04-09 12:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:16:15] Production.INFO: ==32502== Releasing lock...
[2025-04-09 12:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:16:19] Production.INFO: count ==6466
[2025-04-09 12:16:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:16:05 - End Time 2025-04-09 12:16:05
[2025-04-09 12:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869480', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869480', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869480', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869480', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:16:22] Production.INFO: ProcessCDR(1,14869480,1,1,2)
[2025-04-09 12:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:16:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:16:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:16:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869480', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869480', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:16:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:16:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:16:28] Production.INFO: ==32510== Releasing lock...
[2025-04-09 12:16:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:16:28] Production.INFO: 76.25 MB #Memory Used#
[2025-04-09 17:17:02] Production.INFO: ==32568== Lock acquired, processing the job...
[2025-04-09 17:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:17:02] Production.INFO: neon service started
[2025-04-09 17:17:02] Production.INFO: neon service started
[2025-04-09 17:17:02] Production.INFO: ==32568== Releasing lock...
[2025-04-09 17:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:17:02] Production.INFO: ==32572== Lock acquired, processing the job...
[2025-04-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:17:02] Production.INFO: ==32572== Releasing lock...
[2025-04-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:17:02] Production.INFO: ==32570== Lock acquired, processing the job...
[2025-04-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:17:02] Production.INFO: ==32570== Releasing lock...
[2025-04-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:17:03] Production.INFO: ==32575== Lock acquired, processing the job...
[2025-04-09 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:17:03] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-04-09 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:17:03] Production.INFO: ==32583== Lock acquired, processing the job...
[2025-04-09 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:17:04] Production.INFO: ==32577== Lock acquired, processing the job...
[2025-04-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:17:04] Production.INFO: ==32585== Lock acquired, processing the job...
[2025-04-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:17:04] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-04-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:17:04] Production.ERROR: done
[2025-04-09 12:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:17:04] Production.INFO: Account Balance Start.
[2025-04-09 12:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:17:04] Production.INFO: 117
[2025-04-09 12:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:17:04] Production.INFO: count ==12
[2025-04-09 12:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:17:04] Production.INFO: count ==23
[2025-04-09 12:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869483') start
[2025-04-09 12:17:04] Production.ERROR: done
[2025-04-09 12:17:04] Production.INFO: Total Charge 0
[2025-04-09 12:17:04] Production.INFO: CreateAllLog End
[2025-04-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869483') end
[2025-04-09 12:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:17:04] Production.INFO: 1
[2025-04-09 12:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:17:04] Production.INFO: ==32577== Releasing lock...
[2025-04-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:17:04] Production.INFO: Account Balance End.
[2025-04-09 12:17:04] Production.INFO: ==32585== Releasing lock...
[2025-04-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:17:04] Production.INFO: ==32581== Releasing lock...
[2025-04-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:17:05
[end_date_ymd] => 2025-04-09 12:17:05
[RateCDR] => 1
)
[2025-04-09 12: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-04-09 09:17:05' and `end` < '2025-04-09 12: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-04-09 12:17:13] Production.ERROR: CronJobId end10
[2025-04-09 12:17:13] Production.INFO: ==32579== Releasing lock...
[2025-04-09 12:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:17:15] Production.INFO: call_cost start
[2025-04-09 12:17:15] Production.INFO: call_cost end
[2025-04-09 12:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:17:16] Production.INFO: ==32575== Releasing lock...
[2025-04-09 12:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:17:19] Production.INFO: count ==6457
[2025-04-09 12:17:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:17:05 - End Time 2025-04-09 12:17:05
[2025-04-09 12:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869485', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869485', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869485', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869485', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:17:22] Production.INFO: ProcessCDR(1,14869485,1,1,2)
[2025-04-09 12:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:17:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869485', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869485', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:17:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:17:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:17:28] Production.INFO: ==32583== Releasing lock...
[2025-04-09 12:17:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:17:28] Production.INFO: 76.25 MB #Memory Used#
[2025-04-09 17:18:01] Production.INFO: ==32642== Lock acquired, processing the job...
[2025-04-09 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:18:01] Production.INFO: neon service started
[2025-04-09 17:18:01] Production.INFO: neon service started
[2025-04-09 17:18:01] Production.INFO: ==32642== Releasing lock...
[2025-04-09 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:18:02] Production.INFO: ==32644== Lock acquired, processing the job...
[2025-04-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:18:02] Production.INFO: ==32644== Releasing lock...
[2025-04-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:18:02] Production.INFO: ==32646== Lock acquired, processing the job...
[2025-04-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:18:02] Production.INFO: ==32646== Releasing lock...
[2025-04-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:18:03] Production.INFO: ==32648== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:18:03] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:18:03] Production.INFO: ==32650== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:18:03] Production.INFO: ==32652== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:18:03] Production.INFO: ==32654== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:18:03] Production.INFO: count ==12
[2025-04-09 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-04-09 12:18:03] Production.INFO: count ==23
[2025-04-09 12:18:03] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-04-09 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869487') start
[2025-04-09 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869487') end
[2025-04-09 12:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:18:03] Production.INFO: 1
[2025-04-09 12:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:18:03] Production.INFO: Account Balance Start.
[2025-04-09 12:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:18:03] Production.INFO: 117
[2025-04-09 12:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:18:03] Production.INFO: ==32658== Releasing lock...
[2025-04-09 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:18:03] Production.INFO: Total Charge 0
[2025-04-09 12:18:03] Production.INFO: CreateAllLog End
[2025-04-09 12:18:04] Production.INFO: ==32650== Releasing lock...
[2025-04-09 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:18:04] Production.INFO: Account Balance End.
[2025-04-09 12:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:18:04] Production.INFO: ==32654== Releasing lock...
[2025-04-09 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:18:04] Production.ERROR: done
[2025-04-09 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:18:04] Production.ERROR: done
[2025-04-09 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:18:05
[end_date_ymd] => 2025-04-09 12:18:05
[RateCDR] => 1
)
[2025-04-09 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:18:05' and `end` < '2025-04-09 12:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:18:12] Production.ERROR: CronJobId end10
[2025-04-09 12:18:12] Production.INFO: ==32652== Releasing lock...
[2025-04-09 12:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:18:15] Production.INFO: call_cost start
[2025-04-09 12:18:15] Production.INFO: call_cost end
[2025-04-09 12:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:18:16] Production.INFO: ==32648== Releasing lock...
[2025-04-09 12:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:18:19] Production.INFO: count ==6471
[2025-04-09 12:18:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:18:05 - End Time 2025-04-09 12:18:05
[2025-04-09 12:18:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869490', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869490', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869490', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869490', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:18:22] Production.INFO: ProcessCDR(1,14869490,1,1,2)
[2025-04-09 12:18:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:18:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:18:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:18:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869490', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869490', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:18:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:18:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:18:28] Production.INFO: ==32656== Releasing lock...
[2025-04-09 12:18:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:18:28] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:19:02] Production.INFO: ==32714== Lock acquired, processing the job...
[2025-04-09 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:19:02] Production.INFO: neon service started
[2025-04-09 17:19:02] Production.INFO: neon service started
[2025-04-09 17:19:02] Production.INFO: ==32714== Releasing lock...
[2025-04-09 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:19:02] Production.INFO: ==32716== Lock acquired, processing the job...
[2025-04-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:19:02] Production.INFO: ==32716== Releasing lock...
[2025-04-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:19:03] Production.INFO: ==32718== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:19:03] Production.INFO: ==32718== Releasing lock...
[2025-04-09 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:19:03] Production.INFO: ==32725== Lock acquired, processing the job...
[2025-04-09 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:19:03] Production.INFO: ==32729== Lock acquired, processing the job...
[2025-04-09 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:19:04] Production.INFO: ==32721== Lock acquired, processing the job...
[2025-04-09 12:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:19:04] Production.INFO: ==32723== Lock acquired, processing the job...
[2025-04-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:19:04] Production.INFO: ==32727== Lock acquired, processing the job...
[2025-04-09 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:19:04] Production.INFO: ==32731== Lock acquired, processing the job...
[2025-04-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:19:04] Production.INFO: count ==12
[2025-04-09 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:19:04] Production.INFO: Account Balance Start.
[2025-04-09 12:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:19:04] Production.INFO: count ==23
[2025-04-09 12:19:04] Production.INFO: 117
[2025-04-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869494') start
[2025-04-09 12:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:19:04] Production.INFO: ==32723== Releasing lock...
[2025-04-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:19:04] Production.ERROR: done
[2025-04-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869494') end
[2025-04-09 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:19:04] Production.INFO: 1
[2025-04-09 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:19:04] Production.INFO: ==32731== Releasing lock...
[2025-04-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:19:04] Production.INFO: Total Charge 0
[2025-04-09 12:19:04] Production.ERROR: done
[2025-04-09 12:19:04] Production.INFO: CreateAllLog End
[2025-04-09 12:19:05] Production.INFO: Account Balance End.
[2025-04-09 12:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:19:05] Production.INFO: ==32727== Releasing lock...
[2025-04-09 12:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:19:05
[end_date_ymd] => 2025-04-09 12:19:05
[RateCDR] => 1
)
[2025-04-09 12:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:19:05' and `end` < '2025-04-09 12:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:19:13] Production.ERROR: CronJobId end10
[2025-04-09 12:19:13] Production.INFO: ==32725== Releasing lock...
[2025-04-09 12:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:19:15] Production.INFO: call_cost start
[2025-04-09 12:19:15] Production.INFO: call_cost end
[2025-04-09 12:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:19:16] Production.INFO: ==32721== Releasing lock...
[2025-04-09 12:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:19:19] Production.INFO: count ==6487
[2025-04-09 12:19:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:19:05 - End Time 2025-04-09 12:19:05
[2025-04-09 12:19:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869495', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869495', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869495', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869495', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:19:22] Production.INFO: ProcessCDR(1,14869495,1,1,2)
[2025-04-09 12:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869495', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869495', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:19:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:19:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:19:28] Production.INFO: ==32729== Releasing lock...
[2025-04-09 12:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:19:28] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:20:01] Production.INFO: ==381== Lock acquired, processing the job...
[2025-04-09 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:20:01] Production.INFO: neon service started
[2025-04-09 17:20:01] Production.INFO: neon service started
[2025-04-09 17:20:01] Production.INFO: ==381== Releasing lock...
[2025-04-09 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:20:02] Production.INFO: ==383== Lock acquired, processing the job...
[2025-04-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:20:02] Production.INFO: ==385== Lock acquired, processing the job...
[2025-04-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:20:02] Production.INFO: ==385== Releasing lock...
[2025-04-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:20:02] Production.INFO: ==383== Releasing lock...
[2025-04-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:20:03] Production.INFO: ==387== Lock acquired, processing the job...
[2025-04-09 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:20:03] Production.INFO: ==389== Lock acquired, processing the job...
[2025-04-09 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:20:03] Production.ERROR: CronJob PID - 389
[2025-04-09 12:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 12:20:03] Production.ERROR: CronJob ID - 5
[2025-04-09 12:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 12:20:00
[2025-04-09 12:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:20:03] Production.INFO: ==387== Releasing lock...
[2025-04-09 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:20:03] Production.INFO: ==395== Lock acquired, processing the job...
[2025-04-09 12:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:20:03] Production.INFO: Account Balance Start.
[2025-04-09 12:20:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:20:04] Production.INFO: 117
[2025-04-09 12:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:20:04] Production.INFO: ==402== Lock acquired, processing the job...
[2025-04-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:20:04] Production.INFO: Total Charge 0
[2025-04-09 12:20:04] Production.INFO: CreateAllLog End
[2025-04-09 12:20:04] Production.INFO: ==391== Lock acquired, processing the job...
[2025-04-09 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:20:04] Production.INFO: ==398== Lock acquired, processing the job...
[2025-04-09 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:20:04] Production.INFO: ==393== Lock acquired, processing the job...
[2025-04-09 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:20:04] Production.INFO: count ==12
[2025-04-09 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:20:04] Production.INFO: count ==23
[2025-04-09 12:20:04] Production.INFO: ==400== Lock acquired, processing the job...
[2025-04-09 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869498') start
[2025-04-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:20:04] Production.INFO: Account Balance End.
[2025-04-09 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:20:04] Production.INFO: ==395== Releasing lock...
[2025-04-09 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869498') end
[2025-04-09 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:20:04] Production.INFO: 1
[2025-04-09 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:20:04] Production.INFO: ==402== Releasing lock...
[2025-04-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:20:04] Production.INFO: ==391== Releasing lock...
[2025-04-09 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:20:04] Production.ERROR: done
[2025-04-09 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:20:05] Production.ERROR: done
[2025-04-09 12:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869500', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:20:05] Production.ERROR: done
[2025-04-09 12:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:20:06
[end_date_ymd] => 2025-04-09 12:20:06
[RateCDR] => 1
)
[2025-04-09 12:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:20:06' and `end` < '2025-04-09 12:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869500', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:20:09] Production.INFO: ProcessCDR(1,14869500,1,1,2)
[2025-04-09 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869500,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:20:10] Production.INFO: ==400== Releasing lock...
[2025-04-09 12:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:20:14] Production.ERROR: CronJobId end10
[2025-04-09 12:20:14] Production.INFO: ==393== Releasing lock...
[2025-04-09 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:20:16] Production.INFO: call_cost start
[2025-04-09 12:20:16] Production.INFO: call_cost end
[2025-04-09 12:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:20:17] Production.INFO: ==389== Releasing lock...
[2025-04-09 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:20:20] Production.INFO: count ==6481
[2025-04-09 12:20:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:20:06 - End Time 2025-04-09 12:20:06
[2025-04-09 12:20:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869501', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869501', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869501', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869501', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:20:23] Production.INFO: ProcessCDR(1,14869501,1,1,2)
[2025-04-09 12:20:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869501', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869501', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:20:28] Production.INFO: ==398== Releasing lock...
[2025-04-09 12:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:20:28] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:21:02] Production.INFO: ==455== Lock acquired, processing the job...
[2025-04-09 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:21:02] Production.INFO: neon service started
[2025-04-09 17:21:02] Production.INFO: neon service started
[2025-04-09 17:21:02] Production.INFO: ==455== Releasing lock...
[2025-04-09 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:21:02] Production.INFO: ==457== Lock acquired, processing the job...
[2025-04-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:21:02] Production.INFO: ==459== Lock acquired, processing the job...
[2025-04-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:21:02] Production.INFO: ==459== Releasing lock...
[2025-04-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:21:03] Production.INFO: ==457== Releasing lock...
[2025-04-09 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:21:04] Production.INFO: ==473== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:21:04] Production.INFO: ==470== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:21:04] Production.INFO: ==462== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:21:04] Production.INFO: count ==12
[2025-04-09 12:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:21:04] Production.INFO: count ==23
[2025-04-09 12:21:04] Production.INFO: ==464== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869502') start
[2025-04-09 12:21:04] Production.INFO: ==466== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:21:04] Production.INFO: ==468== Lock acquired, processing the job...
[2025-04-09 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869502') end
[2025-04-09 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:21:04] Production.INFO: 1
[2025-04-09 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:21:04] Production.INFO: Account Balance Start.
[2025-04-09 12:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:21:04] Production.INFO: 117
[2025-04-09 12:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:21:04] Production.INFO: Total Charge 0
[2025-04-09 12:21:04] Production.INFO: CreateAllLog End
[2025-04-09 12:21:04] Production.INFO: ==473== Releasing lock...
[2025-04-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:21:04] Production.ERROR: done
[2025-04-09 12:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:21:04] Production.ERROR: done
[2025-04-09 12:21:04] Production.INFO: ==464== Releasing lock...
[2025-04-09 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:21:04] Production.INFO: Account Balance End.
[2025-04-09 12:21:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:21:05] Production.INFO: ==468== Releasing lock...
[2025-04-09 12:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:21:05
[end_date_ymd] => 2025-04-09 12:21:05
[RateCDR] => 1
)
[2025-04-09 12:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:21:05' and `end` < '2025-04-09 12:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:21:12] Production.ERROR: CronJobId end10
[2025-04-09 12:21:12] Production.INFO: ==466== Releasing lock...
[2025-04-09 12:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:21:15] Production.INFO: call_cost start
[2025-04-09 12:21:15] Production.INFO: call_cost end
[2025-04-09 12:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:21:16] Production.INFO: ==462== Releasing lock...
[2025-04-09 12:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:21:19] Production.INFO: count ==6515
[2025-04-09 12:21:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:21:05 - End Time 2025-04-09 12:21:05
[2025-04-09 12:21:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869506', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869506', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869506', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869506', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:21:23] Production.INFO: ProcessCDR(1,14869506,1,1,2)
[2025-04-09 12:21:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:21:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869506', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869506', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:21:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:21:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:21:28] Production.INFO: ==470== Releasing lock...
[2025-04-09 12:21:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:21:28] Production.INFO: 76.75 MB #Memory Used#
[2025-04-09 17:22:01] Production.INFO: ==530== Lock acquired, processing the job...
[2025-04-09 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:22:01] Production.INFO: neon service started
[2025-04-09 17:22:01] Production.INFO: neon service started
[2025-04-09 17:22:01] Production.INFO: ==530== Releasing lock...
[2025-04-09 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:22:02] Production.INFO: ==534== Lock acquired, processing the job...
[2025-04-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:22:02] Production.INFO: ==534== Releasing lock...
[2025-04-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:22:02] Production.INFO: ==532== Lock acquired, processing the job...
[2025-04-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:22:02] Production.INFO: ==532== Releasing lock...
[2025-04-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:22:03] Production.INFO: ==537== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:22:03] Production.INFO: ==547== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:22:03] Production.INFO: ==539== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:22:03] Production.INFO: count ==12
[2025-04-09 12:22:03] Production.INFO: ==541== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:22:03] Production.INFO: count ==23
[2025-04-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869508') start
[2025-04-09 12:22:03] Production.INFO: ==543== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:22:03] Production.INFO: ==545== Lock acquired, processing the job...
[2025-04-09 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:22:03] Production.INFO: Account Balance Start.
[2025-04-09 12:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:22:03] Production.INFO: 117
[2025-04-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869508') end
[2025-04-09 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:22:03] Production.INFO: 1
[2025-04-09 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:22:04] Production.INFO: ==547== Releasing lock...
[2025-04-09 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:22:04] Production.INFO: Total Charge 0
[2025-04-09 12:22:04] Production.INFO: CreateAllLog End
[2025-04-09 12:22:04] Production.INFO: ==539== Releasing lock...
[2025-04-09 12:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:22:04] Production.ERROR: done
[2025-04-09 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:22:04] Production.INFO: Account Balance End.
[2025-04-09 12:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:22:04] Production.INFO: ==543== Releasing lock...
[2025-04-09 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:22:04] Production.ERROR: done
[2025-04-09 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:22:05
[end_date_ymd] => 2025-04-09 12:22:05
[RateCDR] => 1
)
[2025-04-09 12:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:22:05' and `end` < '2025-04-09 12:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:22:12] Production.ERROR: CronJobId end10
[2025-04-09 12:22:12] Production.INFO: ==541== Releasing lock...
[2025-04-09 12:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:22:15] Production.INFO: call_cost start
[2025-04-09 12:22:15] Production.INFO: call_cost end
[2025-04-09 12:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:22:16] Production.INFO: ==537== Releasing lock...
[2025-04-09 12:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:22:19] Production.INFO: count ==6517
[2025-04-09 12:22:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:22:05 - End Time 2025-04-09 12:22:05
[2025-04-09 12:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869511', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869511', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869511', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869511', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:22:22] Production.INFO: ProcessCDR(1,14869511,1,1,2)
[2025-04-09 12:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869511', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869511', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:22:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:22:28] Production.INFO: ==545== Releasing lock...
[2025-04-09 12:22:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:22:28] Production.INFO: 76.75 MB #Memory Used#
[2025-04-09 17:23:02] Production.INFO: ==604== Lock acquired, processing the job...
[2025-04-09 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:23:02] Production.INFO: neon service started
[2025-04-09 17:23:02] Production.INFO: neon service started
[2025-04-09 17:23:02] Production.INFO: ==604== Releasing lock...
[2025-04-09 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:23:02] Production.INFO: ==610== Lock acquired, processing the job...
[2025-04-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:23:02] Production.INFO: ==610== Releasing lock...
[2025-04-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:23:02] Production.INFO: ==608== Lock acquired, processing the job...
[2025-04-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:23:02] Production.INFO: ==608== Releasing lock...
[2025-04-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:23:03] Production.INFO: ==615== Lock acquired, processing the job...
[2025-04-09 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:23:03] Production.INFO: ==621== Lock acquired, processing the job...
[2025-04-09 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:23:03] Production.INFO: ==623== Lock acquired, processing the job...
[2025-04-09 12:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:23:03] Production.INFO: Account Balance Start.
[2025-04-09 12:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:23:03] Production.INFO: 117
[2025-04-09 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:23:03] Production.INFO: Total Charge 0
[2025-04-09 12:23:03] Production.INFO: CreateAllLog End
[2025-04-09 12:23:03] Production.INFO: ==625== Lock acquired, processing the job...
[2025-04-09 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:23:04] Production.INFO: ==617== Lock acquired, processing the job...
[2025-04-09 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:23:04] Production.INFO: ==619== Lock acquired, processing the job...
[2025-04-09 12:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:23:04] Production.INFO: count ==12
[2025-04-09 12:23:04] Production.INFO: Account Balance End.
[2025-04-09 12:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:23:04] Production.INFO: count ==23
[2025-04-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869514') start
[2025-04-09 12:23:04] Production.ERROR: done
[2025-04-09 12:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:23:04] Production.INFO: ==621== Releasing lock...
[2025-04-09 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869514') end
[2025-04-09 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:23:04] Production.INFO: 1
[2025-04-09 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:23:04] Production.INFO: ==625== Releasing lock...
[2025-04-09 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:23:04] Production.INFO: ==617== Releasing lock...
[2025-04-09 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:23:04] Production.ERROR: done
[2025-04-09 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:23:05
[end_date_ymd] => 2025-04-09 12:23:05
[RateCDR] => 1
)
[2025-04-09 12:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:23:05' and `end` < '2025-04-09 12:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:23:14] Production.ERROR: CronJobId end10
[2025-04-09 12:23:14] Production.INFO: ==619== Releasing lock...
[2025-04-09 12:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:23:14] Production.INFO: call_cost start
[2025-04-09 12:23:14] Production.INFO: call_cost end
[2025-04-09 12:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:23:15] Production.INFO: ==615== Releasing lock...
[2025-04-09 12:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:23:19] Production.INFO: count ==6511
[2025-04-09 12:23:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:23:05 - End Time 2025-04-09 12:23:05
[2025-04-09 12:23:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869516', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869516', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869516', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869516', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:23:23] Production.INFO: ProcessCDR(1,14869516,1,1,2)
[2025-04-09 12:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869516', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869516', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:23:28] Production.INFO: ==623== Releasing lock...
[2025-04-09 12:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:23:28] Production.INFO: 76.75 MB #Memory Used#
[2025-04-09 17:24:01] Production.INFO: ==706== Lock acquired, processing the job...
[2025-04-09 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:24:01] Production.INFO: neon service started
[2025-04-09 17:24:01] Production.INFO: neon service started
[2025-04-09 17:24:01] Production.INFO: ==706== Releasing lock...
[2025-04-09 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:24:01] Production.INFO: ==709== Lock acquired, processing the job...
[2025-04-09 12:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:24:02] Production.INFO: ==711== Lock acquired, processing the job...
[2025-04-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:24:02] Production.INFO: ==711== Releasing lock...
[2025-04-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:24:02] Production.INFO: ==709== Releasing lock...
[2025-04-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:24:03] Production.INFO: ==718== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:24:03] Production.INFO: ==722== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:24:03] Production.INFO: ==724== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:24:03] Production.INFO: ==714== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 12:24:03] Production.INFO: ==716== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:24:03] Production.INFO: count ==12
[2025-04-09 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-04-09 12:24:03] Production.INFO: count ==23
[2025-04-09 12:24:03] Production.INFO: ==720== Lock acquired, processing the job...
[2025-04-09 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869517') start
[2025-04-09 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869517') end
[2025-04-09 12:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:24:03] Production.INFO: 1
[2025-04-09 12:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:24:03] Production.ERROR: done
[2025-04-09 12:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:24:03] Production.INFO: ==724== Releasing lock...
[2025-04-09 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:24:03] Production.INFO: Account Balance Start.
[2025-04-09 12:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:24:03] Production.INFO: 117
[2025-04-09 12:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:24:03] Production.INFO: ==716== Releasing lock...
[2025-04-09 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:24:03] Production.ERROR: done
[2025-04-09 12:24:03] Production.INFO: Total Charge 0
[2025-04-09 12:24:04] Production.INFO: CreateAllLog End
[2025-04-09 12:24:04] Production.INFO: Account Balance End.
[2025-04-09 12:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:24:04] Production.INFO: ==720== Releasing lock...
[2025-04-09 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:24:04
[end_date_ymd] => 2025-04-09 12:24:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:24:04' and `end` < '2025-04-09 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-04-09 12:24:12] Production.ERROR: CronJobId end10
[2025-04-09 12:24:12] Production.INFO: ==718== Releasing lock...
[2025-04-09 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:24:14] Production.INFO: call_cost start
[2025-04-09 12:24:14] Production.INFO: call_cost end
[2025-04-09 12:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:24:16] Production.INFO: ==714== Releasing lock...
[2025-04-09 12:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:24:18] Production.INFO: count ==6510
[2025-04-09 12:24:21] Production.ERROR: pbx CDR StartTime 2025-04-09 09:24:04 - End Time 2025-04-09 12:24:04
[2025-04-09 12:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869521', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869521', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869521', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869521', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:24:22] Production.INFO: ProcessCDR(1,14869521,1,1,2)
[2025-04-09 12:24:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:24:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869521', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869521', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:24:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:24:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:24:27] Production.INFO: ==722== Releasing lock...
[2025-04-09 12:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:24:27] Production.INFO: 76.75 MB #Memory Used#
[2025-04-09 17:25:01] Production.INFO: ==781== Lock acquired, processing the job...
[2025-04-09 17:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:25:02] Production.INFO: neon service started
[2025-04-09 17:25:02] Production.INFO: neon service started
[2025-04-09 17:25:02] Production.INFO: ==781== Releasing lock...
[2025-04-09 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:25:02] Production.INFO: ==785== Lock acquired, processing the job...
[2025-04-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:25:02] Production.INFO: ==785== Releasing lock...
[2025-04-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:25:02] Production.INFO: ==783== Lock acquired, processing the job...
[2025-04-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:25:02] Production.INFO: ==783== Releasing lock...
[2025-04-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:25:03] Production.INFO: ==788== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:25:03] Production.INFO: ==794== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:25:03] Production.INFO: ==796== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:25:03] Production.INFO: Account Balance Start.
[2025-04-09 12:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:25:03] Production.INFO: 117
[2025-04-09 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:25:03] Production.INFO: Total Charge 0
[2025-04-09 12:25:03] Production.INFO: CreateAllLog End
[2025-04-09 12:25:03] Production.INFO: ==790== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:25:03] Production.INFO: ==792== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:25:03] Production.INFO: ==798== Lock acquired, processing the job...
[2025-04-09 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:25:04] Production.ERROR: done
[2025-04-09 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:25:04] Production.INFO: Account Balance End.
[2025-04-09 12:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:25:04] Production.INFO: ==794== Releasing lock...
[2025-04-09 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:25:04] Production.INFO: count ==12
[2025-04-09 12:25:04] Production.INFO: ==790== Releasing lock...
[2025-04-09 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:25:04] Production.ERROR: done
[2025-04-09 12:25:04] Production.INFO: count ==23
[2025-04-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869525') start
[2025-04-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869525') end
[2025-04-09 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:25:04] Production.INFO: 1
[2025-04-09 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:25:04] Production.INFO: ==798== Releasing lock...
[2025-04-09 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:25:05
[end_date_ymd] => 2025-04-09 12:25:05
[RateCDR] => 1
)
[2025-04-09 12:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:25:05' and `end` < '2025-04-09 12:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:25:12] Production.ERROR: CronJobId end10
[2025-04-09 12:25:12] Production.INFO: ==792== Releasing lock...
[2025-04-09 12:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:25:14] Production.INFO: call_cost start
[2025-04-09 12:25:14] Production.INFO: call_cost end
[2025-04-09 12:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:25:15] Production.INFO: ==788== Releasing lock...
[2025-04-09 12:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:25:19] Production.INFO: count ==6511
[2025-04-09 12:25:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:25:05 - End Time 2025-04-09 12:25:05
[2025-04-09 12:25:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869526', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869526', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869526', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869526', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:25:23] Production.INFO: ProcessCDR(1,14869526,1,1,2)
[2025-04-09 12:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869526', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869526', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:25:28] Production.INFO: ==796== Releasing lock...
[2025-04-09 12:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:25:28] Production.INFO: 76.75 MB #Memory Used#
[2025-04-09 17:26:01] Production.INFO: ==853== Lock acquired, processing the job...
[2025-04-09 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:26:01] Production.INFO: neon service started
[2025-04-09 17:26:01] Production.INFO: neon service started
[2025-04-09 17:26:01] Production.INFO: ==853== Releasing lock...
[2025-04-09 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:26:01] Production.INFO: ==855== Lock acquired, processing the job...
[2025-04-09 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:26:02] Production.INFO: ==855== Releasing lock...
[2025-04-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:26:02] Production.INFO: ==857== Lock acquired, processing the job...
[2025-04-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:26:02] Production.INFO: ==857== Releasing lock...
[2025-04-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:26:03] Production.INFO: ==868== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:26:03] Production.INFO: ==870== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:26:03] Production.INFO: count ==12
[2025-04-09 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:26:03] Production.INFO: count ==23
[2025-04-09 12:26:03] Production.INFO: ==860== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869527') start
[2025-04-09 12:26:03] Production.INFO: ==862== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:26:03] Production.INFO: ==864== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869527') end
[2025-04-09 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:26:03] Production.INFO: 1
[2025-04-09 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:26:03] Production.ERROR: done
[2025-04-09 12:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:26:03] Production.INFO: ==866== Lock acquired, processing the job...
[2025-04-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:26:03] Production.INFO: Account Balance Start.
[2025-04-09 12:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:26:03] Production.INFO: 117
[2025-04-09 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:26:03] Production.INFO: ==870== Releasing lock...
[2025-04-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:26:03] Production.ERROR: done
[2025-04-09 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:26:03] Production.INFO: Total Charge 0
[2025-04-09 12:26:03] Production.INFO: CreateAllLog End
[2025-04-09 12:26:03] Production.INFO: Account Balance End.
[2025-04-09 12:26:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:26:03] Production.INFO: ==866== Releasing lock...
[2025-04-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:26:03] Production.INFO: ==862== Releasing lock...
[2025-04-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:26:04
[end_date_ymd] => 2025-04-09 12:26:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:26:04' and `end` < '2025-04-09 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-04-09 12:26:13] Production.ERROR: CronJobId end10
[2025-04-09 12:26:13] Production.INFO: ==864== Releasing lock...
[2025-04-09 12:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:26:14] Production.INFO: call_cost start
[2025-04-09 12:26:14] Production.INFO: call_cost end
[2025-04-09 12:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:26:15] Production.INFO: ==860== Releasing lock...
[2025-04-09 12:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:26:18] Production.INFO: count ==6499
[2025-04-09 12:26:21] Production.ERROR: pbx CDR StartTime 2025-04-09 09:26:04 - End Time 2025-04-09 12:26:04
[2025-04-09 12:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869531', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869531', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869531', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869531', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:26:21] Production.INFO: ProcessCDR(1,14869531,1,1,2)
[2025-04-09 12:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869531', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869531', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:26:25] Production.INFO: ==868== Releasing lock...
[2025-04-09 12:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:26:25] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:27:01] Production.INFO: ==924== Lock acquired, processing the job...
[2025-04-09 17:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:27:01] Production.INFO: neon service started
[2025-04-09 17:27:01] Production.INFO: neon service started
[2025-04-09 17:27:01] Production.INFO: ==924== Releasing lock...
[2025-04-09 17:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:27:02] Production.INFO: ==926== Lock acquired, processing the job...
[2025-04-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:27:02] Production.INFO: ==928== Lock acquired, processing the job...
[2025-04-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:27:02] Production.INFO: ==928== Releasing lock...
[2025-04-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:27:02] Production.INFO: ==926== Releasing lock...
[2025-04-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:27:03] Production.INFO: ==935== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:27:03] Production.INFO: ==941== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:27:03] Production.INFO: ==931== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:27:03] Production.INFO: ==933== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:27:03] Production.INFO: ==937== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:27:03] Production.INFO: ==939== Lock acquired, processing the job...
[2025-04-09 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:27:03] Production.INFO: count ==12
[2025-04-09 12:27:03] Production.INFO: Account Balance Start.
[2025-04-09 12:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:27:04] Production.INFO: 117
[2025-04-09 12:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:27:04] Production.INFO: count ==23
[2025-04-09 12:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869532') start
[2025-04-09 12:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:27:04] Production.INFO: Total Charge 0
[2025-04-09 12:27:04] Production.INFO: CreateAllLog End
[2025-04-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869532') end
[2025-04-09 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:27:04] Production.INFO: 1
[2025-04-09 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:27:04] Production.INFO: ==933== Releasing lock...
[2025-04-09 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:27:04] Production.INFO: ==941== Releasing lock...
[2025-04-09 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:27:04] Production.ERROR: done
[2025-04-09 12:27:04] Production.INFO: Account Balance End.
[2025-04-09 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:27:04] Production.INFO: ==937== Releasing lock...
[2025-04-09 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:27:04] Production.ERROR: done
[2025-04-09 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:27:05
[end_date_ymd] => 2025-04-09 12:27:05
[RateCDR] => 1
)
[2025-04-09 12:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:27:05' and `end` < '2025-04-09 12:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:27:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-04-09 12:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:27:12] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:27:12] Production.ERROR: CronJobId end10
[2025-04-09 12:27:12] Production.INFO: ==935== Releasing lock...
[2025-04-09 12:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:27:12] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:27:12] Production.INFO: call_cost start
[2025-04-09 12:27:12] Production.INFO: call_cost end
[2025-04-09 12:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:27:13] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:27:13] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:27:13] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:27:13] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:27:13] Production.INFO: ==931== Releasing lock...
[2025-04-09 12:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:27:19] Production.INFO: count ==6493
[2025-04-09 12:27:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:27:05 - End Time 2025-04-09 12:27:05
[2025-04-09 12:27:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869536', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869536', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869536', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869536', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:27:22] Production.INFO: ProcessCDR(1,14869536,1,1,2)
[2025-04-09 12:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869536', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869536', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:27:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:27:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:27:27] Production.INFO: ==939== Releasing lock...
[2025-04-09 12:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:27:27] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:28:02] Production.INFO: ==997== Lock acquired, processing the job...
[2025-04-09 17:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:28:02] Production.INFO: neon service started
[2025-04-09 17:28:02] Production.INFO: neon service started
[2025-04-09 17:28:02] Production.INFO: ==997== Releasing lock...
[2025-04-09 17:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:28:02] Production.INFO: ==999== Lock acquired, processing the job...
[2025-04-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:28:02] Production.INFO: ==1001== Lock acquired, processing the job...
[2025-04-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:28:03] Production.INFO: ==1001== Releasing lock...
[2025-04-09 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:28:03] Production.INFO: ==999== Releasing lock...
[2025-04-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:28:04] Production.INFO: ==1004== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:28:04] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:28:04] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:28:04] Production.INFO: Account Balance Start.
[2025-04-09 12:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:28:04] Production.INFO: 117
[2025-04-09 12:28:04] Production.INFO: ==1006== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:28:04] Production.INFO: ==1008== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:28:04] Production.INFO: count ==12
[2025-04-09 12:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:28:04] Production.INFO: count ==23
[2025-04-09 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869539') start
[2025-04-09 12:28:04] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-04-09 12:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869539') end
[2025-04-09 12:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:28:04] Production.INFO: 1
[2025-04-09 12:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:28:04] Production.INFO: ==1014== Releasing lock...
[2025-04-09 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:28:04] Production.INFO: Total Charge 0
[2025-04-09 12:28:04] Production.INFO: ==1006== Releasing lock...
[2025-04-09 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:28:04] Production.INFO: CreateAllLog End
[2025-04-09 12:28:05] Production.INFO: Account Balance End.
[2025-04-09 12:28:05] Production.ERROR: done
[2025-04-09 12:28:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:28:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:28:05] Production.INFO: ==1010== Releasing lock...
[2025-04-09 12:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:28:05] Production.ERROR: done
[2025-04-09 12:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:28:06
[end_date_ymd] => 2025-04-09 12:28:06
[RateCDR] => 1
)
[2025-04-09 12:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:28:06' and `end` < '2025-04-09 12:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:28:13] Production.ERROR: CronJobId end10
[2025-04-09 12:28:13] Production.INFO: ==1008== Releasing lock...
[2025-04-09 12:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:28:15] Production.INFO: call_cost start
[2025-04-09 12:28:15] Production.INFO: call_cost end
[2025-04-09 12:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:28:15] Production.INFO: ==1004== Releasing lock...
[2025-04-09 12:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:28:19] Production.INFO: count ==6481
[2025-04-09 12:28:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:28:06 - End Time 2025-04-09 12:28:06
[2025-04-09 12:28:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869541', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869541', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869541', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869541', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:28:24] Production.INFO: ProcessCDR(1,14869541,1,1,2)
[2025-04-09 12:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:28:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:28:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:28:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869541', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869541', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:28:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:28:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:28:29] Production.INFO: ==1012== Releasing lock...
[2025-04-09 12:28:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:28:29] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:29:01] Production.INFO: ==1069== Lock acquired, processing the job...
[2025-04-09 17:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:29:01] Production.INFO: neon service started
[2025-04-09 17:29:01] Production.INFO: neon service started
[2025-04-09 17:29:01] Production.INFO: ==1069== Releasing lock...
[2025-04-09 17:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:29:02] Production.INFO: ==1071== Lock acquired, processing the job...
[2025-04-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:29:02] Production.INFO: ==1071== Releasing lock...
[2025-04-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:29:02] Production.INFO: ==1073== Lock acquired, processing the job...
[2025-04-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:29:02] Production.INFO: ==1073== Releasing lock...
[2025-04-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:29:03] Production.INFO: ==1075== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:29:03] Production.INFO: ==1077== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:29:03] Production.INFO: ==1081== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:29:03] Production.INFO: Account Balance Start.
[2025-04-09 12:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:29:03] Production.INFO: 117
[2025-04-09 12:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:29:03] Production.INFO: ==1077== Releasing lock...
[2025-04-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:29:03] Production.INFO: Total Charge 0
[2025-04-09 12:29:03] Production.INFO: CreateAllLog End
[2025-04-09 12:29:03] Production.INFO: Account Balance End.
[2025-04-09 12:29:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:29:03] Production.INFO: ==1081== Releasing lock...
[2025-04-09 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:29:03] Production.INFO: ==1079== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:29:03] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:29:03] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-04-09 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:29:03] Production.INFO: count ==12
[2025-04-09 12:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:29:04] Production.INFO: count ==23
[2025-04-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869545') start
[2025-04-09 12:29:04] Production.ERROR: done
[2025-04-09 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869545') end
[2025-04-09 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:29:04] Production.INFO: 1
[2025-04-09 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:29:04] Production.INFO: ==1085== Releasing lock...
[2025-04-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:29:04] Production.ERROR: done
[2025-04-09 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:29:05
[end_date_ymd] => 2025-04-09 12:29:05
[RateCDR] => 1
)
[2025-04-09 12:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:29:05' and `end` < '2025-04-09 12:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:29:11] Production.ERROR: CronJobId end10
[2025-04-09 12:29:11] Production.INFO: ==1079== Releasing lock...
[2025-04-09 12:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:29:14] Production.INFO: call_cost start
[2025-04-09 12:29:14] Production.INFO: call_cost end
[2025-04-09 12:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:29:15] Production.INFO: ==1075== Releasing lock...
[2025-04-09 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:29:19] Production.INFO: count ==6479
[2025-04-09 12:29:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:29:05 - End Time 2025-04-09 12:29:05
[2025-04-09 12:29:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869546', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869546', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869546', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869546', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:29:22] Production.INFO: ProcessCDR(1,14869546,1,1,2)
[2025-04-09 12:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869546', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869546', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:29:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:29:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:29:27] Production.INFO: ==1083== Releasing lock...
[2025-04-09 12:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:29:27] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:30:02] Production.INFO: ==1144== Lock acquired, processing the job...
[2025-04-09 17:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:30:02] Production.INFO: neon service started
[2025-04-09 17:30:02] Production.INFO: neon service started
[2025-04-09 17:30:02] Production.INFO: ==1144== Releasing lock...
[2025-04-09 17:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:30:02] Production.INFO: ==1146== Lock acquired, processing the job...
[2025-04-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:30:02] Production.INFO: ==1148== Lock acquired, processing the job...
[2025-04-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:30:02] Production.INFO: ==1148== Releasing lock...
[2025-04-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:30:02] Production.INFO: ==1146== Releasing lock...
[2025-04-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:30:03] Production.INFO: ==1157== Lock acquired, processing the job...
[2025-04-09 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:30:04] Production.INFO: ==1161== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:30:04] Production.INFO: ==1163== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:30:04] Production.INFO: ==1151== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:30:04] Production.ERROR: CronJob PID - 1157
[2025-04-09 12:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 12:30:04] Production.ERROR: CronJob ID - 10
[2025-04-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:30:00
[2025-04-09 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:30:04] Production.ERROR: CronJob PID - 1161
[2025-04-09 12:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 12:30:04] Production.ERROR: CronJob ID - 16
[2025-04-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:30:00
[2025-04-09 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:30:04] Production.ERROR: CronJob PID - 1163
[2025-04-09 12:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 12:30:04] Production.ERROR: CronJob ID - 17
[2025-04-09 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:30:00
[2025-04-09 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:30:04] Production.INFO: ==1153== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:30:04] Production.INFO: ==1155== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:30:04] Production.INFO: ==1159== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:30:04] Production.INFO: ==1151== Releasing lock...
[2025-04-09 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:30:04] Production.INFO: ==1167== Lock acquired, processing the job...
[2025-04-09 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:30:04] Production.ERROR: done
[2025-04-09 12:30:04] Production.ERROR: done
[2025-04-09 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:30:04] Production.INFO: Account Balance Start.
[2025-04-09 12:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869551', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:30:04] Production.INFO: 117
[2025-04-09 12:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:30:04] Production.INFO: count ==12
[2025-04-09 12:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:30:04] Production.INFO: count ==23
[2025-04-09 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869549') start
[2025-04-09 12:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:30:04] Production.ERROR: done
[2025-04-09 12:30:04] Production.INFO: ==1155== Releasing lock...
[2025-04-09 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:30:05] Production.INFO: Total Charge 0
[2025-04-09 12:30:05] Production.INFO: CreateAllLog End
[2025-04-09 12:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869549') end
[2025-04-09 12:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:30:05] Production.INFO: 1
[2025-04-09 12:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:30:05] Production.INFO: ==1167== Releasing lock...
[2025-04-09 12:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:30:05] Production.INFO: Account Balance End.
[2025-04-09 12:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:30:05] Production.INFO: ==1159== Releasing lock...
[2025-04-09 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:30:06
[end_date_ymd] => 2025-04-09 12:30:06
[RateCDR] => 1
)
[2025-04-09 12:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:30:06' and `end` < '2025-04-09 12:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869551', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:30:09] Production.INFO: ProcessCDR(1,14869551,1,1,2)
[2025-04-09 12:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869551,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:30:09] Production.INFO: ==1163== Releasing lock...
[2025-04-09 12:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:30:14] Production.ERROR: CronJobId end10
[2025-04-09 12:30:14] Production.INFO: ==1157== Releasing lock...
[2025-04-09 12:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:30:17] Production.INFO: call_cost start
[2025-04-09 12:30:17] Production.INFO: call_cost end
[2025-04-09 12:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:30:18] Production.INFO: ==1153== Releasing lock...
[2025-04-09 12:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:30:20] Production.INFO: count ==6474
[2025-04-09 12:30:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:30:06 - End Time 2025-04-09 12:30:06
[2025-04-09 12:30:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869552', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869552', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869552', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869552', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:30:23] Production.INFO: ProcessCDR(1,14869552,1,1,2)
[2025-04-09 12:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869552', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869552', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:30:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:30:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:30:29] Production.INFO: ==1161== Releasing lock...
[2025-04-09 12:30:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:30:29] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 17:31:01] Production.INFO: ==1227== Lock acquired, processing the job...
[2025-04-09 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:31:01] Production.INFO: neon service started
[2025-04-09 17:31:01] Production.INFO: neon service started
[2025-04-09 17:31:01] Production.INFO: ==1227== Releasing lock...
[2025-04-09 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:31:01] Production.INFO: ==1229== Lock acquired, processing the job...
[2025-04-09 12:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:31:02] Production.INFO: ==1229== Releasing lock...
[2025-04-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:31:02] Production.INFO: ==1231== Lock acquired, processing the job...
[2025-04-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:31:02] Production.INFO: ==1231== Releasing lock...
[2025-04-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:31:03] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:31:03] Production.INFO: ==1233== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:31:03] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:31:03] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:31:03] Production.INFO: Account Balance Start.
[2025-04-09 12:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:31:03] Production.INFO: ==1246== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:31:03] Production.INFO: 117
[2025-04-09 12:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:31:03] Production.INFO: ==1248== Lock acquired, processing the job...
[2025-04-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:31:03] Production.INFO: Total Charge 0
[2025-04-09 12:31:03] Production.INFO: CreateAllLog End
[2025-04-09 12:31:03] Production.INFO: ==1235== Releasing lock...
[2025-04-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:31:03] Production.INFO: count ==12
[2025-04-09 12:31:03] Production.ERROR: done
[2025-04-09 12:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:31:03] Production.INFO: count ==23
[2025-04-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869556') start
[2025-04-09 12:31:03] Production.ERROR: done
[2025-04-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869556') end
[2025-04-09 12:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:31:03] Production.INFO: 1
[2025-04-09 12:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:31:04] Production.INFO: Account Balance End.
[2025-04-09 12:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:31:04] Production.INFO: ==1243== Releasing lock...
[2025-04-09 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:31:04] Production.INFO: ==1248== Releasing lock...
[2025-04-09 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:31:04
[end_date_ymd] => 2025-04-09 12:31:04
[RateCDR] => 1
)
[2025-04-09 12: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-04-09 09:31:04' and `end` < '2025-04-09 12: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-04-09 12:31:12] Production.ERROR: CronJobId end10
[2025-04-09 12:31:12] Production.INFO: ==1239== Releasing lock...
[2025-04-09 12:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:31:15] Production.INFO: call_cost start
[2025-04-09 12:31:15] Production.INFO: call_cost end
[2025-04-09 12:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:31:16] Production.INFO: ==1233== Releasing lock...
[2025-04-09 12:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:31:18] Production.INFO: count ==7058
[2025-04-09 12:31:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:31:04 - End Time 2025-04-09 12:31:04
[2025-04-09 12:31:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869557', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869557', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869557', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869557', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:31:22] Production.INFO: ProcessCDR(1,14869557,1,1,2)
[2025-04-09 12:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:31:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869557', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869557', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:31:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:31:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:31:28] Production.INFO: ==1246== Releasing lock...
[2025-04-09 12:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:31:28] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 17:32:02] Production.INFO: ==1308== Lock acquired, processing the job...
[2025-04-09 17:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:32:02] Production.INFO: neon service started
[2025-04-09 17:32:02] Production.INFO: neon service started
[2025-04-09 17:32:02] Production.INFO: ==1308== Releasing lock...
[2025-04-09 17:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:32:02] Production.INFO: ==1310== Lock acquired, processing the job...
[2025-04-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:32:02] Production.INFO: ==1310== Releasing lock...
[2025-04-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:32:02] Production.INFO: ==1313== Lock acquired, processing the job...
[2025-04-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:32:02] Production.INFO: ==1313== Releasing lock...
[2025-04-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:32:03] Production.INFO: ==1315== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:32:03] Production.INFO: ==1317== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:32:03] Production.INFO: ==1321== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:32:03] Production.INFO: ==1319== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:32:03] Production.INFO: ==1325== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:32:03] Production.INFO: ==1323== Lock acquired, processing the job...
[2025-04-09 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:32:03] Production.INFO: Account Balance Start.
[2025-04-09 12:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:32:03] Production.INFO: 117
[2025-04-09 12:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:32:03] Production.INFO: count ==12
[2025-04-09 12:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:32:04] Production.INFO: count ==23
[2025-04-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869560') start
[2025-04-09 12:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:32:04] Production.INFO: Total Charge 0
[2025-04-09 12:32:04] Production.INFO: CreateAllLog End
[2025-04-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869560') end
[2025-04-09 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:32:04] Production.INFO: 1
[2025-04-09 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:32:04] Production.INFO: ==1325== Releasing lock...
[2025-04-09 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:32:04] Production.INFO: ==1317== Releasing lock...
[2025-04-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:32:04] Production.ERROR: done
[2025-04-09 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:32:04] Production.INFO: Account Balance End.
[2025-04-09 12:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:32:04] Production.INFO: ==1321== Releasing lock...
[2025-04-09 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:32:04] Production.ERROR: done
[2025-04-09 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:32:05
[end_date_ymd] => 2025-04-09 12:32:05
[RateCDR] => 1
)
[2025-04-09 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:32:05' and `end` < '2025-04-09 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:32:11] Production.ERROR: CronJobId end10
[2025-04-09 12:32:11] Production.INFO: ==1319== Releasing lock...
[2025-04-09 12:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:32:15] Production.INFO: call_cost start
[2025-04-09 12:32:15] Production.INFO: call_cost end
[2025-04-09 12:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:32:15] Production.INFO: ==1315== Releasing lock...
[2025-04-09 12:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:32:19] Production.INFO: count ==7044
[2025-04-09 12:32:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:32:05 - End Time 2025-04-09 12:32:05
[2025-04-09 12:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869562', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869562', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869562', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869562', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:32:22] Production.INFO: ProcessCDR(1,14869562,1,1,2)
[2025-04-09 12:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869562', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869562', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:32:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:32:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:32:28] Production.INFO: ==1323== Releasing lock...
[2025-04-09 12:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:32:28] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 17:33:01] Production.INFO: ==1378== Lock acquired, processing the job...
[2025-04-09 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:33:01] Production.INFO: neon service started
[2025-04-09 17:33:01] Production.INFO: neon service started
[2025-04-09 17:33:01] Production.INFO: ==1378== Releasing lock...
[2025-04-09 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:33:01] Production.INFO: ==1382== Lock acquired, processing the job...
[2025-04-09 16:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:33:01] Production.INFO: ==1382== Releasing lock...
[2025-04-09 16:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:33:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:33:02] Production.INFO: ==1380== Lock acquired, processing the job...
[2025-04-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:33:02] Production.INFO: ==1380== Releasing lock...
[2025-04-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:33:03] Production.INFO: ==1387== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:33:03] Production.INFO: ==1389== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:33:03] Production.INFO: ==1393== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:33:03] Production.INFO: ==1385== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:33:03] Production.INFO: ==1395== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:33:03] Production.INFO: ==1391== Lock acquired, processing the job...
[2025-04-09 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:33:03] Production.INFO: ==1387== Releasing lock...
[2025-04-09 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:33:03] Production.INFO: Account Balance Start.
[2025-04-09 12:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:33:03] Production.INFO: 117
[2025-04-09 12:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:33:03] Production.ERROR: done
[2025-04-09 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:33:03] Production.INFO: count ==12
[2025-04-09 12:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:33:03] Production.INFO: count ==23
[2025-04-09 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869566') start
[2025-04-09 12:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:33:03] Production.INFO: Total Charge 0
[2025-04-09 12:33:03] Production.INFO: CreateAllLog End
[2025-04-09 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869566') end
[2025-04-09 12:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:33:03] Production.INFO: 1
[2025-04-09 12:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:33:03] Production.ERROR: done
[2025-04-09 12:33:03] Production.INFO: ==1395== Releasing lock...
[2025-04-09 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:33:04] Production.INFO: Account Balance End.
[2025-04-09 12:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:33:04] Production.INFO: ==1391== Releasing lock...
[2025-04-09 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:33:05
[end_date_ymd] => 2025-04-09 12:33:05
[RateCDR] => 1
)
[2025-04-09 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:33:05' and `end` < '2025-04-09 12:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:33:12] Production.ERROR: CronJobId end10
[2025-04-09 12:33:12] Production.INFO: ==1389== Releasing lock...
[2025-04-09 12:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:33:14] Production.INFO: call_cost start
[2025-04-09 12:33:14] Production.INFO: call_cost end
[2025-04-09 12:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:33:15] Production.INFO: ==1385== Releasing lock...
[2025-04-09 12:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:33:19] Production.INFO: count ==7030
[2025-04-09 12:33:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:33:05 - End Time 2025-04-09 12:33:05
[2025-04-09 12:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869567', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869567', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869567', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869567', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:33:22] Production.INFO: ProcessCDR(1,14869567,1,1,2)
[2025-04-09 12:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869567', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869567', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:33:27] Production.INFO: ==1393== Releasing lock...
[2025-04-09 12:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:33:27] Production.INFO: 80.5 MB #Memory Used#
[2025-04-09 17:34:01] Production.INFO: ==1453== Lock acquired, processing the job...
[2025-04-09 17:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:34:01] Production.INFO: neon service started
[2025-04-09 17:34:01] Production.INFO: neon service started
[2025-04-09 17:34:01] Production.INFO: ==1453== Releasing lock...
[2025-04-09 17:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:34:02] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-04-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:34:02] Production.INFO: ==1455== Releasing lock...
[2025-04-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:34:02] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-04-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:34:02] Production.INFO: ==1457== Releasing lock...
[2025-04-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:34:03] Production.INFO: ==1466== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:34:03] Production.INFO: ==1460== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:34:03] Production.INFO: ==1462== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:34:03] Production.INFO: Account Balance Start.
[2025-04-09 12:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:34:03] Production.INFO: 117
[2025-04-09 12:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:34:03] Production.INFO: ==1470== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:34:03] Production.INFO: ==1464== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:34:03] Production.INFO: Total Charge 0
[2025-04-09 12:34:03] Production.INFO: CreateAllLog End
[2025-04-09 12: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-04-09 12:34:03] Production.INFO: ==1468== Lock acquired, processing the job...
[2025-04-09 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:34:03] Production.INFO: count ==12
[2025-04-09 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:34:04] Production.INFO: count ==23
[2025-04-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869571') start
[2025-04-09 12:34:04] Production.INFO: Account Balance End.
[2025-04-09 12:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:34:04] Production.INFO: ==1466== Releasing lock...
[2025-04-09 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:34:04] Production.INFO: ==1462== Releasing lock...
[2025-04-09 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869571') end
[2025-04-09 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:34:04] Production.INFO: 1
[2025-04-09 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:34:04] Production.INFO: ==1470== Releasing lock...
[2025-04-09 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:34:04] Production.ERROR: done
[2025-04-09 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:34:04] Production.ERROR: done
[2025-04-09 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:34:05
[end_date_ymd] => 2025-04-09 12:34:05
[RateCDR] => 1
)
[2025-04-09 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:34:05' and `end` < '2025-04-09 12:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:34:12] Production.ERROR: CronJobId end10
[2025-04-09 12:34:12] Production.INFO: ==1464== Releasing lock...
[2025-04-09 12:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:34:15] Production.INFO: call_cost start
[2025-04-09 12:34:15] Production.INFO: call_cost end
[2025-04-09 12:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:34:16] Production.INFO: ==1460== Releasing lock...
[2025-04-09 12:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:34:19] Production.INFO: count ==6968
[2025-04-09 12:34:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:34:05 - End Time 2025-04-09 12:34:05
[2025-04-09 12:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869572', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869572', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869572', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869572', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:34:23] Production.INFO: ProcessCDR(1,14869572,1,1,2)
[2025-04-09 12:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869572', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869572', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:34:27] Production.INFO: ==1468== Releasing lock...
[2025-04-09 12:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:34:27] Production.INFO: 80 MB #Memory Used#
[2025-04-09 17:35:02] Production.INFO: ==1600== Lock acquired, processing the job...
[2025-04-09 17:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:35:02] Production.INFO: neon service started
[2025-04-09 17:35:02] Production.INFO: neon service started
[2025-04-09 17:35:02] Production.INFO: ==1600== Releasing lock...
[2025-04-09 17:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:35:02] Production.INFO: ==1602== Lock acquired, processing the job...
[2025-04-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:35:02] Production.INFO: ==1605== Lock acquired, processing the job...
[2025-04-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:35:02] Production.INFO: ==1605== Releasing lock...
[2025-04-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:35:03] Production.INFO: ==1602== Releasing lock...
[2025-04-09 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:35:04] Production.INFO: ==1607== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:35:04] Production.INFO: ==1615== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:35:04] Production.INFO: ==1609== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:35:04] Production.INFO: ==1611== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:35:04] Production.INFO: ==1613== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:35:04] Production.INFO: ==1617== Lock acquired, processing the job...
[2025-04-09 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:35:04] Production.INFO: Account Balance Start.
[2025-04-09 12:35:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:35:04] Production.INFO: 117
[2025-04-09 12:35:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:35:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:35:04] Production.INFO: Total Charge 0
[2025-04-09 12:35:04] Production.INFO: CreateAllLog End
[2025-04-09 12:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:35:04] Production.ERROR: done
[2025-04-09 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:35:04] Production.INFO: count ==12
[2025-04-09 12:35:04] Production.INFO: ==1609== Releasing lock...
[2025-04-09 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:35:04] Production.INFO: count ==23
[2025-04-09 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869576') start
[2025-04-09 12:35:05] Production.ERROR: done
[2025-04-09 12:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869576') end
[2025-04-09 12:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:35:05] Production.INFO: 1
[2025-04-09 12:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:35:05] Production.INFO: ==1617== Releasing lock...
[2025-04-09 12:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:35:05] Production.INFO: Account Balance End.
[2025-04-09 12:35:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:35:05] Production.INFO: ==1613== Releasing lock...
[2025-04-09 12:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:35:06
[end_date_ymd] => 2025-04-09 12:35:06
[RateCDR] => 1
)
[2025-04-09 12:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:35:06' and `end` < '2025-04-09 12:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:35:13] Production.ERROR: CronJobId end10
[2025-04-09 12:35:13] Production.INFO: ==1611== Releasing lock...
[2025-04-09 12:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:35:15] Production.INFO: call_cost start
[2025-04-09 12:35:15] Production.INFO: call_cost end
[2025-04-09 12:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:35:16] Production.INFO: ==1607== Releasing lock...
[2025-04-09 12:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:35:20] Production.INFO: count ==6949
[2025-04-09 12:35:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:35:06 - End Time 2025-04-09 12:35:06
[2025-04-09 12:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869577', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869577', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869577', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869577', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:35:24] Production.INFO: ProcessCDR(1,14869577,1,1,2)
[2025-04-09 12:35:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:35:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:35:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:35:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:35:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869577', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:35:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869577', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:35:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:35:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:35:29] Production.INFO: ==1615== Releasing lock...
[2025-04-09 12:35:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:35:29] Production.INFO: 80 MB #Memory Used#
[2025-04-09 17:36:01] Production.INFO: ==1670== Lock acquired, processing the job...
[2025-04-09 17:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:36:01] Production.INFO: neon service started
[2025-04-09 17:36:01] Production.INFO: neon service started
[2025-04-09 17:36:01] Production.INFO: ==1670== Releasing lock...
[2025-04-09 17:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:36:02] Production.INFO: ==1674== Lock acquired, processing the job...
[2025-04-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:36:02] Production.INFO: ==1674== Releasing lock...
[2025-04-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:36:02] Production.INFO: ==1672== Lock acquired, processing the job...
[2025-04-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:36:02] Production.INFO: ==1672== Releasing lock...
[2025-04-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:36:03] Production.INFO: ==1679== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:36:03] Production.INFO: ==1681== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:36:03] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:36:03] Production.INFO: ==1677== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:36:03] Production.INFO: ==1679== Releasing lock...
[2025-04-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:36:03] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:36:03] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-04-09 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:36:03] Production.ERROR: done
[2025-04-09 12:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:36:03] Production.INFO: Account Balance Start.
[2025-04-09 12:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:36:03] Production.INFO: 117
[2025-04-09 12:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:36:03] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:36:03] Production.INFO: count ==23
[2025-04-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869581') start
[2025-04-09 12:36:04] Production.ERROR: done
[2025-04-09 12:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:36:04] Production.INFO: Total Charge 0
[2025-04-09 12:36:04] Production.INFO: CreateAllLog End
[2025-04-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869581') end
[2025-04-09 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:36:04] Production.INFO: 1
[2025-04-09 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:36:04] Production.INFO: ==1687== Releasing lock...
[2025-04-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:36:04] Production.INFO: Account Balance End.
[2025-04-09 12:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:36:04] Production.INFO: ==1683== Releasing lock...
[2025-04-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:36:05
[end_date_ymd] => 2025-04-09 12:36:05
[RateCDR] => 1
)
[2025-04-09 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:36:05' and `end` < '2025-04-09 12:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:36:12] Production.ERROR: CronJobId end10
[2025-04-09 12:36:12] Production.INFO: ==1681== Releasing lock...
[2025-04-09 12:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:36:14] Production.INFO: call_cost start
[2025-04-09 12:36:14] Production.INFO: call_cost end
[2025-04-09 12:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:36:15] Production.INFO: ==1677== Releasing lock...
[2025-04-09 12:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:36:19] Production.INFO: count ==6954
[2025-04-09 12:36:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:36:05 - End Time 2025-04-09 12:36:05
[2025-04-09 12:36:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869582', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869582', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869582', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869582', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:36:23] Production.INFO: ProcessCDR(1,14869582,1,1,2)
[2025-04-09 12:36:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:36:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:36:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869582', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869582', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:36:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:36:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:36:28] Production.INFO: ==1685== Releasing lock...
[2025-04-09 12:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:36:28] Production.INFO: 80 MB #Memory Used#
[2025-04-09 17:37:02] Production.INFO: ==1747== Lock acquired, processing the job...
[2025-04-09 17:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:37:02] Production.INFO: neon service started
[2025-04-09 17:37:02] Production.INFO: neon service started
[2025-04-09 17:37:02] Production.INFO: ==1747== Releasing lock...
[2025-04-09 17:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:37:02] Production.INFO: ==1751== Lock acquired, processing the job...
[2025-04-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:37:02] Production.INFO: ==1751== Releasing lock...
[2025-04-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:37:02] Production.INFO: ==1749== Lock acquired, processing the job...
[2025-04-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:37:02] Production.INFO: ==1749== Releasing lock...
[2025-04-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:37:03] Production.INFO: ==1758== Lock acquired, processing the job...
[2025-04-09 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:37:03] Production.INFO: ==1764== Lock acquired, processing the job...
[2025-04-09 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 12:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:37:04] Production.INFO: count ==12
[2025-04-09 12:37:04] Production.INFO: ==1754== Lock acquired, processing the job...
[2025-04-09 12:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:37:04] Production.INFO: count ==23
[2025-04-09 12:37:04] Production.INFO: ==1756== Lock acquired, processing the job...
[2025-04-09 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869583') start
[2025-04-09 12:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:37:04] Production.INFO: ==1762== Lock acquired, processing the job...
[2025-04-09 12:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:37:04] Production.INFO: ==1760== Lock acquired, processing the job...
[2025-04-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869583') end
[2025-04-09 12:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:37:04] Production.INFO: 1
[2025-04-09 12:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:37:04] Production.INFO: ==1764== Releasing lock...
[2025-04-09 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:37:04] Production.INFO: Account Balance Start.
[2025-04-09 12:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:37:04] Production.INFO: 117
[2025-04-09 12:37:04] Production.INFO: ==1756== Releasing lock...
[2025-04-09 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:37:04] Production.INFO: Total Charge 0
[2025-04-09 12:37:04] Production.INFO: CreateAllLog End
[2025-04-09 12:37:04] Production.ERROR: done
[2025-04-09 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:37:04] Production.INFO: Account Balance End.
[2025-04-09 12:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:37:04] Production.INFO: ==1760== Releasing lock...
[2025-04-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:37:04] Production.ERROR: done
[2025-04-09 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:37:05
[end_date_ymd] => 2025-04-09 12:37:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:37:05' and `end` < '2025-04-09 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-04-09 12:37:12] Production.ERROR: CronJobId end10
[2025-04-09 12:37:12] Production.INFO: ==1758== Releasing lock...
[2025-04-09 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:37:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:37:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:37:15] Production.INFO: call_cost start
[2025-04-09 12:37:15] Production.INFO: call_cost end
[2025-04-09 12:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:37:16] Production.INFO: ==1754== Releasing lock...
[2025-04-09 12:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:37:20] Production.INFO: count ==6955
[2025-04-09 12:37:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:37:05 - End Time 2025-04-09 12:37:05
[2025-04-09 12:37:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869587', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869587', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869587', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869587', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:37:23] Production.INFO: ProcessCDR(1,14869587,1,1,2)
[2025-04-09 12:37:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:37:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:37:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869587', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869587', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:37:28] Production.INFO: ==1762== Releasing lock...
[2025-04-09 12:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:37:28] Production.INFO: 80 MB #Memory Used#
[2025-04-09 17:38:01] Production.INFO: ==1819== Lock acquired, processing the job...
[2025-04-09 17:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:38:01] Production.INFO: neon service started
[2025-04-09 17:38:01] Production.INFO: neon service started
[2025-04-09 17:38:01] Production.INFO: ==1819== Releasing lock...
[2025-04-09 17:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:38:02] Production.INFO: ==1823== Lock acquired, processing the job...
[2025-04-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:38:02] Production.INFO: ==1823== Releasing lock...
[2025-04-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:38:02] Production.INFO: ==1821== Lock acquired, processing the job...
[2025-04-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:38:02] Production.INFO: ==1821== Releasing lock...
[2025-04-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:38:03] Production.INFO: ==1837== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:38:03] Production.INFO: ==1839== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:38:03] Production.INFO: ==1829== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:38:03] Production.INFO: ==1831== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:38:03] Production.INFO: ==1835== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:38:03] Production.INFO: ==1833== Lock acquired, processing the job...
[2025-04-09 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:38:03] Production.INFO: Account Balance Start.
[2025-04-09 12:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:38:03] Production.INFO: 117
[2025-04-09 12:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 12:38:04] Production.INFO: Total Charge 0
[2025-04-09 12:38:04] Production.INFO: CreateAllLog End
[2025-04-09 12:38:04] Production.INFO: count ==12
[2025-04-09 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-04-09 12:38:04] Production.ERROR: done
[2025-04-09 12:38:04] Production.INFO: count ==23
[2025-04-09 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869591') start
[2025-04-09 12:38:04] Production.INFO: ==1831== Releasing lock...
[2025-04-09 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:38:04] Production.ERROR: done
[2025-04-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869591') end
[2025-04-09 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:38:04] Production.INFO: 1
[2025-04-09 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:38:04] Production.INFO: Account Balance End.
[2025-04-09 12:38:04] Production.INFO: ==1839== Releasing lock...
[2025-04-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:38:04] Production.INFO: ==1835== Releasing lock...
[2025-04-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:38:05
[end_date_ymd] => 2025-04-09 12:38:05
[RateCDR] => 1
)
[2025-04-09 12:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:38:05' and `end` < '2025-04-09 12:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:38:12] Production.ERROR: CronJobId end10
[2025-04-09 12:38:12] Production.INFO: ==1833== Releasing lock...
[2025-04-09 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:38:15] Production.INFO: call_cost start
[2025-04-09 12:38:15] Production.INFO: call_cost end
[2025-04-09 12:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:38:16] Production.INFO: ==1829== Releasing lock...
[2025-04-09 12:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:38:19] Production.INFO: count ==6973
[2025-04-09 12:38:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:38:05 - End Time 2025-04-09 12:38:05
[2025-04-09 12:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869592', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869592', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869592', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869592', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:38:23] Production.INFO: ProcessCDR(1,14869592,1,1,2)
[2025-04-09 12:38:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:38:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869592', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869592', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:38:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:38:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:38:28] Production.INFO: ==1837== Releasing lock...
[2025-04-09 12:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:38:28] Production.INFO: 80.25 MB #Memory Used#
[2025-04-09 17:39:02] Production.INFO: ==1896== Lock acquired, processing the job...
[2025-04-09 17:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:39:02] Production.INFO: neon service started
[2025-04-09 17:39:02] Production.INFO: neon service started
[2025-04-09 17:39:02] Production.INFO: ==1896== Releasing lock...
[2025-04-09 17:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:39:02] Production.INFO: ==1898== Lock acquired, processing the job...
[2025-04-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:39:02] Production.INFO: ==1898== Releasing lock...
[2025-04-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:39:03] Production.INFO: ==1900== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:39:03] Production.INFO: ==1900== Releasing lock...
[2025-04-09 16:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:39:03] Production.INFO: ==1903== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:39:03] Production.INFO: ==1905== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:39:03] Production.INFO: ==1907== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:39:03] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:39:03] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:39:03] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-04-09 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:39:04] Production.INFO: Account Balance Start.
[2025-04-09 12:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:39:04] Production.INFO: 117
[2025-04-09 12:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:39:04] Production.INFO: Total Charge 0
[2025-04-09 12:39:04] Production.INFO: count ==12
[2025-04-09 12:39:04] Production.INFO: CreateAllLog End
[2025-04-09 12:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:39:04] Production.INFO: count ==23
[2025-04-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869596') start
[2025-04-09 12:39:04] Production.ERROR: done
[2025-04-09 12:39:04] Production.INFO: ==1905== Releasing lock...
[2025-04-09 12:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869596') end
[2025-04-09 12:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:39:04] Production.INFO: 1
[2025-04-09 12:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:39:04] Production.INFO: ==1913== Releasing lock...
[2025-04-09 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:39:04] Production.ERROR: done
[2025-04-09 12:39:04] Production.INFO: Account Balance End.
[2025-04-09 12:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:39:04] Production.INFO: ==1909== Releasing lock...
[2025-04-09 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:39:05
[end_date_ymd] => 2025-04-09 12:39:05
[RateCDR] => 1
)
[2025-04-09 12:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:39:05' and `end` < '2025-04-09 12:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:39:13] Production.ERROR: CronJobId end10
[2025-04-09 12:39:13] Production.INFO: ==1907== Releasing lock...
[2025-04-09 12:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:39:15] Production.INFO: call_cost start
[2025-04-09 12:39:15] Production.INFO: call_cost end
[2025-04-09 12:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:39:15] Production.INFO: ==1903== Releasing lock...
[2025-04-09 12:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:39:19] Production.INFO: count ==6959
[2025-04-09 12:39:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:39:05 - End Time 2025-04-09 12:39:05
[2025-04-09 12:39:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869597', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869597', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869597', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869597', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:39:23] Production.INFO: ProcessCDR(1,14869597,1,1,2)
[2025-04-09 12:39:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:39:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:39:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:39:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:39:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869597', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:39:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869597', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:39:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:39:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:39:28] Production.INFO: ==1911== Releasing lock...
[2025-04-09 12:39:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:39:28] Production.INFO: 80 MB #Memory Used#
[2025-04-09 17:40:01] Production.INFO: ==1972== Lock acquired, processing the job...
[2025-04-09 17:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:40:01] Production.INFO: neon service started
[2025-04-09 17:40:01] Production.INFO: neon service started
[2025-04-09 17:40:01] Production.INFO: ==1972== Releasing lock...
[2025-04-09 17:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:40:02] Production.INFO: ==1974== Lock acquired, processing the job...
[2025-04-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:40:02] Production.INFO: ==1976== Lock acquired, processing the job...
[2025-04-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:40:02] Production.INFO: ==1976== Releasing lock...
[2025-04-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:40:02] Production.INFO: ==1974== Releasing lock...
[2025-04-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:40:04] Production.INFO: ==1983== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1979== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1987== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1981== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1989== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:40:04] Production.ERROR: CronJob PID - 1983
[2025-04-09 12:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 12:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 12:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:40:00
[2025-04-09 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:40:04] Production.ERROR: CronJob PID - 1987
[2025-04-09 12:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 12:40:04] Production.ERROR: CronJob ID - 12
[2025-04-09 12:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:40:00
[2025-04-09 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:40:04] Production.ERROR: CronJob PID - 1989
[2025-04-09 12:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 12:40:04] Production.ERROR: CronJob ID - 16
[2025-04-09 12:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 12:40:00
[2025-04-09 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:40:04] Production.INFO: Account Balance Start.
[2025-04-09 12:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:40:04] Production.INFO: 117
[2025-04-09 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:40:04] Production.INFO: ==1979== Releasing lock...
[2025-04-09 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:40:04] Production.INFO: ==1985== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:40:04] Production.INFO: Total Charge 0
[2025-04-09 12:40:04] Production.INFO: CreateAllLog End
[2025-04-09 12:40:04] Production.INFO: ==1991== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1993== Lock acquired, processing the job...
[2025-04-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:40:04] Production.INFO: ==1983== Releasing lock...
[2025-04-09 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:40:04] Production.INFO: count ==12
[2025-04-09 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:40:04] Production.INFO: count ==23
[2025-04-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869601') start
[2025-04-09 12:40:04] Production.INFO: Account Balance End.
[2025-04-09 12:40:04] Production.ERROR: done
[2025-04-09 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869601') end
[2025-04-09 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:40:04] Production.INFO: 1
[2025-04-09 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:40:04] Production.INFO: ==1987== Releasing lock...
[2025-04-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:40:04] Production.INFO: ==1993== Releasing lock...
[2025-04-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:40:04] Production.ERROR: done
[2025-04-09 12:40:05] Production.ERROR: done
[2025-04-09 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869603', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:40:06
[end_date_ymd] => 2025-04-09 12:40:06
[RateCDR] => 1
)
[2025-04-09 12:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:40:06' and `end` < '2025-04-09 12:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869603', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:40:09] Production.INFO: ProcessCDR(1,14869603,1,1,2)
[2025-04-09 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869603,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869603,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:40:09] Production.INFO: ==1991== Releasing lock...
[2025-04-09 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:40:14] Production.ERROR: CronJobId end10
[2025-04-09 12:40:14] Production.INFO: ==1985== Releasing lock...
[2025-04-09 12:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:40:16] Production.INFO: call_cost start
[2025-04-09 12:40:16] Production.INFO: call_cost end
[2025-04-09 12:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:40:17] Production.INFO: ==1981== Releasing lock...
[2025-04-09 12:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:40:20] Production.INFO: count ==7234
[2025-04-09 12:40:24] Production.ERROR: pbx CDR StartTime 2025-04-09 09:40:06 - End Time 2025-04-09 12:40:06
[2025-04-09 12:40:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869602', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869602', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869602', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869602', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:40:24] Production.INFO: ProcessCDR(1,14869602,1,1,2)
[2025-04-09 12:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:40:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:40:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:40:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:40:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869602', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:40:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869602', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:40:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:40:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:40:30] Production.INFO: ==1989== Releasing lock...
[2025-04-09 12:40:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:40:30] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:41:02] Production.INFO: ==2049== Lock acquired, processing the job...
[2025-04-09 17:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:41:02] Production.INFO: neon service started
[2025-04-09 17:41:02] Production.INFO: neon service started
[2025-04-09 17:41:02] Production.INFO: ==2049== Releasing lock...
[2025-04-09 17:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:41:02] Production.INFO: ==2053== Lock acquired, processing the job...
[2025-04-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:41:02] Production.INFO: ==2053== Releasing lock...
[2025-04-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:41:02] Production.INFO: ==2051== Lock acquired, processing the job...
[2025-04-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:41:03] Production.INFO: ==2051== Releasing lock...
[2025-04-09 12:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:41:03] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-04-09 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:41:03] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-04-09 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:41:04] Production.INFO: ==2056== Lock acquired, processing the job...
[2025-04-09 12:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:41:04] Production.INFO: ==2058== Lock acquired, processing the job...
[2025-04-09 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:41:04] Production.INFO: ==2066== Lock acquired, processing the job...
[2025-04-09 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:41:04] Production.INFO: ==2062== Lock acquired, processing the job...
[2025-04-09 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 12:41:04] Production.INFO: Account Balance Start.
[2025-04-09 12:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:41:04] Production.INFO: 117
[2025-04-09 12:41:04] Production.INFO: count ==12
[2025-04-09 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-04-09 12:41:04] Production.INFO: count ==23
[2025-04-09 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869605') start
[2025-04-09 12:41:04] Production.ERROR: done
[2025-04-09 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869605') end
[2025-04-09 12:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:41:04] Production.INFO: 1
[2025-04-09 12:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:41:04] Production.INFO: Total Charge 0
[2025-04-09 12:41:04] Production.INFO: ==2066== Releasing lock...
[2025-04-09 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:41:04] Production.ERROR: done
[2025-04-09 12:41:04] Production.INFO: ==2058== Releasing lock...
[2025-04-09 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:41:04] Production.INFO: CreateAllLog End
[2025-04-09 12:41:04] Production.INFO: Account Balance End.
[2025-04-09 12:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:41:04] Production.INFO: ==2062== Releasing lock...
[2025-04-09 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:41:05
[end_date_ymd] => 2025-04-09 12:41:05
[RateCDR] => 1
)
[2025-04-09 12:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:41:05' and `end` < '2025-04-09 12:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:41:13] Production.ERROR: CronJobId end10
[2025-04-09 12:41:13] Production.INFO: ==2060== Releasing lock...
[2025-04-09 12:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:41:15] Production.INFO: call_cost start
[2025-04-09 12:41:15] Production.INFO: call_cost end
[2025-04-09 12:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:41:16] Production.INFO: ==2056== Releasing lock...
[2025-04-09 12:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:41:19] Production.INFO: count ==7228
[2025-04-09 12:41:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:41:05 - End Time 2025-04-09 12:41:05
[2025-04-09 12:41:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869608', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869608', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869608', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869608', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:41:23] Production.INFO: ProcessCDR(1,14869608,1,1,2)
[2025-04-09 12:41:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:41:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:41:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:41:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869608', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869608', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:41:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:41:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:41:28] Production.INFO: ==2064== Releasing lock...
[2025-04-09 12:41:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:41:28] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:42:01] Production.INFO: ==2127== Lock acquired, processing the job...
[2025-04-09 17:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:42:01] Production.INFO: neon service started
[2025-04-09 17:42:01] Production.INFO: neon service started
[2025-04-09 17:42:01] Production.INFO: ==2127== Releasing lock...
[2025-04-09 17:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:42:02] Production.INFO: ==2129== Lock acquired, processing the job...
[2025-04-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:42:02] Production.INFO: ==2129== Releasing lock...
[2025-04-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:42:02] Production.INFO: ==2131== Lock acquired, processing the job...
[2025-04-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:42:02] Production.INFO: ==2131== Releasing lock...
[2025-04-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:42:03] Production.INFO: ==2136== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:42:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12: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-04-09 12:42:03] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:42:03] Production.INFO: count ==23
[2025-04-09 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869609') start
[2025-04-09 12:42:03] Production.INFO: ==2134== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:42:03] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869609') end
[2025-04-09 12:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:42:03] Production.INFO: 1
[2025-04-09 12:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:42:03] Production.INFO: ==2144== Releasing lock...
[2025-04-09 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:42:03] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:42:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-04-09 12:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:42:03] Production.INFO: ==2136== Releasing lock...
[2025-04-09 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:42:03] Production.INFO: Account Balance Start.
[2025-04-09 12:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:42:03] Production.INFO: 117
[2025-04-09 12:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:42:04] Production.INFO: Total Charge 0
[2025-04-09 12:42:04] Production.INFO: CreateAllLog End
[2025-04-09 12:42:04] Production.ERROR: done
[2025-04-09 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:42:04] Production.ERROR: done
[2025-04-09 12:42:04] Production.INFO: Account Balance End.
[2025-04-09 12:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:42:04] Production.INFO: ==2140== Releasing lock...
[2025-04-09 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:42:05
[end_date_ymd] => 2025-04-09 12:42:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:42:05' and `end` < '2025-04-09 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-04-09 12:42:12] Production.ERROR: CronJobId end10
[2025-04-09 12:42:12] Production.INFO: ==2138== Releasing lock...
[2025-04-09 12:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:42:15] Production.INFO: call_cost start
[2025-04-09 12:42:15] Production.INFO: call_cost end
[2025-04-09 12:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:42:16] Production.INFO: ==2134== Releasing lock...
[2025-04-09 12:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:42:19] Production.INFO: count ==7236
[2025-04-09 12:42:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:42:05 - End Time 2025-04-09 12:42:05
[2025-04-09 12:42:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869613', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869613', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869613', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869613', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:42:23] Production.INFO: ProcessCDR(1,14869613,1,1,2)
[2025-04-09 12:42:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:42:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:42:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:42:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869613', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869613', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:42:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:42:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:42:29] Production.INFO: ==2142== Releasing lock...
[2025-04-09 12:42:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:42:29] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:43:02] Production.INFO: ==2201== Lock acquired, processing the job...
[2025-04-09 17:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:43:02] Production.INFO: neon service started
[2025-04-09 17:43:02] Production.INFO: neon service started
[2025-04-09 17:43:02] Production.INFO: ==2201== Releasing lock...
[2025-04-09 17:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:43:02] Production.INFO: ==2203== Lock acquired, processing the job...
[2025-04-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:43:02] Production.INFO: ==2205== Lock acquired, processing the job...
[2025-04-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:43:02] Production.INFO: ==2205== Releasing lock...
[2025-04-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:43:03] Production.INFO: ==2203== Releasing lock...
[2025-04-09 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:43:03] Production.INFO: ==2210== Lock acquired, processing the job...
[2025-04-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:43:03] Production.INFO: ==2218== Lock acquired, processing the job...
[2025-04-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:43:04] Production.INFO: ==2208== Lock acquired, processing the job...
[2025-04-09 12:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:43:04] Production.INFO: count ==12
[2025-04-09 12:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:43:04] Production.INFO: count ==23
[2025-04-09 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869615') start
[2025-04-09 12:43:04] Production.INFO: ==2210== Releasing lock...
[2025-04-09 12:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:43:04] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-04-09 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:43:04] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-04-09 12:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:43:04] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-04-09 12:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869615') end
[2025-04-09 12:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:43:04] Production.INFO: 1
[2025-04-09 12:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:43:04] Production.INFO: Account Balance Start.
[2025-04-09 12:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:43:04] Production.INFO: 117
[2025-04-09 12:43:04] Production.INFO: ==2218== Releasing lock...
[2025-04-09 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:43:04] Production.INFO: Total Charge 0
[2025-04-09 12:43:04] Production.INFO: CreateAllLog End
[2025-04-09 12:43:04] Production.ERROR: done
[2025-04-09 12:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:43:04] Production.INFO: Account Balance End.
[2025-04-09 12:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:43:04] Production.INFO: ==2214== Releasing lock...
[2025-04-09 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:43:04] Production.ERROR: done
[2025-04-09 12:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:43:06
[end_date_ymd] => 2025-04-09 12:43:06
[RateCDR] => 1
)
[2025-04-09 12:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:43:06' and `end` < '2025-04-09 12:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:43:13] Production.ERROR: CronJobId end10
[2025-04-09 12:43:13] Production.INFO: ==2212== Releasing lock...
[2025-04-09 12:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:43:15] Production.INFO: call_cost start
[2025-04-09 12:43:15] Production.INFO: call_cost end
[2025-04-09 12:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:43:16] Production.INFO: ==2208== Releasing lock...
[2025-04-09 12:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:43:19] Production.INFO: count ==7235
[2025-04-09 12:43:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:43:06 - End Time 2025-04-09 12:43:06
[2025-04-09 12:43:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869618', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869618', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869618', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869618', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:43:24] Production.INFO: ProcessCDR(1,14869618,1,1,2)
[2025-04-09 12:43:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869618', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869618', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:43:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:43:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:43:27] Production.INFO: ==2216== Releasing lock...
[2025-04-09 12:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:43:27] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:44:01] Production.INFO: ==2274== Lock acquired, processing the job...
[2025-04-09 17:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:44:01] Production.INFO: neon service started
[2025-04-09 17:44:01] Production.INFO: neon service started
[2025-04-09 17:44:01] Production.INFO: ==2274== Releasing lock...
[2025-04-09 17:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:44:02] Production.INFO: ==2277== Lock acquired, processing the job...
[2025-04-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:44:02] Production.INFO: ==2277== Releasing lock...
[2025-04-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:44:02] Production.INFO: ==2279== Lock acquired, processing the job...
[2025-04-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:44:02] Production.INFO: ==2279== Releasing lock...
[2025-04-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:44:03] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:44:03] Production.INFO: ==2291== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:44:03] Production.INFO: ==2281== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12: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-04-09 12:44:03] Production.INFO: ==2285== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:44:03] Production.INFO: ==2283== Releasing lock...
[2025-04-09 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:44:03] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:44:03] Production.INFO: count ==23
[2025-04-09 12:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:44:03] Production.INFO: ==2287== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869620') start
[2025-04-09 12:44:03] Production.INFO: ==2289== Lock acquired, processing the job...
[2025-04-09 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869620') end
[2025-04-09 12:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:44:03] Production.INFO: 1
[2025-04-09 12:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:44:03] Production.INFO: Account Balance Start.
[2025-04-09 12:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:44:03] Production.INFO: 117
[2025-04-09 12:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:44:03] Production.INFO: ==2291== Releasing lock...
[2025-04-09 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:44:04] Production.INFO: Total Charge 0
[2025-04-09 12:44:04] Production.INFO: CreateAllLog End
[2025-04-09 12:44:04] Production.ERROR: done
[2025-04-09 12:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:44:04] Production.ERROR: done
[2025-04-09 12:44:04] Production.INFO: Account Balance End.
[2025-04-09 12:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:44:04] Production.INFO: ==2287== Releasing lock...
[2025-04-09 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:44:05
[end_date_ymd] => 2025-04-09 12:44:05
[RateCDR] => 1
)
[2025-04-09 12: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-04-09 09:44:05' and `end` < '2025-04-09 12:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:44:13] Production.ERROR: CronJobId end10
[2025-04-09 12:44:13] Production.INFO: ==2285== Releasing lock...
[2025-04-09 12:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:44:16] Production.INFO: call_cost start
[2025-04-09 12:44:16] Production.INFO: call_cost end
[2025-04-09 12:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:44:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:44:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:44:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:44:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:44:17] Production.INFO: ==2281== Releasing lock...
[2025-04-09 12:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:44:19] Production.INFO: count ==7229
[2025-04-09 12:44:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:44:05 - End Time 2025-04-09 12:44:05
[2025-04-09 12:44:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869623', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869623', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869623', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869623', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:44:23] Production.INFO: ProcessCDR(1,14869623,1,1,2)
[2025-04-09 12:44:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:44:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:44:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:44:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:44:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869623', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:44:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869623', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:44:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:44:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:44:29] Production.INFO: ==2289== Releasing lock...
[2025-04-09 12:44:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:44:29] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:45:02] Production.INFO: ==2348== Lock acquired, processing the job...
[2025-04-09 17:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:45:02] Production.INFO: neon service started
[2025-04-09 17:45:02] Production.INFO: neon service started
[2025-04-09 17:45:02] Production.INFO: ==2348== Releasing lock...
[2025-04-09 17:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:45:02] Production.INFO: ==2350== Lock acquired, processing the job...
[2025-04-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:45:02] Production.INFO: ==2352== Lock acquired, processing the job...
[2025-04-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 12:45:02] Production.INFO: ==2350== Releasing lock...
[2025-04-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:45:02] Production.INFO: ==2352== Releasing lock...
[2025-04-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:45:04] Production.INFO: ==2363== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:45:04] Production.INFO: ==2354== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:45:04] Production.INFO: ==2365== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:45:04] Production.INFO: ==2356== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:45:04] Production.INFO: ==2358== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:45:04] Production.INFO: ==2361== Lock acquired, processing the job...
[2025-04-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:45:04] Production.INFO: Account Balance Start.
[2025-04-09 12:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:45:04] Production.INFO: 117
[2025-04-09 12:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12: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-04-09 12:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:45:04] Production.INFO: Total Charge 0
[2025-04-09 12:45:04] Production.INFO: CreateAllLog End
[2025-04-09 12:45:04] Production.INFO: count ==12
[2025-04-09 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:45:04] Production.INFO: count ==23
[2025-04-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869625') start
[2025-04-09 12:45:04] Production.ERROR: done
[2025-04-09 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:45:04] Production.ERROR: done
[2025-04-09 12:45:04] Production.INFO: ==2356== Releasing lock...
[2025-04-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869625') end
[2025-04-09 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:45:04] Production.INFO: 1
[2025-04-09 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:45:04] Production.INFO: ==2365== Releasing lock...
[2025-04-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:45:04] Production.INFO: Account Balance End.
[2025-04-09 12:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:45:04] Production.INFO: ==2361== Releasing lock...
[2025-04-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:45:06
[end_date_ymd] => 2025-04-09 12:45:06
[RateCDR] => 1
)
[2025-04-09 12:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:45:06' and `end` < '2025-04-09 12:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:45:15] Production.ERROR: CronJobId end10
[2025-04-09 12:45:15] Production.INFO: ==2358== Releasing lock...
[2025-04-09 12:45:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:45:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:45:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:45:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:45:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:45:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:45:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:45:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:45:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:45:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:45:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:45:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:45:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:45:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:45:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:45:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:45:16] Production.INFO: call_cost start
[2025-04-09 12:45:16] Production.INFO: call_cost end
[2025-04-09 12:45:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:45:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:45:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:45:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:45:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:45:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:45:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:45:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:45:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:45:17] Production.INFO: ==2354== Releasing lock...
[2025-04-09 12:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:45:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:45:20] Production.INFO: count ==7217
[2025-04-09 12:45:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:45:06 - End Time 2025-04-09 12:45:06
[2025-04-09 12:45:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869628', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869628', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869628', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869628', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:45:23] Production.INFO: ProcessCDR(1,14869628,1,1,2)
[2025-04-09 12:45:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:45:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:45:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:45:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869628', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869628', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:45:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:45:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:45:29] Production.INFO: ==2363== Releasing lock...
[2025-04-09 12:45:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:45:29] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:46:01] Production.INFO: ==2419== Lock acquired, processing the job...
[2025-04-09 17:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:46:01] Production.INFO: neon service started
[2025-04-09 17:46:01] Production.INFO: neon service started
[2025-04-09 17:46:01] Production.INFO: ==2419== Releasing lock...
[2025-04-09 17:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:46:02] Production.INFO: ==2421== Lock acquired, processing the job...
[2025-04-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:46:02] Production.INFO: ==2423== Lock acquired, processing the job...
[2025-04-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:46:02] Production.INFO: ==2423== Releasing lock...
[2025-04-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:46:02] Production.INFO: ==2421== Releasing lock...
[2025-04-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:46:03] Production.INFO: ==2425== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:46:03] Production.INFO: ==2430== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:46:03] Production.INFO: ==2436== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:46:03] Production.INFO: ==2428== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12: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-04-09 12:46:03] Production.INFO: count ==12
[2025-04-09 12:46:03] Production.INFO: ==2432== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12: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-04-09 12:46:03] Production.INFO: count ==23
[2025-04-09 12:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869630') start
[2025-04-09 12:46:03] Production.INFO: ==2434== Lock acquired, processing the job...
[2025-04-09 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869630') end
[2025-04-09 12:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:46:03] Production.INFO: 1
[2025-04-09 12:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:46:03] Production.INFO: Account Balance Start.
[2025-04-09 12:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:46:03] Production.INFO: 117
[2025-04-09 12:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:46:03] Production.INFO: ==2436== Releasing lock...
[2025-04-09 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:46:04] Production.INFO: Total Charge 0
[2025-04-09 12:46:04] Production.INFO: CreateAllLog End
[2025-04-09 12:46:04] Production.INFO: ==2428== Releasing lock...
[2025-04-09 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:46:04] Production.ERROR: done
[2025-04-09 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:46:04] Production.ERROR: done
[2025-04-09 12:46:04] Production.INFO: Account Balance End.
[2025-04-09 12:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:46:04] Production.INFO: ==2432== Releasing lock...
[2025-04-09 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:46:05
[end_date_ymd] => 2025-04-09 12:46:05
[RateCDR] => 1
)
[2025-04-09 12:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:46:05' and `end` < '2025-04-09 12:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:46:13] Production.ERROR: CronJobId end10
[2025-04-09 12:46:13] Production.INFO: ==2430== Releasing lock...
[2025-04-09 12:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:46:16] Production.INFO: call_cost start
[2025-04-09 12:46:16] Production.INFO: call_cost end
[2025-04-09 12:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:46:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:46:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:46:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:46:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:46:17] Production.INFO: ==2425== Releasing lock...
[2025-04-09 12:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:46:20] Production.INFO: count ==7218
[2025-04-09 12:46:24] Production.ERROR: pbx CDR StartTime 2025-04-09 09:46:05 - End Time 2025-04-09 12:46:05
[2025-04-09 12:46:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869633', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869633', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869633', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869633', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:46:24] Production.INFO: ProcessCDR(1,14869633,1,1,2)
[2025-04-09 12:46:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869633', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869633', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:46:29] Production.INFO: ==2434== Releasing lock...
[2025-04-09 12:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:46:29] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:47:02] Production.INFO: ==2489== Lock acquired, processing the job...
[2025-04-09 17:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:47:02] Production.INFO: neon service started
[2025-04-09 17:47:02] Production.INFO: neon service started
[2025-04-09 17:47:02] Production.INFO: ==2489== Releasing lock...
[2025-04-09 17:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:47:02] Production.INFO: ==2491== Lock acquired, processing the job...
[2025-04-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:47:02] Production.INFO: ==2491== Releasing lock...
[2025-04-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:47:02] Production.INFO: ==2493== Lock acquired, processing the job...
[2025-04-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:47:02] Production.INFO: ==2493== Releasing lock...
[2025-04-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:47:03] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-04-09 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:47:03] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-04-09 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:47:04] Production.INFO: ==2495== Lock acquired, processing the job...
[2025-04-09 12:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:47:04] Production.INFO: ==2497== Lock acquired, processing the job...
[2025-04-09 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:47:04] Production.INFO: ==2499== Lock acquired, processing the job...
[2025-04-09 12:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:47:04] Production.INFO: ==2505== Lock acquired, processing the job...
[2025-04-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:47:04] Production.ERROR: done
[2025-04-09 12:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:47:04] Production.INFO: Account Balance Start.
[2025-04-09 12:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:47:04] Production.INFO: 117
[2025-04-09 12:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:47:04] Production.ERROR: done
[2025-04-09 12:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 12: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-04-09 12:47:04] Production.INFO: count ==12
[2025-04-09 12: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-04-09 12:47:04] Production.INFO: count ==23
[2025-04-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869637') start
[2025-04-09 12:47:04] Production.INFO: ==2497== Releasing lock...
[2025-04-09 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:47:04] Production.INFO: Total Charge 0
[2025-04-09 12:47:04] Production.INFO: CreateAllLog End
[2025-04-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869637') end
[2025-04-09 12:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:47:04] Production.INFO: 1
[2025-04-09 12:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:47:04] Production.INFO: ==2505== Releasing lock...
[2025-04-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:47:04] Production.INFO: Account Balance End.
[2025-04-09 12:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:47:04] Production.INFO: ==2501== Releasing lock...
[2025-04-09 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:47:05
[end_date_ymd] => 2025-04-09 12:47:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:47:05' and `end` < '2025-04-09 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-04-09 12:47:13] Production.ERROR: CronJobId end10
[2025-04-09 12:47:13] Production.INFO: ==2499== Releasing lock...
[2025-04-09 12:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:47:14] Production.INFO: call_cost start
[2025-04-09 12:47:14] Production.INFO: call_cost end
[2025-04-09 12:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:47:15] Production.INFO: ==2495== Releasing lock...
[2025-04-09 12:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:47:19] Production.INFO: count ==7221
[2025-04-09 12:47:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:47:05 - End Time 2025-04-09 12:47:05
[2025-04-09 12:47:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869638', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869638', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869638', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869638', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:47:23] Production.INFO: ProcessCDR(1,14869638,1,1,2)
[2025-04-09 12:47:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:47:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:47:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:47:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869638', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869638', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:47:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:47:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:47:28] Production.INFO: ==2503== Releasing lock...
[2025-04-09 12:47:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:47:28] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:48:01] Production.INFO: ==2559== Lock acquired, processing the job...
[2025-04-09 17:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:48:01] Production.INFO: neon service started
[2025-04-09 17:48:01] Production.INFO: neon service started
[2025-04-09 17:48:01] Production.INFO: ==2559== Releasing lock...
[2025-04-09 17:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:48:02] Production.INFO: ==2561== Lock acquired, processing the job...
[2025-04-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:48:02] Production.INFO: ==2561== Releasing lock...
[2025-04-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:48:02] Production.INFO: ==2563== Lock acquired, processing the job...
[2025-04-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:48:02] Production.INFO: ==2563== Releasing lock...
[2025-04-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:48:03] Production.INFO: ==2567== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:48:03] Production.INFO: ==2565== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:48:03] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:48:03] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:48:03] Production.INFO: ==2571== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:48:03] Production.INFO: ==2573== Lock acquired, processing the job...
[2025-04-09 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 12:48:03] Production.INFO: Account Balance Start.
[2025-04-09 12:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:48:03] Production.INFO: 117
[2025-04-09 12:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:48:03] Production.INFO: ==2567== Releasing lock...
[2025-04-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:48:03] Production.INFO: count ==12
[2025-04-09 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-04-09 12:48:03] Production.INFO: count ==23
[2025-04-09 12:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:48:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869641') start
[2025-04-09 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869641') end
[2025-04-09 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:48:04] Production.INFO: 1
[2025-04-09 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:48:04] Production.INFO: Total Charge 0
[2025-04-09 12:48:04] Production.INFO: CreateAllLog End
[2025-04-09 12:48:04] Production.INFO: ==2575== Releasing lock...
[2025-04-09 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:48:04] Production.ERROR: done
[2025-04-09 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:48:04] Production.INFO: Account Balance End.
[2025-04-09 12:48:04] Production.ERROR: done
[2025-04-09 12:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:48:04] Production.INFO: ==2571== Releasing lock...
[2025-04-09 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:48:05
[end_date_ymd] => 2025-04-09 12:48:05
[RateCDR] => 1
)
[2025-04-09 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:48:05' and `end` < '2025-04-09 12:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:48:12] Production.ERROR: CronJobId end10
[2025-04-09 12:48:12] Production.INFO: ==2569== Releasing lock...
[2025-04-09 12:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:48:14] Production.INFO: call_cost start
[2025-04-09 12:48:14] Production.INFO: call_cost end
[2025-04-09 12:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:48:15] Production.INFO: ==2565== Releasing lock...
[2025-04-09 12:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:48:19] Production.INFO: count ==7227
[2025-04-09 12:48:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:48:05 - End Time 2025-04-09 12:48:05
[2025-04-09 12:48:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869643', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869643', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869643', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869643', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:48:23] Production.INFO: ProcessCDR(1,14869643,1,1,2)
[2025-04-09 12:48:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869643', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869643', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:48:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:48:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:48:28] Production.INFO: ==2573== Releasing lock...
[2025-04-09 12:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:48:28] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:49:02] Production.INFO: ==2629== Lock acquired, processing the job...
[2025-04-09 17:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:49:02] Production.INFO: neon service started
[2025-04-09 17:49:02] Production.INFO: neon service started
[2025-04-09 17:49:02] Production.INFO: ==2629== Releasing lock...
[2025-04-09 17:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:49:02] Production.INFO: ==2631== Lock acquired, processing the job...
[2025-04-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:49:02] Production.INFO: ==2631== Releasing lock...
[2025-04-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:49:02] Production.INFO: ==2633== Lock acquired, processing the job...
[2025-04-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:49:03] Production.INFO: ==2633== Releasing lock...
[2025-04-09 16:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:49:03] Production.INFO: ==2638== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:49:03] Production.INFO: ==2636== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:49:03] Production.INFO: ==2644== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:49:03] Production.INFO: ==2640== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:49:03] Production.INFO: ==2642== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:49:03] Production.INFO: ==2646== Lock acquired, processing the job...
[2025-04-09 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:49:04] Production.INFO: Account Balance Start.
[2025-04-09 12:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:49:04] Production.INFO: 117
[2025-04-09 12:49:04] Production.INFO: ==2638== Releasing lock...
[2025-04-09 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 12: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-04-09 12:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:49:04] Production.INFO: Total Charge 0
[2025-04-09 12:49:04] Production.INFO: CreateAllLog End
[2025-04-09 12:49:04] Production.INFO: count ==12
[2025-04-09 12:49:04] Production.ERROR: done
[2025-04-09 12:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:49:04] Production.INFO: count ==23
[2025-04-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869647') start
[2025-04-09 12:49:04] Production.ERROR: done
[2025-04-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869647') end
[2025-04-09 12:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:49:04] Production.INFO: 1
[2025-04-09 12:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:49:04] Production.INFO: Account Balance End.
[2025-04-09 12:49:04] Production.INFO: ==2646== Releasing lock...
[2025-04-09 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:49:04] Production.INFO: ==2642== Releasing lock...
[2025-04-09 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:49:05
[end_date_ymd] => 2025-04-09 12:49:05
[RateCDR] => 1
)
[2025-04-09 12:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:49:05' and `end` < '2025-04-09 12:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:49:12] Production.ERROR: CronJobId end10
[2025-04-09 12:49:12] Production.INFO: ==2640== Releasing lock...
[2025-04-09 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:49:14] Production.INFO: call_cost start
[2025-04-09 12:49:14] Production.INFO: call_cost end
[2025-04-09 12:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:49:15] Production.INFO: ==2636== Releasing lock...
[2025-04-09 12:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:49:20] Production.INFO: count ==7240
[2025-04-09 12:49:24] Production.ERROR: pbx CDR StartTime 2025-04-09 09:49:05 - End Time 2025-04-09 12:49:05
[2025-04-09 12:49:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869648', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869648', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869648', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869648', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:49:24] Production.INFO: ProcessCDR(1,14869648,1,1,2)
[2025-04-09 12:49:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:49:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:49:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869648', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869648', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:49:29] Production.INFO: ==2644== Releasing lock...
[2025-04-09 12:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:49:29] Production.INFO: 82.75 MB #Memory Used#
[2025-04-09 17:50:01] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-04-09 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:50:01] Production.INFO: neon service started
[2025-04-09 17:50:01] Production.INFO: neon service started
[2025-04-09 17:50:01] Production.INFO: ==2712== Releasing lock...
[2025-04-09 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:50:01] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-04-09 12:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:50:02] Production.INFO: ==2714== Releasing lock...
[2025-04-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:50:02] Production.INFO: ==2716== Lock acquired, processing the job...
[2025-04-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:50:02] Production.INFO: ==2716== Releasing lock...
[2025-04-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:50:03] Production.INFO: ==2721== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:50:03] Production.INFO: ==2719== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 12:50:03] Production.INFO: ==2723== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:50:03] Production.INFO: ==2729== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 12:50:03] Production.ERROR: CronJob PID - 2721
[2025-04-09 12:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 12:50:03] Production.ERROR: CronJob ID - 5
[2025-04-09 12:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 12:50:00
[2025-04-09 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 12:50:03] Production.INFO: ==2733== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 12:50:03] Production.INFO: ==2719== Releasing lock...
[2025-04-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 12:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 12:50:03] Production.INFO: ==2725== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:50:03] Production.INFO: ==2727== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12: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-04-09 12:50:03] Production.INFO: count ==12
[2025-04-09 12:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12: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-04-09 12:50:03] Production.INFO: count ==23
[2025-04-09 12:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:50:03] Production.INFO: ==2731== Lock acquired, processing the job...
[2025-04-09 12:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 12:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869650') start
[2025-04-09 12:50:03] Production.INFO: Account Balance Start.
[2025-04-09 12:50:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:50:03] Production.INFO: 117
[2025-04-09 12:50:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869650') end
[2025-04-09 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:50:04] Production.INFO: 1
[2025-04-09 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:50:04] Production.INFO: ==2733== Releasing lock...
[2025-04-09 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:50:04] Production.INFO: ==2723== Releasing lock...
[2025-04-09 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:50:04] Production.INFO: Total Charge 0
[2025-04-09 12:50:04] Production.INFO: CreateAllLog End
[2025-04-09 12:50:04] Production.ERROR: done
[2025-04-09 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:50:04] Production.INFO: Account Balance End.
[2025-04-09 12:50:04] Production.ERROR: done
[2025-04-09 12:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:50:04] Production.INFO: ==2727== Releasing lock...
[2025-04-09 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 12:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869653', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 12:50:04] Production.ERROR: done
[2025-04-09 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:50:06
[end_date_ymd] => 2025-04-09 12:50:06
[RateCDR] => 1
)
[2025-04-09 12:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:50:06' and `end` < '2025-04-09 12:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869653', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 12:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 12:50:08] Production.INFO: ProcessCDR(1,14869653,1,1,2)
[2025-04-09 12:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:50:09] Production.INFO: ==2731== Releasing lock...
[2025-04-09 12:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 12:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 12:50:14] Production.ERROR: CronJobId end10
[2025-04-09 12:50:14] Production.INFO: ==2725== Releasing lock...
[2025-04-09 12:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:50:16] Production.INFO: call_cost start
[2025-04-09 12:50:16] Production.INFO: call_cost end
[2025-04-09 12:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:50:17] Production.INFO: ==2721== Releasing lock...
[2025-04-09 12:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:50:20] Production.INFO: count ==7231
[2025-04-09 12:50:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:50:06 - End Time 2025-04-09 12:50:06
[2025-04-09 12:50:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869654', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869654', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869654', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869654', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:50:23] Production.INFO: ProcessCDR(1,14869654,1,1,2)
[2025-04-09 12:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:50:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:50:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869654', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869654', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:50:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:50:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:50:28] Production.INFO: ==2729== Releasing lock...
[2025-04-09 12:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:50:28] Production.INFO: 82.5 MB #Memory Used#
[2025-04-09 17:51:01] Production.INFO: ==2841== Lock acquired, processing the job...
[2025-04-09 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:51:01] Production.INFO: neon service started
[2025-04-09 17:51:01] Production.INFO: neon service started
[2025-04-09 17:51:01] Production.INFO: ==2841== Releasing lock...
[2025-04-09 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:51:02] Production.INFO: ==2843== Lock acquired, processing the job...
[2025-04-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:51:02] Production.INFO: ==2845== Lock acquired, processing the job...
[2025-04-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:51:02] Production.INFO: ==2845== Releasing lock...
[2025-04-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:51:02] Production.INFO: ==2843== Releasing lock...
[2025-04-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:51:03] Production.INFO: ==2848== Lock acquired, processing the job...
[2025-04-09 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:51:03] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-04-09 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:51:03] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-04-09 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:51:03] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-04-09 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:51:03] Production.INFO: ==2856== Lock acquired, processing the job...
[2025-04-09 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:51:04] Production.INFO: ==2850== Releasing lock...
[2025-04-09 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:51:04] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-04-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:51:04] Production.INFO: Account Balance Start.
[2025-04-09 12:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:51:04] Production.INFO: 117
[2025-04-09 12:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:51:04] Production.INFO: Total Charge 0
[2025-04-09 12:51:04] Production.INFO: CreateAllLog End
[2025-04-09 12:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:51:04] Production.ERROR: done
[2025-04-09 12:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:51:04] Production.INFO: count ==12
[2025-04-09 12:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:51:04] Production.INFO: count ==23
[2025-04-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869658') start
[2025-04-09 12:51:04] Production.ERROR: done
[2025-04-09 12:51:04] Production.INFO: Account Balance End.
[2025-04-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869658') end
[2025-04-09 12:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:51:04] Production.INFO: 1
[2025-04-09 12:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:51:04] Production.INFO: ==2854== Releasing lock...
[2025-04-09 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:51:04] Production.INFO: ==2858== Releasing lock...
[2025-04-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:51:05
[end_date_ymd] => 2025-04-09 12:51:05
[RateCDR] => 1
)
[2025-04-09 12:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:51:05' and `end` < '2025-04-09 12:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:51:12] Production.ERROR: CronJobId end10
[2025-04-09 12:51:12] Production.INFO: ==2852== Releasing lock...
[2025-04-09 12:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:51:14] Production.INFO: call_cost start
[2025-04-09 12:51:14] Production.INFO: call_cost end
[2025-04-09 12:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:51:15] Production.INFO: ==2848== Releasing lock...
[2025-04-09 12:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:51:19] Production.INFO: count ==7194
[2025-04-09 12:51:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:51:05 - End Time 2025-04-09 12:51:05
[2025-04-09 12:51:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869659', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869659', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869659', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869659', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:51:23] Production.INFO: ProcessCDR(1,14869659,1,1,2)
[2025-04-09 12:51:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:51:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869659', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869659', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:51:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:51:27] Production.INFO: ==2856== Releasing lock...
[2025-04-09 12:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:51:27] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 17:52:01] Production.INFO: ==2928== Lock acquired, processing the job...
[2025-04-09 17:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:52:01] Production.INFO: neon service started
[2025-04-09 17:52:01] Production.INFO: neon service started
[2025-04-09 17:52:01] Production.INFO: ==2928== Releasing lock...
[2025-04-09 17:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:52:01] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-04-09 16:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:52:01] Production.INFO: ==2933== Releasing lock...
[2025-04-09 16:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:52:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:52:01] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-04-09 12:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:52:02] Production.INFO: ==2931== Releasing lock...
[2025-04-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:52:03] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:52:03] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:52:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:52:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:52:03] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:52:03] Production.INFO: ==2945== Lock acquired, processing the job...
[2025-04-09 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:52:03] Production.INFO: Account Balance Start.
[2025-04-09 12:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:52:03] Production.INFO: 117
[2025-04-09 12:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:52:03] Production.INFO: ==2937== Releasing lock...
[2025-04-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:52:03] Production.INFO: Total Charge 0
[2025-04-09 12:52:03] Production.INFO: CreateAllLog End
[2025-04-09 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:52:03] Production.INFO: count ==12
[2025-04-09 12:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:52:03] Production.INFO: count ==23
[2025-04-09 12:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869663') start
[2025-04-09 12:52:03] Production.ERROR: done
[2025-04-09 12:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869663') end
[2025-04-09 12:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:52:03] Production.INFO: 1
[2025-04-09 12:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:52:03] Production.INFO: Account Balance End.
[2025-04-09 12:52:03] Production.INFO: ==2945== Releasing lock...
[2025-04-09 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:52:03] Production.ERROR: done
[2025-04-09 12:52:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:52:03] Production.INFO: ==2941== Releasing lock...
[2025-04-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:52:04
[end_date_ymd] => 2025-04-09 12:52:04
[RateCDR] => 1
)
[2025-04-09 12: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-04-09 09:52:04' and `end` < '2025-04-09 12: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-04-09 12:52:11] Production.ERROR: CronJobId end10
[2025-04-09 12:52:11] Production.INFO: ==2939== Releasing lock...
[2025-04-09 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:52:14] Production.INFO: call_cost start
[2025-04-09 12:52:14] Production.INFO: call_cost end
[2025-04-09 12:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:52:15] Production.INFO: ==2935== Releasing lock...
[2025-04-09 12:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:52:18] Production.INFO: count ==7174
[2025-04-09 12:52:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:52:04 - End Time 2025-04-09 12:52:04
[2025-04-09 12:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869664', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869664', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869664', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869664', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:52:22] Production.INFO: ProcessCDR(1,14869664,1,1,2)
[2025-04-09 12:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869664', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869664', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:52:27] Production.INFO: ==2943== Releasing lock...
[2025-04-09 12:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:52:27] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 17:53:01] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-04-09 17:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:53:01] Production.INFO: neon service started
[2025-04-09 17:53:01] Production.INFO: neon service started
[2025-04-09 17:53:01] Production.INFO: ==3014== Releasing lock...
[2025-04-09 17:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:53:02] Production.INFO: ==3018== Lock acquired, processing the job...
[2025-04-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:53:02] Production.INFO: ==3020== Lock acquired, processing the job...
[2025-04-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:53:02] Production.INFO: ==3020== Releasing lock...
[2025-04-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:53:02] Production.INFO: ==3018== Releasing lock...
[2025-04-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:53:03] Production.INFO: ==3023== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:53:03] Production.INFO: ==3027== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:53:03] Production.INFO: ==3029== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:53:03] Production.INFO: Account Balance Start.
[2025-04-09 12:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:53:03] Production.INFO: 117
[2025-04-09 12:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:53:03] Production.INFO: ==3025== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:53:03] Production.INFO: Total Charge 0
[2025-04-09 12:53:03] Production.INFO: ==3033== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:53:03] Production.INFO: CreateAllLog End
[2025-04-09 12:53:03] Production.INFO: ==3031== Lock acquired, processing the job...
[2025-04-09 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:53:03] Production.INFO: Account Balance End.
[2025-04-09 12:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:53:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:53:03] Production.INFO: ==3029== Releasing lock...
[2025-04-09 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:53:04] Production.INFO: count ==12
[2025-04-09 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:53:04] Production.INFO: count ==23
[2025-04-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869668') start
[2025-04-09 12:53:04] Production.INFO: ==3025== Releasing lock...
[2025-04-09 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869668') end
[2025-04-09 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:53:04] Production.INFO: 1
[2025-04-09 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:53:04] Production.INFO: ==3033== Releasing lock...
[2025-04-09 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:53:04] Production.ERROR: done
[2025-04-09 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:53:04] Production.ERROR: done
[2025-04-09 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:53:05
[end_date_ymd] => 2025-04-09 12:53:05
[RateCDR] => 1
)
[2025-04-09 12:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:53:05' and `end` < '2025-04-09 12:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:53:12] Production.ERROR: CronJobId end10
[2025-04-09 12:53:12] Production.INFO: ==3027== Releasing lock...
[2025-04-09 12:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:53:14] Production.INFO: call_cost start
[2025-04-09 12:53:14] Production.INFO: call_cost end
[2025-04-09 12:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:53:15] Production.INFO: ==3023== Releasing lock...
[2025-04-09 12:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:53:19] Production.INFO: count ==7178
[2025-04-09 12:53:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:53:05 - End Time 2025-04-09 12:53:05
[2025-04-09 12:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869669', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869669', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869669', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869669', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:53:23] Production.INFO: ProcessCDR(1,14869669,1,1,2)
[2025-04-09 12:53:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:53:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:53:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:53:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869669', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869669', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:53:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:53:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:53:28] Production.INFO: ==3031== Releasing lock...
[2025-04-09 12:53:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:53:28] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 17:54:02] Production.INFO: ==3102== Lock acquired, processing the job...
[2025-04-09 17:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:54:02] Production.INFO: neon service started
[2025-04-09 17:54:02] Production.INFO: neon service started
[2025-04-09 17:54:02] Production.INFO: ==3102== Releasing lock...
[2025-04-09 17:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:54:02] Production.INFO: ==3106== Lock acquired, processing the job...
[2025-04-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:54:02] Production.INFO: ==3106== Releasing lock...
[2025-04-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:54:02] Production.INFO: ==3104== Lock acquired, processing the job...
[2025-04-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:54:03] Production.INFO: ==3104== Releasing lock...
[2025-04-09 12:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:54:04] Production.INFO: ==3110== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:54:04] Production.INFO: ==3112== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:54:04] Production.INFO: ==3114== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:54:04] Production.INFO: ==3116== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:54:04] Production.INFO: ==3118== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:54:04] Production.INFO: ==3120== Lock acquired, processing the job...
[2025-04-09 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:54:04] Production.INFO: Account Balance Start.
[2025-04-09 12:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:54:04] Production.INFO: 117
[2025-04-09 12:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:54:04] Production.INFO: Total Charge 0
[2025-04-09 12:54:04] Production.INFO: ==3112== Releasing lock...
[2025-04-09 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:54:04] Production.INFO: CreateAllLog End
[2025-04-09 12:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:54:04] Production.INFO: count ==12
[2025-04-09 12:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:54:04] Production.INFO: count ==23
[2025-04-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869673') start
[2025-04-09 12:54:05] Production.ERROR: done
[2025-04-09 12:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869673') end
[2025-04-09 12:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:54:05] Production.INFO: 1
[2025-04-09 12:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:54:05] Production.INFO: ==3120== Releasing lock...
[2025-04-09 12:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:54:05] Production.ERROR: done
[2025-04-09 12:54:05] Production.INFO: Account Balance End.
[2025-04-09 12:54:05] Production.ERROR: CronJobId end 12
[2025-04-09 12:54:05] Production.INFO: ==3116== Releasing lock...
[2025-04-09 12:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:54:06
[end_date_ymd] => 2025-04-09 12:54:06
[RateCDR] => 1
)
[2025-04-09 12:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:54:06' and `end` < '2025-04-09 12:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:54:13] Production.ERROR: CronJobId end10
[2025-04-09 12:54:13] Production.INFO: ==3114== Releasing lock...
[2025-04-09 12:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:54:15] Production.INFO: call_cost start
[2025-04-09 12:54:15] Production.INFO: call_cost end
[2025-04-09 12:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:54:16] Production.INFO: ==3110== Releasing lock...
[2025-04-09 12:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:54:20] Production.INFO: count ==7167
[2025-04-09 12:54:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:54:06 - End Time 2025-04-09 12:54:06
[2025-04-09 12:54:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869674', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869674', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869674', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869674', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:54:23] Production.INFO: ProcessCDR(1,14869674,1,1,2)
[2025-04-09 12:54:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:54:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:54:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:54:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869674', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869674', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:54:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:54:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:54:29] Production.INFO: ==3118== Releasing lock...
[2025-04-09 12:54:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:54:29] Production.INFO: 82 MB #Memory Used#
[2025-04-09 17:55:01] Production.INFO: ==3187== Lock acquired, processing the job...
[2025-04-09 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:55:01] Production.INFO: neon service started
[2025-04-09 17:55:01] Production.INFO: neon service started
[2025-04-09 17:55:01] Production.INFO: ==3187== Releasing lock...
[2025-04-09 17:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:55:02] Production.INFO: ==3191== Lock acquired, processing the job...
[2025-04-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:55:02] Production.INFO: ==3191== Releasing lock...
[2025-04-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:55:02] Production.INFO: ==3189== Lock acquired, processing the job...
[2025-04-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:55:02] Production.INFO: ==3189== Releasing lock...
[2025-04-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:55:03] Production.INFO: ==3198== Lock acquired, processing the job...
[2025-04-09 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:55:03] Production.INFO: ==3202== Lock acquired, processing the job...
[2025-04-09 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:55:03] Production.INFO: ==3194== Lock acquired, processing the job...
[2025-04-09 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:55:03] Production.INFO: ==3196== Lock acquired, processing the job...
[2025-04-09 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:55:04] Production.INFO: ==3200== Lock acquired, processing the job...
[2025-04-09 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:55:04] Production.INFO: ==3204== Lock acquired, processing the job...
[2025-04-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:55:04] Production.INFO: Account Balance Start.
[2025-04-09 12:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:55:04] Production.INFO: 117
[2025-04-09 12:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:55:04] Production.INFO: Total Charge 0
[2025-04-09 12:55:04] Production.INFO: CreateAllLog End
[2025-04-09 12:55:04] Production.INFO: count ==12
[2025-04-09 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:55:04] Production.INFO: count ==23
[2025-04-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869678') start
[2025-04-09 12:55:04] Production.INFO: ==3196== Releasing lock...
[2025-04-09 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:55:04] Production.ERROR: done
[2025-04-09 12:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869678') end
[2025-04-09 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:55:04] Production.INFO: 1
[2025-04-09 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:55:04] Production.INFO: Account Balance End.
[2025-04-09 12:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:55:04] Production.INFO: ==3200== Releasing lock...
[2025-04-09 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:55:04] Production.ERROR: done
[2025-04-09 12:55:04] Production.INFO: ==3204== Releasing lock...
[2025-04-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:55:05
[end_date_ymd] => 2025-04-09 12:55:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 09:55:05' and `end` < '2025-04-09 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-04-09 12:55:12] Production.ERROR: CronJobId end10
[2025-04-09 12:55:12] Production.INFO: ==3198== Releasing lock...
[2025-04-09 12:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:55:15] Production.INFO: call_cost start
[2025-04-09 12:55:15] Production.INFO: call_cost end
[2025-04-09 12:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:55:16] Production.INFO: ==3194== Releasing lock...
[2025-04-09 12:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:55:19] Production.INFO: count ==7168
[2025-04-09 12:55:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:55:05 - End Time 2025-04-09 12:55:05
[2025-04-09 12:55:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869679', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869679', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869679', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869679', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:55:23] Production.INFO: ProcessCDR(1,14869679,1,1,2)
[2025-04-09 12:55:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:55:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869679', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869679', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:55:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:55:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:55:28] Production.INFO: ==3202== Releasing lock...
[2025-04-09 12:55:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:55:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 17:56:02] Production.INFO: ==3270== Lock acquired, processing the job...
[2025-04-09 17:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:56:02] Production.INFO: neon service started
[2025-04-09 17:56:02] Production.INFO: neon service started
[2025-04-09 17:56:02] Production.INFO: ==3270== Releasing lock...
[2025-04-09 17:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:56:02] Production.INFO: ==3272== Lock acquired, processing the job...
[2025-04-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:56:02] Production.INFO: ==3274== Lock acquired, processing the job...
[2025-04-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:56:02] Production.INFO: ==3274== Releasing lock...
[2025-04-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:56:03] Production.INFO: ==3272== Releasing lock...
[2025-04-09 12:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:56:03] Production.INFO: ==3276== Lock acquired, processing the job...
[2025-04-09 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:56:03] Production.INFO: ==3282== Lock acquired, processing the job...
[2025-04-09 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:56:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-04-09 12:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:56:03] Production.INFO: Account Balance Start.
[2025-04-09 12:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:56:03] Production.INFO: 117
[2025-04-09 12:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:56:03] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-04-09 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:56:03] Production.INFO: ==3280== Lock acquired, processing the job...
[2025-04-09 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:56:04] Production.INFO: Total Charge 0
[2025-04-09 12:56:04] Production.INFO: CreateAllLog End
[2025-04-09 12:56:04] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-04-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:56:04] Production.INFO: count ==12
[2025-04-09 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:56:04] Production.INFO: count ==23
[2025-04-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869682') start
[2025-04-09 12:56:04] Production.ERROR: done
[2025-04-09 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:56:04] Production.INFO: Account Balance End.
[2025-04-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869682') end
[2025-04-09 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:56:04] Production.INFO: 1
[2025-04-09 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:56:04] Production.INFO: ==3278== Releasing lock...
[2025-04-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:56:04] Production.INFO: ==3286== Releasing lock...
[2025-04-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:56:04] Production.INFO: ==3282== Releasing lock...
[2025-04-09 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:56:04] Production.ERROR: done
[2025-04-09 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:56:05
[end_date_ymd] => 2025-04-09 12:56:05
[RateCDR] => 1
)
[2025-04-09 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:56:05' and `end` < '2025-04-09 12:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:56:13] Production.ERROR: CronJobId end10
[2025-04-09 12:56:13] Production.INFO: ==3280== Releasing lock...
[2025-04-09 12:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:56:16] Production.INFO: call_cost start
[2025-04-09 12:56:16] Production.INFO: call_cost end
[2025-04-09 12:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:56:17] Production.INFO: ==3276== Releasing lock...
[2025-04-09 12:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:56:19] Production.INFO: count ==7178
[2025-04-09 12:56:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:56:05 - End Time 2025-04-09 12:56:05
[2025-04-09 12:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869684', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869684', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869684', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869684', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:56:23] Production.INFO: ProcessCDR(1,14869684,1,1,2)
[2025-04-09 12:56:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:56:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:56:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:56:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:56:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869684', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:56:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869684', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:56:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:56:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:56:28] Production.INFO: ==3284== Releasing lock...
[2025-04-09 12:56:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:56:28] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 17:57:01] Production.INFO: ==3394== Lock acquired, processing the job...
[2025-04-09 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:57:01] Production.INFO: neon service started
[2025-04-09 17:57:01] Production.INFO: neon service started
[2025-04-09 17:57:01] Production.INFO: ==3394== Releasing lock...
[2025-04-09 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:57:02] Production.INFO: ==3396== Lock acquired, processing the job...
[2025-04-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:57:02] Production.INFO: ==3396== Releasing lock...
[2025-04-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:57:02] Production.INFO: ==3398== Lock acquired, processing the job...
[2025-04-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:57:02] Production.INFO: ==3398== Releasing lock...
[2025-04-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:57:03] Production.INFO: ==3400== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:57:03] Production.INFO: ==3406== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:57:03] Production.INFO: ==3404== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:57:03] Production.INFO: ==3402== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:57:03] Production.INFO: Account Balance Start.
[2025-04-09 12:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:57:03] Production.INFO: 117
[2025-04-09 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:57:03] Production.INFO: ==3410== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:57:03] Production.INFO: ==3408== Lock acquired, processing the job...
[2025-04-09 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:57:03] Production.INFO: Total Charge 0
[2025-04-09 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:57:03] Production.INFO: CreateAllLog End
[2025-04-09 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:57:03] Production.INFO: count ==12
[2025-04-09 12:57:03] Production.INFO: ==3402== Releasing lock...
[2025-04-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:57:03] Production.INFO: count ==23
[2025-04-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869688') start
[2025-04-09 12:57:04] Production.ERROR: done
[2025-04-09 12:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:57:04] Production.INFO: Account Balance End.
[2025-04-09 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869688') end
[2025-04-09 12:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:57:04] Production.INFO: 1
[2025-04-09 12:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:57:04] Production.INFO: ==3410== Releasing lock...
[2025-04-09 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:57:04] Production.INFO: ==3406== Releasing lock...
[2025-04-09 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:57:04] Production.ERROR: done
[2025-04-09 12:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:57:05
[end_date_ymd] => 2025-04-09 12:57:05
[RateCDR] => 1
)
[2025-04-09 12:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:57:05' and `end` < '2025-04-09 12:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:57:13] Production.ERROR: CronJobId end10
[2025-04-09 12:57:13] Production.INFO: ==3404== Releasing lock...
[2025-04-09 12:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:57:14] Production.INFO: call_cost start
[2025-04-09 12:57:15] Production.INFO: call_cost end
[2025-04-09 12:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:57:15] Production.INFO: ==3400== Releasing lock...
[2025-04-09 12:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:57:19] Production.INFO: count ==7170
[2025-04-09 12:57:22] Production.ERROR: pbx CDR StartTime 2025-04-09 09:57:05 - End Time 2025-04-09 12:57:05
[2025-04-09 12:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869689', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869689', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869689', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869689', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:57:22] Production.INFO: ProcessCDR(1,14869689,1,1,2)
[2025-04-09 12:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869689', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869689', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:57:28] Production.INFO: ==3408== Releasing lock...
[2025-04-09 12:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:57:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 17:58:02] Production.INFO: ==3484== Lock acquired, processing the job...
[2025-04-09 17:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:58:02] Production.INFO: neon service started
[2025-04-09 17:58:02] Production.INFO: neon service started
[2025-04-09 17:58:02] Production.INFO: ==3484== Releasing lock...
[2025-04-09 17:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:58:02] Production.INFO: ==3488== Lock acquired, processing the job...
[2025-04-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:58:02] Production.INFO: ==3488== Releasing lock...
[2025-04-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:58:02] Production.INFO: ==3486== Lock acquired, processing the job...
[2025-04-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:58:02] Production.INFO: ==3486== Releasing lock...
[2025-04-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 12:58:03] Production.INFO: ==3499== Lock acquired, processing the job...
[2025-04-09 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:58:03] Production.INFO: ==3491== Lock acquired, processing the job...
[2025-04-09 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:58:03] Production.INFO: ==3493== Lock acquired, processing the job...
[2025-04-09 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:58:03] Production.INFO: ==3501== Lock acquired, processing the job...
[2025-04-09 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:58:03] Production.INFO: ==3495== Lock acquired, processing the job...
[2025-04-09 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:58:04] Production.INFO: ==3497== Lock acquired, processing the job...
[2025-04-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:58:04] Production.INFO: Account Balance Start.
[2025-04-09 12:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 12:58:04] Production.INFO: 117
[2025-04-09 12:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 12:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:58:04] Production.INFO: count ==12
[2025-04-09 12:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:58:04] Production.INFO: count ==23
[2025-04-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869690') start
[2025-04-09 12:58:04] Production.ERROR: done
[2025-04-09 12:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869690') end
[2025-04-09 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:58:04] Production.INFO: 1
[2025-04-09 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:58:04] Production.INFO: Total Charge 0
[2025-04-09 12:58:04] Production.INFO: CreateAllLog End
[2025-04-09 12:58:04] Production.INFO: ==3501== Releasing lock...
[2025-04-09 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:58:04] Production.ERROR: done
[2025-04-09 12:58:04] Production.INFO: ==3493== Releasing lock...
[2025-04-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:58:04] Production.INFO: Account Balance End.
[2025-04-09 12:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 12:58:04] Production.INFO: ==3497== Releasing lock...
[2025-04-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:58:05
[end_date_ymd] => 2025-04-09 12:58:05
[RateCDR] => 1
)
[2025-04-09 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:58:05' and `end` < '2025-04-09 12:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:58:13] Production.ERROR: CronJobId end10
[2025-04-09 12:58:13] Production.INFO: ==3495== Releasing lock...
[2025-04-09 12:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:58:15] Production.INFO: call_cost start
[2025-04-09 12:58:15] Production.INFO: call_cost end
[2025-04-09 12:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:58:16] Production.INFO: ==3491== Releasing lock...
[2025-04-09 12:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:58:19] Production.INFO: count ==7170
[2025-04-09 12:58:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:58:05 - End Time 2025-04-09 12:58:05
[2025-04-09 12:58:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869694', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869694', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869694', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869694', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:58:23] Production.INFO: ProcessCDR(1,14869694,1,1,2)
[2025-04-09 12:58:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:58:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:58:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:58:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869694', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869694', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:58:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:58:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:58:28] Production.INFO: ==3499== Releasing lock...
[2025-04-09 12:58:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:58:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 17:59:01] Production.INFO: ==3571== Lock acquired, processing the job...
[2025-04-09 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 17:59:01] Production.INFO: neon service started
[2025-04-09 17:59:01] Production.INFO: neon service started
[2025-04-09 17:59:01] Production.INFO: ==3571== Releasing lock...
[2025-04-09 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 12:59:01] Production.INFO: ==3573== Lock acquired, processing the job...
[2025-04-09 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 12:59:02] Production.INFO: ==3573== Releasing lock...
[2025-04-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:59:02] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-04-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:59:02] Production.INFO: ==3575== Releasing lock...
[2025-04-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 12:59:03] Production.INFO: ==3583== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 12:59:03] Production.INFO: Account Balance Start.
[2025-04-09 12:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 12:59:03] Production.INFO: 117
[2025-04-09 12:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 12:59:03] Production.INFO: ==3588== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 12:59:03] Production.INFO: Total Charge 0
[2025-04-09 12:59:03] Production.INFO: CreateAllLog End
[2025-04-09 12:59:03] Production.INFO: ==3577== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 12:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:59:03] Production.INFO: ==3579== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 12:59:03] Production.INFO: ==3581== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 12:59:03] Production.INFO: Account Balance End.
[2025-04-09 12:59:03] Production.INFO: count ==12
[2025-04-09 12:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 12:59:03] Production.INFO: count ==23
[2025-04-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869696') start
[2025-04-09 12:59:03] Production.ERROR: CronJobId end 12
[2025-04-09 12:59:03] Production.INFO: ==3583== Releasing lock...
[2025-04-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 12:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 12:59:03] Production.INFO: ==3585== Lock acquired, processing the job...
[2025-04-09 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869696') end
[2025-04-09 12:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 12:59:03] Production.INFO: 1
[2025-04-09 12:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 12:59:03] Production.INFO: ==3588== Releasing lock...
[2025-04-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 12:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 12:59:04] Production.INFO: ==3579== Releasing lock...
[2025-04-09 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 12:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 12:59:04] Production.ERROR: done
[2025-04-09 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 12:59:04] Production.ERROR: done
[2025-04-09 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 09:59:05
[end_date_ymd] => 2025-04-09 12:59:05
[RateCDR] => 1
)
[2025-04-09 12:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 09:59:05' and `end` < '2025-04-09 12:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 12:59:12] Production.ERROR: CronJobId end10
[2025-04-09 12:59:12] Production.INFO: ==3581== Releasing lock...
[2025-04-09 12:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 12:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 12:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 12:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 12:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 12:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 12:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 12:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 12:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 12:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 12:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 12:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 12:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 12:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 12:59:15] Production.INFO: call_cost start
[2025-04-09 12:59:15] Production.INFO: call_cost end
[2025-04-09 12:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 12:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 12:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 12:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 12:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 12:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 12:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 12:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 12:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 12:59:16] Production.INFO: ==3577== Releasing lock...
[2025-04-09 12:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 12:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 12:59:19] Production.INFO: count ==7161
[2025-04-09 12:59:23] Production.ERROR: pbx CDR StartTime 2025-04-09 09:59:05 - End Time 2025-04-09 12:59:05
[2025-04-09 12:59:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 12:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869699', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869699', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869699', 'tblTempVendorCDR_20' ) start
[2025-04-09 12:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869699', 'tblTempVendorCDR_20' ) end
[2025-04-09 12:59:23] Production.INFO: ProcessCDR(1,14869699,1,1,2)
[2025-04-09 12:59:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:59:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 12:59:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:59:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 12:59:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869699', 'tblTempUsageDetail_20' ) start
[2025-04-09 12:59:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869699', 'tblTempUsageDetail_20' ) end
[2025-04-09 12:59:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 12:59:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 12:59:28] Production.INFO: ==3585== Releasing lock...
[2025-04-09 12:59:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 12:59:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:00:02] Production.INFO: ==3654== Lock acquired, processing the job...
[2025-04-09 18:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:00:02] Production.INFO: neon service started
[2025-04-09 18:00:02] Production.INFO: neon service started
[2025-04-09 18:00:02] Production.INFO: ==3654== Releasing lock...
[2025-04-09 18:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:00:02] Production.INFO: ==3658== Lock acquired, processing the job...
[2025-04-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:00:02] Production.INFO: ==3658== Releasing lock...
[2025-04-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:00:02] Production.INFO: ==3656== Lock acquired, processing the job...
[2025-04-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:00:03] Production.INFO: ==3656== Releasing lock...
[2025-04-09 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:00:03] Production.INFO: ==3661== Lock acquired, processing the job...
[2025-04-09 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:00:04] Production.INFO: ==3661== Releasing lock...
[2025-04-09 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:00:04] Production.INFO: ==3663== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:00:04] Production.INFO: ==3665== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:00:04] Production.INFO: ==3667== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:00:04] Production.INFO: ==3669== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:00:04] Production.INFO: Account Balance Start.
[2025-04-09 13:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:00:04] Production.INFO: 117
[2025-04-09 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:00:04] Production.INFO: ==3671== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:00:04] Production.INFO: ==3673== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:00:04] Production.INFO: Total Charge 0
[2025-04-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:00:04] Production.INFO: CreateAllLog End
[2025-04-09 13:00:04] Production.INFO: ==3675== Lock acquired, processing the job...
[2025-04-09 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:00:04] Production.INFO: ==3665== Releasing lock...
[2025-04-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:00:05] Production.INFO: count ==12
[2025-04-09 13:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:00:05] Production.INFO: count ==23
[2025-04-09 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869703') start
[2025-04-09 13:00:05] Production.ERROR: done
[2025-04-09 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869703') end
[2025-04-09 13:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:00:05] Production.INFO: 1
[2025-04-09 13:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:00:05] Production.ERROR: done
[2025-04-09 13:00:05] Production.INFO: ==3675== Releasing lock...
[2025-04-09 13:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:00:05] Production.INFO: Account Balance End.
[2025-04-09 13:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869704', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:00:05] Production.INFO: ==3669== Releasing lock...
[2025-04-09 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:00:05] Production.ERROR: done
[2025-04-09 13:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:00:07
[end_date_ymd] => 2025-04-09 13:00:07
[RateCDR] => 1
)
[2025-04-09 13:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:00:07' and `end` < '2025-04-09 13:00:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869704', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:00:09] Production.INFO: ProcessCDR(1,14869704,1,1,2)
[2025-04-09 13:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869704,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:00:10] Production.INFO: ==3673== Releasing lock...
[2025-04-09 13:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:00:15] Production.ERROR: CronJobId end10
[2025-04-09 13:00:15] Production.INFO: ==3667== Releasing lock...
[2025-04-09 13:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:00:18] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:00:18] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:00:18] Production.INFO: call_cost start
[2025-04-09 13:00:18] Production.INFO: call_cost end
[2025-04-09 13:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:00:19] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:00:19] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:00:19] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:00:19] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:00:19] Production.INFO: ==3663== Releasing lock...
[2025-04-09 13:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:00:21] Production.INFO: count ==7147
[2025-04-09 13:00:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:00:07 - End Time 2025-04-09 13:00:07
[2025-04-09 13:00:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869705', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869705', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869705', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869705', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:00:24] Production.INFO: ProcessCDR(1,14869705,1,1,2)
[2025-04-09 13:00:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:00:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:00:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:00:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:00:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869705', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:00:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869705', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:00:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:00:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:00:30] Production.INFO: ==3671== Releasing lock...
[2025-04-09 13:00:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:00:30] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:01:01] Production.INFO: ==3749== Lock acquired, processing the job...
[2025-04-09 18:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:01:01] Production.INFO: neon service started
[2025-04-09 18:01:01] Production.INFO: neon service started
[2025-04-09 18:01:01] Production.INFO: ==3749== Releasing lock...
[2025-04-09 18:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:01:02] Production.INFO: ==3762== Lock acquired, processing the job...
[2025-04-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:01:02] Production.INFO: ==3762== Releasing lock...
[2025-04-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:01:02] Production.INFO: ==3764== Lock acquired, processing the job...
[2025-04-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:01:02] Production.INFO: ==3764== Releasing lock...
[2025-04-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:01:03] Production.INFO: ==3770== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:01:03] Production.INFO: ==3766== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:01:03] Production.INFO: ==3768== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:01:03] Production.INFO: ==3772== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:01:03] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:01:03] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-04-09 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:01:03] Production.INFO: Account Balance Start.
[2025-04-09 13:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:01:04] Production.INFO: 117
[2025-04-09 13:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:01:04] Production.INFO: count ==12
[2025-04-09 13:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:01:04] Production.INFO: count ==23
[2025-04-09 13:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869709') start
[2025-04-09 13:01:04] Production.ERROR: done
[2025-04-09 13:01:04] Production.INFO: ==3768== Releasing lock...
[2025-04-09 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869709') end
[2025-04-09 13:01:04] Production.INFO: Total Charge 0
[2025-04-09 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:01:04] Production.INFO: 1
[2025-04-09 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:01:04] Production.INFO: CreateAllLog End
[2025-04-09 13:01:04] Production.ERROR: done
[2025-04-09 13:01:04] Production.INFO: ==3776== Releasing lock...
[2025-04-09 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:01:04] Production.INFO: Account Balance End.
[2025-04-09 13:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:01:04] Production.INFO: ==3772== Releasing lock...
[2025-04-09 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:01:05
[end_date_ymd] => 2025-04-09 13:01:05
[RateCDR] => 1
)
[2025-04-09 13:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:01:05' and `end` < '2025-04-09 13:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:01:13] Production.ERROR: CronJobId end10
[2025-04-09 13:01:13] Production.INFO: ==3770== Releasing lock...
[2025-04-09 13:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:01:16] Production.INFO: call_cost start
[2025-04-09 13:01:16] Production.INFO: call_cost end
[2025-04-09 13:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:01:17] Production.INFO: ==3766== Releasing lock...
[2025-04-09 13:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:01:19] Production.INFO: count ==7140
[2025-04-09 13:01:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:01:05 - End Time 2025-04-09 13:01:05
[2025-04-09 13:01:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869710', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869710', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869710', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869710', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:01:23] Production.INFO: ProcessCDR(1,14869710,1,1,2)
[2025-04-09 13:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:01:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:01:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:01:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869710', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869710', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:01:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:01:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:01:29] Production.INFO: ==3774== Releasing lock...
[2025-04-09 13:01:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:01:29] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:02:02] Production.INFO: ==3840== Lock acquired, processing the job...
[2025-04-09 18:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:02:02] Production.INFO: neon service started
[2025-04-09 18:02:02] Production.INFO: neon service started
[2025-04-09 18:02:02] Production.INFO: ==3840== Releasing lock...
[2025-04-09 18:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:02:02] Production.INFO: ==3844== Lock acquired, processing the job...
[2025-04-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:02:02] Production.INFO: ==3844== Releasing lock...
[2025-04-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:02:02] Production.INFO: ==3842== Lock acquired, processing the job...
[2025-04-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:02:03] Production.INFO: ==3842== Releasing lock...
[2025-04-09 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:02:04] Production.INFO: ==3851== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:02:04] Production.INFO: ==3857== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:02:04] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:02:04] Production.INFO: ==3849== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:02:04] Production.INFO: count ==12
[2025-04-09 13:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:02:04] Production.INFO: count ==23
[2025-04-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869711') start
[2025-04-09 13:02:04] Production.INFO: ==3853== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:02:04] Production.INFO: ==3855== Lock acquired, processing the job...
[2025-04-09 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869711') end
[2025-04-09 13:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:02:04] Production.INFO: 1
[2025-04-09 13:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:02:04] Production.INFO: ==3857== Releasing lock...
[2025-04-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:02:04] Production.INFO: Account Balance Start.
[2025-04-09 13:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:02:04] Production.INFO: 117
[2025-04-09 13:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:02:04] Production.INFO: ==3849== Releasing lock...
[2025-04-09 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:02:05] Production.INFO: Total Charge 0
[2025-04-09 13:02:05] Production.INFO: CreateAllLog End
[2025-04-09 13:02:05] Production.ERROR: done
[2025-04-09 13:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:02:05] Production.ERROR: done
[2025-04-09 13:02:05] Production.INFO: Account Balance End.
[2025-04-09 13:02:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:02:05] Production.INFO: ==3853== Releasing lock...
[2025-04-09 13:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:02:06
[end_date_ymd] => 2025-04-09 13:02:06
[RateCDR] => 1
)
[2025-04-09 13:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:02:06' and `end` < '2025-04-09 13:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:02:14] Production.ERROR: CronJobId end10
[2025-04-09 13:02:14] Production.INFO: ==3851== Releasing lock...
[2025-04-09 13:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:02:16] Production.INFO: call_cost start
[2025-04-09 13:02:16] Production.INFO: call_cost end
[2025-04-09 13:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:02:17] Production.INFO: ==3847== Releasing lock...
[2025-04-09 13:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:02:20] Production.INFO: count ==7148
[2025-04-09 13:02:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:02:06 - End Time 2025-04-09 13:02:06
[2025-04-09 13:02:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869715', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869715', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869715', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869715', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:02:24] Production.INFO: ProcessCDR(1,14869715,1,1,2)
[2025-04-09 13:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869715', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869715', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:02:28] Production.INFO: ==3855== Releasing lock...
[2025-04-09 13:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:02:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:03:01] Production.INFO: ==3930== Lock acquired, processing the job...
[2025-04-09 18:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:03:01] Production.INFO: neon service started
[2025-04-09 18:03:01] Production.INFO: neon service started
[2025-04-09 18:03:01] Production.INFO: ==3930== Releasing lock...
[2025-04-09 18:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:03:02] Production.INFO: ==3932== Lock acquired, processing the job...
[2025-04-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:03:02] Production.INFO: ==3934== Lock acquired, processing the job...
[2025-04-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:03:02] Production.INFO: ==3934== Releasing lock...
[2025-04-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:03:02] Production.INFO: ==3932== Releasing lock...
[2025-04-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:03:03] Production.INFO: ==3938== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:03:03] Production.INFO: ==3940== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:03:03] Production.INFO: ==3946== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:03:03] Production.INFO: ==3942== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:03:03] Production.INFO: ==3944== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:03:03] Production.INFO: ==3948== Lock acquired, processing the job...
[2025-04-09 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:03:04] Production.INFO: Account Balance Start.
[2025-04-09 13:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:03:04] Production.INFO: 117
[2025-04-09 13:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:03:04] Production.INFO: count ==12
[2025-04-09 13:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:03:04] Production.INFO: count ==23
[2025-04-09 13:03:04] Production.INFO: ==3940== Releasing lock...
[2025-04-09 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:03:04] Production.INFO: Total Charge 0
[2025-04-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869719') start
[2025-04-09 13:03:04] Production.INFO: CreateAllLog End
[2025-04-09 13:03:04] Production.ERROR: done
[2025-04-09 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869719') end
[2025-04-09 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:03:04] Production.INFO: 1
[2025-04-09 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:03:04] Production.INFO: ==3948== Releasing lock...
[2025-04-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:03:04] Production.ERROR: done
[2025-04-09 13:03:04] Production.INFO: Account Balance End.
[2025-04-09 13:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:03:04] Production.INFO: ==3944== Releasing lock...
[2025-04-09 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:03:05
[end_date_ymd] => 2025-04-09 13:03:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:03:05' and `end` < '2025-04-09 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-04-09 13:03:12] Production.ERROR: CronJobId end10
[2025-04-09 13:03:12] Production.INFO: ==3942== Releasing lock...
[2025-04-09 13:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:03:16] Production.INFO: call_cost start
[2025-04-09 13:03:16] Production.INFO: call_cost end
[2025-04-09 13:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:03:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:03:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:03:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:03:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:03:17] Production.INFO: ==3938== Releasing lock...
[2025-04-09 13:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:03:19] Production.INFO: count ==7158
[2025-04-09 13:03:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:03:05 - End Time 2025-04-09 13:03:05
[2025-04-09 13:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869720', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869720', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869720', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869720', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:03:23] Production.INFO: ProcessCDR(1,14869720,1,1,2)
[2025-04-09 13:03:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:03:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869720', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869720', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:03:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:03:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:03:28] Production.INFO: ==3946== Releasing lock...
[2025-04-09 13:03:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:03:28] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:04:02] Production.INFO: ==4021== Lock acquired, processing the job...
[2025-04-09 18:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:04:02] Production.INFO: neon service started
[2025-04-09 18:04:02] Production.INFO: neon service started
[2025-04-09 18:04:02] Production.INFO: ==4021== Releasing lock...
[2025-04-09 18:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:04:02] Production.INFO: ==4025== Lock acquired, processing the job...
[2025-04-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:04:02] Production.INFO: ==4027== Lock acquired, processing the job...
[2025-04-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:04:02] Production.INFO: ==4027== Releasing lock...
[2025-04-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:04:03] Production.INFO: ==4025== Releasing lock...
[2025-04-09 13:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:04:04] Production.INFO: ==4029== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:04:04] Production.INFO: ==4031== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:04:04] Production.INFO: ==4035== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:04:04] Production.INFO: Account Balance Start.
[2025-04-09 13:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:04:04] Production.INFO: 117
[2025-04-09 13:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:04:04] Production.INFO: ==4033== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:04:04] Production.INFO: Total Charge 0
[2025-04-09 13:04:04] Production.INFO: CreateAllLog End
[2025-04-09 13:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:04:04] Production.INFO: Account Balance End.
[2025-04-09 13:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:04:04] Production.INFO: ==4037== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:04:04] Production.INFO: ==4035== Releasing lock...
[2025-04-09 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:04:04] Production.INFO: ==4039== Lock acquired, processing the job...
[2025-04-09 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:04:04] Production.INFO: ==4031== Releasing lock...
[2025-04-09 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:04:05] Production.INFO: count ==12
[2025-04-09 13: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-04-09 13:04:05] Production.INFO: count ==23
[2025-04-09 13:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869724') start
[2025-04-09 13:04:05] Production.ERROR: done
[2025-04-09 13:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869724') end
[2025-04-09 13:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:04:05] Production.INFO: 1
[2025-04-09 13:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:04:05] Production.INFO: ==4039== Releasing lock...
[2025-04-09 13:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:04:05] Production.ERROR: done
[2025-04-09 13:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:04:06
[end_date_ymd] => 2025-04-09 13:04:06
[RateCDR] => 1
)
[2025-04-09 13:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:04:06' and `end` < '2025-04-09 13:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:04:14] Production.ERROR: CronJobId end10
[2025-04-09 13:04:14] Production.INFO: ==4033== Releasing lock...
[2025-04-09 13:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:04:16] Production.INFO: call_cost start
[2025-04-09 13:04:16] Production.INFO: call_cost end
[2025-04-09 13:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:04:17] Production.INFO: ==4029== Releasing lock...
[2025-04-09 13:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:04:20] Production.INFO: count ==7155
[2025-04-09 13:04:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:04:06 - End Time 2025-04-09 13:04:06
[2025-04-09 13:04:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869725', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869725', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869725', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869725', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:04:24] Production.INFO: ProcessCDR(1,14869725,1,1,2)
[2025-04-09 13:04:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:04:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869725', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869725', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:04:30] Production.INFO: ==4037== Releasing lock...
[2025-04-09 13:04:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:04:30] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:05:01] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-04-09 18:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:05:01] Production.INFO: neon service started
[2025-04-09 18:05:01] Production.INFO: neon service started
[2025-04-09 18:05:01] Production.INFO: ==4109== Releasing lock...
[2025-04-09 18:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:05:01] Production.INFO: ==4113== Lock acquired, processing the job...
[2025-04-09 17:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:05:01] Production.INFO: ==4113== Releasing lock...
[2025-04-09 17:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:05:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:05:02] Production.INFO: ==4111== Lock acquired, processing the job...
[2025-04-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:05:02] Production.INFO: ==4111== Releasing lock...
[2025-04-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:05:03] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:05:03] Production.INFO: ==4120== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:05:03] Production.INFO: ==4124== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:05:03] Production.INFO: ==4118== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:05:03] Production.INFO: ==4122== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:05:03] Production.INFO: ==4126== Lock acquired, processing the job...
[2025-04-09 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:05:04] Production.ERROR: done
[2025-04-09 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:05:04] Production.INFO: Account Balance Start.
[2025-04-09 13:05:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:05:04] Production.INFO: 117
[2025-04-09 13:05:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:05:04] Production.INFO: count ==12
[2025-04-09 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-04-09 13:05:04] Production.INFO: count ==23
[2025-04-09 13:05:04] Production.INFO: Total Charge 0
[2025-04-09 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869729') start
[2025-04-09 13:05:04] Production.INFO: CreateAllLog End
[2025-04-09 13:05:04] Production.ERROR: done
[2025-04-09 13:05:04] Production.INFO: ==4118== Releasing lock...
[2025-04-09 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869729') end
[2025-04-09 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:05:04] Production.INFO: 1
[2025-04-09 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:05:04] Production.INFO: Account Balance End.
[2025-04-09 13:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:05:04] Production.INFO: ==4122== Releasing lock...
[2025-04-09 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:05:04] Production.INFO: ==4126== Releasing lock...
[2025-04-09 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:05:05
[end_date_ymd] => 2025-04-09 13:05:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:05:05' and `end` < '2025-04-09 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-04-09 13:05:14] Production.ERROR: CronJobId end10
[2025-04-09 13:05:14] Production.INFO: ==4120== Releasing lock...
[2025-04-09 13:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:05:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:05:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:05:16] Production.INFO: call_cost start
[2025-04-09 13:05:16] Production.INFO: call_cost end
[2025-04-09 13:05:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:05:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:05:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:05:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:05:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:05:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:05:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:05:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:05:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:05:18] Production.INFO: ==4116== Releasing lock...
[2025-04-09 13:05:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:05:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:05:19] Production.INFO: count ==7169
[2025-04-09 13:05:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:05:05 - End Time 2025-04-09 13:05:05
[2025-04-09 13:05:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869730', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869730', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869730', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869730', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:05:23] Production.INFO: ProcessCDR(1,14869730,1,1,2)
[2025-04-09 13:05:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:05:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:05:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:05:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869730', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869730', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:05:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:05:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:05:29] Production.INFO: ==4124== Releasing lock...
[2025-04-09 13:05:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:05:29] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:06:02] Production.INFO: ==4259== Lock acquired, processing the job...
[2025-04-09 18:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:06:02] Production.INFO: neon service started
[2025-04-09 18:06:02] Production.INFO: neon service started
[2025-04-09 18:06:02] Production.INFO: ==4259== Releasing lock...
[2025-04-09 18:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:06:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 17:06:02] Production.INFO: ==4263== Lock acquired, processing the job...
[2025-04-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:06:02] Production.INFO: ==4263== Releasing lock...
[2025-04-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:06:02] Production.INFO: ==4261== Lock acquired, processing the job...
[2025-04-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:06:02] Production.INFO: ==4261== Releasing lock...
[2025-04-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:06:03] Production.INFO: ==4266== Lock acquired, processing the job...
[2025-04-09 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:06:03] Production.INFO: ==4268== Lock acquired, processing the job...
[2025-04-09 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:06:04] Production.INFO: ==4272== Lock acquired, processing the job...
[2025-04-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:06:04] Production.INFO: Account Balance Start.
[2025-04-09 13:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:06:04] Production.INFO: 117
[2025-04-09 13:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:06:04] Production.INFO: ==4270== Lock acquired, processing the job...
[2025-04-09 13:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:06:04] Production.INFO: Total Charge 0
[2025-04-09 13:06:04] Production.INFO: CreateAllLog End
[2025-04-09 13:06:04] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-04-09 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:06:04] Production.INFO: ==4268== Releasing lock...
[2025-04-09 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:06:04] Production.INFO: ==4274== Lock acquired, processing the job...
[2025-04-09 13:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:06:04] Production.INFO: Account Balance End.
[2025-04-09 13:06:04] Production.INFO: count ==12
[2025-04-09 13:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:06:04] Production.INFO: count ==23
[2025-04-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869734') start
[2025-04-09 13:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:06:04] Production.INFO: ==4272== Releasing lock...
[2025-04-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869734') end
[2025-04-09 13:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:06:04] Production.INFO: 1
[2025-04-09 13:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:06:05] Production.INFO: ==4276== Releasing lock...
[2025-04-09 13:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:06:05] Production.ERROR: done
[2025-04-09 13:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:06:05] Production.ERROR: done
[2025-04-09 13:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:06:06
[end_date_ymd] => 2025-04-09 13:06:06
[RateCDR] => 1
)
[2025-04-09 13:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:06:06' and `end` < '2025-04-09 13:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:06:14] Production.ERROR: CronJobId end10
[2025-04-09 13:06:14] Production.INFO: ==4270== Releasing lock...
[2025-04-09 13:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:06:15] Production.INFO: call_cost start
[2025-04-09 13:06:15] Production.INFO: call_cost end
[2025-04-09 13:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:06:16] Production.INFO: ==4266== Releasing lock...
[2025-04-09 13:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:06:20] Production.INFO: count ==7187
[2025-04-09 13:06:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:06:06 - End Time 2025-04-09 13:06:06
[2025-04-09 13:06:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869735', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869735', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869735', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869735', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:06:24] Production.INFO: ProcessCDR(1,14869735,1,1,2)
[2025-04-09 13:06:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:06:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:06:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:06:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869735', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869735', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:06:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:06:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:06:29] Production.INFO: ==4274== Releasing lock...
[2025-04-09 13:06:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:06:29] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 18:07:01] Production.INFO: ==4344== Lock acquired, processing the job...
[2025-04-09 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:07:01] Production.INFO: neon service started
[2025-04-09 18:07:01] Production.INFO: neon service started
[2025-04-09 18:07:01] Production.INFO: ==4344== Releasing lock...
[2025-04-09 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:07:01] Production.INFO: ==4346== Lock acquired, processing the job...
[2025-04-09 13:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:07:02] Production.INFO: ==4346== Releasing lock...
[2025-04-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:07:02] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-04-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:07:02] Production.INFO: ==4348== Releasing lock...
[2025-04-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:07:03] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:07:03] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:07:03] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 13:07:03] Production.INFO: count ==12
[2025-04-09 13:07:03] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 13:07:03] Production.INFO: count ==23
[2025-04-09 13:07:03] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:07:03] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-04-09 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869737') start
[2025-04-09 13:07:03] Production.INFO: Account Balance Start.
[2025-04-09 13:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:07:03] Production.INFO: 117
[2025-04-09 13:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:07:03] Production.INFO: Total Charge 0
[2025-04-09 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869737') end
[2025-04-09 13:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:07:03] Production.INFO: 1
[2025-04-09 13:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:07:03] Production.INFO: CreateAllLog End
[2025-04-09 13:07:03] Production.ERROR: done
[2025-04-09 13:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:07:03] Production.INFO: ==4361== Releasing lock...
[2025-04-09 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:07:03] Production.INFO: ==4353== Releasing lock...
[2025-04-09 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:07:04] Production.ERROR: done
[2025-04-09 13:07:04] Production.INFO: Account Balance End.
[2025-04-09 13:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:07:04] Production.INFO: ==4357== Releasing lock...
[2025-04-09 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:07:05
[end_date_ymd] => 2025-04-09 13:07:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:07:05' and `end` < '2025-04-09 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-04-09 13:07:14] Production.ERROR: CronJobId end10
[2025-04-09 13:07:14] Production.INFO: ==4355== Releasing lock...
[2025-04-09 13:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:07:16] Production.INFO: call_cost start
[2025-04-09 13:07:16] Production.INFO: call_cost end
[2025-04-09 13:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:07:17] Production.INFO: ==4351== Releasing lock...
[2025-04-09 13:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:07:18] Production.INFO: count ==7190
[2025-04-09 13:07:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:07:05 - End Time 2025-04-09 13:07:05
[2025-04-09 13:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869740', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869740', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869740', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869740', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:07:22] Production.INFO: ProcessCDR(1,14869740,1,1,2)
[2025-04-09 13:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869740', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869740', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:07:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:07:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:07:29] Production.INFO: ==4359== Releasing lock...
[2025-04-09 13:07:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:07:29] Production.INFO: 82.25 MB #Memory Used#
[2025-04-09 18:08:01] Production.INFO: ==4430== Lock acquired, processing the job...
[2025-04-09 18:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:08:01] Production.INFO: neon service started
[2025-04-09 18:08:01] Production.INFO: neon service started
[2025-04-09 18:08:01] Production.INFO: ==4430== Releasing lock...
[2025-04-09 18:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:08:02] Production.INFO: ==4432== Lock acquired, processing the job...
[2025-04-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:08:02] Production.INFO: ==4434== Lock acquired, processing the job...
[2025-04-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:08:02] Production.INFO: ==4434== Releasing lock...
[2025-04-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:08:03] Production.INFO: ==4432== Releasing lock...
[2025-04-09 13:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:08:03] Production.INFO: ==4437== Lock acquired, processing the job...
[2025-04-09 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:08:03] Production.INFO: ==4439== Lock acquired, processing the job...
[2025-04-09 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:08:04] Production.INFO: ==4445== Lock acquired, processing the job...
[2025-04-09 13:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:08:04] Production.INFO: ==4441== Lock acquired, processing the job...
[2025-04-09 13:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:08:04] Production.INFO: ==4443== Lock acquired, processing the job...
[2025-04-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:08:04] Production.INFO: ==4447== Lock acquired, processing the job...
[2025-04-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:08:04] Production.INFO: ==4439== Releasing lock...
[2025-04-09 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:08:04] Production.INFO: count ==12
[2025-04-09 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:08:04] Production.INFO: Account Balance Start.
[2025-04-09 13:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:08:04] Production.INFO: count ==23
[2025-04-09 13:08:04] Production.INFO: 117
[2025-04-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869743') start
[2025-04-09 13:08:04] Production.ERROR: done
[2025-04-09 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869743') end
[2025-04-09 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:08:04] Production.INFO: 1
[2025-04-09 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:08:04] Production.INFO: Total Charge 0
[2025-04-09 13:08:04] Production.INFO: ==4447== Releasing lock...
[2025-04-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:08:04] Production.INFO: CreateAllLog End
[2025-04-09 13:08:04] Production.ERROR: done
[2025-04-09 13:08:05] Production.INFO: Account Balance End.
[2025-04-09 13:08:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:08:05] Production.INFO: ==4443== Releasing lock...
[2025-04-09 13:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:08:06
[end_date_ymd] => 2025-04-09 13:08:06
[RateCDR] => 1
)
[2025-04-09 13:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:08:06' and `end` < '2025-04-09 13:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:08:14] Production.ERROR: CronJobId end10
[2025-04-09 13:08:14] Production.INFO: ==4441== Releasing lock...
[2025-04-09 13:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:08:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:08:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:08:16] Production.INFO: call_cost start
[2025-04-09 13:08:16] Production.INFO: call_cost end
[2025-04-09 13:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:08:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:08:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:08:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:08:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:08:17] Production.INFO: ==4437== Releasing lock...
[2025-04-09 13:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:08:19] Production.INFO: count ==7150
[2025-04-09 13:08:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:08:06 - End Time 2025-04-09 13:08:06
[2025-04-09 13:08:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869745', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869745', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869745', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869745', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:08:23] Production.INFO: ProcessCDR(1,14869745,1,1,2)
[2025-04-09 13:08:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:08:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:08:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:08:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869745', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869745', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:08:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:08:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:08:29] Production.INFO: ==4445== Releasing lock...
[2025-04-09 13:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:08:29] Production.INFO: 82 MB #Memory Used#
[2025-04-09 18:09:01] Production.INFO: ==4520== Lock acquired, processing the job...
[2025-04-09 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:09:01] Production.INFO: neon service started
[2025-04-09 18:09:01] Production.INFO: neon service started
[2025-04-09 18:09:01] Production.INFO: ==4520== Releasing lock...
[2025-04-09 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:09:01] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-04-09 13:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:09:02] Production.INFO: ==4522== Releasing lock...
[2025-04-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:09:02] Production.INFO: ==4525== Lock acquired, processing the job...
[2025-04-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:09:02] Production.INFO: ==4525== Releasing lock...
[2025-04-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:09:03] Production.INFO: ==4527== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:09:03] Production.INFO: ==4529== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:09:03] Production.INFO: ==4537== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:09:03] Production.INFO: ==4529== Releasing lock...
[2025-04-09 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 13:09:03] Production.INFO: ==4531== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:09:03] Production.INFO: ==4533== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:09:03] Production.INFO: ==4535== Lock acquired, processing the job...
[2025-04-09 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:09:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:09:03] Production.INFO: count ==23
[2025-04-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869748') start
[2025-04-09 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:09:03] Production.INFO: Account Balance Start.
[2025-04-09 13:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:09:03] Production.INFO: 117
[2025-04-09 13:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869748') end
[2025-04-09 13:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:09:03] Production.INFO: 1
[2025-04-09 13:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:09:03] Production.INFO: Total Charge 0
[2025-04-09 13:09:03] Production.INFO: CreateAllLog End
[2025-04-09 13:09:03] Production.INFO: ==4537== Releasing lock...
[2025-04-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:09:04] Production.INFO: Account Balance End.
[2025-04-09 13:09:04] Production.ERROR: done
[2025-04-09 13:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:09:04] Production.INFO: ==4533== Releasing lock...
[2025-04-09 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:09:04] Production.ERROR: done
[2025-04-09 13:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:09:05
[end_date_ymd] => 2025-04-09 13:09:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:09:05' and `end` < '2025-04-09 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-04-09 13:09:13] Production.ERROR: CronJobId end10
[2025-04-09 13:09:13] Production.INFO: ==4531== Releasing lock...
[2025-04-09 13:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:09:15] Production.INFO: call_cost start
[2025-04-09 13:09:15] Production.INFO: call_cost end
[2025-04-09 13:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:09:16] Production.INFO: ==4527== Releasing lock...
[2025-04-09 13:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:09:19] Production.INFO: count ==7107
[2025-04-09 13:09:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:09:05 - End Time 2025-04-09 13:09:05
[2025-04-09 13:09:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869750', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869750', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869750', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869750', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:09:23] Production.INFO: ProcessCDR(1,14869750,1,1,2)
[2025-04-09 13:09:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:09:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:09:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:09:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869750', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:09:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869750', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:09:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:09:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:09:29] Production.INFO: ==4535== Releasing lock...
[2025-04-09 13:09:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:09:29] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:10:02] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-04-09 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:10:02] Production.INFO: neon service started
[2025-04-09 18:10:02] Production.INFO: neon service started
[2025-04-09 18:10:02] Production.INFO: ==4612== Releasing lock...
[2025-04-09 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:10:02] Production.INFO: ==4614== Lock acquired, processing the job...
[2025-04-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:10:02] Production.INFO: ==4614== Releasing lock...
[2025-04-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:10:02] Production.INFO: ==4616== Lock acquired, processing the job...
[2025-04-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:10:03] Production.INFO: ==4616== Releasing lock...
[2025-04-09 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:10:04] Production.INFO: ==4629== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4619== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4631== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:10:04] Production.INFO: ==4621== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4634== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4623== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4625== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:10:04] Production.INFO: ==4627== Lock acquired, processing the job...
[2025-04-09 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4621
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 5
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4623
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 7
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4625
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 10
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4627
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 12
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4629
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 16
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4631
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 17
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:10:04] Production.ERROR: CronJob PID - 4634
[2025-04-09 13:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 13:10:04] Production.ERROR: CronJob ID - 19
[2025-04-09 13:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:10:00
[2025-04-09 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:10:04] Production.INFO: Account Balance Start.
[2025-04-09 13:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:10:04] Production.INFO: 117
[2025-04-09 13:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:10:04] Production.INFO: count ==12
[2025-04-09 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:10:04] Production.INFO: count ==23
[2025-04-09 13:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:10:04] Production.INFO: ==4619== Releasing lock...
[2025-04-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869751') start
[2025-04-09 13:10:04] Production.INFO: Total Charge 0
[2025-04-09 13:10:04] Production.INFO: CreateAllLog End
[2025-04-09 13:10:04] Production.ERROR: done
[2025-04-09 13:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:10:05] Production.INFO: ==4623== Releasing lock...
[2025-04-09 13:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:10:05] Production.ERROR: done
[2025-04-09 13:10:05] Production.ERROR: done
[2025-04-09 13:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869751') end
[2025-04-09 13:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:10:05] Production.INFO: 1
[2025-04-09 13:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869755', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:10:05] Production.INFO: ==4634== Releasing lock...
[2025-04-09 13:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:10:05] Production.INFO: Account Balance End.
[2025-04-09 13:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:10:05] Production.INFO: ==4627== Releasing lock...
[2025-04-09 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:10:06
[end_date_ymd] => 2025-04-09 13:10:06
[RateCDR] => 1
)
[2025-04-09 13:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:10:06' and `end` < '2025-04-09 13:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869755', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:10:10] Production.INFO: ProcessCDR(1,14869755,1,1,2)
[2025-04-09 13:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869755,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869755,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:10:10] Production.INFO: ==4631== Releasing lock...
[2025-04-09 13:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:10:17] Production.ERROR: CronJobId end10
[2025-04-09 13:10:17] Production.INFO: ==4625== Releasing lock...
[2025-04-09 13:10:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:10:17] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:10:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:10:19] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:10:19] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:10:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:10:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:10:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:10:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:10:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:10:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:10:19] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:10:19] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:10:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:10:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:10:19] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:10:19] Production.INFO: call_cost start
[2025-04-09 13:10:19] Production.INFO: call_cost end
[2025-04-09 13:10:20] Production.INFO: count ==7085
[2025-04-09 13:10:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:10:20] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:10:20] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:10:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:10:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:10:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:10:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:10:20] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:10:20] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:10:20] Production.INFO: ==4621== Releasing lock...
[2025-04-09 13:10:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:10:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:10:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:10:06 - End Time 2025-04-09 13:10:06
[2025-04-09 13:10:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869756', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869756', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869756', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869756', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:10:24] Production.INFO: ProcessCDR(1,14869756,1,1,2)
[2025-04-09 13:10:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:10:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:10:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:10:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:10:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869756', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869756', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:10:30] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:10:30] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:10:30] Production.INFO: ==4629== Releasing lock...
[2025-04-09 13:10:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:10:30] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:11:01] Production.INFO: ==4704== Lock acquired, processing the job...
[2025-04-09 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:11:01] Production.INFO: neon service started
[2025-04-09 18:11:01] Production.INFO: neon service started
[2025-04-09 18:11:01] Production.INFO: ==4704== Releasing lock...
[2025-04-09 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:11:01] Production.INFO: ==4706== Lock acquired, processing the job...
[2025-04-09 13:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:11:02] Production.INFO: ==4706== Releasing lock...
[2025-04-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:11:02] Production.INFO: ==4708== Lock acquired, processing the job...
[2025-04-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:11:02] Production.INFO: ==4708== Releasing lock...
[2025-04-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:11:03] Production.INFO: ==4711== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:11:03] Production.INFO: ==4713== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:11:03] Production.INFO: ==4717== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:11:03] Production.INFO: Account Balance Start.
[2025-04-09 13:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:11:03] Production.INFO: 117
[2025-04-09 13:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:11:03] Production.INFO: ==4715== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:11:03] Production.INFO: ==4721== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:11:03] Production.INFO: ==4719== Lock acquired, processing the job...
[2025-04-09 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:11:03] Production.INFO: ==4713== Releasing lock...
[2025-04-09 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:11:03] Production.INFO: Total Charge 0
[2025-04-09 13:11:03] Production.INFO: count ==12
[2025-04-09 13:11:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 13:11:03] Production.INFO: count ==23
[2025-04-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869760') start
[2025-04-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869760') end
[2025-04-09 13:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:11:03] Production.INFO: 1
[2025-04-09 13:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:11:04] Production.INFO: Account Balance End.
[2025-04-09 13:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:11:04] Production.INFO: ==4717== Releasing lock...
[2025-04-09 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:11:04] Production.INFO: ==4721== Releasing lock...
[2025-04-09 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:11:04] Production.ERROR: done
[2025-04-09 13:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:11:04] Production.ERROR: done
[2025-04-09 13:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:11:05
[end_date_ymd] => 2025-04-09 13:11:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:11:05' and `end` < '2025-04-09 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-04-09 13:11:14] Production.ERROR: CronJobId end10
[2025-04-09 13:11:14] Production.INFO: ==4715== Releasing lock...
[2025-04-09 13:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:11:15] Production.INFO: call_cost start
[2025-04-09 13:11:15] Production.INFO: call_cost end
[2025-04-09 13:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:11:16] Production.INFO: ==4711== Releasing lock...
[2025-04-09 13:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:11:19] Production.INFO: count ==7084
[2025-04-09 13:11:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:11:05 - End Time 2025-04-09 13:11:05
[2025-04-09 13:11:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869761', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869761', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869761', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869761', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:11:23] Production.INFO: ProcessCDR(1,14869761,1,1,2)
[2025-04-09 13:11:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:11:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:11:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:11:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869761', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869761', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:11:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:11:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:11:28] Production.INFO: ==4719== Releasing lock...
[2025-04-09 13:11:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:11:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:12:02] Production.INFO: ==4794== Lock acquired, processing the job...
[2025-04-09 18:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:12:02] Production.INFO: neon service started
[2025-04-09 18:12:02] Production.INFO: neon service started
[2025-04-09 18:12:02] Production.INFO: ==4794== Releasing lock...
[2025-04-09 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:12:02] Production.INFO: ==4797== Lock acquired, processing the job...
[2025-04-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:12:02] Production.INFO: ==4799== Lock acquired, processing the job...
[2025-04-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:12:02] Production.INFO: ==4799== Releasing lock...
[2025-04-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:12:03] Production.INFO: ==4797== Releasing lock...
[2025-04-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:12:04] Production.INFO: ==4807== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:12:04] Production.INFO: Account Balance Start.
[2025-04-09 13:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:12:04] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:12:04] Production.INFO: 117
[2025-04-09 13:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:12:04] Production.INFO: ==4812== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:12:04] Production.INFO: Total Charge 0
[2025-04-09 13:12:04] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:12:04] Production.INFO: CreateAllLog End
[2025-04-09 13:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:12:04] Production.INFO: count ==12
[2025-04-09 13:12:04] Production.INFO: ==4805== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:12:04] Production.INFO: count ==23
[2025-04-09 13:12:04] Production.INFO: ==4809== Lock acquired, processing the job...
[2025-04-09 13:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869764') start
[2025-04-09 13:12:04] Production.INFO: Account Balance End.
[2025-04-09 13:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869764') end
[2025-04-09 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:12:04] Production.INFO: ==4807== Releasing lock...
[2025-04-09 13:12:04] Production.INFO: 1
[2025-04-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:12:04] Production.INFO: ==4812== Releasing lock...
[2025-04-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:12:04] Production.INFO: ==4803== Releasing lock...
[2025-04-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:12:05] Production.ERROR: done
[2025-04-09 13:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:12:05] Production.ERROR: done
[2025-04-09 13:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:12:06
[end_date_ymd] => 2025-04-09 13:12:06
[RateCDR] => 1
)
[2025-04-09 13:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:12:06' and `end` < '2025-04-09 13:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:12:14] Production.ERROR: CronJobId end10
[2025-04-09 13:12:14] Production.INFO: ==4805== Releasing lock...
[2025-04-09 13:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:12:15] Production.INFO: call_cost start
[2025-04-09 13:12:15] Production.INFO: call_cost end
[2025-04-09 13:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:12:16] Production.INFO: ==4801== Releasing lock...
[2025-04-09 13:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:12:19] Production.INFO: count ==7067
[2025-04-09 13:12:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:12:06 - End Time 2025-04-09 13:12:06
[2025-04-09 13:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869766', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869766', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869766', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869766', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:12:23] Production.INFO: ProcessCDR(1,14869766,1,1,2)
[2025-04-09 13:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:12:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869766', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869766', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:12:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:12:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:12:29] Production.INFO: ==4809== Releasing lock...
[2025-04-09 13:12:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:12:29] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 18:13:01] Production.INFO: ==4883== Lock acquired, processing the job...
[2025-04-09 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:13:01] Production.INFO: neon service started
[2025-04-09 18:13:01] Production.INFO: neon service started
[2025-04-09 18:13:01] Production.INFO: ==4883== Releasing lock...
[2025-04-09 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:13:01] Production.INFO: ==4887== Lock acquired, processing the job...
[2025-04-09 17:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:13:01] Production.INFO: ==4887== Releasing lock...
[2025-04-09 17:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:13:02] Production.INFO: ==4885== Lock acquired, processing the job...
[2025-04-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:13:02] Production.INFO: ==4885== Releasing lock...
[2025-04-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:13:03] Production.INFO: ==4892== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:13:03] Production.INFO: ==4894== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:13:03] Production.INFO: ==4896== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:13:03] Production.INFO: Account Balance Start.
[2025-04-09 13:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:13:03] Production.INFO: 117
[2025-04-09 13:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:13:03] Production.INFO: ==4890== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:13:03] Production.INFO: ==4892== Releasing lock...
[2025-04-09 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:13:03] Production.INFO: Total Charge 0
[2025-04-09 13:13:03] Production.INFO: CreateAllLog End
[2025-04-09 13:13:03] Production.INFO: ==4898== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:13:03] Production.INFO: ==4900== Lock acquired, processing the job...
[2025-04-09 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:13:03] Production.INFO: Account Balance End.
[2025-04-09 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:13:03] Production.ERROR: CronJobId end 12
[2025-04-09 13:13:03] Production.INFO: ==4896== Releasing lock...
[2025-04-09 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 13:13:03] Production.INFO: count ==12
[2025-04-09 13:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:13:04] Production.INFO: count ==23
[2025-04-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869770') start
[2025-04-09 13:13:04] Production.ERROR: done
[2025-04-09 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869770') end
[2025-04-09 13:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:13:04] Production.INFO: 1
[2025-04-09 13:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:13:04] Production.INFO: ==4900== Releasing lock...
[2025-04-09 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:13:04] Production.ERROR: done
[2025-04-09 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:13:05
[end_date_ymd] => 2025-04-09 13:13:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:13:05' and `end` < '2025-04-09 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-04-09 13:13:12] Production.ERROR: CronJobId end10
[2025-04-09 13:13:12] Production.INFO: ==4894== Releasing lock...
[2025-04-09 13:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:13:14] Production.INFO: call_cost start
[2025-04-09 13:13:14] Production.INFO: call_cost end
[2025-04-09 13:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:13:15] Production.INFO: ==4890== Releasing lock...
[2025-04-09 13:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:13:19] Production.INFO: count ==7069
[2025-04-09 13:13:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:13:05 - End Time 2025-04-09 13:13:05
[2025-04-09 13:13:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869771', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869771', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869771', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869771', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:13:22] Production.INFO: ProcessCDR(1,14869771,1,1,2)
[2025-04-09 13:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:13:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:13:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:13:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869771', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869771', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:13:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:13:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:13:28] Production.INFO: ==4898== Releasing lock...
[2025-04-09 13:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:13:28] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 18:14:02] Production.INFO: ==4966== Lock acquired, processing the job...
[2025-04-09 18:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:14:02] Production.INFO: neon service started
[2025-04-09 18:14:02] Production.INFO: neon service started
[2025-04-09 18:14:02] Production.INFO: ==4966== Releasing lock...
[2025-04-09 18:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:14:02] Production.INFO: ==4969== Lock acquired, processing the job...
[2025-04-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:14:02] Production.INFO: ==4971== Lock acquired, processing the job...
[2025-04-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:14:02] Production.INFO: ==4971== Releasing lock...
[2025-04-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:14:03] Production.INFO: ==4969== Releasing lock...
[2025-04-09 13:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:14:03] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-04-09 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:14:03] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-04-09 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:14:04] Production.INFO: Account Balance Start.
[2025-04-09 13:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:14:04] Production.INFO: 117
[2025-04-09 13:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:14:04] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-04-09 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:14:04] Production.INFO: ==4973== Lock acquired, processing the job...
[2025-04-09 13:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:14:04] Production.INFO: Total Charge 0
[2025-04-09 13:14:04] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-04-09 13:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:14:04] Production.INFO: CreateAllLog End
[2025-04-09 13:14:04] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-04-09 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 13:14:04] Production.INFO: ==4975== Releasing lock...
[2025-04-09 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:14:04] Production.INFO: count ==12
[2025-04-09 13:14:04] Production.ERROR: done
[2025-04-09 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:14:04] Production.INFO: count ==23
[2025-04-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869775') start
[2025-04-09 13:14:04] Production.INFO: Account Balance End.
[2025-04-09 13:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:14:04] Production.INFO: ==4979== Releasing lock...
[2025-04-09 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:14:04] Production.ERROR: done
[2025-04-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869775') end
[2025-04-09 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:14:04] Production.INFO: 1
[2025-04-09 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:14:04] Production.INFO: ==4983== Releasing lock...
[2025-04-09 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:14:05
[end_date_ymd] => 2025-04-09 13:14:05
[RateCDR] => 1
)
[2025-04-09 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:14:05' and `end` < '2025-04-09 13:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:14:13] Production.ERROR: CronJobId end10
[2025-04-09 13:14:13] Production.INFO: ==4977== Releasing lock...
[2025-04-09 13:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:14:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:14:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:14:16] Production.INFO: call_cost start
[2025-04-09 13:14:16] Production.INFO: call_cost end
[2025-04-09 13:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:14:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:14:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:14:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:14:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:14:17] Production.INFO: ==4973== Releasing lock...
[2025-04-09 13:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:14:20] Production.INFO: count ==7063
[2025-04-09 13:14:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:14:05 - End Time 2025-04-09 13:14:05
[2025-04-09 13:14:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869776', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869776', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869776', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869776', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:14:23] Production.INFO: ProcessCDR(1,14869776,1,1,2)
[2025-04-09 13:14:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:14:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:14:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:14:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869776', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869776', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:14:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:14:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:14:29] Production.INFO: ==4981== Releasing lock...
[2025-04-09 13:14:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:14:29] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 18:15:01] Production.INFO: ==5040== Lock acquired, processing the job...
[2025-04-09 18:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:15:01] Production.INFO: neon service started
[2025-04-09 18:15:01] Production.INFO: neon service started
[2025-04-09 18:15:01] Production.INFO: ==5040== Releasing lock...
[2025-04-09 18:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:15:01] Production.INFO: ==5042== Lock acquired, processing the job...
[2025-04-09 13:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:15:02] Production.INFO: ==5042== Releasing lock...
[2025-04-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:15:02] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-04-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:15:02] Production.INFO: ==5044== Releasing lock...
[2025-04-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:15:03] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:15:03] Production.INFO: ==5050== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:15:03] Production.INFO: ==5052== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:15:03] Production.INFO: Account Balance Start.
[2025-04-09 13:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:15:03] Production.INFO: 117
[2025-04-09 13:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:15:03] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:15:03] Production.INFO: Total Charge 0
[2025-04-09 13:15:03] Production.INFO: CreateAllLog End
[2025-04-09 13:15:03] Production.INFO: ==5054== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:15:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-04-09 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 13:15:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:15:03] Production.INFO: count ==23
[2025-04-09 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869780') start
[2025-04-09 13:15:03] Production.INFO: ==5048== Releasing lock...
[2025-04-09 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:15:04] Production.INFO: Account Balance End.
[2025-04-09 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869780') end
[2025-04-09 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:15:04] Production.INFO: 1
[2025-04-09 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:15:04] Production.INFO: ==5052== Releasing lock...
[2025-04-09 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:15:04] Production.INFO: ==5057== Releasing lock...
[2025-04-09 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:15:04] Production.ERROR: done
[2025-04-09 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:15:04] Production.ERROR: done
[2025-04-09 13:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:15:05
[end_date_ymd] => 2025-04-09 13:15:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:15:05' and `end` < '2025-04-09 13:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:15:12] Production.ERROR: CronJobId end10
[2025-04-09 13:15:12] Production.INFO: ==5050== Releasing lock...
[2025-04-09 13:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:15:14] Production.INFO: call_cost start
[2025-04-09 13:15:14] Production.INFO: call_cost end
[2025-04-09 13:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:15:15] Production.INFO: ==5046== Releasing lock...
[2025-04-09 13:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:15:18] Production.INFO: count ==7089
[2025-04-09 13:15:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:15:05 - End Time 2025-04-09 13:15:05
[2025-04-09 13:15:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869781', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869781', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869781', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869781', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:15:22] Production.INFO: ProcessCDR(1,14869781,1,1,2)
[2025-04-09 13:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869781', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869781', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:15:27] Production.INFO: ==5054== Releasing lock...
[2025-04-09 13:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:15:27] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:16:02] Production.INFO: ==5112== Lock acquired, processing the job...
[2025-04-09 18:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:16:02] Production.INFO: neon service started
[2025-04-09 18:16:02] Production.INFO: neon service started
[2025-04-09 18:16:02] Production.INFO: ==5112== Releasing lock...
[2025-04-09 18:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:16:02] Production.INFO: ==5116== Lock acquired, processing the job...
[2025-04-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:16:02] Production.INFO: ==5116== Releasing lock...
[2025-04-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:16:02] Production.INFO: ==5114== Lock acquired, processing the job...
[2025-04-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:16:02] Production.INFO: ==5114== Releasing lock...
[2025-04-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:16:03] Production.INFO: ==5123== Lock acquired, processing the job...
[2025-04-09 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:16:04] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-04-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:16:04] Production.INFO: ==5121== Lock acquired, processing the job...
[2025-04-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:16:04] Production.INFO: ==5119== Lock acquired, processing the job...
[2025-04-09 13:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:16:04] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-04-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:16:04] Production.INFO: count ==12
[2025-04-09 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:16:04] Production.INFO: count ==23
[2025-04-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869782') start
[2025-04-09 13:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:16:04] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-04-09 13:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:16:04] Production.INFO: Account Balance Start.
[2025-04-09 13:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:16:04] Production.INFO: 117
[2025-04-09 13:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869782') end
[2025-04-09 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:16:04] Production.INFO: 1
[2025-04-09 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:16:04] Production.INFO: Total Charge 0
[2025-04-09 13:16:04] Production.INFO: CreateAllLog End
[2025-04-09 13:16:04] Production.INFO: ==5129== Releasing lock...
[2025-04-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:16:04] Production.INFO: ==5121== Releasing lock...
[2025-04-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:16:04] Production.INFO: Account Balance End.
[2025-04-09 13:16:04] Production.ERROR: done
[2025-04-09 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:16:04] Production.INFO: ==5125== Releasing lock...
[2025-04-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:16:05] Production.ERROR: done
[2025-04-09 13:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:16:06
[end_date_ymd] => 2025-04-09 13:16:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:16:06' and `end` < '2025-04-09 13: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-04-09 13:16:12] Production.ERROR: CronJobId end10
[2025-04-09 13:16:12] Production.INFO: ==5123== Releasing lock...
[2025-04-09 13:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:16:15] Production.INFO: call_cost start
[2025-04-09 13:16:15] Production.INFO: call_cost end
[2025-04-09 13:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:16:16] Production.INFO: ==5119== Releasing lock...
[2025-04-09 13:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:16:20] Production.INFO: count ==7096
[2025-04-09 13:16:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:16:06 - End Time 2025-04-09 13:16:06
[2025-04-09 13:16:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869786', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869786', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869786', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869786', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:16:23] Production.INFO: ProcessCDR(1,14869786,1,1,2)
[2025-04-09 13:16:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:16:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:16:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:16:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:16:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869786', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:16:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869786', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:16:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:16:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:16:29] Production.INFO: ==5127== Releasing lock...
[2025-04-09 13:16:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:16:29] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:17:01] Production.INFO: ==5186== Lock acquired, processing the job...
[2025-04-09 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:17:01] Production.INFO: neon service started
[2025-04-09 18:17:01] Production.INFO: neon service started
[2025-04-09 18:17:01] Production.INFO: ==5186== Releasing lock...
[2025-04-09 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:17:01] Production.INFO: ==5188== Lock acquired, processing the job...
[2025-04-09 13:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:17:02] Production.INFO: ==5188== Releasing lock...
[2025-04-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:17:02] Production.INFO: ==5190== Lock acquired, processing the job...
[2025-04-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:17:02] Production.INFO: ==5190== Releasing lock...
[2025-04-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:17:03] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:17:03] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:17:03] Production.INFO: ==5193== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:17:03] Production.INFO: Account Balance Start.
[2025-04-09 13:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:17:03] Production.INFO: 117
[2025-04-09 13:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:17:03] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:17:03] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:17:03] Production.INFO: Total Charge 0
[2025-04-09 13:17:03] Production.INFO: CreateAllLog End
[2025-04-09 13:17:03] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-04-09 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:17:03] Production.INFO: ==5195== Releasing lock...
[2025-04-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 13:17:04] Production.INFO: count ==12
[2025-04-09 13:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:17:04] Production.INFO: count ==23
[2025-04-09 13:17:04] Production.ERROR: done
[2025-04-09 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869790') start
[2025-04-09 13:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:17:04] Production.INFO: Account Balance End.
[2025-04-09 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869790') end
[2025-04-09 13:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:17:04] Production.INFO: 1
[2025-04-09 13:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:17:04] Production.INFO: ==5199== Releasing lock...
[2025-04-09 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:17:04] Production.ERROR: done
[2025-04-09 13:17:04] Production.INFO: ==5203== Releasing lock...
[2025-04-09 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:17:05
[end_date_ymd] => 2025-04-09 13:17:05
[RateCDR] => 1
)
[2025-04-09 13:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:17:05' and `end` < '2025-04-09 13:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:17:13] Production.ERROR: CronJobId end10
[2025-04-09 13:17:13] Production.INFO: ==5197== Releasing lock...
[2025-04-09 13:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:17:15] Production.INFO: call_cost start
[2025-04-09 13:17:15] Production.INFO: call_cost end
[2025-04-09 13:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:17:16] Production.INFO: ==5193== Releasing lock...
[2025-04-09 13:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:17:19] Production.INFO: count ==7088
[2025-04-09 13:17:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:17:05 - End Time 2025-04-09 13:17:05
[2025-04-09 13:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869791', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869791', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869791', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869791', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:17:23] Production.INFO: ProcessCDR(1,14869791,1,1,2)
[2025-04-09 13:17:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:17:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869791', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869791', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:17:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:17:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:17:28] Production.INFO: ==5201== Releasing lock...
[2025-04-09 13:17:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:17:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:18:01] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-04-09 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:18:01] Production.INFO: neon service started
[2025-04-09 18:18:02] Production.INFO: neon service started
[2025-04-09 18:18:02] Production.INFO: ==5276== Releasing lock...
[2025-04-09 18:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:18:02] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-04-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:18:02] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-04-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:18:02] Production.INFO: ==5280== Releasing lock...
[2025-04-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:18:03] Production.INFO: ==5278== Releasing lock...
[2025-04-09 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:18:03] Production.INFO: ==5283== Lock acquired, processing the job...
[2025-04-09 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:18:03] Production.INFO: ==5291== Lock acquired, processing the job...
[2025-04-09 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:18:03] Production.INFO: ==5287== Lock acquired, processing the job...
[2025-04-09 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:18:04] Production.INFO: ==5289== Lock acquired, processing the job...
[2025-04-09 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:18:04] Production.INFO: ==5285== Lock acquired, processing the job...
[2025-04-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:18:04] Production.INFO: ==5293== Lock acquired, processing the job...
[2025-04-09 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:18:04] Production.INFO: Account Balance Start.
[2025-04-09 13:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:18:04] Production.INFO: 117
[2025-04-09 13:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 13:18:04] Production.INFO: count ==12
[2025-04-09 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-04-09 13:18:04] Production.INFO: count ==23
[2025-04-09 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869795') start
[2025-04-09 13:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869795') end
[2025-04-09 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:18:04] Production.INFO: 1
[2025-04-09 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:18:04] Production.ERROR: done
[2025-04-09 13:18:04] Production.INFO: ==5293== Releasing lock...
[2025-04-09 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:18:04] Production.INFO: ==5285== Releasing lock...
[2025-04-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:18:04] Production.INFO: Total Charge 0
[2025-04-09 13:18:04] Production.INFO: CreateAllLog End
[2025-04-09 13:18:04] Production.ERROR: done
[2025-04-09 13:18:04] Production.INFO: Account Balance End.
[2025-04-09 13:18:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:18:05] Production.INFO: ==5289== Releasing lock...
[2025-04-09 13:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:18:06
[end_date_ymd] => 2025-04-09 13:18:06
[RateCDR] => 1
)
[2025-04-09 13:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:18:06' and `end` < '2025-04-09 13:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:18:13] Production.ERROR: CronJobId end10
[2025-04-09 13:18:13] Production.INFO: ==5287== Releasing lock...
[2025-04-09 13:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:18:15] Production.INFO: call_cost start
[2025-04-09 13:18:15] Production.INFO: call_cost end
[2025-04-09 13:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:18:16] Production.INFO: ==5283== Releasing lock...
[2025-04-09 13:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:18:19] Production.INFO: count ==7098
[2025-04-09 13:18:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:18:06 - End Time 2025-04-09 13:18:06
[2025-04-09 13:18:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869796', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869796', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869796', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869796', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:18:23] Production.INFO: ProcessCDR(1,14869796,1,1,2)
[2025-04-09 13:18:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:18:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:18:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:18:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869796', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869796', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:18:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:18:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:18:28] Production.INFO: ==5291== Releasing lock...
[2025-04-09 13:18:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:18:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:19:01] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-04-09 18:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:19:01] Production.INFO: neon service started
[2025-04-09 18:19:01] Production.INFO: neon service started
[2025-04-09 18:19:01] Production.INFO: ==5351== Releasing lock...
[2025-04-09 18:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:19:01] Production.INFO: ==5353== Lock acquired, processing the job...
[2025-04-09 13:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:19:01] Production.INFO: ==5355== Lock acquired, processing the job...
[2025-04-09 17:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:19:02] Production.INFO: ==5355== Releasing lock...
[2025-04-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:19:02] Production.INFO: ==5353== Releasing lock...
[2025-04-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:19:03] Production.INFO: ==5357== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:19:03] Production.INFO: ==5366== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:19:03] Production.INFO: ==5359== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:19:03] Production.INFO: ==5361== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:19:03] Production.INFO: ==5363== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:19:03] Production.INFO: ==5368== Lock acquired, processing the job...
[2025-04-09 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:19:03] Production.INFO: Account Balance Start.
[2025-04-09 13:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:19:03] Production.INFO: 117
[2025-04-09 13:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 13: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-04-09 13:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:19:03] Production.INFO: count ==12
[2025-04-09 13: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-04-09 13:19:03] Production.INFO: count ==23
[2025-04-09 13:19:03] Production.ERROR: done
[2025-04-09 13:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869800') start
[2025-04-09 13:19:03] Production.INFO: ==5359== Releasing lock...
[2025-04-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:19:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:19:03] Production.INFO: Total Charge 0
[2025-04-09 13:19:03] Production.INFO: CreateAllLog End
[2025-04-09 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869800') end
[2025-04-09 13:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:19:03] Production.INFO: 1
[2025-04-09 13:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:19:03] Production.ERROR: done
[2025-04-09 13:19:03] Production.INFO: ==5368== Releasing lock...
[2025-04-09 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:19:04] Production.INFO: Account Balance End.
[2025-04-09 13:19:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:19:04] Production.INFO: ==5363== Releasing lock...
[2025-04-09 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:19:04
[end_date_ymd] => 2025-04-09 13:19:04
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:19:04' and `end` < '2025-04-09 13: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-04-09 13:19:12] Production.ERROR: CronJobId end10
[2025-04-09 13:19:12] Production.INFO: ==5361== Releasing lock...
[2025-04-09 13:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:19:14] Production.INFO: call_cost start
[2025-04-09 13:19:14] Production.INFO: call_cost end
[2025-04-09 13:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:19:15] Production.INFO: ==5357== Releasing lock...
[2025-04-09 13:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:19:18] Production.INFO: count ==7095
[2025-04-09 13:19:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:19:04 - End Time 2025-04-09 13:19:04
[2025-04-09 13:19:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869801', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869801', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869801', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869801', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:19:22] Production.INFO: ProcessCDR(1,14869801,1,1,2)
[2025-04-09 13:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869801', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869801', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:19:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:19:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:19:27] Production.INFO: ==5366== Releasing lock...
[2025-04-09 13:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:19:27] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:20:01] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-04-09 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:20:01] Production.INFO: neon service started
[2025-04-09 18:20:01] Production.INFO: neon service started
[2025-04-09 18:20:01] Production.INFO: ==5425== Releasing lock...
[2025-04-09 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:20:02] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-04-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:20:02] Production.INFO: ==5429== Lock acquired, processing the job...
[2025-04-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:20:02] Production.INFO: ==5429== Releasing lock...
[2025-04-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:20:02] Production.INFO: ==5427== Releasing lock...
[2025-04-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:20:03] Production.INFO: ==5431== Lock acquired, processing the job...
[2025-04-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 13:20:03] Production.INFO: ==5433== Lock acquired, processing the job...
[2025-04-09 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:20:03] Production.INFO: ==5431== Releasing lock...
[2025-04-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:20:03] Production.INFO: ==5435== Lock acquired, processing the job...
[2025-04-09 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:20:04] Production.INFO: ==5438== Lock acquired, processing the job...
[2025-04-09 13:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:20:04] Production.INFO: ==5440== Lock acquired, processing the job...
[2025-04-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:20:04] Production.INFO: ==5444== Lock acquired, processing the job...
[2025-04-09 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:20:04] Production.INFO: ==5442== Lock acquired, processing the job...
[2025-04-09 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:20:04] Production.INFO: Account Balance Start.
[2025-04-09 13:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:20:04] Production.INFO: 117
[2025-04-09 13:20:04] Production.INFO: ==5446== Lock acquired, processing the job...
[2025-04-09 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:20:04] Production.INFO: Total Charge 0
[2025-04-09 13:20:04] Production.INFO: CreateAllLog End
[2025-04-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:20:04] Production.INFO: ==5435== Releasing lock...
[2025-04-09 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:20:04] Production.INFO: Account Balance End.
[2025-04-09 13:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:20:04] Production.INFO: count ==12
[2025-04-09 13:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:20:04] Production.INFO: ==5440== Releasing lock...
[2025-04-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:20:04] Production.INFO: count ==23
[2025-04-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869805') start
[2025-04-09 13:20:04] Production.ERROR: done
[2025-04-09 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:20:04] Production.ERROR: done
[2025-04-09 13:20:04] Production.ERROR: done
[2025-04-09 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869806', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869805') end
[2025-04-09 13:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:20:04] Production.INFO: 1
[2025-04-09 13:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:20:04] Production.INFO: ==5446== Releasing lock...
[2025-04-09 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:20:05
[end_date_ymd] => 2025-04-09 13:20:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:20:05' and `end` < '2025-04-09 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-04-09 13:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869806', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:20:08] Production.INFO: ProcessCDR(1,14869806,1,1,2)
[2025-04-09 13:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:20:08] Production.INFO: ==5444== Releasing lock...
[2025-04-09 13:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:20:15] Production.ERROR: CronJobId end10
[2025-04-09 13:20:15] Production.INFO: ==5438== Releasing lock...
[2025-04-09 13:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:20:16] Production.INFO: call_cost start
[2025-04-09 13:20:16] Production.INFO: call_cost end
[2025-04-09 13:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:20:17] Production.INFO: ==5433== Releasing lock...
[2025-04-09 13:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:20:19] Production.INFO: count ==7129
[2025-04-09 13:20:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:20:05 - End Time 2025-04-09 13:20:05
[2025-04-09 13:20:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869807', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869807', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869807', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869807', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:20:23] Production.INFO: ProcessCDR(1,14869807,1,1,2)
[2025-04-09 13:20:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869807', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869807', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:20:28] Production.INFO: ==5442== Releasing lock...
[2025-04-09 13:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:20:28] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:21:02] Production.INFO: ==5503== Lock acquired, processing the job...
[2025-04-09 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:21:02] Production.INFO: neon service started
[2025-04-09 18:21:02] Production.INFO: neon service started
[2025-04-09 18:21:02] Production.INFO: ==5503== Releasing lock...
[2025-04-09 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:21:02] Production.INFO: ==5505== Lock acquired, processing the job...
[2025-04-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:21:03] Production.INFO: ==5505== Releasing lock...
[2025-04-09 13:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:21:03] Production.INFO: ==5507== Lock acquired, processing the job...
[2025-04-09 17:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:21:03] Production.INFO: ==5507== Releasing lock...
[2025-04-09 17:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:21:03] Production.INFO: ==5509== Lock acquired, processing the job...
[2025-04-09 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:21:03] Production.INFO: ==5511== Lock acquired, processing the job...
[2025-04-09 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:21:03] Production.INFO: ==5513== Lock acquired, processing the job...
[2025-04-09 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:21:04] Production.INFO: ==5517== Lock acquired, processing the job...
[2025-04-09 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:21:04] Production.INFO: ==5515== Lock acquired, processing the job...
[2025-04-09 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:21:04] Production.INFO: ==5520== Lock acquired, processing the job...
[2025-04-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:21:04] Production.INFO: Account Balance Start.
[2025-04-09 13:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:21:04] Production.INFO: 117
[2025-04-09 13:21:04] Production.INFO: ==5511== Releasing lock...
[2025-04-09 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:21:04] Production.INFO: count ==12
[2025-04-09 13:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:21:04] Production.INFO: Total Charge 0
[2025-04-09 13:21:04] Production.INFO: count ==23
[2025-04-09 13:21:04] Production.INFO: CreateAllLog End
[2025-04-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869811') start
[2025-04-09 13:21:04] Production.ERROR: done
[2025-04-09 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869811') end
[2025-04-09 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:21:04] Production.INFO: 1
[2025-04-09 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:21:04] Production.INFO: Account Balance End.
[2025-04-09 13:21:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:21:05] Production.INFO: ==5515== Releasing lock...
[2025-04-09 13:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:21:05] Production.INFO: ==5520== Releasing lock...
[2025-04-09 13:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:21:05] Production.ERROR: done
[2025-04-09 13:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:21:06
[end_date_ymd] => 2025-04-09 13:21:06
[RateCDR] => 1
)
[2025-04-09 13:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:21:06' and `end` < '2025-04-09 13:21:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:21: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-04-09 13:21:13] Production.ERROR: CronJobId end10
[2025-04-09 13:21:13] Production.INFO: ==5513== Releasing lock...
[2025-04-09 13:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:21:15] Production.INFO: call_cost start
[2025-04-09 13:21:15] Production.INFO: call_cost end
[2025-04-09 13:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:21:16] Production.INFO: ==5509== Releasing lock...
[2025-04-09 13:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:21:20] Production.INFO: count ==7133
[2025-04-09 13:21:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:21:06 - End Time 2025-04-09 13:21:06
[2025-04-09 13:21:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869812', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869812', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869812', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869812', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:21:23] Production.INFO: ProcessCDR(1,14869812,1,1,2)
[2025-04-09 13:21:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869812', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869812', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:21:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:21:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:21:29] Production.INFO: ==5517== Releasing lock...
[2025-04-09 13:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:21:29] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:22:01] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-04-09 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:22:01] Production.INFO: neon service started
[2025-04-09 18:22:01] Production.INFO: neon service started
[2025-04-09 18:22:01] Production.INFO: ==5614== Releasing lock...
[2025-04-09 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:22:02] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-04-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:22:02] Production.INFO: ==5619== Releasing lock...
[2025-04-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:22:02] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-04-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:22:02] Production.INFO: ==5617== Releasing lock...
[2025-04-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:22:03] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-04-09 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:22:03] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-04-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:22:03] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-04-09 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:22:03] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-04-09 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:22:03] Production.INFO: Account Balance Start.
[2025-04-09 13:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:22:03] Production.INFO: 117
[2025-04-09 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:22:03] Production.INFO: ==5623== Releasing lock...
[2025-04-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:22:03] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-04-09 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:22:04] Production.INFO: Total Charge 0
[2025-04-09 13:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:22:04] Production.INFO: CreateAllLog End
[2025-04-09 13:22:04] Production.INFO: ==5631== Lock acquired, processing the job...
[2025-04-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:22:04] Production.ERROR: done
[2025-04-09 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:22:04] Production.INFO: count ==12
[2025-04-09 13:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:22:04] Production.INFO: count ==23
[2025-04-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869816') start
[2025-04-09 13:22:04] Production.ERROR: done
[2025-04-09 13:22:04] Production.INFO: Account Balance End.
[2025-04-09 13:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:22:04] Production.INFO: ==5627== Releasing lock...
[2025-04-09 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869816') end
[2025-04-09 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:22:04] Production.INFO: 1
[2025-04-09 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:22:04] Production.INFO: ==5631== Releasing lock...
[2025-04-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:22:05
[end_date_ymd] => 2025-04-09 13:22:05
[RateCDR] => 1
)
[2025-04-09 13:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:22:05' and `end` < '2025-04-09 13:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:22:13] Production.ERROR: CronJobId end10
[2025-04-09 13:22:13] Production.INFO: ==5625== Releasing lock...
[2025-04-09 13:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:22:14] Production.INFO: call_cost start
[2025-04-09 13:22:14] Production.INFO: call_cost end
[2025-04-09 13:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:22:15] Production.INFO: ==5621== Releasing lock...
[2025-04-09 13:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:22:19] Production.INFO: count ==7133
[2025-04-09 13:22:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:22:05 - End Time 2025-04-09 13:22:05
[2025-04-09 13:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869817', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869817', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869817', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869817', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:22:23] Production.INFO: ProcessCDR(1,14869817,1,1,2)
[2025-04-09 13:22:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869817', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869817', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:22:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:22:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:22:28] Production.INFO: ==5629== Releasing lock...
[2025-04-09 13:22:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:22:28] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:23:02] Production.INFO: ==5688== Lock acquired, processing the job...
[2025-04-09 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:23:02] Production.INFO: neon service started
[2025-04-09 18:23:02] Production.INFO: neon service started
[2025-04-09 18:23:02] Production.INFO: ==5688== Releasing lock...
[2025-04-09 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:23:02] Production.INFO: ==5690== Lock acquired, processing the job...
[2025-04-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:23:03] Production.INFO: ==5690== Releasing lock...
[2025-04-09 13:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:23:03] Production.INFO: ==5692== Lock acquired, processing the job...
[2025-04-09 17:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:23:03] Production.INFO: ==5692== Releasing lock...
[2025-04-09 17:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:23:03] Production.INFO: ==5702== Lock acquired, processing the job...
[2025-04-09 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:23:03] Production.INFO: ==5704== Lock acquired, processing the job...
[2025-04-09 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:23:04] Production.INFO: ==5694== Lock acquired, processing the job...
[2025-04-09 13:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:23:04] Production.INFO: ==5696== Lock acquired, processing the job...
[2025-04-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:23:04] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-04-09 13:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:23:04] Production.INFO: ==5700== Lock acquired, processing the job...
[2025-04-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:23:04] Production.INFO: count ==12
[2025-04-09 13:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:23:04] Production.ERROR: done
[2025-04-09 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:23:04] Production.INFO: count ==23
[2025-04-09 13:23:04] Production.INFO: Account Balance Start.
[2025-04-09 13:23:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:23:04] Production.INFO: 117
[2025-04-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869818') start
[2025-04-09 13:23:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:23:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869818') end
[2025-04-09 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:23:04] Production.INFO: 1
[2025-04-09 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:23:04] Production.INFO: Total Charge 0
[2025-04-09 13:23:04] Production.INFO: CreateAllLog End
[2025-04-09 13:23:04] Production.INFO: ==5704== Releasing lock...
[2025-04-09 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:23:04] Production.ERROR: done
[2025-04-09 13:23:04] Production.INFO: ==5696== Releasing lock...
[2025-04-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:23:04] Production.INFO: Account Balance End.
[2025-04-09 13:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:23:04] Production.INFO: ==5700== Releasing lock...
[2025-04-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:23:05
[end_date_ymd] => 2025-04-09 13:23:05
[RateCDR] => 1
)
[2025-04-09 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:23:05' and `end` < '2025-04-09 13:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:23:13] Production.ERROR: CronJobId end10
[2025-04-09 13:23:13] Production.INFO: ==5698== Releasing lock...
[2025-04-09 13:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:23:16] Production.INFO: call_cost start
[2025-04-09 13:23:16] Production.INFO: call_cost end
[2025-04-09 13:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:23:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:23:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:23:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:23:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:23:17] Production.INFO: ==5694== Releasing lock...
[2025-04-09 13:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:23:19] Production.INFO: count ==7135
[2025-04-09 13:23:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:23:05 - End Time 2025-04-09 13:23:05
[2025-04-09 13:23:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869822', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869822', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869822', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869822', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:23:23] Production.INFO: ProcessCDR(1,14869822,1,1,2)
[2025-04-09 13:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869822', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869822', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:23:28] Production.INFO: ==5702== Releasing lock...
[2025-04-09 13:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:23:28] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:24:01] Production.INFO: ==5761== Lock acquired, processing the job...
[2025-04-09 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:24:01] Production.INFO: neon service started
[2025-04-09 18:24:01] Production.INFO: neon service started
[2025-04-09 18:24:01] Production.INFO: ==5761== Releasing lock...
[2025-04-09 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:24:02] Production.INFO: ==5764== Lock acquired, processing the job...
[2025-04-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:24:02] Production.INFO: ==5764== Releasing lock...
[2025-04-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:24:02] Production.INFO: ==5766== Lock acquired, processing the job...
[2025-04-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:24:02] Production.INFO: ==5766== Releasing lock...
[2025-04-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:24:03] Production.INFO: ==5770== Lock acquired, processing the job...
[2025-04-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:24:03] Production.INFO: ==5778== Lock acquired, processing the job...
[2025-04-09 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:24:03] Production.INFO: ==5770== Releasing lock...
[2025-04-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:24:03] Production.INFO: ==5768== Lock acquired, processing the job...
[2025-04-09 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:24:03] Production.INFO: count ==12
[2025-04-09 13: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-04-09 13:24:03] Production.INFO: count ==23
[2025-04-09 13:24:04] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-04-09 13:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869824') start
[2025-04-09 13:24:04] Production.INFO: ==5774== Lock acquired, processing the job...
[2025-04-09 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:24:04] Production.INFO: ==5776== Lock acquired, processing the job...
[2025-04-09 13:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869824') end
[2025-04-09 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:24:04] Production.INFO: 1
[2025-04-09 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:24:04] Production.INFO: ==5778== Releasing lock...
[2025-04-09 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:24:04] Production.INFO: Account Balance Start.
[2025-04-09 13:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:24:04] Production.INFO: 117
[2025-04-09 13:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:24:04] Production.ERROR: done
[2025-04-09 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:24:04] Production.INFO: Total Charge 0
[2025-04-09 13:24:04] Production.ERROR: done
[2025-04-09 13:24:04] Production.INFO: CreateAllLog End
[2025-04-09 13:24:04] Production.INFO: Account Balance End.
[2025-04-09 13:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:24:04] Production.INFO: ==5774== Releasing lock...
[2025-04-09 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:24:05
[end_date_ymd] => 2025-04-09 13:24:05
[RateCDR] => 1
)
[2025-04-09 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:24:05' and `end` < '2025-04-09 13:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:24:13] Production.ERROR: CronJobId end10
[2025-04-09 13:24:13] Production.INFO: ==5772== Releasing lock...
[2025-04-09 13:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:24:15] Production.INFO: call_cost start
[2025-04-09 13:24:15] Production.INFO: call_cost end
[2025-04-09 13:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:24:16] Production.INFO: ==5768== Releasing lock...
[2025-04-09 13:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:24:19] Production.INFO: count ==7133
[2025-04-09 13:24:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:24:05 - End Time 2025-04-09 13:24:05
[2025-04-09 13:24:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869827', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869827', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869827', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869827', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:24:23] Production.INFO: ProcessCDR(1,14869827,1,1,2)
[2025-04-09 13:24:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:24:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:24:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:24:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869827', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869827', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:24:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:24:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:24:28] Production.INFO: ==5776== Releasing lock...
[2025-04-09 13:24:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:24:28] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:25:02] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-04-09 18:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:25:02] Production.INFO: neon service started
[2025-04-09 18:25:02] Production.INFO: neon service started
[2025-04-09 18:25:02] Production.INFO: ==5834== Releasing lock...
[2025-04-09 18:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:25:02] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-04-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:25:03] Production.INFO: ==5839== Lock acquired, processing the job...
[2025-04-09 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 13:25:03] Production.INFO: ==5836== Releasing lock...
[2025-04-09 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:25:03] Production.INFO: ==5839== Releasing lock...
[2025-04-09 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:25:03] Production.INFO: ==5841== Lock acquired, processing the job...
[2025-04-09 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:25:03] Production.INFO: ==5845== Lock acquired, processing the job...
[2025-04-09 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:25:04] Production.INFO: ==5843== Lock acquired, processing the job...
[2025-04-09 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:25:04] Production.INFO: ==5849== Lock acquired, processing the job...
[2025-04-09 13:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:25:04] Production.INFO: ==5847== Lock acquired, processing the job...
[2025-04-09 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:25:04] Production.INFO: ==5851== Lock acquired, processing the job...
[2025-04-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:25:04] Production.INFO: ==5843== Releasing lock...
[2025-04-09 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:25:04] Production.INFO: count ==12
[2025-04-09 13:25:04] Production.INFO: Account Balance Start.
[2025-04-09 13:25:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:25:04] Production.INFO: 117
[2025-04-09 13:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:25:04] Production.INFO: count ==23
[2025-04-09 13:25:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869830') start
[2025-04-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:25:04] Production.ERROR: done
[2025-04-09 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869830') end
[2025-04-09 13:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:25:04] Production.INFO: 1
[2025-04-09 13:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:25:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:25:04] Production.INFO: ==5851== Releasing lock...
[2025-04-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:25:05] Production.INFO: Total Charge 0
[2025-04-09 13:25:05] Production.ERROR: done
[2025-04-09 13:25:05] Production.INFO: CreateAllLog End
[2025-04-09 13:25:05] Production.INFO: Account Balance End.
[2025-04-09 13:25:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:25:05] Production.INFO: ==5847== Releasing lock...
[2025-04-09 13:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:25:06
[end_date_ymd] => 2025-04-09 13:25:06
[RateCDR] => 1
)
[2025-04-09 13:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:25:06' and `end` < '2025-04-09 13:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:25:13] Production.ERROR: CronJobId end10
[2025-04-09 13:25:13] Production.INFO: ==5845== Releasing lock...
[2025-04-09 13:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:25:15] Production.INFO: call_cost start
[2025-04-09 13:25:15] Production.INFO: call_cost end
[2025-04-09 13:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:25:16] Production.INFO: ==5841== Releasing lock...
[2025-04-09 13:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:25:19] Production.INFO: count ==7107
[2025-04-09 13:25:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:25:06 - End Time 2025-04-09 13:25:06
[2025-04-09 13:25:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869832', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869832', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869832', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869832', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:25:23] Production.INFO: ProcessCDR(1,14869832,1,1,2)
[2025-04-09 13:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869832', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869832', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:25:28] Production.INFO: ==5849== Releasing lock...
[2025-04-09 13:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:25:28] Production.INFO: 81.75 MB #Memory Used#
[2025-04-09 18:26:01] Production.INFO: ==5908== Lock acquired, processing the job...
[2025-04-09 18:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:26:01] Production.INFO: neon service started
[2025-04-09 18:26:01] Production.INFO: neon service started
[2025-04-09 18:26:01] Production.INFO: ==5908== Releasing lock...
[2025-04-09 18:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:26:02] Production.INFO: ==5910== Lock acquired, processing the job...
[2025-04-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:26:02] Production.INFO: ==5910== Releasing lock...
[2025-04-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:26:02] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-04-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:26:02] Production.INFO: ==5912== Releasing lock...
[2025-04-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:26:03] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:26:03] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:26:03] Production.INFO: ==5925== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:26:03] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:26:03] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:26:03] Production.INFO: count ==12
[2025-04-09 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:26:03] Production.INFO: ==5917== Releasing lock...
[2025-04-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:26:03] Production.INFO: count ==23
[2025-04-09 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869835') start
[2025-04-09 13:26:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-04-09 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869835') end
[2025-04-09 13:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:26:03] Production.INFO: 1
[2025-04-09 13:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:26:03] Production.INFO: Account Balance Start.
[2025-04-09 13:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:26:03] Production.INFO: 117
[2025-04-09 13:26:03] Production.INFO: ==5925== Releasing lock...
[2025-04-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:26:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:26:04] Production.ERROR: done
[2025-04-09 13:26:04] Production.INFO: Total Charge 0
[2025-04-09 13:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:26:04] Production.INFO: CreateAllLog End
[2025-04-09 13:26:04] Production.ERROR: done
[2025-04-09 13:26:04] Production.INFO: Account Balance End.
[2025-04-09 13:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:26:04] Production.INFO: ==5921== Releasing lock...
[2025-04-09 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:26:05
[end_date_ymd] => 2025-04-09 13:26:05
[RateCDR] => 1
)
[2025-04-09 13:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:26:05' and `end` < '2025-04-09 13:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:26:12] Production.ERROR: CronJobId end10
[2025-04-09 13:26:12] Production.INFO: ==5919== Releasing lock...
[2025-04-09 13:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:26:14] Production.INFO: call_cost start
[2025-04-09 13:26:14] Production.INFO: call_cost end
[2025-04-09 13:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:26:15] Production.INFO: ==5915== Releasing lock...
[2025-04-09 13:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:26:19] Production.INFO: count ==7101
[2025-04-09 13:26:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:26:05 - End Time 2025-04-09 13:26:05
[2025-04-09 13:26:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869837', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869837', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869837', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869837', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:26:22] Production.INFO: ProcessCDR(1,14869837,1,1,2)
[2025-04-09 13:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869837', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869837', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:26:27] Production.INFO: ==5923== Releasing lock...
[2025-04-09 13:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:26:27] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:27:02] Production.INFO: ==5986== Lock acquired, processing the job...
[2025-04-09 18:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:27:02] Production.INFO: neon service started
[2025-04-09 18:27:02] Production.INFO: neon service started
[2025-04-09 18:27:02] Production.INFO: ==5986== Releasing lock...
[2025-04-09 18:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:27:02] Production.INFO: ==5990== Lock acquired, processing the job...
[2025-04-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:27:02] Production.INFO: ==5990== Releasing lock...
[2025-04-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:27:02] Production.INFO: ==5988== Lock acquired, processing the job...
[2025-04-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:27:03] Production.INFO: ==5988== Releasing lock...
[2025-04-09 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:27:03] Production.INFO: ==5995== Lock acquired, processing the job...
[2025-04-09 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:27:03] Production.INFO: ==5993== Lock acquired, processing the job...
[2025-04-09 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:27:03] Production.INFO: ==5999== Lock acquired, processing the job...
[2025-04-09 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:27:04] Production.INFO: Account Balance Start.
[2025-04-09 13:27:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:27:04] Production.INFO: 117
[2025-04-09 13:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:27:04] Production.INFO: ==5997== Lock acquired, processing the job...
[2025-04-09 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:27:04] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-04-09 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:27:04] Production.INFO: ==5995== Releasing lock...
[2025-04-09 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:27:04] Production.INFO: ==6003== Lock acquired, processing the job...
[2025-04-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:27:04] Production.INFO: Total Charge 0
[2025-04-09 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:27:04] Production.INFO: CreateAllLog End
[2025-04-09 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:27:04] Production.INFO: count ==12
[2025-04-09 13:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:27:04] Production.INFO: count ==23
[2025-04-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869841') start
[2025-04-09 13:27:04] Production.ERROR: done
[2025-04-09 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869841') end
[2025-04-09 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:27:04] Production.INFO: 1
[2025-04-09 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:27:04] Production.INFO: Account Balance End.
[2025-04-09 13:27:04] Production.INFO: ==6003== Releasing lock...
[2025-04-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:27:04] Production.ERROR: done
[2025-04-09 13:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:27:04] Production.INFO: ==5999== Releasing lock...
[2025-04-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:27:06
[end_date_ymd] => 2025-04-09 13:27:06
[RateCDR] => 1
)
[2025-04-09 13:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:27:06' and `end` < '2025-04-09 13:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:27:13] Production.ERROR: CronJobId end10
[2025-04-09 13:27:13] Production.INFO: ==5997== Releasing lock...
[2025-04-09 13:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:27:14] Production.INFO: call_cost start
[2025-04-09 13:27:14] Production.INFO: call_cost end
[2025-04-09 13:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:27:15] Production.INFO: ==5993== Releasing lock...
[2025-04-09 13:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:27:19] Production.INFO: count ==7088
[2025-04-09 13:27:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:27:06 - End Time 2025-04-09 13:27:06
[2025-04-09 13:27:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869842', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869842', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869842', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869842', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:27:23] Production.INFO: ProcessCDR(1,14869842,1,1,2)
[2025-04-09 13:27:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869842', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869842', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:27:26] Production.INFO: ==6001== Releasing lock...
[2025-04-09 13:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:27:26] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:28:01] Production.INFO: ==6058== Lock acquired, processing the job...
[2025-04-09 18:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:28:01] Production.INFO: neon service started
[2025-04-09 18:28:01] Production.INFO: neon service started
[2025-04-09 18:28:01] Production.INFO: ==6058== Releasing lock...
[2025-04-09 18:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:28:01] Production.INFO: ==6063== Lock acquired, processing the job...
[2025-04-09 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:28:01] Production.INFO: ==6063== Releasing lock...
[2025-04-09 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:28:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:28:02] Production.INFO: ==6061== Lock acquired, processing the job...
[2025-04-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:28:02] Production.INFO: ==6061== Releasing lock...
[2025-04-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:28:03] Production.INFO: ==6069== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:28:03] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:28:03] Production.INFO: ==6067== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: ==6065== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:28:03] Production.INFO: ==6073== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13: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-04-09 13:28:03] Production.INFO: count ==12
[2025-04-09 13: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-04-09 13:28:03] Production.INFO: count ==23
[2025-04-09 13:28:03] Production.INFO: ==6071== Lock acquired, processing the job...
[2025-04-09 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869843') start
[2025-04-09 13:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869843') end
[2025-04-09 13:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:28:03] Production.INFO: 1
[2025-04-09 13:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:28:03] Production.INFO: ==6075== Releasing lock...
[2025-04-09 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:28:03] Production.INFO: Account Balance Start.
[2025-04-09 13:28:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:28:03] Production.INFO: 117
[2025-04-09 13:28:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:28:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:28:03] Production.INFO: ==6067== Releasing lock...
[2025-04-09 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:28:03] Production.ERROR: done
[2025-04-09 13:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:28:03] Production.INFO: Total Charge 0
[2025-04-09 13:28:03] Production.INFO: CreateAllLog End
[2025-04-09 13:28:04] Production.ERROR: done
[2025-04-09 13:28:04] Production.INFO: Account Balance End.
[2025-04-09 13:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:28:04] Production.INFO: ==6071== Releasing lock...
[2025-04-09 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:28:05
[end_date_ymd] => 2025-04-09 13:28:05
[RateCDR] => 1
)
[2025-04-09 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:28:05' and `end` < '2025-04-09 13:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:28:12] Production.ERROR: CronJobId end10
[2025-04-09 13:28:12] Production.INFO: ==6069== Releasing lock...
[2025-04-09 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:28:14] Production.INFO: call_cost start
[2025-04-09 13:28:14] Production.INFO: call_cost end
[2025-04-09 13:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:28:15] Production.INFO: ==6065== Releasing lock...
[2025-04-09 13:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:28:19] Production.INFO: count ==7082
[2025-04-09 13:28:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:28:05 - End Time 2025-04-09 13:28:05
[2025-04-09 13:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869847', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869847', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869847', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869847', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:28:22] Production.INFO: ProcessCDR(1,14869847,1,1,2)
[2025-04-09 13:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869847', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869847', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:28:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:28:28] Production.INFO: ==6073== Releasing lock...
[2025-04-09 13:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:28:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:29:02] Production.INFO: ==6132== Lock acquired, processing the job...
[2025-04-09 18:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:29:02] Production.INFO: neon service started
[2025-04-09 18:29:02] Production.INFO: neon service started
[2025-04-09 18:29:02] Production.INFO: ==6132== Releasing lock...
[2025-04-09 18:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:29:02] Production.INFO: ==6136== Lock acquired, processing the job...
[2025-04-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:29:02] Production.INFO: ==6136== Releasing lock...
[2025-04-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:29:02] Production.INFO: ==6134== Lock acquired, processing the job...
[2025-04-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:29:02] Production.INFO: ==6134== Releasing lock...
[2025-04-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:29:03] Production.INFO: ==6143== Lock acquired, processing the job...
[2025-04-09 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:29:03] Production.INFO: ==6139== Lock acquired, processing the job...
[2025-04-09 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:29:03] Production.INFO: ==6141== Lock acquired, processing the job...
[2025-04-09 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:29:03] Production.INFO: ==6145== Lock acquired, processing the job...
[2025-04-09 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:29:03] Production.INFO: ==6147== Lock acquired, processing the job...
[2025-04-09 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:29:04] Production.INFO: Account Balance Start.
[2025-04-09 13:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:29:04] Production.INFO: 117
[2025-04-09 13:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:29:04] Production.INFO: ==6149== Lock acquired, processing the job...
[2025-04-09 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:29:04] Production.INFO: Total Charge 0
[2025-04-09 13:29:04] Production.INFO: CreateAllLog End
[2025-04-09 13:29:04] Production.INFO: ==6141== Releasing lock...
[2025-04-09 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:29:04] Production.INFO: count ==12
[2025-04-09 13:29:04] Production.ERROR: done
[2025-04-09 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:29:04] Production.INFO: count ==23
[2025-04-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869851') start
[2025-04-09 13:29:04] Production.ERROR: done
[2025-04-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869851') end
[2025-04-09 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:29:04] Production.INFO: 1
[2025-04-09 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:29:04] Production.INFO: Account Balance End.
[2025-04-09 13:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:29:04] Production.INFO: ==6149== Releasing lock...
[2025-04-09 13:29:04] Production.INFO: ==6145== Releasing lock...
[2025-04-09 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:29:05
[end_date_ymd] => 2025-04-09 13:29:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:29:05' and `end` < '2025-04-09 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-04-09 13:29:12] Production.ERROR: CronJobId end10
[2025-04-09 13:29:12] Production.INFO: ==6143== Releasing lock...
[2025-04-09 13:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:29:14] Production.INFO: call_cost start
[2025-04-09 13:29:14] Production.INFO: call_cost end
[2025-04-09 13:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:29:15] Production.INFO: ==6139== Releasing lock...
[2025-04-09 13:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:29:19] Production.INFO: count ==7082
[2025-04-09 13:29:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:29:05 - End Time 2025-04-09 13:29:05
[2025-04-09 13:29:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869852', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869852', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869852', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869852', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:29:23] Production.INFO: ProcessCDR(1,14869852,1,1,2)
[2025-04-09 13:29:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869852', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869852', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:29:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:29:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:29:28] Production.INFO: ==6147== Releasing lock...
[2025-04-09 13:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:29:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:30:01] Production.INFO: ==6204== Lock acquired, processing the job...
[2025-04-09 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:30:01] Production.INFO: neon service started
[2025-04-09 18:30:01] Production.INFO: neon service started
[2025-04-09 18:30:01] Production.INFO: ==6204== Releasing lock...
[2025-04-09 18:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:30:01] Production.INFO: ==6206== Lock acquired, processing the job...
[2025-04-09 13:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:30:02] Production.INFO: ==6208== Lock acquired, processing the job...
[2025-04-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:30:02] Production.INFO: ==6208== Releasing lock...
[2025-04-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:30:02] Production.INFO: ==6206== Releasing lock...
[2025-04-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:30:03] Production.INFO: ==6215== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:30:03] Production.INFO: ==6211== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 13:30:03] Production.INFO: ==6213== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:30:03] Production.ERROR: CronJob PID - 6215
[2025-04-09 13:30:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 13:30:03] Production.ERROR: CronJob ID - 7
[2025-04-09 13:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 13:30:00
[2025-04-09 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:30:03] Production.INFO: ==6219== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:30:03] Production.INFO: ==6221== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:30:03] Production.INFO: ==6211== Releasing lock...
[2025-04-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:30:03] Production.INFO: Account Balance Start.
[2025-04-09 13:30:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:30:03] Production.INFO: 117
[2025-04-09 13:30:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:30:03] Production.INFO: ==6217== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:30:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:30:03] Production.INFO: Total Charge 0
[2025-04-09 13:30:03] Production.INFO: CreateAllLog End
[2025-04-09 13:30:03] Production.INFO: ==6223== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:30:03] Production.INFO: ==6225== Lock acquired, processing the job...
[2025-04-09 13:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:30:04] Production.INFO: ==6215== Releasing lock...
[2025-04-09 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:30:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 13:30:04] Production.ERROR: done
[2025-04-09 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:30:04] Production.INFO: count ==12
[2025-04-09 13:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:30:04] Production.INFO: ==6219== Releasing lock...
[2025-04-09 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 13:30:04] Production.INFO: count ==23
[2025-04-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869856') start
[2025-04-09 13:30:04] Production.ERROR: done
[2025-04-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869856') end
[2025-04-09 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:30:04] Production.INFO: 1
[2025-04-09 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:30:04] Production.ERROR: done
[2025-04-09 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869857', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:30:04] Production.INFO: ==6225== Releasing lock...
[2025-04-09 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:30:05
[end_date_ymd] => 2025-04-09 13:30:05
[RateCDR] => 1
)
[2025-04-09 13:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:30:05' and `end` < '2025-04-09 13:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869857', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:30:08] Production.INFO: ProcessCDR(1,14869857,1,1,2)
[2025-04-09 13:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869857,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:30:09] Production.INFO: ==6223== Releasing lock...
[2025-04-09 13:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:30:13] Production.ERROR: CronJobId end10
[2025-04-09 13:30:13] Production.INFO: ==6217== Releasing lock...
[2025-04-09 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:30:16] Production.INFO: call_cost start
[2025-04-09 13:30:16] Production.INFO: call_cost end
[2025-04-09 13:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:30:17] Production.INFO: ==6213== Releasing lock...
[2025-04-09 13:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:30:19] Production.INFO: count ==7092
[2025-04-09 13:30:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:30:05 - End Time 2025-04-09 13:30:05
[2025-04-09 13:30:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869858', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869858', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869858', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869858', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:30:23] Production.INFO: ProcessCDR(1,14869858,1,1,2)
[2025-04-09 13:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869858', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869858', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:30:28] Production.INFO: ==6221== Releasing lock...
[2025-04-09 13:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:30:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:31:02] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-04-09 18:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:31:02] Production.INFO: neon service started
[2025-04-09 18:31:02] Production.INFO: neon service started
[2025-04-09 18:31:02] Production.INFO: ==6282== Releasing lock...
[2025-04-09 18:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:31:02] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-04-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:31:02] Production.INFO: ==6284== Releasing lock...
[2025-04-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:31:02] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-04-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:31:02] Production.INFO: ==6286== Releasing lock...
[2025-04-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:31:03] Production.INFO: ==6298== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:31:03] Production.INFO: ==6292== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 13:31:03] Production.INFO: count ==12
[2025-04-09 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:31:03] Production.INFO: count ==23
[2025-04-09 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869859') start
[2025-04-09 13:31:03] Production.INFO: ==6288== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:31:03] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869859') end
[2025-04-09 13:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:31:03] Production.INFO: 1
[2025-04-09 13:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:31:03] Production.INFO: ==6296== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:31:03] Production.INFO: ==6294== Lock acquired, processing the job...
[2025-04-09 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:31:03] Production.INFO: ==6298== Releasing lock...
[2025-04-09 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:31:04] Production.INFO: Account Balance Start.
[2025-04-09 13:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:31:04] Production.INFO: 117
[2025-04-09 13:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:31:04] Production.INFO: Total Charge 0
[2025-04-09 13:31:04] Production.INFO: CreateAllLog End
[2025-04-09 13:31:04] Production.INFO: ==6290== Releasing lock...
[2025-04-09 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:31:04] Production.ERROR: done
[2025-04-09 13:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:31:04] Production.INFO: Account Balance End.
[2025-04-09 13:31:04] Production.ERROR: done
[2025-04-09 13:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:31:04] Production.INFO: ==6294== Releasing lock...
[2025-04-09 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:31:05
[end_date_ymd] => 2025-04-09 13:31:05
[RateCDR] => 1
)
[2025-04-09 13:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:31:05' and `end` < '2025-04-09 13:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:31:12] Production.ERROR: CronJobId end10
[2025-04-09 13:31:12] Production.INFO: ==6292== Releasing lock...
[2025-04-09 13:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:31:14] Production.INFO: call_cost start
[2025-04-09 13:31:14] Production.INFO: call_cost end
[2025-04-09 13:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:31:15] Production.INFO: ==6288== Releasing lock...
[2025-04-09 13:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:31:19] Production.INFO: count ==7081
[2025-04-09 13:31:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:31:05 - End Time 2025-04-09 13:31:05
[2025-04-09 13:31:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869863', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869863', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869863', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869863', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:31:22] Production.INFO: ProcessCDR(1,14869863,1,1,2)
[2025-04-09 13:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:31:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869863', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869863', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:31:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:31:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:31:28] Production.INFO: ==6296== Releasing lock...
[2025-04-09 13:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:31:28] Production.INFO: 81.5 MB #Memory Used#
[2025-04-09 18:32:01] Production.INFO: ==6354== Lock acquired, processing the job...
[2025-04-09 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:32:01] Production.INFO: neon service started
[2025-04-09 18:32:01] Production.INFO: neon service started
[2025-04-09 18:32:01] Production.INFO: ==6354== Releasing lock...
[2025-04-09 18:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:32:01] Production.INFO: ==6356== Lock acquired, processing the job...
[2025-04-09 13:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:32:02] Production.INFO: ==6356== Releasing lock...
[2025-04-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:32:02] Production.INFO: ==6358== Lock acquired, processing the job...
[2025-04-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:32:02] Production.INFO: ==6358== Releasing lock...
[2025-04-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:32:03] Production.INFO: ==6360== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:32:03] Production.INFO: ==6362== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:32:03] Production.INFO: ==6366== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:32:03] Production.INFO: ==6364== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:32:03] Production.INFO: ==6368== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:32:03] Production.INFO: Account Balance Start.
[2025-04-09 13:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:32:03] Production.INFO: 117
[2025-04-09 13:32:03] Production.INFO: ==6371== Lock acquired, processing the job...
[2025-04-09 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:32:03] Production.INFO: ==6362== Releasing lock...
[2025-04-09 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:32:03] Production.INFO: Total Charge 0
[2025-04-09 13:32:03] Production.INFO: CreateAllLog End
[2025-04-09 13: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-04-09 13:32:03] Production.INFO: count ==12
[2025-04-09 13: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-04-09 13:32:03] Production.INFO: count ==23
[2025-04-09 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869867') start
[2025-04-09 13:32:03] Production.ERROR: done
[2025-04-09 13:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:32:04] Production.INFO: Account Balance End.
[2025-04-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869867') end
[2025-04-09 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:32:04] Production.INFO: 1
[2025-04-09 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:32:04] Production.INFO: ==6366== Releasing lock...
[2025-04-09 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:32:04] Production.INFO: ==6371== Releasing lock...
[2025-04-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:32:04] Production.ERROR: done
[2025-04-09 13:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:32:05
[end_date_ymd] => 2025-04-09 13:32:05
[RateCDR] => 1
)
[2025-04-09 13:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:32:05' and `end` < '2025-04-09 13:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:32:11] Production.ERROR: CronJobId end10
[2025-04-09 13:32:11] Production.INFO: ==6364== Releasing lock...
[2025-04-09 13:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:32:14] Production.INFO: call_cost start
[2025-04-09 13:32:14] Production.INFO: call_cost end
[2025-04-09 13:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:32:15] Production.INFO: ==6360== Releasing lock...
[2025-04-09 13:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:32:19] Production.INFO: count ==7044
[2025-04-09 13:32:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:32:05 - End Time 2025-04-09 13:32:05
[2025-04-09 13:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869868', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869868', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869868', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869868', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:32:22] Production.INFO: ProcessCDR(1,14869868,1,1,2)
[2025-04-09 13:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869868', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869868', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:32:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:32:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:32:28] Production.INFO: ==6368== Releasing lock...
[2025-04-09 13:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:32:28] Production.INFO: 80.75 MB #Memory Used#
[2025-04-09 18:33:02] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-04-09 18:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:33:02] Production.INFO: neon service started
[2025-04-09 18:33:02] Production.INFO: neon service started
[2025-04-09 18:33:02] Production.INFO: ==6428== Releasing lock...
[2025-04-09 18:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:33:02] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-04-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:33:02] Production.INFO: ==6430== Releasing lock...
[2025-04-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:33:02] Production.INFO: ==6432== Lock acquired, processing the job...
[2025-04-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:33:02] Production.INFO: ==6432== Releasing lock...
[2025-04-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:33:03] Production.INFO: ==6434== Lock acquired, processing the job...
[2025-04-09 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:33:03] Production.INFO: ==6444== Lock acquired, processing the job...
[2025-04-09 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:33:03] Production.INFO: ==6436== Lock acquired, processing the job...
[2025-04-09 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:33:03] Production.INFO: ==6438== Lock acquired, processing the job...
[2025-04-09 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 13:33:03] Production.INFO: count ==12
[2025-04-09 13:33:03] Production.INFO: ==6440== Lock acquired, processing the job...
[2025-04-09 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 13:33:04] Production.INFO: count ==23
[2025-04-09 13:33:04] Production.INFO: ==6442== Lock acquired, processing the job...
[2025-04-09 13:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869871') start
[2025-04-09 13:33:04] Production.INFO: Account Balance Start.
[2025-04-09 13:33:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:33:04] Production.INFO: 117
[2025-04-09 13:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:33:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869871') end
[2025-04-09 13:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:33:04] Production.INFO: 1
[2025-04-09 13:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:33:04] Production.INFO: Total Charge 0
[2025-04-09 13:33:04] Production.INFO: CreateAllLog End
[2025-04-09 13:33:04] Production.INFO: ==6444== Releasing lock...
[2025-04-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:33:04] Production.INFO: ==6436== Releasing lock...
[2025-04-09 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:33:04] Production.ERROR: done
[2025-04-09 13:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:33:04] Production.INFO: Account Balance End.
[2025-04-09 13:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:33:04] Production.INFO: ==6440== Releasing lock...
[2025-04-09 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:33:04] Production.ERROR: done
[2025-04-09 13:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:33:05
[end_date_ymd] => 2025-04-09 13:33:05
[RateCDR] => 1
)
[2025-04-09 13:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:33:05' and `end` < '2025-04-09 13:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:33:13] Production.ERROR: CronJobId end10
[2025-04-09 13:33:13] Production.INFO: ==6438== Releasing lock...
[2025-04-09 13:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:33:14] Production.INFO: call_cost start
[2025-04-09 13:33:14] Production.INFO: call_cost end
[2025-04-09 13:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:33:15] Production.INFO: ==6434== Releasing lock...
[2025-04-09 13:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:33:19] Production.INFO: count ==7003
[2025-04-09 13:33:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:33:05 - End Time 2025-04-09 13:33:05
[2025-04-09 13:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869873', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869873', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869873', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869873', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:33:23] Production.INFO: ProcessCDR(1,14869873,1,1,2)
[2025-04-09 13:33:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869873', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869873', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:33:27] Production.INFO: ==6442== Releasing lock...
[2025-04-09 13:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:33:27] Production.INFO: 80.25 MB #Memory Used#
[2025-04-09 18:34:01] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-04-09 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:34:01] Production.INFO: neon service started
[2025-04-09 18:34:01] Production.INFO: neon service started
[2025-04-09 18:34:01] Production.INFO: ==6500== Releasing lock...
[2025-04-09 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:34:02] Production.INFO: ==6502== Lock acquired, processing the job...
[2025-04-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:34:02] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-04-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:34:02] Production.INFO: ==6504== Releasing lock...
[2025-04-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:34:02] Production.INFO: ==6502== Releasing lock...
[2025-04-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:34:03] Production.INFO: ==6509== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:34:03] Production.INFO: ==6511== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:34:03] Production.INFO: ==6513== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:34:03] Production.INFO: ==6507== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:34:03] Production.INFO: Account Balance Start.
[2025-04-09 13:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:34:03] Production.INFO: 117
[2025-04-09 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:34:03] Production.INFO: ==6509== Releasing lock...
[2025-04-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:34:03] Production.INFO: Total Charge 0
[2025-04-09 13:34:03] Production.INFO: CreateAllLog End
[2025-04-09 13:34:03] Production.INFO: ==6517== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:34:03] Production.INFO: ==6515== Lock acquired, processing the job...
[2025-04-09 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:34:03] Production.INFO: Account Balance End.
[2025-04-09 13:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:34:03] Production.ERROR: CronJobId end 12
[2025-04-09 13:34:03] Production.INFO: ==6513== Releasing lock...
[2025-04-09 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:34:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:34:03] Production.INFO: count ==23
[2025-04-09 13:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869877') start
[2025-04-09 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869877') end
[2025-04-09 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:34:04] Production.INFO: 1
[2025-04-09 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:34:04] Production.INFO: ==6517== Releasing lock...
[2025-04-09 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:34:04] Production.ERROR: done
[2025-04-09 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:34:04] Production.ERROR: done
[2025-04-09 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:34:05
[end_date_ymd] => 2025-04-09 13:34:05
[RateCDR] => 1
)
[2025-04-09 13:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:34:05' and `end` < '2025-04-09 13:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:34:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-09 13:34:12] Production.ERROR: CronJobId end10
[2025-04-09 13:34:12] Production.INFO: ==6511== Releasing lock...
[2025-04-09 13:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:34:14] Production.INFO: call_cost start
[2025-04-09 13:34:14] Production.INFO: call_cost end
[2025-04-09 13:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:34:15] Production.INFO: ==6507== Releasing lock...
[2025-04-09 13:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:34:19] Production.INFO: count ==6953
[2025-04-09 13:34:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:34:05 - End Time 2025-04-09 13:34:05
[2025-04-09 13:34:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869878', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869878', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869878', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869878', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:34:22] Production.INFO: ProcessCDR(1,14869878,1,1,2)
[2025-04-09 13:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869878', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869878', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:34:27] Production.INFO: ==6515== Releasing lock...
[2025-04-09 13:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:34:27] Production.INFO: 80 MB #Memory Used#
[2025-04-09 18:35:01] Production.INFO: ==6575== Lock acquired, processing the job...
[2025-04-09 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:35:01] Production.INFO: neon service started
[2025-04-09 18:35:01] Production.INFO: neon service started
[2025-04-09 18:35:01] Production.INFO: ==6575== Releasing lock...
[2025-04-09 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:35:02] Production.INFO: ==6577== Lock acquired, processing the job...
[2025-04-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:35:02] Production.INFO: ==6579== Lock acquired, processing the job...
[2025-04-09 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:35:02] Production.INFO: ==6579== Releasing lock...
[2025-04-09 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:35:03] Production.INFO: ==6577== Releasing lock...
[2025-04-09 13:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:35:03] Production.INFO: ==6588== Lock acquired, processing the job...
[2025-04-09 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:35:03] Production.INFO: Account Balance Start.
[2025-04-09 13:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:35:03] Production.INFO: 117
[2025-04-09 13:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:35:04] Production.INFO: Total Charge 0
[2025-04-09 13:35:04] Production.INFO: CreateAllLog End
[2025-04-09 13:35:04] Production.INFO: Account Balance End.
[2025-04-09 13:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:35:04] Production.INFO: ==6588== Releasing lock...
[2025-04-09 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:35:04] Production.INFO: ==6592== Lock acquired, processing the job...
[2025-04-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:35:04] Production.INFO: ==6582== Lock acquired, processing the job...
[2025-04-09 13:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:35:04] Production.INFO: ==6584== Lock acquired, processing the job...
[2025-04-09 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:35:04] Production.INFO: ==6586== Lock acquired, processing the job...
[2025-04-09 13:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:35:04] Production.INFO: ==6590== Lock acquired, processing the job...
[2025-04-09 13:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:35:04] Production.INFO: count ==12
[2025-04-09 13:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:35:04] Production.INFO: count ==23
[2025-04-09 13:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869880') start
[2025-04-09 13:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869880') end
[2025-04-09 13:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:35:04] Production.INFO: 1
[2025-04-09 13:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:35:04] Production.INFO: ==6592== Releasing lock...
[2025-04-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:35:04] Production.INFO: ==6584== Releasing lock...
[2025-04-09 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:35:05] Production.ERROR: done
[2025-04-09 13:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:35:05] Production.ERROR: done
[2025-04-09 13:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:35:06
[end_date_ymd] => 2025-04-09 13:35:06
[RateCDR] => 1
)
[2025-04-09 13:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:35:06' and `end` < '2025-04-09 13:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:35:14] Production.ERROR: CronJobId end10
[2025-04-09 13:35:14] Production.INFO: ==6586== Releasing lock...
[2025-04-09 13:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:35:15] Production.INFO: call_cost start
[2025-04-09 13:35:15] Production.INFO: call_cost end
[2025-04-09 13:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:35:16] Production.INFO: ==6582== Releasing lock...
[2025-04-09 13:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:35:19] Production.INFO: count ==6917
[2025-04-09 13:35:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:35:06 - End Time 2025-04-09 13:35:06
[2025-04-09 13:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869883', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869883', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869883', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869883', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:35:23] Production.INFO: ProcessCDR(1,14869883,1,1,2)
[2025-04-09 13:35:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869883', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869883', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:35:28] Production.INFO: ==6590== Releasing lock...
[2025-04-09 13:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:35:28] Production.INFO: 79.75 MB #Memory Used#
[2025-04-09 18:36:01] Production.INFO: ==6647== Lock acquired, processing the job...
[2025-04-09 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:36:01] Production.INFO: neon service started
[2025-04-09 18:36:01] Production.INFO: neon service started
[2025-04-09 18:36:01] Production.INFO: ==6647== Releasing lock...
[2025-04-09 18:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:36:01] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-04-09 13:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:36:02] Production.INFO: ==6649== Releasing lock...
[2025-04-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:36:02] Production.INFO: ==6651== Lock acquired, processing the job...
[2025-04-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:36:02] Production.INFO: ==6651== Releasing lock...
[2025-04-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:36:03] Production.INFO: ==6655== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:36:03] Production.INFO: ==6657== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:36:03] Production.INFO: ==6653== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:36:03] Production.INFO: ==6659== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:36:03] Production.INFO: ==6661== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:36:03] Production.INFO: Account Balance Start.
[2025-04-09 13:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:36:03] Production.INFO: ==6663== Lock acquired, processing the job...
[2025-04-09 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:36:03] Production.INFO: 117
[2025-04-09 13:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:36:03] Production.INFO: ==6655== Releasing lock...
[2025-04-09 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:36:03] Production.INFO: Total Charge 0
[2025-04-09 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-04-09 13:36:03] Production.INFO: CreateAllLog End
[2025-04-09 13:36:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:36:03] Production.INFO: count ==23
[2025-04-09 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869887') start
[2025-04-09 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869887') end
[2025-04-09 13:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:36:03] Production.INFO: 1
[2025-04-09 13:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:36:03] Production.ERROR: done
[2025-04-09 13:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:36:03] Production.INFO: ==6663== Releasing lock...
[2025-04-09 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:36:03] Production.INFO: Account Balance End.
[2025-04-09 13:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:36:04] Production.INFO: ==6659== Releasing lock...
[2025-04-09 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:36:04] Production.ERROR: done
[2025-04-09 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:36:05
[end_date_ymd] => 2025-04-09 13:36:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:36:05' and `end` < '2025-04-09 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-04-09 13:36:12] Production.ERROR: CronJobId end10
[2025-04-09 13:36:12] Production.INFO: ==6657== Releasing lock...
[2025-04-09 13:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:36:14] Production.INFO: call_cost start
[2025-04-09 13:36:14] Production.INFO: call_cost end
[2025-04-09 13:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:36:15] Production.INFO: ==6653== Releasing lock...
[2025-04-09 13:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:36:18] Production.INFO: count ==6920
[2025-04-09 13:36:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:36:05 - End Time 2025-04-09 13:36:05
[2025-04-09 13:36:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869888', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869888', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869888', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869888', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:36:22] Production.INFO: ProcessCDR(1,14869888,1,1,2)
[2025-04-09 13:36:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:36:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869888', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869888', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:36:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:36:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:36:27] Production.INFO: ==6661== Releasing lock...
[2025-04-09 13:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:36:27] Production.INFO: 79.75 MB #Memory Used#
[2025-04-09 18:37:01] Production.INFO: ==6759== Lock acquired, processing the job...
[2025-04-09 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:37:01] Production.INFO: neon service started
[2025-04-09 18:37:01] Production.INFO: neon service started
[2025-04-09 18:37:01] Production.INFO: ==6759== Releasing lock...
[2025-04-09 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:37:02] Production.INFO: ==6763== Lock acquired, processing the job...
[2025-04-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:37:02] Production.INFO: ==6763== Releasing lock...
[2025-04-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:37:02] Production.INFO: ==6761== Lock acquired, processing the job...
[2025-04-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:37:02] Production.INFO: ==6761== Releasing lock...
[2025-04-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:37:03] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-04-09 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:37:03] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-04-09 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:37:03] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-04-09 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:37:03] Production.INFO: Account Balance Start.
[2025-04-09 13:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:37:03] Production.INFO: 117
[2025-04-09 13:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:37:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:37:03] Production.INFO: Total Charge 0
[2025-04-09 13:37:03] Production.INFO: CreateAllLog End
[2025-04-09 13:37:03] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-04-09 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:37:04] Production.INFO: Account Balance End.
[2025-04-09 13:37:04] Production.INFO: ==6768== Releasing lock...
[2025-04-09 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:37:04] Production.INFO: ==6772== Releasing lock...
[2025-04-09 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:37:04] Production.INFO: ==6774== Lock acquired, processing the job...
[2025-04-09 13:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:37:04] Production.INFO: ==6776== Lock acquired, processing the job...
[2025-04-09 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:37:04] Production.INFO: count ==12
[2025-04-09 13:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:37:04] Production.INFO: count ==23
[2025-04-09 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869892') start
[2025-04-09 13:37:04] Production.ERROR: done
[2025-04-09 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869892') end
[2025-04-09 13:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:37:04] Production.INFO: 1
[2025-04-09 13:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:37:04] Production.INFO: ==6776== Releasing lock...
[2025-04-09 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:37:05] Production.ERROR: done
[2025-04-09 13:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:37:06
[end_date_ymd] => 2025-04-09 13:37:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:37:06' and `end` < '2025-04-09 13: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-04-09 13:37:12] Production.ERROR: CronJobId end10
[2025-04-09 13:37:12] Production.INFO: ==6770== Releasing lock...
[2025-04-09 13:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:37:15] Production.INFO: call_cost start
[2025-04-09 13:37:15] Production.INFO: call_cost end
[2025-04-09 13:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:37:16] Production.INFO: ==6766== Releasing lock...
[2025-04-09 13:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:37:19] Production.INFO: count ==6888
[2025-04-09 13:37:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:37:06 - End Time 2025-04-09 13:37:06
[2025-04-09 13:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869893', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869893', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869893', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869893', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:37:23] Production.INFO: ProcessCDR(1,14869893,1,1,2)
[2025-04-09 13:37:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869893', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869893', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:37:28] Production.INFO: ==6774== Releasing lock...
[2025-04-09 13:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:37:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:38:01] Production.INFO: ==6836== Lock acquired, processing the job...
[2025-04-09 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:38:01] Production.INFO: neon service started
[2025-04-09 18:38:01] Production.INFO: neon service started
[2025-04-09 18:38:01] Production.INFO: ==6836== Releasing lock...
[2025-04-09 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:38:01] Production.INFO: ==6838== Lock acquired, processing the job...
[2025-04-09 13:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:38:02] Production.INFO: ==6838== Releasing lock...
[2025-04-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:38:02] Production.INFO: ==6840== Lock acquired, processing the job...
[2025-04-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:38:02] Production.INFO: ==6840== Releasing lock...
[2025-04-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:38:02] Production.INFO: ==6846== Lock acquired, processing the job...
[2025-04-09 13:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:38:03] Production.INFO: ==6848== Lock acquired, processing the job...
[2025-04-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:38:03] Production.INFO: Account Balance Start.
[2025-04-09 13:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:38:03] Production.INFO: 117
[2025-04-09 13:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:38:03] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-04-09 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:38:03] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-04-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:38:03] Production.INFO: Total Charge 0
[2025-04-09 13:38:03] Production.INFO: CreateAllLog End
[2025-04-09 13:38:03] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-04-09 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:38:03] Production.INFO: ==6853== Lock acquired, processing the job...
[2025-04-09 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:38:03] Production.INFO: Account Balance End.
[2025-04-09 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:38:03] Production.ERROR: CronJobId end 12
[2025-04-09 13:38:03] Production.INFO: ==6848== Releasing lock...
[2025-04-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 13:38:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:38:03] Production.INFO: count ==23
[2025-04-09 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869897') start
[2025-04-09 13:38:03] Production.INFO: ==6844== Releasing lock...
[2025-04-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869897') end
[2025-04-09 13:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:38:03] Production.INFO: 1
[2025-04-09 13:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:38:03] Production.ERROR: done
[2025-04-09 13:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:38:03] Production.INFO: ==6853== Releasing lock...
[2025-04-09 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:38:04] Production.ERROR: done
[2025-04-09 13:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:38:05
[end_date_ymd] => 2025-04-09 13:38:05
[RateCDR] => 1
)
[2025-04-09 13:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:38:05' and `end` < '2025-04-09 13:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:38:12] Production.ERROR: CronJobId end10
[2025-04-09 13:38:12] Production.INFO: ==6846== Releasing lock...
[2025-04-09 13:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:38:14] Production.INFO: call_cost start
[2025-04-09 13:38:14] Production.INFO: call_cost end
[2025-04-09 13:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:38:15] Production.INFO: ==6842== Releasing lock...
[2025-04-09 13:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:38:19] Production.INFO: count ==6859
[2025-04-09 13:38:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:38:05 - End Time 2025-04-09 13:38:05
[2025-04-09 13:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869898', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869898', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869898', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869898', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:38:22] Production.INFO: ProcessCDR(1,14869898,1,1,2)
[2025-04-09 13:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869898', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869898', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:38:26] Production.INFO: ==6850== Releasing lock...
[2025-04-09 13:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:38:26] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:39:01] Production.INFO: ==6910== Lock acquired, processing the job...
[2025-04-09 18:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:39:01] Production.INFO: neon service started
[2025-04-09 18:39:01] Production.INFO: neon service started
[2025-04-09 18:39:01] Production.INFO: ==6910== Releasing lock...
[2025-04-09 18:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:39:02] Production.INFO: ==6914== Lock acquired, processing the job...
[2025-04-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:39:02] Production.INFO: ==6914== Releasing lock...
[2025-04-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:39:02] Production.INFO: ==6912== Lock acquired, processing the job...
[2025-04-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:39:02] Production.INFO: ==6912== Releasing lock...
[2025-04-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:39:03] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:39:03] Production.INFO: ==6927== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:39:03] Production.INFO: Account Balance Start.
[2025-04-09 13:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:39:03] Production.INFO: 117
[2025-04-09 13:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:39:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:39:03] Production.INFO: Total Charge 0
[2025-04-09 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:39:03] Production.INFO: CreateAllLog End
[2025-04-09 13:39:03] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:39:03] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:39:03] Production.INFO: count ==12
[2025-04-09 13:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:39:03] Production.INFO: count ==23
[2025-04-09 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869900') start
[2025-04-09 13:39:03] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-04-09 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869900') end
[2025-04-09 13:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:39:04] Production.INFO: 1
[2025-04-09 13:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:39:04] Production.INFO: Account Balance End.
[2025-04-09 13:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:39:04] Production.INFO: ==6927== Releasing lock...
[2025-04-09 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:39:04] Production.INFO: ==6923== Releasing lock...
[2025-04-09 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:39:04] Production.INFO: ==6919== Releasing lock...
[2025-04-09 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:39:04] Production.ERROR: done
[2025-04-09 13:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:39:04] Production.ERROR: done
[2025-04-09 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:39:05
[end_date_ymd] => 2025-04-09 13:39:05
[RateCDR] => 1
)
[2025-04-09 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:39:05' and `end` < '2025-04-09 13:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:39:12] Production.ERROR: CronJobId end10
[2025-04-09 13:39:12] Production.INFO: ==6921== Releasing lock...
[2025-04-09 13:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:39:14] Production.INFO: call_cost start
[2025-04-09 13:39:14] Production.INFO: call_cost end
[2025-04-09 13:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:39:15] Production.INFO: ==6917== Releasing lock...
[2025-04-09 13:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:39:19] Production.INFO: count ==6858
[2025-04-09 13:39:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:39:05 - End Time 2025-04-09 13:39:05
[2025-04-09 13:39:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869903', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869903', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869903', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869903', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:39:23] Production.INFO: ProcessCDR(1,14869903,1,1,2)
[2025-04-09 13:39:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:39:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:39:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869903', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:39:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869903', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:39:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:39:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:39:28] Production.INFO: ==6925== Releasing lock...
[2025-04-09 13:39:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:39:28] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:40:02] Production.INFO: ==6983== Lock acquired, processing the job...
[2025-04-09 18:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:40:02] Production.INFO: neon service started
[2025-04-09 18:40:02] Production.INFO: neon service started
[2025-04-09 18:40:02] Production.INFO: ==6983== Releasing lock...
[2025-04-09 18:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:40:02] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-04-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:40:03] Production.INFO: ==6987== Releasing lock...
[2025-04-09 17:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:40:03] Production.INFO: ==6985== Lock acquired, processing the job...
[2025-04-09 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:40:03] Production.INFO: ==6985== Releasing lock...
[2025-04-09 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:40:04] Production.INFO: ==6995== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:40:04] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:40:04] Production.INFO: ==7003== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:40:04] Production.INFO: ==7001== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:40:04] Production.INFO: ==7005== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:40:04] Production.INFO: ==6991== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 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-04-09 13:40:04] Production.INFO: ==6997== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:40:04] Production.INFO: count ==12
[2025-04-09 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-04-09 13:40:04] Production.INFO: count ==23
[2025-04-09 13:40:04] Production.INFO: ==6999== Lock acquired, processing the job...
[2025-04-09 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869906') start
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 6993
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 5
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 6995
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - Account Block
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 7
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 6997
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 10
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 6999
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 12
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 7001
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 16
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 7003
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 17
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:40:05] Production.ERROR: CronJob PID - 7005
[2025-04-09 13:40:05] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 13:40:05] Production.ERROR: CronJob ID - 19
[2025-04-09 13:40:05] Production.ERROR: CronJob Last Run Time 2025-04-09 13:40:00
[2025-04-09 13:40:05] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:40:05] Production.INFO: Account Balance Start.
[2025-04-09 13:40:05] Production.INFO: CreateAllLog Start
[2025-04-09 13:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869906') end
[2025-04-09 13:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:40:05] Production.INFO: 1
[2025-04-09 13:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:40:05] Production.ERROR: done
[2025-04-09 13:40:05] Production.INFO: 117
[2025-04-09 13:40:05] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:40:05] Production.INFO: ==6991== Releasing lock...
[2025-04-09 13:40:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:40:05] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:40:05] Production.INFO: Date 2025-04-08
[2025-04-09 13:40:05] Production.INFO: ==6995== Releasing lock...
[2025-04-09 13:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 13:40:05] Production.INFO: ==7005== Releasing lock...
[2025-04-09 13:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:40:05] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:40:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:40:05] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:40:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869908', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:40:05] Production.ERROR: done
[2025-04-09 13:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:40:05] Production.INFO: Date 2025-04-09
[2025-04-09 13:40:05] Production.INFO: Reseller ==> 0
[2025-04-09 13:40:05] Production.INFO: Total Charge 0
[2025-04-09 13:40:05] Production.INFO: CreateAllLog End
[2025-04-09 13:40:05] Production.ERROR: done
[2025-04-09 13:40:05] Production.INFO: Account Balance End.
[2025-04-09 13:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:40:05] Production.INFO: ==6999== Releasing lock...
[2025-04-09 13:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:40:06
[end_date_ymd] => 2025-04-09 13:40:06
[RateCDR] => 1
)
[2025-04-09 13:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:40:06' and `end` < '2025-04-09 13:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869908', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:40:09] Production.INFO: ProcessCDR(1,14869908,1,1,2)
[2025-04-09 13:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869908,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:40:09] Production.INFO: ==7003== Releasing lock...
[2025-04-09 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:40:15] Production.ERROR: CronJobId end10
[2025-04-09 13:40:15] Production.INFO: ==6997== Releasing lock...
[2025-04-09 13:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:40:17] Production.INFO: call_cost start
[2025-04-09 13:40:17] Production.INFO: call_cost end
[2025-04-09 13:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:40:18] Production.INFO: ==6993== Releasing lock...
[2025-04-09 13:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:40:20] Production.INFO: count ==6865
[2025-04-09 13:40:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:40:06 - End Time 2025-04-09 13:40:06
[2025-04-09 13:40:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869909', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869909', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869909', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869909', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:40:24] Production.INFO: ProcessCDR(1,14869909,1,1,2)
[2025-04-09 13:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:40:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869909', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869909', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:40:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:40:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:40:29] Production.INFO: ==7001== Releasing lock...
[2025-04-09 13:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:40:29] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:41:01] Production.INFO: ==7059== Lock acquired, processing the job...
[2025-04-09 18:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:41:01] Production.INFO: neon service started
[2025-04-09 18:41:01] Production.INFO: neon service started
[2025-04-09 18:41:01] Production.INFO: ==7059== Releasing lock...
[2025-04-09 18:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:41:02] Production.INFO: ==7063== Lock acquired, processing the job...
[2025-04-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:41:02] Production.INFO: ==7063== Releasing lock...
[2025-04-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:41:02] Production.INFO: ==7061== Lock acquired, processing the job...
[2025-04-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:41:02] Production.INFO: ==7061== Releasing lock...
[2025-04-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:41:03] Production.INFO: ==7065== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:41:03] Production.INFO: ==7069== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:41:03] Production.INFO: ==7073== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:41:03] Production.INFO: ==7067== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:41:03] Production.INFO: ==7071== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:41:03] Production.INFO: ==7075== Lock acquired, processing the job...
[2025-04-09 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:41:03] Production.INFO: Account Balance Start.
[2025-04-09 13:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:41:03] Production.INFO: 117
[2025-04-09 13:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:41:03] Production.INFO: count ==12
[2025-04-09 13:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:41:03] Production.INFO: count ==23
[2025-04-09 13:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869912') start
[2025-04-09 13:41:04] Production.INFO: ==7067== Releasing lock...
[2025-04-09 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:41:04] Production.ERROR: done
[2025-04-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869912') end
[2025-04-09 13:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:41:04] Production.INFO: 1
[2025-04-09 13:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:41:04] Production.INFO: Total Charge 0
[2025-04-09 13:41:04] Production.INFO: CreateAllLog End
[2025-04-09 13:41:04] Production.INFO: ==7075== Releasing lock...
[2025-04-09 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:41:04] Production.ERROR: done
[2025-04-09 13:41:04] Production.INFO: Account Balance End.
[2025-04-09 13:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:41:04] Production.INFO: ==7071== Releasing lock...
[2025-04-09 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:41:05
[end_date_ymd] => 2025-04-09 13:41:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:41:05' and `end` < '2025-04-09 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-04-09 13:41:12] Production.ERROR: CronJobId end10
[2025-04-09 13:41:12] Production.INFO: ==7069== Releasing lock...
[2025-04-09 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:41:14] Production.INFO: call_cost start
[2025-04-09 13:41:14] Production.INFO: call_cost end
[2025-04-09 13:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:41:15] Production.INFO: ==7065== Releasing lock...
[2025-04-09 13:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:41:19] Production.INFO: count ==6834
[2025-04-09 13:41:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:41:05 - End Time 2025-04-09 13:41:05
[2025-04-09 13:41:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869914', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869914', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869914', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869914', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:41:22] Production.INFO: ProcessCDR(1,14869914,1,1,2)
[2025-04-09 13:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869914', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869914', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:41:25] Production.INFO: ==7073== Releasing lock...
[2025-04-09 13:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:41:25] Production.INFO: 79 MB #Memory Used#
[2025-04-09 18:42:02] Production.INFO: ==7128== Lock acquired, processing the job...
[2025-04-09 18:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:42:02] Production.INFO: neon service started
[2025-04-09 18:42:02] Production.INFO: neon service started
[2025-04-09 18:42:02] Production.INFO: ==7128== Releasing lock...
[2025-04-09 18:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:42:02] Production.INFO: ==7130== Lock acquired, processing the job...
[2025-04-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:42:02] Production.INFO: ==7132== Lock acquired, processing the job...
[2025-04-09 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:42:03] Production.INFO: ==7132== Releasing lock...
[2025-04-09 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:42:03] Production.INFO: ==7130== Releasing lock...
[2025-04-09 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:42:04] Production.INFO: ==7135== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:42:04] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:42:04] Production.INFO: ==7141== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:42:04] Production.INFO: Account Balance Start.
[2025-04-09 13:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:42:04] Production.INFO: 117
[2025-04-09 13:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:42:04] Production.INFO: Total Charge 0
[2025-04-09 13:42:04] Production.INFO: CreateAllLog End
[2025-04-09 13:42:04] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:42:04] Production.INFO: Account Balance End.
[2025-04-09 13:42:04] Production.INFO: ==7145== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:42:04] Production.INFO: ==7141== Releasing lock...
[2025-04-09 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:42:04] Production.INFO: ==7143== Lock acquired, processing the job...
[2025-04-09 13:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 13:42:04] Production.INFO: count ==12
[2025-04-09 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-04-09 13:42:04] Production.INFO: count ==23
[2025-04-09 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869918') start
[2025-04-09 13:42:05] Production.INFO: ==7137== Releasing lock...
[2025-04-09 13:42:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:42:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869918') end
[2025-04-09 13:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:42:05] Production.INFO: 1
[2025-04-09 13:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:42:05] Production.INFO: ==7145== Releasing lock...
[2025-04-09 13:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:42:05] Production.ERROR: done
[2025-04-09 13:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:42:05] Production.ERROR: done
[2025-04-09 13:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:42:06
[end_date_ymd] => 2025-04-09 13:42:06
[RateCDR] => 1
)
[2025-04-09 13:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:42:06' and `end` < '2025-04-09 13:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:42:13] Production.ERROR: CronJobId end10
[2025-04-09 13:42:13] Production.INFO: ==7139== Releasing lock...
[2025-04-09 13:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:42:15] Production.INFO: call_cost start
[2025-04-09 13:42:15] Production.INFO: call_cost end
[2025-04-09 13:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:42:16] Production.INFO: ==7135== Releasing lock...
[2025-04-09 13:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:42:20] Production.INFO: count ==6821
[2025-04-09 13:42:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:42:06 - End Time 2025-04-09 13:42:06
[2025-04-09 13:42:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869919', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869919', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869919', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869919', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:42:23] Production.INFO: ProcessCDR(1,14869919,1,1,2)
[2025-04-09 13:42:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:42:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:42:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:42:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869919', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869919', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:42:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:42:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:42:28] Production.INFO: ==7143== Releasing lock...
[2025-04-09 13:42:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:42:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 18:43:01] Production.INFO: ==7197== Lock acquired, processing the job...
[2025-04-09 18:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:43:01] Production.INFO: neon service started
[2025-04-09 18:43:01] Production.INFO: neon service started
[2025-04-09 18:43:01] Production.INFO: ==7197== Releasing lock...
[2025-04-09 18:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:43:02] Production.INFO: ==7199== Lock acquired, processing the job...
[2025-04-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:43:02] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-04-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:43:02] Production.INFO: ==7201== Releasing lock...
[2025-04-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:43:02] Production.INFO: ==7199== Releasing lock...
[2025-04-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:43:03] Production.INFO: ==7208== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:43:03] Production.INFO: ==7204== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:43:03] Production.INFO: ==7214== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:43:03] Production.INFO: ==7206== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:43:03] Production.INFO: count ==12
[2025-04-09 13:43:03] Production.INFO: ==7210== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:43:03] Production.INFO: count ==23
[2025-04-09 13:43:03] Production.INFO: ==7212== Lock acquired, processing the job...
[2025-04-09 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869920') start
[2025-04-09 13:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:43:04] Production.INFO: Account Balance Start.
[2025-04-09 13:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:43:04] Production.INFO: 117
[2025-04-09 13:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869920') end
[2025-04-09 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:43:04] Production.INFO: 1
[2025-04-09 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:43:04] Production.INFO: Total Charge 0
[2025-04-09 13:43:04] Production.INFO: CreateAllLog End
[2025-04-09 13:43:04] Production.INFO: ==7214== Releasing lock...
[2025-04-09 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:43:04] Production.INFO: ==7206== Releasing lock...
[2025-04-09 13:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:43:04] Production.ERROR: done
[2025-04-09 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:43:04] Production.INFO: Account Balance End.
[2025-04-09 13:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:43:04] Production.INFO: ==7210== Releasing lock...
[2025-04-09 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:43:04] Production.ERROR: done
[2025-04-09 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:43:05
[end_date_ymd] => 2025-04-09 13:43:05
[RateCDR] => 1
)
[2025-04-09 13:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:43:05' and `end` < '2025-04-09 13:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:43:14] Production.ERROR: CronJobId end10
[2025-04-09 13:43:14] Production.INFO: ==7208== Releasing lock...
[2025-04-09 13:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:43:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:43:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:43:16] Production.INFO: call_cost start
[2025-04-09 13:43:16] Production.INFO: call_cost end
[2025-04-09 13:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:43:17] Production.INFO: ==7204== Releasing lock...
[2025-04-09 13:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:43:20] Production.INFO: count ==6860
[2025-04-09 13:43:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:43:05 - End Time 2025-04-09 13:43:05
[2025-04-09 13:43:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869924', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869924', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869924', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869924', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:43:23] Production.INFO: ProcessCDR(1,14869924,1,1,2)
[2025-04-09 13:43:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:43:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:43:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:43:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869924', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869924', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:43:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:43:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:43:28] Production.INFO: ==7212== Releasing lock...
[2025-04-09 13:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:43:28] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:44:02] Production.INFO: ==7270== Lock acquired, processing the job...
[2025-04-09 18:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:44:02] Production.INFO: neon service started
[2025-04-09 18:44:02] Production.INFO: neon service started
[2025-04-09 18:44:02] Production.INFO: ==7270== Releasing lock...
[2025-04-09 18:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:44:02] Production.INFO: ==7273== Lock acquired, processing the job...
[2025-04-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:44:02] Production.INFO: ==7275== Lock acquired, processing the job...
[2025-04-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:44:03] Production.INFO: ==7275== Releasing lock...
[2025-04-09 17:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:44:03] Production.INFO: ==7273== Releasing lock...
[2025-04-09 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:44:03] Production.INFO: ==7281== Lock acquired, processing the job...
[2025-04-09 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:44:04] Production.INFO: ==7287== Lock acquired, processing the job...
[2025-04-09 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:44:04] Production.INFO: ==7277== Lock acquired, processing the job...
[2025-04-09 13:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:44:04] Production.INFO: count ==12
[2025-04-09 13:44:04] Production.INFO: ==7279== Lock acquired, processing the job...
[2025-04-09 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:44:04] Production.INFO: count ==23
[2025-04-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869925') start
[2025-04-09 13:44:04] Production.INFO: ==7283== Lock acquired, processing the job...
[2025-04-09 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:44:04] Production.INFO: ==7285== Lock acquired, processing the job...
[2025-04-09 13:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869925') end
[2025-04-09 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:44:04] Production.INFO: 1
[2025-04-09 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:44:04] Production.INFO: ==7287== Releasing lock...
[2025-04-09 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:44:04] Production.INFO: Account Balance Start.
[2025-04-09 13:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:44:04] Production.INFO: 117
[2025-04-09 13:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:44:04] Production.INFO: ==7279== Releasing lock...
[2025-04-09 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:44:04] Production.INFO: Total Charge 0
[2025-04-09 13:44:04] Production.INFO: CreateAllLog End
[2025-04-09 13:44:04] Production.ERROR: done
[2025-04-09 13:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:44:05] Production.ERROR: done
[2025-04-09 13:44:05] Production.INFO: Account Balance End.
[2025-04-09 13:44:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:44:05] Production.INFO: ==7283== Releasing lock...
[2025-04-09 13:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:44:06
[end_date_ymd] => 2025-04-09 13:44:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:44:06' and `end` < '2025-04-09 13: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-04-09 13:44:12] Production.ERROR: CronJobId end10
[2025-04-09 13:44:12] Production.INFO: ==7281== Releasing lock...
[2025-04-09 13:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:44:16] Production.INFO: call_cost start
[2025-04-09 13:44:16] Production.INFO: call_cost end
[2025-04-09 13:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:44:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:44:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:44:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:44:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:44:17] Production.INFO: ==7277== Releasing lock...
[2025-04-09 13:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:44:20] Production.INFO: count ==6871
[2025-04-09 13:44:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:44:06 - End Time 2025-04-09 13:44:06
[2025-04-09 13:44:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869929', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869929', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869929', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869929', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:44:23] Production.INFO: ProcessCDR(1,14869929,1,1,2)
[2025-04-09 13:44:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:44:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:44:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:44:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869929', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869929', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:44:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:44:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:44:28] Production.INFO: ==7285== Releasing lock...
[2025-04-09 13:44:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:44:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:45:01] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-04-09 18:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:45:01] Production.INFO: neon service started
[2025-04-09 18:45:01] Production.INFO: neon service started
[2025-04-09 18:45:01] Production.INFO: ==7341== Releasing lock...
[2025-04-09 18:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:45:02] Production.INFO: ==7343== Lock acquired, processing the job...
[2025-04-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:45:02] Production.INFO: ==7343== Releasing lock...
[2025-04-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:45:02] Production.INFO: ==7345== Lock acquired, processing the job...
[2025-04-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:45:02] Production.INFO: ==7345== Releasing lock...
[2025-04-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:45:03] Production.INFO: ==7350== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:45:03] Production.INFO: ==7356== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:45:03] Production.INFO: ==7348== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:45:03] Production.INFO: ==7352== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:45:03] Production.INFO: ==7354== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:45:03] Production.INFO: ==7358== Lock acquired, processing the job...
[2025-04-09 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:45:03] Production.INFO: Account Balance Start.
[2025-04-09 13:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:45:03] Production.INFO: ==7350== Releasing lock...
[2025-04-09 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:45:03] Production.INFO: 117
[2025-04-09 13:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:45:03] Production.INFO: Total Charge 0
[2025-04-09 13:45:03] Production.INFO: count ==12
[2025-04-09 13:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:45:03] Production.INFO: CreateAllLog End
[2025-04-09 13:45:03] Production.INFO: count ==23
[2025-04-09 13:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869933') start
[2025-04-09 13:45:04] Production.ERROR: done
[2025-04-09 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:45:04] Production.ERROR: done
[2025-04-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869933') end
[2025-04-09 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:45:04] Production.INFO: 1
[2025-04-09 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:45:04] Production.INFO: ==7358== Releasing lock...
[2025-04-09 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:45:04] Production.INFO: Account Balance End.
[2025-04-09 13:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:45:04] Production.INFO: ==7354== Releasing lock...
[2025-04-09 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:45:05
[end_date_ymd] => 2025-04-09 13:45:05
[RateCDR] => 1
)
[2025-04-09 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:45:05' and `end` < '2025-04-09 13:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:45:12] Production.ERROR: CronJobId end10
[2025-04-09 13:45:12] Production.INFO: ==7352== Releasing lock...
[2025-04-09 13:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:45:14] Production.INFO: call_cost start
[2025-04-09 13:45:14] Production.INFO: call_cost end
[2025-04-09 13:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:45:15] Production.INFO: ==7348== Releasing lock...
[2025-04-09 13:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:45:19] Production.INFO: count ==6867
[2025-04-09 13:45:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:45:05 - End Time 2025-04-09 13:45:05
[2025-04-09 13:45:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869934', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869934', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869934', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869934', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:45:22] Production.INFO: ProcessCDR(1,14869934,1,1,2)
[2025-04-09 13:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:45:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:45:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869934', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869934', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:45:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:45:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:45:28] Production.INFO: ==7356== Releasing lock...
[2025-04-09 13:45:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:45:28] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:46:02] Production.INFO: ==7412== Lock acquired, processing the job...
[2025-04-09 18:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:46:02] Production.INFO: neon service started
[2025-04-09 18:46:02] Production.INFO: neon service started
[2025-04-09 18:46:02] Production.INFO: ==7412== Releasing lock...
[2025-04-09 18:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:46:02] Production.INFO: ==7414== Lock acquired, processing the job...
[2025-04-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:46:03] Production.INFO: ==7414== Releasing lock...
[2025-04-09 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:46:03] Production.INFO: ==7416== Lock acquired, processing the job...
[2025-04-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:46:03] Production.INFO: ==7416== Releasing lock...
[2025-04-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:46:04] Production.INFO: ==7429== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:46:04] Production.INFO: count ==12
[2025-04-09 13:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:46:04] Production.INFO: count ==23
[2025-04-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869935') start
[2025-04-09 13:46:04] Production.INFO: ==7427== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869935') end
[2025-04-09 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:46:04] Production.INFO: 1
[2025-04-09 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:46:04] Production.INFO: ==7429== Releasing lock...
[2025-04-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:46:04] Production.INFO: ==7419== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:46:04] Production.INFO: ==7421== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:46:04] Production.INFO: ==7423== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:46:04] Production.INFO: ==7425== Lock acquired, processing the job...
[2025-04-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:46:04] Production.INFO: Account Balance Start.
[2025-04-09 13:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:46:04] Production.INFO: 117
[2025-04-09 13:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:46:05] Production.INFO: Date 2025-04-09
[2025-04-09 13:46:05] Production.INFO: Reseller ==> 0
[2025-04-09 13:46:05] Production.INFO: Total Charge 0
[2025-04-09 13:46:05] Production.INFO: CreateAllLog End
[2025-04-09 13:46:05] Production.ERROR: done
[2025-04-09 13:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:46:05] Production.INFO: ==7421== Releasing lock...
[2025-04-09 13:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:46:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:46:05] Production.ERROR: done
[2025-04-09 13:46:05] Production.INFO: Account Balance End.
[2025-04-09 13:46:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:46:05] Production.INFO: ==7425== Releasing lock...
[2025-04-09 13:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:46:06
[end_date_ymd] => 2025-04-09 13:46:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:46:06' and `end` < '2025-04-09 13: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-04-09 13:46:13] Production.ERROR: CronJobId end10
[2025-04-09 13:46:13] Production.INFO: ==7423== Releasing lock...
[2025-04-09 13:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:46:16] Production.INFO: call_cost start
[2025-04-09 13:46:16] Production.INFO: call_cost end
[2025-04-09 13:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:46:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:46:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:46:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:46:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:46:17] Production.INFO: ==7419== Releasing lock...
[2025-04-09 13:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:46:20] Production.INFO: count ==6859
[2025-04-09 13:46:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:46:06 - End Time 2025-04-09 13:46:06
[2025-04-09 13:46:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869939', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869939', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869939', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869939', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:46:23] Production.INFO: ProcessCDR(1,14869939,1,1,2)
[2025-04-09 13:46:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:46:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:46:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869939', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869939', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:46:29] Production.INFO: ==7427== Releasing lock...
[2025-04-09 13:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:46:29] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:47:01] Production.INFO: ==7483== Lock acquired, processing the job...
[2025-04-09 18:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:47:01] Production.INFO: neon service started
[2025-04-09 18:47:01] Production.INFO: neon service started
[2025-04-09 18:47:01] Production.INFO: ==7483== Releasing lock...
[2025-04-09 18:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:47:02] Production.INFO: ==7485== Lock acquired, processing the job...
[2025-04-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:47:02] Production.INFO: ==7485== Releasing lock...
[2025-04-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:47:02] Production.INFO: ==7487== Lock acquired, processing the job...
[2025-04-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:47:02] Production.INFO: ==7487== Releasing lock...
[2025-04-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:47:03] Production.INFO: ==7493== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:47:03] Production.INFO: ==7500== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:47:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:47:03] Production.INFO: count ==23
[2025-04-09 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869940') start
[2025-04-09 13:47:03] Production.INFO: ==7489== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:47:03] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:47:03] Production.INFO: ==7495== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869940') end
[2025-04-09 13:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:47:03] Production.INFO: 1
[2025-04-09 13:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:47:03] Production.INFO: ==7497== Lock acquired, processing the job...
[2025-04-09 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:47:03] Production.INFO: ==7500== Releasing lock...
[2025-04-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:47:04] Production.INFO: Account Balance Start.
[2025-04-09 13:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:47:04] Production.INFO: 117
[2025-04-09 13:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:47:04] Production.INFO: Total Charge 0
[2025-04-09 13:47:04] Production.INFO: CreateAllLog End
[2025-04-09 13:47:04] Production.INFO: ==7491== Releasing lock...
[2025-04-09 13:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:47:04] Production.ERROR: done
[2025-04-09 13:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:47:04] Production.INFO: Account Balance End.
[2025-04-09 13:47:04] Production.ERROR: done
[2025-04-09 13:47:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:47:04] Production.INFO: ==7495== Releasing lock...
[2025-04-09 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:47:05
[end_date_ymd] => 2025-04-09 13:47:05
[RateCDR] => 1
)
[2025-04-09 13:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:47:05' and `end` < '2025-04-09 13:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:47:12] Production.ERROR: CronJobId end10
[2025-04-09 13:47:12] Production.INFO: ==7493== Releasing lock...
[2025-04-09 13:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:47:14] Production.INFO: call_cost start
[2025-04-09 13:47:14] Production.INFO: call_cost end
[2025-04-09 13:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:47:15] Production.INFO: ==7489== Releasing lock...
[2025-04-09 13:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:47:19] Production.INFO: count ==6880
[2025-04-09 13:47:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:47:05 - End Time 2025-04-09 13:47:05
[2025-04-09 13:47:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869944', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869944', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869944', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869944', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:47:22] Production.INFO: ProcessCDR(1,14869944,1,1,2)
[2025-04-09 13:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:47:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:47:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869944', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869944', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:47:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:47:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:47:27] Production.INFO: ==7497== Releasing lock...
[2025-04-09 13:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:47:27] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:48:02] Production.INFO: ==7553== Lock acquired, processing the job...
[2025-04-09 18:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:48:02] Production.INFO: neon service started
[2025-04-09 18:48:02] Production.INFO: neon service started
[2025-04-09 18:48:02] Production.INFO: ==7553== Releasing lock...
[2025-04-09 18:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:48:02] Production.INFO: ==7558== Lock acquired, processing the job...
[2025-04-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:48:02] Production.INFO: ==7558== Releasing lock...
[2025-04-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:48:02] Production.INFO: ==7556== Lock acquired, processing the job...
[2025-04-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:48:03] Production.INFO: ==7556== Releasing lock...
[2025-04-09 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:48:04] Production.INFO: ==7566== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:48:04] Production.INFO: Account Balance Start.
[2025-04-09 13:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:48:04] Production.INFO: 117
[2025-04-09 13:48:04] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 13:48:04] Production.INFO: count ==12
[2025-04-09 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-04-09 13:48:04] Production.INFO: count ==23
[2025-04-09 13:48:04] Production.INFO: Total Charge 0
[2025-04-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869946') start
[2025-04-09 13:48:04] Production.INFO: ==7560== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:48:04] Production.INFO: CreateAllLog End
[2025-04-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869946') end
[2025-04-09 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:48:04] Production.INFO: 1
[2025-04-09 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:48:04] Production.INFO: ==7562== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:48:04] Production.INFO: ==7570== Releasing lock...
[2025-04-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:48:04] Production.INFO: ==7564== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:48:04] Production.INFO: Account Balance End.
[2025-04-09 13:48:04] Production.INFO: ==7568== Lock acquired, processing the job...
[2025-04-09 13:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:48:04] Production.INFO: ==7566== Releasing lock...
[2025-04-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:48:04] Production.INFO: ==7562== Releasing lock...
[2025-04-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:48:04] Production.ERROR: done
[2025-04-09 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:48:05] Production.ERROR: done
[2025-04-09 13:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:48:06
[end_date_ymd] => 2025-04-09 13:48:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:48:06' and `end` < '2025-04-09 13: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-04-09 13:48:13] Production.ERROR: CronJobId end10
[2025-04-09 13:48:13] Production.INFO: ==7564== Releasing lock...
[2025-04-09 13:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:48:15] Production.INFO: call_cost start
[2025-04-09 13:48:15] Production.INFO: call_cost end
[2025-04-09 13:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:48:16] Production.INFO: ==7560== Releasing lock...
[2025-04-09 13:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:48:20] Production.INFO: count ==6891
[2025-04-09 13:48:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:48:06 - End Time 2025-04-09 13:48:06
[2025-04-09 13:48:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869949', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869949', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869949', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869949', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:48:24] Production.INFO: ProcessCDR(1,14869949,1,1,2)
[2025-04-09 13:48:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:48:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:48:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:48:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:48:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869949', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:48:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869949', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:48:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:48:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:48:29] Production.INFO: ==7568== Releasing lock...
[2025-04-09 13:48:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:48:29] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:49:01] Production.INFO: ==7624== Lock acquired, processing the job...
[2025-04-09 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:49:01] Production.INFO: neon service started
[2025-04-09 18:49:01] Production.INFO: neon service started
[2025-04-09 18:49:01] Production.INFO: ==7624== Releasing lock...
[2025-04-09 18:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:49:02] Production.INFO: ==7629== Lock acquired, processing the job...
[2025-04-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:49:02] Production.INFO: ==7629== Releasing lock...
[2025-04-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:49:02] Production.INFO: ==7627== Lock acquired, processing the job...
[2025-04-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:49:02] Production.INFO: ==7627== Releasing lock...
[2025-04-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:49:03] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:49:03] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:49:03] Production.INFO: Account Balance Start.
[2025-04-09 13:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:49:03] Production.INFO: 117
[2025-04-09 13:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:49:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:49:03] Production.INFO: Total Charge 0
[2025-04-09 13:49:03] Production.INFO: CreateAllLog End
[2025-04-09 13:49:03] Production.INFO: ==7631== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:49:03] Production.INFO: ==7633== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:49:03] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:49:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-04-09 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:49:04] Production.INFO: Account Balance End.
[2025-04-09 13:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:49:04] Production.INFO: count ==12
[2025-04-09 13:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:49:04] Production.INFO: ==7637== Releasing lock...
[2025-04-09 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:49:04] Production.INFO: count ==23
[2025-04-09 13:49:04] Production.ERROR: done
[2025-04-09 13:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869951') start
[2025-04-09 13:49:04] Production.ERROR: done
[2025-04-09 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869951') end
[2025-04-09 13:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:49:04] Production.INFO: 1
[2025-04-09 13:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:49:04] Production.INFO: ==7633== Releasing lock...
[2025-04-09 13:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:49:04] Production.INFO: ==7641== Releasing lock...
[2025-04-09 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:49:05
[end_date_ymd] => 2025-04-09 13:49:05
[RateCDR] => 1
)
[2025-04-09 13:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:49:05' and `end` < '2025-04-09 13:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:49:12] Production.ERROR: CronJobId end10
[2025-04-09 13:49:12] Production.INFO: ==7635== Releasing lock...
[2025-04-09 13:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:49:15] Production.INFO: call_cost start
[2025-04-09 13:49:15] Production.INFO: call_cost end
[2025-04-09 13:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:49:16] Production.INFO: ==7631== Releasing lock...
[2025-04-09 13:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:49:19] Production.INFO: count ==6904
[2025-04-09 13:49:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:49:05 - End Time 2025-04-09 13:49:05
[2025-04-09 13:49:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869954', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869954', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869954', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869954', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:49:23] Production.INFO: ProcessCDR(1,14869954,1,1,2)
[2025-04-09 13:49:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:49:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869954', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869954', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:49:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:49:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:49:28] Production.INFO: ==7639== Releasing lock...
[2025-04-09 13:49:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:49:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:50:02] Production.INFO: ==7696== Lock acquired, processing the job...
[2025-04-09 18:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:50:02] Production.INFO: neon service started
[2025-04-09 18:50:02] Production.INFO: neon service started
[2025-04-09 18:50:02] Production.INFO: ==7696== Releasing lock...
[2025-04-09 18:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:50:02] Production.INFO: ==7700== Lock acquired, processing the job...
[2025-04-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:50:02] Production.INFO: ==7700== Releasing lock...
[2025-04-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:50:02] Production.INFO: ==7698== Lock acquired, processing the job...
[2025-04-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:50:03] Production.INFO: ==7698== Releasing lock...
[2025-04-09 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:50:04] Production.INFO: ==7703== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 13:50:04] Production.INFO: ==7711== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:50:04] Production.INFO: ==7705== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:50:04] Production.ERROR: CronJob PID - 7705
[2025-04-09 13:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 13:50:04] Production.ERROR: CronJob ID - 5
[2025-04-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:50:00
[2025-04-09 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 13:50:04] Production.ERROR: CronJob PID - 7711
[2025-04-09 13:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 13:50:04] Production.ERROR: CronJob ID - 12
[2025-04-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 13:50:00
[2025-04-09 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 13:50:04] Production.INFO: ==7713== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 13:50:04] Production.INFO: ==7703== Releasing lock...
[2025-04-09 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 13:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:50:04] Production.INFO: ==7707== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:50:04] Production.INFO: Account Balance Start.
[2025-04-09 13:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:50:04] Production.INFO: 117
[2025-04-09 13:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:50:04] Production.INFO: ==7709== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:50:04] Production.INFO: ==7717== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:50:04] Production.INFO: ==7715== Lock acquired, processing the job...
[2025-04-09 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 13:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:50:04] Production.INFO: Total Charge 0
[2025-04-09 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:50:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 13:50:04] Production.INFO: count ==12
[2025-04-09 13:50:04] Production.ERROR: done
[2025-04-09 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 13:50:04] Production.INFO: count ==23
[2025-04-09 13:50:04] Production.INFO: ==7707== Releasing lock...
[2025-04-09 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869958') start
[2025-04-09 13:50:05] Production.ERROR: done
[2025-04-09 13:50:05] Production.ERROR: done
[2025-04-09 13:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14869958') end
[2025-04-09 13:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:50:05] Production.INFO: 1
[2025-04-09 13:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:50:05] Production.INFO: Account Balance End.
[2025-04-09 13:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 13:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869960', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 13:50:05] Production.INFO: ==7717== Releasing lock...
[2025-04-09 13:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 13:50:05] Production.INFO: ==7711== Releasing lock...
[2025-04-09 13:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:50:06
[end_date_ymd] => 2025-04-09 13:50:06
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:50:06' and `end` < '2025-04-09 13: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-04-09 13:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14869960', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 13:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 13:50:08] Production.INFO: ProcessCDR(1,14869960,1,1,2)
[2025-04-09 13:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14869960,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14869960,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:50:08] Production.INFO: ==7715== Releasing lock...
[2025-04-09 13:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 13:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 13:50:14] Production.ERROR: CronJobId end10
[2025-04-09 13:50:14] Production.INFO: ==7709== Releasing lock...
[2025-04-09 13:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:50:16] Production.INFO: call_cost start
[2025-04-09 13:50:16] Production.INFO: call_cost end
[2025-04-09 13:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:50:17] Production.INFO: ==7705== Releasing lock...
[2025-04-09 13:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:50:20] Production.INFO: count ==6911
[2025-04-09 13:50:24] Production.ERROR: pbx CDR StartTime 2025-04-09 10:50:06 - End Time 2025-04-09 13:50:06
[2025-04-09 13:50:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869959', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869959', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869959', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:50:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869959', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:50:24] Production.INFO: ProcessCDR(1,14869959,1,1,2)
[2025-04-09 13:50:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:50:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:50:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:50:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:50:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869959', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:50:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869959', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:50:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:50:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:50:29] Production.INFO: ==7713== Releasing lock...
[2025-04-09 13:50:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:50:29] Production.INFO: 79.75 MB #Memory Used#
[2025-04-09 18:51:01] Production.INFO: ==7772== Lock acquired, processing the job...
[2025-04-09 18:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:51:01] Production.INFO: neon service started
[2025-04-09 18:51:01] Production.INFO: neon service started
[2025-04-09 18:51:01] Production.INFO: ==7772== Releasing lock...
[2025-04-09 18:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:51:02] Production.INFO: ==7774== Lock acquired, processing the job...
[2025-04-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:51:02] Production.INFO: ==7774== Releasing lock...
[2025-04-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:51:02] Production.INFO: ==7776== Lock acquired, processing the job...
[2025-04-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:51:02] Production.INFO: ==7776== Releasing lock...
[2025-04-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:51:03] Production.INFO: ==7778== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:51:03] Production.INFO: ==7782== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:51:03] Production.INFO: ==7784== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:51:03] Production.INFO: Account Balance Start.
[2025-04-09 13:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:51:03] Production.INFO: 117
[2025-04-09 13:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:51:03] Production.INFO: Total Charge 0
[2025-04-09 13:51:03] Production.INFO: CreateAllLog End
[2025-04-09 13:51:03] Production.INFO: ==7780== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:51:03] Production.INFO: ==7788== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:51:03] Production.INFO: Account Balance End.
[2025-04-09 13:51:03] Production.ERROR: CronJobId end 12
[2025-04-09 13:51:03] Production.INFO: ==7784== Releasing lock...
[2025-04-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:51:03] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-04-09 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:51:03] Production.INFO: count ==12
[2025-04-09 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-04-09 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:51:03] Production.INFO: count ==23
[2025-04-09 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869964') start
[2025-04-09 13:51:03] Production.INFO: ==7780== Releasing lock...
[2025-04-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869964') end
[2025-04-09 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:51:04] Production.INFO: 1
[2025-04-09 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:51:04] Production.INFO: ==7788== Releasing lock...
[2025-04-09 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:51:04] Production.ERROR: done
[2025-04-09 13:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:51:04] Production.ERROR: done
[2025-04-09 13:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:51:05
[end_date_ymd] => 2025-04-09 13:51:05
[RateCDR] => 1
)
[2025-04-09 13:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:51:05' and `end` < '2025-04-09 13:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:51:12] Production.ERROR: CronJobId end10
[2025-04-09 13:51:12] Production.INFO: ==7782== Releasing lock...
[2025-04-09 13:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:51:14] Production.INFO: call_cost start
[2025-04-09 13:51:14] Production.INFO: call_cost end
[2025-04-09 13:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:51:15] Production.INFO: ==7778== Releasing lock...
[2025-04-09 13:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:51:19] Production.INFO: count ==6837
[2025-04-09 13:51:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:51:05 - End Time 2025-04-09 13:51:05
[2025-04-09 13:51:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869965', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869965', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869965', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869965', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:51:22] Production.INFO: ProcessCDR(1,14869965,1,1,2)
[2025-04-09 13:51:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:51:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:51:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:51:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869965', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869965', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:51:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:51:27] Production.INFO: ==7786== Releasing lock...
[2025-04-09 13:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:51:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:52:02] Production.INFO: ==7845== Lock acquired, processing the job...
[2025-04-09 18:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:52:02] Production.INFO: neon service started
[2025-04-09 18:52:02] Production.INFO: neon service started
[2025-04-09 18:52:02] Production.INFO: ==7845== Releasing lock...
[2025-04-09 18:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:52:02] Production.INFO: ==7847== Lock acquired, processing the job...
[2025-04-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:52:02] Production.INFO: ==7849== Lock acquired, processing the job...
[2025-04-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:52:03] Production.INFO: ==7849== Releasing lock...
[2025-04-09 17:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:52:03] Production.INFO: ==7847== Releasing lock...
[2025-04-09 13:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:52:03] Production.INFO: ==7851== Lock acquired, processing the job...
[2025-04-09 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:52:03] Production.INFO: ==7855== Lock acquired, processing the job...
[2025-04-09 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:52:04] Production.INFO: ==7858== Lock acquired, processing the job...
[2025-04-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:52:04] Production.INFO: ==7853== Lock acquired, processing the job...
[2025-04-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:52:04] Production.INFO: Account Balance Start.
[2025-04-09 13:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:52:04] Production.INFO: 117
[2025-04-09 13:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:52:04] Production.INFO: Total Charge 0
[2025-04-09 13:52:04] Production.INFO: CreateAllLog End
[2025-04-09 13:52:04] Production.INFO: ==7860== Lock acquired, processing the job...
[2025-04-09 13:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:52:04] Production.INFO: ==7862== Lock acquired, processing the job...
[2025-04-09 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:52:04] Production.INFO: Account Balance End.
[2025-04-09 13:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:52:04] Production.INFO: ==7853== Releasing lock...
[2025-04-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:52:04] Production.INFO: ==7858== Releasing lock...
[2025-04-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:52:04] Production.INFO: count ==12
[2025-04-09 13:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:52:04] Production.INFO: count ==23
[2025-04-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869969') start
[2025-04-09 13:52:04] Production.ERROR: done
[2025-04-09 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869969') end
[2025-04-09 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:52:04] Production.INFO: 1
[2025-04-09 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:52:05] Production.INFO: ==7862== Releasing lock...
[2025-04-09 13:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:52:05] Production.ERROR: done
[2025-04-09 13:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:52:06
[end_date_ymd] => 2025-04-09 13:52:06
[RateCDR] => 1
)
[2025-04-09 13:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:52:06' and `end` < '2025-04-09 13:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:52:13] Production.ERROR: CronJobId end10
[2025-04-09 13:52:13] Production.INFO: ==7855== Releasing lock...
[2025-04-09 13:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:52:14] Production.INFO: call_cost start
[2025-04-09 13:52:14] Production.INFO: call_cost end
[2025-04-09 13:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:52:15] Production.INFO: ==7851== Releasing lock...
[2025-04-09 13:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:52:20] Production.INFO: count ==6836
[2025-04-09 13:52:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:52:06 - End Time 2025-04-09 13:52:06
[2025-04-09 13:52:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869970', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869970', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869970', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869970', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:52:23] Production.INFO: ProcessCDR(1,14869970,1,1,2)
[2025-04-09 13:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:52:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:52:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:52:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869970', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869970', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:52:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:52:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:52:28] Production.INFO: ==7860== Releasing lock...
[2025-04-09 13:52:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:52:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 18:53:01] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-04-09 18:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:53:01] Production.INFO: neon service started
[2025-04-09 18:53:01] Production.INFO: neon service started
[2025-04-09 18:53:01] Production.INFO: ==7955== Releasing lock...
[2025-04-09 18:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:53:02] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-04-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:53:02] Production.INFO: ==7957== Releasing lock...
[2025-04-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:53:02] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-04-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:53:02] Production.INFO: ==7959== Releasing lock...
[2025-04-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:53:03] Production.INFO: ==7962== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:53:03] Production.INFO: ==7964== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:53:03] Production.INFO: ==7970== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:53:03] Production.INFO: ==7966== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:53:03] Production.INFO: ==7968== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:53:03] Production.INFO: ==7972== Lock acquired, processing the job...
[2025-04-09 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:53:03] Production.INFO: Account Balance Start.
[2025-04-09 13:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:53:03] Production.INFO: 117
[2025-04-09 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:53:03] Production.INFO: count ==12
[2025-04-09 13:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:53:03] Production.INFO: count ==23
[2025-04-09 13:53:03] Production.ERROR: done
[2025-04-09 13:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869974') start
[2025-04-09 13:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:53:04] Production.INFO: Total Charge 0
[2025-04-09 13:53:04] Production.INFO: CreateAllLog End
[2025-04-09 13:53:04] Production.INFO: ==7964== Releasing lock...
[2025-04-09 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869974') end
[2025-04-09 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:53:04] Production.INFO: 1
[2025-04-09 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:53:04] Production.ERROR: done
[2025-04-09 13:53:04] Production.INFO: ==7972== Releasing lock...
[2025-04-09 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:53:04] Production.INFO: Account Balance End.
[2025-04-09 13:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:53:04] Production.INFO: ==7968== Releasing lock...
[2025-04-09 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:53:05
[end_date_ymd] => 2025-04-09 13:53:05
[RateCDR] => 1
)
[2025-04-09 13:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:53:05' and `end` < '2025-04-09 13:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:53:12] Production.ERROR: CronJobId end10
[2025-04-09 13:53:12] Production.INFO: ==7966== Releasing lock...
[2025-04-09 13:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:53:15] Production.INFO: call_cost start
[2025-04-09 13:53:15] Production.INFO: call_cost end
[2025-04-09 13:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:53:16] Production.INFO: ==7962== Releasing lock...
[2025-04-09 13:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:53:19] Production.INFO: count ==6838
[2025-04-09 13:53:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:53:05 - End Time 2025-04-09 13:53:05
[2025-04-09 13:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869975', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869975', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869975', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869975', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:53:22] Production.INFO: ProcessCDR(1,14869975,1,1,2)
[2025-04-09 13:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869975', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869975', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:53:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:53:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:53:27] Production.INFO: ==7970== Releasing lock...
[2025-04-09 13:53:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:53:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:54:02] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-04-09 18:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:54:02] Production.INFO: neon service started
[2025-04-09 18:54:02] Production.INFO: neon service started
[2025-04-09 18:54:02] Production.INFO: ==8030== Releasing lock...
[2025-04-09 18:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:54:02] Production.INFO: ==8034== Lock acquired, processing the job...
[2025-04-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:54:02] Production.INFO: ==8034== Releasing lock...
[2025-04-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:54:02] Production.INFO: ==8032== Lock acquired, processing the job...
[2025-04-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:54:03] Production.INFO: ==8032== Releasing lock...
[2025-04-09 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:54:04] Production.INFO: ==8041== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:54:04] Production.INFO: ==8047== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:54:04] Production.INFO: ==8036== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:54:04] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:54:04] Production.INFO: ==8038== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:54:04] Production.INFO: ==8043== Lock acquired, processing the job...
[2025-04-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:54:04] Production.INFO: count ==12
[2025-04-09 13:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:54:04] Production.INFO: count ==23
[2025-04-09 13:54:04] Production.INFO: Account Balance Start.
[2025-04-09 13:54:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869976') start
[2025-04-09 13:54:04] Production.INFO: 117
[2025-04-09 13:54:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:54:04] Production.INFO: Total Charge 0
[2025-04-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869976') end
[2025-04-09 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:54:04] Production.INFO: 1
[2025-04-09 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:54:04] Production.INFO: CreateAllLog End
[2025-04-09 13:54:04] Production.INFO: ==8038== Releasing lock...
[2025-04-09 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:54:04] Production.INFO: ==8047== Releasing lock...
[2025-04-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:54:04] Production.ERROR: done
[2025-04-09 13:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:54:04] Production.INFO: Account Balance End.
[2025-04-09 13:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:54:04] Production.INFO: ==8043== Releasing lock...
[2025-04-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:54:05] Production.ERROR: done
[2025-04-09 13:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:54:05
[end_date_ymd] => 2025-04-09 13:54:05
[RateCDR] => 1
)
[2025-04-09 13: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-04-09 10:54:05' and `end` < '2025-04-09 13: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-04-09 13:54:13] Production.ERROR: CronJobId end10
[2025-04-09 13:54:13] Production.INFO: ==8041== Releasing lock...
[2025-04-09 13:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:54:15] Production.INFO: call_cost start
[2025-04-09 13:54:15] Production.INFO: call_cost end
[2025-04-09 13:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:54:16] Production.INFO: ==8036== Releasing lock...
[2025-04-09 13:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:54:19] Production.INFO: count ==6850
[2025-04-09 13:54:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:54:05 - End Time 2025-04-09 13:54:05
[2025-04-09 13:54:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869980', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869980', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869980', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:54:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869980', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:54:23] Production.INFO: ProcessCDR(1,14869980,1,1,2)
[2025-04-09 13:54:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:54:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:54:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:54:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:54:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869980', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:54:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869980', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:54:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:54:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:54:28] Production.INFO: ==8045== Releasing lock...
[2025-04-09 13:54:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:54:28] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:55:01] Production.INFO: ==8098== Lock acquired, processing the job...
[2025-04-09 18:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:55:01] Production.INFO: neon service started
[2025-04-09 18:55:01] Production.INFO: neon service started
[2025-04-09 18:55:01] Production.INFO: ==8098== Releasing lock...
[2025-04-09 18:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:55:02] Production.INFO: ==8100== Lock acquired, processing the job...
[2025-04-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:55:02] Production.INFO: ==8100== Releasing lock...
[2025-04-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:55:02] Production.INFO: ==8103== Lock acquired, processing the job...
[2025-04-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:55:02] Production.INFO: ==8103== Releasing lock...
[2025-04-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:55:03] Production.INFO: ==8105== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:55:03] Production.INFO: ==8107== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:55:03] Production.INFO: ==8109== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:55:03] Production.INFO: ==8111== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:55:03] Production.INFO: ==8113== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:55:03] Production.INFO: Account Balance Start.
[2025-04-09 13:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:55:03] Production.INFO: 117
[2025-04-09 13:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:55:03] Production.INFO: ==8107== Releasing lock...
[2025-04-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:55:03] Production.INFO: ==8115== Lock acquired, processing the job...
[2025-04-09 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:55:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:55:03] Production.INFO: Total Charge 0
[2025-04-09 13:55:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 13:55:04] Production.ERROR: done
[2025-04-09 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:55:04] Production.INFO: count ==12
[2025-04-09 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:55:04] Production.INFO: count ==23
[2025-04-09 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869984') start
[2025-04-09 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869984') end
[2025-04-09 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:55:04] Production.INFO: 1
[2025-04-09 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:55:04] Production.INFO: ==8115== Releasing lock...
[2025-04-09 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:55:04] Production.ERROR: done
[2025-04-09 13:55:04] Production.INFO: Account Balance End.
[2025-04-09 13:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:55:04] Production.INFO: ==8111== Releasing lock...
[2025-04-09 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:55:05
[end_date_ymd] => 2025-04-09 13:55:05
[RateCDR] => 1
)
[2025-04-09 13:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:55:05' and `end` < '2025-04-09 13:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:55:13] Production.ERROR: CronJobId end10
[2025-04-09 13:55:13] Production.INFO: ==8109== Releasing lock...
[2025-04-09 13:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:55:14] Production.INFO: call_cost start
[2025-04-09 13:55:14] Production.INFO: call_cost end
[2025-04-09 13:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:55:15] Production.INFO: ==8105== Releasing lock...
[2025-04-09 13:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:55:19] Production.INFO: count ==6867
[2025-04-09 13:55:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:55:05 - End Time 2025-04-09 13:55:05
[2025-04-09 13:55:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869985', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869985', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869985', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869985', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:55:23] Production.INFO: ProcessCDR(1,14869985,1,1,2)
[2025-04-09 13:55:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869985', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869985', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:55:26] Production.INFO: ==8113== Releasing lock...
[2025-04-09 13:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:55:26] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 18:56:02] Production.INFO: ==8171== Lock acquired, processing the job...
[2025-04-09 18:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:56:02] Production.INFO: neon service started
[2025-04-09 18:56:02] Production.INFO: neon service started
[2025-04-09 18:56:02] Production.INFO: ==8171== Releasing lock...
[2025-04-09 18:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:56:02] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-04-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:56:02] Production.INFO: ==8173== Releasing lock...
[2025-04-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:56:03] Production.INFO: ==8175== Lock acquired, processing the job...
[2025-04-09 17:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:56:03] Production.INFO: ==8175== Releasing lock...
[2025-04-09 17:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:56:03] Production.INFO: ==8188== Lock acquired, processing the job...
[2025-04-09 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:56:03] Production.INFO: ==8186== Lock acquired, processing the job...
[2025-04-09 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:56:04] Production.INFO: ==8178== Lock acquired, processing the job...
[2025-04-09 13:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:56:04] Production.INFO: count ==12
[2025-04-09 13:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:56:04] Production.INFO: count ==23
[2025-04-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869986') start
[2025-04-09 13:56:04] Production.INFO: ==8180== Lock acquired, processing the job...
[2025-04-09 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:56:04] Production.INFO: ==8182== Lock acquired, processing the job...
[2025-04-09 13:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869986') end
[2025-04-09 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:56:04] Production.INFO: 1
[2025-04-09 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:56:04] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-04-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:56:04] Production.INFO: ==8188== Releasing lock...
[2025-04-09 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:56:04] Production.INFO: Account Balance Start.
[2025-04-09 13:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:56:04] Production.INFO: 117
[2025-04-09 13:56:04] Production.ERROR: done
[2025-04-09 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:56:04] Production.ERROR: done
[2025-04-09 13:56:04] Production.INFO: Total Charge 0
[2025-04-09 13:56:04] Production.INFO: ==8180== Releasing lock...
[2025-04-09 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:56:04] Production.INFO: CreateAllLog End
[2025-04-09 13:56:04] Production.INFO: Account Balance End.
[2025-04-09 13:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:56:04] Production.INFO: ==8184== Releasing lock...
[2025-04-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:56:05
[end_date_ymd] => 2025-04-09 13:56:05
[RateCDR] => 1
)
[2025-04-09 13:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:56:05' and `end` < '2025-04-09 13:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:56:13] Production.ERROR: CronJobId end10
[2025-04-09 13:56:13] Production.INFO: ==8182== Releasing lock...
[2025-04-09 13:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:56:15] Production.INFO: call_cost start
[2025-04-09 13:56:15] Production.INFO: call_cost end
[2025-04-09 13:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:56:16] Production.INFO: ==8178== Releasing lock...
[2025-04-09 13:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:56:19] Production.INFO: count ==6887
[2025-04-09 13:56:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:56:05 - End Time 2025-04-09 13:56:05
[2025-04-09 13:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869990', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869990', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869990', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869990', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:56:23] Production.INFO: ProcessCDR(1,14869990,1,1,2)
[2025-04-09 13:56:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:56:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:56:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:56:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:56:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869990', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:56:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869990', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:56:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:56:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:56:28] Production.INFO: ==8186== Releasing lock...
[2025-04-09 13:56:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:56:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:57:01] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-04-09 18:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:57:01] Production.INFO: neon service started
[2025-04-09 18:57:01] Production.INFO: neon service started
[2025-04-09 18:57:01] Production.INFO: ==8246== Releasing lock...
[2025-04-09 18:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:57:02] Production.INFO: ==8248== Lock acquired, processing the job...
[2025-04-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:57:02] Production.INFO: ==8248== Releasing lock...
[2025-04-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:57:02] Production.INFO: ==8250== Lock acquired, processing the job...
[2025-04-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:57:02] Production.INFO: ==8250== Releasing lock...
[2025-04-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:57:03] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:57:03] Production.INFO: ==8255== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:57:03] Production.INFO: ==8253== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:57:03] Production.INFO: ==8259== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:57:03] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:57:03] Production.INFO: Account Balance Start.
[2025-04-09 13:57:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:57:03] Production.INFO: 117
[2025-04-09 13:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:57:03] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-04-09 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:57:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:57:03] Production.INFO: count ==12
[2025-04-09 13:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:57:03] Production.INFO: count ==23
[2025-04-09 13:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869992') start
[2025-04-09 13:57:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:57:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:57:03] Production.INFO: Total Charge 0
[2025-04-09 13:57:03] Production.INFO: CreateAllLog End
[2025-04-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14869992') end
[2025-04-09 13:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:57:03] Production.INFO: 1
[2025-04-09 13:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:57:03] Production.INFO: ==8255== Releasing lock...
[2025-04-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:57:03] Production.INFO: ==8263== Releasing lock...
[2025-04-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:57:04] Production.ERROR: done
[2025-04-09 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:57:04] Production.ERROR: done
[2025-04-09 13:57:04] Production.INFO: Account Balance End.
[2025-04-09 13:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:57:04] Production.INFO: ==8259== Releasing lock...
[2025-04-09 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:57:05
[end_date_ymd] => 2025-04-09 13:57:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 10:57:05' and `end` < '2025-04-09 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-04-09 13:57:12] Production.ERROR: CronJobId end10
[2025-04-09 13:57:12] Production.INFO: ==8257== Releasing lock...
[2025-04-09 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:57:14] Production.INFO: call_cost start
[2025-04-09 13:57:14] Production.INFO: call_cost end
[2025-04-09 13:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:57:15] Production.INFO: ==8253== Releasing lock...
[2025-04-09 13:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:57:19] Production.INFO: count ==6882
[2025-04-09 13:57:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:57:05 - End Time 2025-04-09 13:57:05
[2025-04-09 13:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869995', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14869995', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869995', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14869995', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:57:22] Production.INFO: ProcessCDR(1,14869995,1,1,2)
[2025-04-09 13:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14869995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14869995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14869995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14869995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869995', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14869995', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:57:27] Production.INFO: ==8261== Releasing lock...
[2025-04-09 13:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:57:27] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:58:02] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-04-09 18:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:58:02] Production.INFO: neon service started
[2025-04-09 18:58:02] Production.INFO: neon service started
[2025-04-09 18:58:02] Production.INFO: ==8319== Releasing lock...
[2025-04-09 18:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:58:02] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-04-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:58:02] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-04-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:58:02] Production.INFO: ==8323== Releasing lock...
[2025-04-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:58:03] Production.INFO: ==8321== Releasing lock...
[2025-04-09 13:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 13:58:03] Production.INFO: ==8328== Lock acquired, processing the job...
[2025-04-09 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:58:04] Production.INFO: ==8326== Lock acquired, processing the job...
[2025-04-09 13:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:58:04] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-04-09 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:58:04] Production.INFO: ==8328== Releasing lock...
[2025-04-09 13:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:58:04] Production.INFO: Account Balance Start.
[2025-04-09 13:58:04] Production.INFO: CreateAllLog Start
[2025-04-09 13:58:04] Production.INFO: 117
[2025-04-09 13:58:04] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-04-09 13:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:58:04] Production.INFO: Date 2025-04-08
[2025-04-09 13:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:58:04] Production.INFO: Date 2025-04-09
[2025-04-09 13:58:04] Production.INFO: Reseller ==> 0
[2025-04-09 13:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:58:04] Production.INFO: Total Charge 0
[2025-04-09 13:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:58:04] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-04-09 13:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:58:04] Production.INFO: CreateAllLog End
[2025-04-09 13:58:04] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-04-09 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:58:04] Production.INFO: Account Balance End.
[2025-04-09 13:58:04] Production.INFO: count ==12
[2025-04-09 13:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:58:04] Production.INFO: count ==23
[2025-04-09 13:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:58:04] Production.INFO: ==8332== Releasing lock...
[2025-04-09 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869999') start
[2025-04-09 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14869999') end
[2025-04-09 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:58:04] Production.INFO: 1
[2025-04-09 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:58:05] Production.INFO: ==8336== Releasing lock...
[2025-04-09 13:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:58:05] Production.ERROR: done
[2025-04-09 13:58:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:58:05] Production.ERROR: done
[2025-04-09 13:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:58:06
[end_date_ymd] => 2025-04-09 13:58:06
[RateCDR] => 1
)
[2025-04-09 13:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:58:06' and `end` < '2025-04-09 13:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:58:12] Production.ERROR: CronJobId end10
[2025-04-09 13:58:12] Production.INFO: ==8330== Releasing lock...
[2025-04-09 13:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:58:14] Production.INFO: call_cost start
[2025-04-09 13:58:14] Production.INFO: call_cost end
[2025-04-09 13:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:58:15] Production.INFO: ==8326== Releasing lock...
[2025-04-09 13:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:58:20] Production.INFO: count ==6888
[2025-04-09 13:58:23] Production.ERROR: pbx CDR StartTime 2025-04-09 10:58:06 - End Time 2025-04-09 13:58:06
[2025-04-09 13:58:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870000', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870000', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870000', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870000', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:58:24] Production.INFO: ProcessCDR(1,14870000,1,1,2)
[2025-04-09 13:58:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:58:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:58:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:58:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870000', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870000', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:58:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:58:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:58:29] Production.INFO: ==8334== Releasing lock...
[2025-04-09 13:58:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:58:29] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 18:59:01] Production.INFO: ==8393== Lock acquired, processing the job...
[2025-04-09 18:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 18:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 18:59:01] Production.INFO: neon service started
[2025-04-09 18:59:01] Production.INFO: neon service started
[2025-04-09 18:59:01] Production.INFO: ==8393== Releasing lock...
[2025-04-09 18:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 18:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 13:59:01] Production.INFO: ==8395== Lock acquired, processing the job...
[2025-04-09 13:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 13:59:02] Production.INFO: ==8395== Releasing lock...
[2025-04-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:59:02] Production.INFO: ==8397== Lock acquired, processing the job...
[2025-04-09 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 17:59:02] Production.INFO: ==8397== Releasing lock...
[2025-04-09 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 17:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 13:59:03] Production.INFO: ==8409== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 13:59:03] Production.INFO: ==8407== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 13:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:59:03] Production.INFO: ==8399== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 13:59:03] Production.INFO: ==8401== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 13:59:03] Production.INFO: count ==12
[2025-04-09 13:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 13:59:03] Production.INFO: count ==23
[2025-04-09 13:59:03] Production.INFO: ==8403== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 13:59:03] Production.INFO: ==8405== Lock acquired, processing the job...
[2025-04-09 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870001') start
[2025-04-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870001') end
[2025-04-09 13:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 13:59:03] Production.INFO: 1
[2025-04-09 13:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 13:59:03] Production.INFO: Account Balance Start.
[2025-04-09 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 13:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 13:59:03] Production.INFO: 117
[2025-04-09 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 13:59:03] Production.INFO: Date 2025-04-08
[2025-04-09 13:59:03] Production.INFO: ==8409== Releasing lock...
[2025-04-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 13:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:59:03] Production.ERROR: done
[2025-04-09 13:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 13:59:03] Production.INFO: Date 2025-04-09
[2025-04-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-04-09 13:59:03] Production.INFO: Total Charge 0
[2025-04-09 13:59:03] Production.INFO: CreateAllLog End
[2025-04-09 13:59:03] Production.INFO: ==8401== Releasing lock...
[2025-04-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 13:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 13:59:03] Production.ERROR: done
[2025-04-09 13:59:04] Production.INFO: Account Balance End.
[2025-04-09 13:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 13:59:04] Production.INFO: ==8405== Releasing lock...
[2025-04-09 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 10:59:05
[end_date_ymd] => 2025-04-09 13:59:05
[RateCDR] => 1
)
[2025-04-09 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 10:59:05' and `end` < '2025-04-09 13:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 13:59:11] Production.ERROR: CronJobId end10
[2025-04-09 13:59:11] Production.INFO: ==8403== Releasing lock...
[2025-04-09 13:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 13:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 13:59:14] Production.INFO: call_cost start
[2025-04-09 13:59:14] Production.INFO: call_cost end
[2025-04-09 13:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 13:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 13:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 13:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 13:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 13:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 13:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 13:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 13:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 13:59:15] Production.INFO: ==8399== Releasing lock...
[2025-04-09 13:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 13:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 13:59:19] Production.INFO: count ==6905
[2025-04-09 13:59:22] Production.ERROR: pbx CDR StartTime 2025-04-09 10:59:05 - End Time 2025-04-09 13:59:05
[2025-04-09 13:59:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870005', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870005', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870005', 'tblTempVendorCDR_20' ) start
[2025-04-09 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870005', 'tblTempVendorCDR_20' ) end
[2025-04-09 13:59:22] Production.INFO: ProcessCDR(1,14870005,1,1,2)
[2025-04-09 13:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:59:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 13:59:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 13:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870005', 'tblTempUsageDetail_20' ) start
[2025-04-09 13:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870005', 'tblTempUsageDetail_20' ) end
[2025-04-09 13:59:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 13:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 13:59:27] Production.INFO: ==8407== Releasing lock...
[2025-04-09 13:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 13:59:27] Production.INFO: 79.75 MB #Memory Used#
[2025-04-09 19:00:01] Production.INFO: ==8464== Lock acquired, processing the job...
[2025-04-09 19:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:00:01] Production.INFO: neon service started
[2025-04-09 19:00:01] Production.INFO: neon service started
[2025-04-09 19:00:01] Production.INFO: ==8464== Releasing lock...
[2025-04-09 19:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:00:02] Production.INFO: ==8466== Lock acquired, processing the job...
[2025-04-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:00:02] Production.INFO: ==8468== Lock acquired, processing the job...
[2025-04-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:00:02] Production.INFO: ==8468== Releasing lock...
[2025-04-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:00:02] Production.INFO: ==8466== Releasing lock...
[2025-04-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:00:03] Production.INFO: ==8470== Lock acquired, processing the job...
[2025-04-09 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:00:03] Production.INFO: ==8470== Releasing lock...
[2025-04-09 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:00:04] Production.INFO: ==8476== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:00:04] Production.INFO: ==8472== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:00:04] Production.INFO: ==8474== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:00:04] Production.INFO: ==8482== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:00:04] Production.INFO: ==8485== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:00:04] Production.INFO: ==8480== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:00:04] Production.INFO: ==8478== Lock acquired, processing the job...
[2025-04-09 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:00:04] Production.INFO: count ==12
[2025-04-09 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:00:04] Production.INFO: count ==23
[2025-04-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870008') start
[2025-04-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:00:04] Production.INFO: Account Balance Start.
[2025-04-09 14:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:00:04] Production.INFO: 117
[2025-04-09 14:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870008') end
[2025-04-09 14:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:00:04] Production.INFO: 1
[2025-04-09 14:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:00:04] Production.INFO: ==8485== Releasing lock...
[2025-04-09 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:00:04] Production.INFO: ==8474== Releasing lock...
[2025-04-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:00:04] Production.INFO: Total Charge 0
[2025-04-09 14:00:04] Production.ERROR: done
[2025-04-09 14:00:04] Production.INFO: CreateAllLog End
[2025-04-09 14:00:04] Production.ERROR: done
[2025-04-09 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870010', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:00:05] Production.INFO: Account Balance End.
[2025-04-09 14:00:05] Production.ERROR: done
[2025-04-09 14:00:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:00:05] Production.INFO: ==8478== Releasing lock...
[2025-04-09 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:00:06
[end_date_ymd] => 2025-04-09 14:00:06
[RateCDR] => 1
)
[2025-04-09 14:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:00:06' and `end` < '2025-04-09 14:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870010', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:00:09] Production.INFO: ProcessCDR(1,14870010,1,1,2)
[2025-04-09 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870010,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:00:09] Production.INFO: ==8482== Releasing lock...
[2025-04-09 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:00:16] Production.ERROR: CronJobId end10
[2025-04-09 14:00:16] Production.INFO: ==8476== Releasing lock...
[2025-04-09 14:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:00:17] Production.INFO: call_cost start
[2025-04-09 14:00:17] Production.INFO: call_cost end
[2025-04-09 14:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:00:18] Production.INFO: ==8472== Releasing lock...
[2025-04-09 14:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:00:20] Production.INFO: count ==6905
[2025-04-09 14:00:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:00:06 - End Time 2025-04-09 14:00:06
[2025-04-09 14:00:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870011', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870011', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870011', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870011', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:00:24] Production.INFO: ProcessCDR(1,14870011,1,1,2)
[2025-04-09 14:00:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:00:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:00:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870011', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870011', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:00:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:00:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:00:29] Production.INFO: ==8480== Releasing lock...
[2025-04-09 14:00:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:00:29] Production.INFO: 79.75 MB #Memory Used#
[2025-04-09 19:01:01] Production.INFO: ==8540== Lock acquired, processing the job...
[2025-04-09 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:01:01] Production.INFO: neon service started
[2025-04-09 19:01:01] Production.INFO: neon service started
[2025-04-09 19:01:01] Production.INFO: ==8540== Releasing lock...
[2025-04-09 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:01:01] Production.INFO: ==8554== Lock acquired, processing the job...
[2025-04-09 18:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:01:01] Production.INFO: ==8554== Releasing lock...
[2025-04-09 18:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:01:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:01:02] Production.INFO: ==8552== Lock acquired, processing the job...
[2025-04-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:01:02] Production.INFO: ==8552== Releasing lock...
[2025-04-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:01:03] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:01:03] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:01:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:01:03] Production.INFO: Account Balance Start.
[2025-04-09 14:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:01:03] Production.INFO: 117
[2025-04-09 14:01:03] Production.INFO: ==8557== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:01:03] Production.INFO: Total Charge 0
[2025-04-09 14:01:03] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:01:03] Production.INFO: CreateAllLog End
[2025-04-09 14:01:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-04-09 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:01:03] Production.INFO: ==8559== Releasing lock...
[2025-04-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 14:01:04] Production.INFO: Account Balance End.
[2025-04-09 14:01:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:01:04] Production.INFO: count ==23
[2025-04-09 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870015') start
[2025-04-09 14:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:01:04] Production.INFO: ==8563== Releasing lock...
[2025-04-09 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:01:04] Production.ERROR: done
[2025-04-09 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:01:04] Production.ERROR: done
[2025-04-09 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870015') end
[2025-04-09 14:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:01:04] Production.INFO: 1
[2025-04-09 14:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:01:04] Production.INFO: ==8567== Releasing lock...
[2025-04-09 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:01:05
[end_date_ymd] => 2025-04-09 14:01:05
[RateCDR] => 1
)
[2025-04-09 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:01:05' and `end` < '2025-04-09 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:01:13] Production.ERROR: CronJobId end10
[2025-04-09 14:01:13] Production.INFO: ==8561== Releasing lock...
[2025-04-09 14:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:01:16] Production.INFO: call_cost start
[2025-04-09 14:01:16] Production.INFO: call_cost end
[2025-04-09 14:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:01:17] Production.INFO: ==8557== Releasing lock...
[2025-04-09 14:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:01:19] Production.INFO: count ==6889
[2025-04-09 14:01:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:01:05 - End Time 2025-04-09 14:01:05
[2025-04-09 14:01:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870016', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870016', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870016', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870016', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:01:22] Production.INFO: ProcessCDR(1,14870016,1,1,2)
[2025-04-09 14:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:01:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:01:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870016', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870016', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:01:28] Production.INFO: ==8565== Releasing lock...
[2025-04-09 14:01:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:01:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:02:01] Production.INFO: ==8623== Lock acquired, processing the job...
[2025-04-09 19:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:02:01] Production.INFO: neon service started
[2025-04-09 19:02:01] Production.INFO: neon service started
[2025-04-09 19:02:01] Production.INFO: ==8623== Releasing lock...
[2025-04-09 19:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:02:02] Production.INFO: ==8627== Lock acquired, processing the job...
[2025-04-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:02:02] Production.INFO: ==8627== Releasing lock...
[2025-04-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:02:02] Production.INFO: ==8625== Lock acquired, processing the job...
[2025-04-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:02:02] Production.INFO: ==8625== Releasing lock...
[2025-04-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:02:03] Production.INFO: ==8633== Lock acquired, processing the job...
[2025-04-09 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:02:03] Production.INFO: ==8640== Lock acquired, processing the job...
[2025-04-09 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 14:02:03] Production.INFO: ==8629== Lock acquired, processing the job...
[2025-04-09 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:02:04] Production.INFO: count ==12
[2025-04-09 14:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:02:04] Production.INFO: ==8631== Lock acquired, processing the job...
[2025-04-09 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:02:04] Production.INFO: count ==23
[2025-04-09 14:02:04] Production.INFO: ==8635== Lock acquired, processing the job...
[2025-04-09 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870017') start
[2025-04-09 14:02:04] Production.INFO: ==8637== Lock acquired, processing the job...
[2025-04-09 14:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870017') end
[2025-04-09 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:02:04] Production.INFO: 1
[2025-04-09 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:02:04] Production.INFO: Account Balance Start.
[2025-04-09 14:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:02:04] Production.INFO: 117
[2025-04-09 14:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:02:04] Production.INFO: Total Charge 0
[2025-04-09 14:02:04] Production.INFO: CreateAllLog End
[2025-04-09 14:02:04] Production.INFO: ==8640== Releasing lock...
[2025-04-09 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:02:04] Production.INFO: ==8631== Releasing lock...
[2025-04-09 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:02:04] Production.ERROR: done
[2025-04-09 14:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:02:04] Production.ERROR: done
[2025-04-09 14:02:04] Production.INFO: Account Balance End.
[2025-04-09 14:02:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:02:05] Production.INFO: ==8635== Releasing lock...
[2025-04-09 14:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:02:05
[end_date_ymd] => 2025-04-09 14:02:05
[RateCDR] => 1
)
[2025-04-09 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:02:05' and `end` < '2025-04-09 14:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:02:13] Production.ERROR: CronJobId end10
[2025-04-09 14:02:13] Production.INFO: ==8633== Releasing lock...
[2025-04-09 14:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:02:16] Production.INFO: call_cost start
[2025-04-09 14:02:16] Production.INFO: call_cost end
[2025-04-09 14:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:02:17] Production.INFO: ==8629== Releasing lock...
[2025-04-09 14:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:02:19] Production.INFO: count ==6874
[2025-04-09 14:02:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:02:05 - End Time 2025-04-09 14:02:05
[2025-04-09 14:02:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870021', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870021', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870021', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870021', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:02:23] Production.INFO: ProcessCDR(1,14870021,1,1,2)
[2025-04-09 14:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870021', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870021', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:02:28] Production.INFO: ==8637== Releasing lock...
[2025-04-09 14:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:02:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:03:01] Production.INFO: ==8694== Lock acquired, processing the job...
[2025-04-09 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:03:01] Production.INFO: neon service started
[2025-04-09 19:03:01] Production.INFO: neon service started
[2025-04-09 19:03:01] Production.INFO: ==8694== Releasing lock...
[2025-04-09 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:03:02] Production.INFO: ==8696== Lock acquired, processing the job...
[2025-04-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:03:02] Production.INFO: ==8698== Lock acquired, processing the job...
[2025-04-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:03:02] Production.INFO: ==8698== Releasing lock...
[2025-04-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:03:02] Production.INFO: ==8696== Releasing lock...
[2025-04-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:03:03] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:03:03] Production.INFO: ==8705== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:03:03] Production.INFO: ==8709== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:03:03] Production.INFO: ==8701== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:03:03] Production.INFO: ==8703== Releasing lock...
[2025-04-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:03:03] Production.INFO: ==8707== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:03:03] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-04-09 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:03:03] Production.INFO: Account Balance Start.
[2025-04-09 14:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:03:03] Production.INFO: 117
[2025-04-09 14:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:03:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:03:03] Production.INFO: count ==23
[2025-04-09 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870025') start
[2025-04-09 14:03:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:03:03] Production.ERROR: done
[2025-04-09 14:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:03:03] Production.INFO: Total Charge 0
[2025-04-09 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870025') end
[2025-04-09 14:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:03:03] Production.INFO: 1
[2025-04-09 14:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:03:03] Production.INFO: CreateAllLog End
[2025-04-09 14:03:03] Production.INFO: ==8711== Releasing lock...
[2025-04-09 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:03:04] Production.ERROR: done
[2025-04-09 14:03:04] Production.INFO: Account Balance End.
[2025-04-09 14:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:03:04] Production.INFO: ==8707== Releasing lock...
[2025-04-09 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:03:05
[end_date_ymd] => 2025-04-09 14:03:05
[RateCDR] => 1
)
[2025-04-09 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:03:05' and `end` < '2025-04-09 14:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:03:12] Production.ERROR: CronJobId end10
[2025-04-09 14:03:12] Production.INFO: ==8705== Releasing lock...
[2025-04-09 14:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:03:15] Production.INFO: call_cost start
[2025-04-09 14:03:15] Production.INFO: call_cost end
[2025-04-09 14:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:03:16] Production.INFO: ==8701== Releasing lock...
[2025-04-09 14:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:03:18] Production.INFO: count ==6868
[2025-04-09 14:03:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:03:05 - End Time 2025-04-09 14:03:05
[2025-04-09 14:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870026', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870026', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870026', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870026', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:03:22] Production.INFO: ProcessCDR(1,14870026,1,1,2)
[2025-04-09 14:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870026', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870026', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:03:27] Production.INFO: ==8709== Releasing lock...
[2025-04-09 14:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:03:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:04:01] Production.INFO: ==8766== Lock acquired, processing the job...
[2025-04-09 19:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:04:01] Production.INFO: neon service started
[2025-04-09 19:04:01] Production.INFO: neon service started
[2025-04-09 19:04:01] Production.INFO: ==8766== Releasing lock...
[2025-04-09 19:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:04:02] Production.INFO: ==8768== Lock acquired, processing the job...
[2025-04-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:04:02] Production.INFO: ==8770== Lock acquired, processing the job...
[2025-04-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:04:02] Production.INFO: ==8770== Releasing lock...
[2025-04-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:04:03] Production.INFO: ==8768== Releasing lock...
[2025-04-09 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:04:03] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-04-09 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:04:03] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-04-09 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:04:03] Production.INFO: ==8777== Lock acquired, processing the job...
[2025-04-09 14:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:04:04] Production.INFO: ==8779== Lock acquired, processing the job...
[2025-04-09 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:04:04] Production.INFO: ==8781== Lock acquired, processing the job...
[2025-04-09 14:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:04:04] Production.INFO: ==8783== Lock acquired, processing the job...
[2025-04-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:04:04] Production.INFO: Account Balance Start.
[2025-04-09 14:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:04:04] Production.INFO: 117
[2025-04-09 14:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:04:04] Production.INFO: count ==12
[2025-04-09 14:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:04:04] Production.INFO: count ==23
[2025-04-09 14:04:04] Production.INFO: Total Charge 0
[2025-04-09 14:04:04] Production.INFO: CreateAllLog End
[2025-04-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870030') start
[2025-04-09 14:04:04] Production.INFO: ==8775== Releasing lock...
[2025-04-09 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:04:04] Production.INFO: Account Balance End.
[2025-04-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870030') end
[2025-04-09 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:04:04] Production.INFO: 1
[2025-04-09 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:04:04] Production.INFO: ==8779== Releasing lock...
[2025-04-09 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:04:04] Production.ERROR: done
[2025-04-09 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:04:04] Production.INFO: ==8783== Releasing lock...
[2025-04-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:04:05] Production.ERROR: done
[2025-04-09 14:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:04:06
[end_date_ymd] => 2025-04-09 14:04:06
[RateCDR] => 1
)
[2025-04-09 14:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:04:06' and `end` < '2025-04-09 14:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:04:12] Production.ERROR: CronJobId end10
[2025-04-09 14:04:12] Production.INFO: ==8777== Releasing lock...
[2025-04-09 14:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:04:14] Production.INFO: call_cost start
[2025-04-09 14:04:14] Production.INFO: call_cost end
[2025-04-09 14:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:04:15] Production.INFO: ==8773== Releasing lock...
[2025-04-09 14:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:04:20] Production.INFO: count ==6860
[2025-04-09 14:04:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:04:06 - End Time 2025-04-09 14:04:06
[2025-04-09 14:04:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870031', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870031', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870031', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870031', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:04:23] Production.INFO: ProcessCDR(1,14870031,1,1,2)
[2025-04-09 14:04:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:04:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870031', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870031', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:04:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:04:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:04:28] Production.INFO: ==8781== Releasing lock...
[2025-04-09 14:04:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:04:28] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:05:01] Production.INFO: ==8839== Lock acquired, processing the job...
[2025-04-09 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:05:01] Production.INFO: neon service started
[2025-04-09 19:05:01] Production.INFO: neon service started
[2025-04-09 19:05:01] Production.INFO: ==8839== Releasing lock...
[2025-04-09 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:05:01] Production.INFO: ==8843== Lock acquired, processing the job...
[2025-04-09 18:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:05:01] Production.INFO: ==8843== Releasing lock...
[2025-04-09 18:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:05:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:05:02] Production.INFO: ==8841== Lock acquired, processing the job...
[2025-04-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:05:02] Production.INFO: ==8841== Releasing lock...
[2025-04-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:05:03] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:05:03] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:05:03] Production.INFO: ==8846== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:05:03] Production.INFO: ==8848== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:05:03] Production.INFO: Account Balance Start.
[2025-04-09 14:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:05:03] Production.INFO: 117
[2025-04-09 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:05:03] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:05:03] Production.INFO: Total Charge 0
[2025-04-09 14:05:03] Production.INFO: ==8856== Lock acquired, processing the job...
[2025-04-09 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:05:03] Production.INFO: CreateAllLog End
[2025-04-09 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:05:03] Production.INFO: count ==12
[2025-04-09 14:05:03] Production.ERROR: done
[2025-04-09 14:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:05:03] Production.INFO: count ==23
[2025-04-09 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870034') start
[2025-04-09 14:05:04] Production.INFO: ==8848== Releasing lock...
[2025-04-09 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:05:04] Production.ERROR: done
[2025-04-09 14:05:04] Production.INFO: Account Balance End.
[2025-04-09 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870034') end
[2025-04-09 14:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:05:04] Production.INFO: 1
[2025-04-09 14:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:05:04] Production.INFO: ==8852== Releasing lock...
[2025-04-09 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:05:04] Production.INFO: ==8856== Releasing lock...
[2025-04-09 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:05:05
[end_date_ymd] => 2025-04-09 14:05:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:05:05' and `end` < '2025-04-09 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-04-09 14:05:12] Production.ERROR: CronJobId end10
[2025-04-09 14:05:12] Production.INFO: ==8850== Releasing lock...
[2025-04-09 14:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:05:15] Production.INFO: call_cost start
[2025-04-09 14:05:15] Production.INFO: call_cost end
[2025-04-09 14:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:05:16] Production.INFO: ==8846== Releasing lock...
[2025-04-09 14:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:05:19] Production.INFO: count ==6864
[2025-04-09 14:05:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:05:05 - End Time 2025-04-09 14:05:05
[2025-04-09 14:05:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870036', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870036', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870036', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870036', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:05:22] Production.INFO: ProcessCDR(1,14870036,1,1,2)
[2025-04-09 14:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870036', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870036', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:05:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:05:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:05:27] Production.INFO: ==8854== Releasing lock...
[2025-04-09 14:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:05:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:06:01] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-04-09 19:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:06:01] Production.INFO: neon service started
[2025-04-09 19:06:01] Production.INFO: neon service started
[2025-04-09 19:06:01] Production.INFO: ==8910== Releasing lock...
[2025-04-09 19:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:06:02] Production.INFO: ==8912== Lock acquired, processing the job...
[2025-04-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:06:02] Production.INFO: ==8914== Lock acquired, processing the job...
[2025-04-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:06:02] Production.INFO: ==8914== Releasing lock...
[2025-04-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:06:03] Production.INFO: ==8912== Releasing lock...
[2025-04-09 14:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:06:03] Production.INFO: ==8922== Lock acquired, processing the job...
[2025-04-09 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:06:04] Production.INFO: ==8928== Lock acquired, processing the job...
[2025-04-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:06:04] Production.INFO: count ==12
[2025-04-09 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:06:04] Production.INFO: count ==23
[2025-04-09 14:06:04] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-04-09 14:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870037') start
[2025-04-09 14:06:04] Production.INFO: ==8920== Lock acquired, processing the job...
[2025-04-09 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:06:04] Production.INFO: ==8924== Lock acquired, processing the job...
[2025-04-09 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870037') end
[2025-04-09 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:06:04] Production.INFO: 1
[2025-04-09 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:06:04] Production.INFO: ==8926== Lock acquired, processing the job...
[2025-04-09 14:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:06:04] Production.INFO: ==8928== Releasing lock...
[2025-04-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:06:04] Production.INFO: Account Balance Start.
[2025-04-09 14:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:06:04] Production.INFO: 117
[2025-04-09 14:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:06:04] Production.INFO: Total Charge 0
[2025-04-09 14:06:04] Production.INFO: CreateAllLog End
[2025-04-09 14:06:04] Production.ERROR: done
[2025-04-09 14:06:04] Production.INFO: ==8920== Releasing lock...
[2025-04-09 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:06:04] Production.INFO: Account Balance End.
[2025-04-09 14:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:06:04] Production.INFO: ==8924== Releasing lock...
[2025-04-09 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:06:05] Production.ERROR: done
[2025-04-09 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:06:05
[end_date_ymd] => 2025-04-09 14:06:05
[RateCDR] => 1
)
[2025-04-09 14:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:06:05' and `end` < '2025-04-09 14:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:06:12] Production.ERROR: CronJobId end10
[2025-04-09 14:06:12] Production.INFO: ==8922== Releasing lock...
[2025-04-09 14:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:06:15] Production.INFO: call_cost start
[2025-04-09 14:06:15] Production.INFO: call_cost end
[2025-04-09 14:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:06:16] Production.INFO: ==8918== Releasing lock...
[2025-04-09 14:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:06:19] Production.INFO: count ==6871
[2025-04-09 14:06:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:06:05 - End Time 2025-04-09 14:06:05
[2025-04-09 14:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870041', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870041', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870041', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870041', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:06:23] Production.INFO: ProcessCDR(1,14870041,1,1,2)
[2025-04-09 14:06:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:06:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:06:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:06:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870041', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870041', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:06:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:06:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:06:28] Production.INFO: ==8926== Releasing lock...
[2025-04-09 14:06:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:06:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:07:01] Production.INFO: ==8984== Lock acquired, processing the job...
[2025-04-09 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:07:01] Production.INFO: neon service started
[2025-04-09 19:07:01] Production.INFO: neon service started
[2025-04-09 19:07:01] Production.INFO: ==8984== Releasing lock...
[2025-04-09 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:07:01] Production.INFO: ==8986== Lock acquired, processing the job...
[2025-04-09 14:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:07:02] Production.INFO: ==8986== Releasing lock...
[2025-04-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:07:02] Production.INFO: ==8988== Lock acquired, processing the job...
[2025-04-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:07:02] Production.INFO: ==8988== Releasing lock...
[2025-04-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:07:03] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:07:03] Production.INFO: ==8993== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:07:03] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:07:03] Production.INFO: ==8995== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:07:03] Production.INFO: ==8997== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:07:03] Production.INFO: ==9001== Lock acquired, processing the job...
[2025-04-09 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:07:03] Production.INFO: Account Balance Start.
[2025-04-09 14:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:07:03] Production.INFO: 117
[2025-04-09 14:07:03] Production.INFO: ==8993== Releasing lock...
[2025-04-09 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 14:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:07:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:07:03] Production.INFO: count ==23
[2025-04-09 14:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870045') start
[2025-04-09 14:07:03] Production.ERROR: done
[2025-04-09 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:07:03] Production.INFO: Total Charge 0
[2025-04-09 14:07:04] Production.INFO: CreateAllLog End
[2025-04-09 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870045') end
[2025-04-09 14:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:07:04] Production.INFO: 1
[2025-04-09 14:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:07:04] Production.ERROR: done
[2025-04-09 14:07:04] Production.INFO: ==9001== Releasing lock...
[2025-04-09 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:07:04] Production.INFO: Account Balance End.
[2025-04-09 14:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:07:04] Production.INFO: ==8997== Releasing lock...
[2025-04-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:07:05
[end_date_ymd] => 2025-04-09 14:07:05
[RateCDR] => 1
)
[2025-04-09 14:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:07:05' and `end` < '2025-04-09 14:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:07:11] Production.ERROR: CronJobId end10
[2025-04-09 14:07:11] Production.INFO: ==8995== Releasing lock...
[2025-04-09 14:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:07:14] Production.INFO: call_cost start
[2025-04-09 14:07:14] Production.INFO: call_cost end
[2025-04-09 14:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:07:15] Production.INFO: ==8991== Releasing lock...
[2025-04-09 14:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:07:19] Production.INFO: count ==6870
[2025-04-09 14:07:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:07:05 - End Time 2025-04-09 14:07:05
[2025-04-09 14:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870046', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870046', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870046', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870046', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:07:22] Production.INFO: ProcessCDR(1,14870046,1,1,2)
[2025-04-09 14:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870046', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870046', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:07:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:07:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:07:27] Production.INFO: ==8999== Releasing lock...
[2025-04-09 14:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:07:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:08:01] Production.INFO: ==9104== Lock acquired, processing the job...
[2025-04-09 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:08:01] Production.INFO: neon service started
[2025-04-09 19:08:02] Production.INFO: neon service started
[2025-04-09 19:08:02] Production.INFO: ==9104== Releasing lock...
[2025-04-09 19:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:08:02] Production.INFO: ==9106== Lock acquired, processing the job...
[2025-04-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:08:02] Production.INFO: ==9108== Lock acquired, processing the job...
[2025-04-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:08:02] Production.INFO: ==9108== Releasing lock...
[2025-04-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:08:02] Production.INFO: ==9106== Releasing lock...
[2025-04-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:08:03] Production.INFO: ==9110== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:08:03] Production.INFO: ==9113== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:08:03] Production.INFO: ==9115== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:08:03] Production.INFO: ==9117== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:08:03] Production.INFO: ==9119== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:08:03] Production.INFO: Account Balance Start.
[2025-04-09 14:08:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:08:03] Production.INFO: 117
[2025-04-09 14:08:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:08:03] Production.INFO: ==9121== Lock acquired, processing the job...
[2025-04-09 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:08:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:08:04] Production.INFO: ==9113== Releasing lock...
[2025-04-09 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:08:04] Production.INFO: Total Charge 0
[2025-04-09 14:08:04] Production.INFO: CreateAllLog End
[2025-04-09 14:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:08:04] Production.INFO: count ==12
[2025-04-09 14:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:08:04] Production.INFO: Account Balance End.
[2025-04-09 14:08:04] Production.INFO: count ==23
[2025-04-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870050') start
[2025-04-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870050') end
[2025-04-09 14:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:08:04] Production.INFO: 1
[2025-04-09 14:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:08:04] Production.INFO: ==9117== Releasing lock...
[2025-04-09 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:08:04] Production.ERROR: done
[2025-04-09 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:08:04] Production.INFO: ==9121== Releasing lock...
[2025-04-09 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:08:04] Production.ERROR: done
[2025-04-09 14:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:08:06
[end_date_ymd] => 2025-04-09 14:08:06
[RateCDR] => 1
)
[2025-04-09 14:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:08:06' and `end` < '2025-04-09 14:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:08:12] Production.ERROR: CronJobId end10
[2025-04-09 14:08:12] Production.INFO: ==9115== Releasing lock...
[2025-04-09 14:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:08:15] Production.INFO: call_cost start
[2025-04-09 14:08:15] Production.INFO: call_cost end
[2025-04-09 14:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:08:16] Production.INFO: ==9110== Releasing lock...
[2025-04-09 14:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:08:20] Production.INFO: count ==6873
[2025-04-09 14:08:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:08:06 - End Time 2025-04-09 14:08:06
[2025-04-09 14:08:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870051', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870051', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870051', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870051', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:08:23] Production.INFO: ProcessCDR(1,14870051,1,1,2)
[2025-04-09 14:08:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:08:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870051', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870051', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:08:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:08:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:08:28] Production.INFO: ==9119== Releasing lock...
[2025-04-09 14:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:08:28] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:09:01] Production.INFO: ==9177== Lock acquired, processing the job...
[2025-04-09 19:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:09:01] Production.INFO: neon service started
[2025-04-09 19:09:01] Production.INFO: neon service started
[2025-04-09 19:09:01] Production.INFO: ==9177== Releasing lock...
[2025-04-09 19:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:09:01] Production.INFO: ==9181== Lock acquired, processing the job...
[2025-04-09 18:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:09:01] Production.INFO: ==9181== Releasing lock...
[2025-04-09 18:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:09:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:09:02] Production.INFO: ==9179== Lock acquired, processing the job...
[2025-04-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:09:02] Production.INFO: ==9179== Releasing lock...
[2025-04-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:09:03] Production.INFO: ==9190== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:09:03] Production.INFO: ==9194== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:09:03] Production.INFO: ==9183== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:09:03] Production.INFO: Account Balance Start.
[2025-04-09 14:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:09:03] Production.INFO: 117
[2025-04-09 14:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 14:09:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:09:03] Production.INFO: count ==23
[2025-04-09 14:09:03] Production.INFO: ==9187== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:09:03] Production.INFO: ==9185== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870053') start
[2025-04-09 14:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:09:03] Production.INFO: ==9192== Lock acquired, processing the job...
[2025-04-09 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:09:03] Production.INFO: Total Charge 0
[2025-04-09 14:09:03] Production.INFO: CreateAllLog End
[2025-04-09 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870053') end
[2025-04-09 14:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:09:03] Production.INFO: 1
[2025-04-09 14:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:09:03] Production.INFO: ==9194== Releasing lock...
[2025-04-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:09:03] Production.INFO: ==9185== Releasing lock...
[2025-04-09 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:09:03] Production.INFO: Account Balance End.
[2025-04-09 14:09:03] Production.ERROR: done
[2025-04-09 14:09:03] Production.ERROR: CronJobId end 12
[2025-04-09 14:09:03] Production.INFO: ==9190== Releasing lock...
[2025-04-09 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:09:04] Production.ERROR: done
[2025-04-09 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:09:05
[end_date_ymd] => 2025-04-09 14:09:05
[RateCDR] => 1
)
[2025-04-09 14:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:09:05' and `end` < '2025-04-09 14:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:09:12] Production.ERROR: CronJobId end10
[2025-04-09 14:09:12] Production.INFO: ==9187== Releasing lock...
[2025-04-09 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:09:14] Production.INFO: call_cost start
[2025-04-09 14:09:14] Production.INFO: call_cost end
[2025-04-09 14:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:09:15] Production.INFO: ==9183== Releasing lock...
[2025-04-09 14:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:09:19] Production.INFO: count ==6879
[2025-04-09 14:09:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:09:05 - End Time 2025-04-09 14:09:05
[2025-04-09 14:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870056', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870056', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870056', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870056', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:09:22] Production.INFO: ProcessCDR(1,14870056,1,1,2)
[2025-04-09 14:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:09:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:09:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870056', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870056', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:09:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:09:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:09:27] Production.INFO: ==9192== Releasing lock...
[2025-04-09 14:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:09:27] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:10:01] Production.INFO: ==9257== Lock acquired, processing the job...
[2025-04-09 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:10:01] Production.INFO: neon service started
[2025-04-09 19:10:01] Production.INFO: neon service started
[2025-04-09 19:10:01] Production.INFO: ==9257== Releasing lock...
[2025-04-09 19:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:10:02] Production.INFO: ==9259== Lock acquired, processing the job...
[2025-04-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:10:02] Production.INFO: ==9261== Lock acquired, processing the job...
[2025-04-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:10:02] Production.INFO: ==9261== Releasing lock...
[2025-04-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:10:03] Production.INFO: ==9259== Releasing lock...
[2025-04-09 14:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:10:04] Production.INFO: ==9270== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:10:04] Production.INFO: ==9276== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:10:04] Production.INFO: ==9264== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:10:04] Production.INFO: ==9278== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:10:04] Production.ERROR: CronJob PID - 9270
[2025-04-09 14:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 14:10:04] Production.ERROR: CronJob ID - 10
[2025-04-09 14:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:10:00
[2025-04-09 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:10:04] Production.ERROR: CronJob PID - 9276
[2025-04-09 14:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 14:10:04] Production.ERROR: CronJob ID - 17
[2025-04-09 14:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:10:00
[2025-04-09 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:10:04] Production.INFO: ==9266== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:10:04] Production.INFO: ==9268== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:10:04] Production.INFO: ==9264== Releasing lock...
[2025-04-09 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:10:04] Production.INFO: ==9272== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:10:04] Production.INFO: ==9274== Lock acquired, processing the job...
[2025-04-09 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:10:04] Production.INFO: count ==12
[2025-04-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:10:04] Production.INFO: count ==23
[2025-04-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870057') start
[2025-04-09 14:10:04] Production.INFO: Account Balance Start.
[2025-04-09 14:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:10:04] Production.ERROR: done
[2025-04-09 14:10:04] Production.INFO: 117
[2025-04-09 14:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870061', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870057') end
[2025-04-09 14:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:10:04] Production.INFO: 1
[2025-04-09 14:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:10:04] Production.INFO: Total Charge 0
[2025-04-09 14:10:04] Production.INFO: CreateAllLog End
[2025-04-09 14:10:04] Production.INFO: ==9268== Releasing lock...
[2025-04-09 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:10:04] Production.INFO: ==9278== Releasing lock...
[2025-04-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:10:05] Production.ERROR: done
[2025-04-09 14:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:10:05] Production.ERROR: done
[2025-04-09 14:10:05] Production.INFO: Account Balance End.
[2025-04-09 14:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:10:05] Production.INFO: ==9272== Releasing lock...
[2025-04-09 14:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:10:06
[end_date_ymd] => 2025-04-09 14:10:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:10:06' and `end` < '2025-04-09 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-04-09 14:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870061', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:10:08] Production.INFO: ProcessCDR(1,14870061,1,1,2)
[2025-04-09 14:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870061,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:10:09] Production.INFO: ==9276== Releasing lock...
[2025-04-09 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:10:15] Production.ERROR: CronJobId end10
[2025-04-09 14:10:15] Production.INFO: ==9270== Releasing lock...
[2025-04-09 14:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:10:17] Production.INFO: call_cost start
[2025-04-09 14:10:17] Production.INFO: call_cost end
[2025-04-09 14:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:10:18] Production.INFO: ==9266== Releasing lock...
[2025-04-09 14:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:10:20] Production.INFO: count ==6902
[2025-04-09 14:10:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:10:06 - End Time 2025-04-09 14:10:06
[2025-04-09 14:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870062', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870062', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870062', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870062', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:10:23] Production.INFO: ProcessCDR(1,14870062,1,1,2)
[2025-04-09 14:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870062', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:10:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870062', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:10:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:10:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:10:29] Production.INFO: ==9274== Releasing lock...
[2025-04-09 14:10:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:10:29] Production.INFO: 79.5 MB #Memory Used#
[2025-04-09 19:11:01] Production.INFO: ==9342== Lock acquired, processing the job...
[2025-04-09 19:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:11:01] Production.INFO: neon service started
[2025-04-09 19:11:01] Production.INFO: neon service started
[2025-04-09 19:11:01] Production.INFO: ==9342== Releasing lock...
[2025-04-09 19:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:11:01] Production.INFO: ==9346== Lock acquired, processing the job...
[2025-04-09 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:11:01] Production.INFO: ==9346== Releasing lock...
[2025-04-09 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:11:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:11:01] Production.INFO: ==9344== Lock acquired, processing the job...
[2025-04-09 14:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:11:02] Production.INFO: ==9344== Releasing lock...
[2025-04-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:11:03] Production.INFO: ==9349== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:11:03] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:11:03] Production.INFO: ==9357== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:11:03] Production.INFO: ==9351== Releasing lock...
[2025-04-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:11:03] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:11:03] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:11:03] Production.INFO: ==9359== Lock acquired, processing the job...
[2025-04-09 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:11:03] Production.INFO: Account Balance Start.
[2025-04-09 14:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:11:03] Production.INFO: 117
[2025-04-09 14:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:11:03] Production.INFO: count ==12
[2025-04-09 14:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:11:03] Production.INFO: count ==23
[2025-04-09 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870066') start
[2025-04-09 14:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:11:03] Production.INFO: Total Charge 0
[2025-04-09 14:11:03] Production.INFO: CreateAllLog End
[2025-04-09 14:11:03] Production.ERROR: done
[2025-04-09 14:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870066') end
[2025-04-09 14:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:11:04] Production.INFO: 1
[2025-04-09 14:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:11:04] Production.INFO: ==9359== Releasing lock...
[2025-04-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:11:04] Production.ERROR: done
[2025-04-09 14:11:04] Production.INFO: Account Balance End.
[2025-04-09 14:11:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:11:04] Production.INFO: ==9355== Releasing lock...
[2025-04-09 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:11:05
[end_date_ymd] => 2025-04-09 14:11:05
[RateCDR] => 1
)
[2025-04-09 14:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:11:05' and `end` < '2025-04-09 14:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:11:12] Production.ERROR: CronJobId end10
[2025-04-09 14:11:12] Production.INFO: ==9353== Releasing lock...
[2025-04-09 14:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:11:14] Production.INFO: call_cost start
[2025-04-09 14:11:14] Production.INFO: call_cost end
[2025-04-09 14:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:11:15] Production.INFO: ==9349== Releasing lock...
[2025-04-09 14:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:11:19] Production.INFO: count ==6869
[2025-04-09 14:11:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:11:05 - End Time 2025-04-09 14:11:05
[2025-04-09 14:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870067', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870067', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870067', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870067', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:11:22] Production.INFO: ProcessCDR(1,14870067,1,1,2)
[2025-04-09 14:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870067', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870067', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:11:27] Production.INFO: ==9357== Releasing lock...
[2025-04-09 14:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:11:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:12:01] Production.INFO: ==9419== Lock acquired, processing the job...
[2025-04-09 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:12:01] Production.INFO: neon service started
[2025-04-09 19:12:01] Production.INFO: neon service started
[2025-04-09 19:12:01] Production.INFO: ==9419== Releasing lock...
[2025-04-09 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:12:02] Production.INFO: ==9421== Lock acquired, processing the job...
[2025-04-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:12:02] Production.INFO: ==9421== Releasing lock...
[2025-04-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:12:02] Production.INFO: ==9423== Lock acquired, processing the job...
[2025-04-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:12:02] Production.INFO: ==9423== Releasing lock...
[2025-04-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:12:03] Production.INFO: ==9425== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:12:03] Production.INFO: ==9429== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:12:03] Production.INFO: ==9433== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:12:03] Production.INFO: ==9427== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:12:03] Production.INFO: ==9431== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:12:03] Production.INFO: ==9436== Lock acquired, processing the job...
[2025-04-09 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:12:03] Production.INFO: Account Balance Start.
[2025-04-09 14:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:12:03] Production.INFO: 117
[2025-04-09 14:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:12:04] Production.INFO: Total Charge 0
[2025-04-09 14:12:04] Production.INFO: CreateAllLog End
[2025-04-09 14:12:04] Production.INFO: count ==12
[2025-04-09 14:12:04] Production.ERROR: done
[2025-04-09 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:12:04] Production.INFO: count ==23
[2025-04-09 14:12:04] Production.INFO: ==9427== Releasing lock...
[2025-04-09 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870071') start
[2025-04-09 14:12:04] Production.ERROR: done
[2025-04-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870071') end
[2025-04-09 14:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:12:04] Production.INFO: 1
[2025-04-09 14:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:12:04] Production.INFO: Account Balance End.
[2025-04-09 14:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:12:04] Production.INFO: ==9431== Releasing lock...
[2025-04-09 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:12:04] Production.INFO: ==9436== Releasing lock...
[2025-04-09 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:12:05
[end_date_ymd] => 2025-04-09 14:12:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:12:05' and `end` < '2025-04-09 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-04-09 14:12:11] Production.ERROR: CronJobId end10
[2025-04-09 14:12:11] Production.INFO: ==9429== Releasing lock...
[2025-04-09 14:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:12:14] Production.INFO: call_cost start
[2025-04-09 14:12:14] Production.INFO: call_cost end
[2025-04-09 14:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:12:15] Production.INFO: ==9425== Releasing lock...
[2025-04-09 14:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:12:19] Production.INFO: count ==6860
[2025-04-09 14:12:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:12:05 - End Time 2025-04-09 14:12:05
[2025-04-09 14:12:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870072', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870072', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870072', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870072', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:12:22] Production.INFO: ProcessCDR(1,14870072,1,1,2)
[2025-04-09 14:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870072', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870072', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:12:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:12:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:12:27] Production.INFO: ==9433== Releasing lock...
[2025-04-09 14:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:12:27] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:13:02] Production.INFO: ==9493== Lock acquired, processing the job...
[2025-04-09 19:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:13:02] Production.INFO: neon service started
[2025-04-09 19:13:02] Production.INFO: neon service started
[2025-04-09 19:13:02] Production.INFO: ==9493== Releasing lock...
[2025-04-09 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:13:02] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-04-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:13:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-04-09 18:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:13:03] Production.INFO: ==9496== Releasing lock...
[2025-04-09 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:13:03] Production.INFO: ==9498== Releasing lock...
[2025-04-09 18:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:13:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:13:03] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-04-09 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:13:03] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-04-09 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:13:04] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-04-09 14:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:13:04] Production.INFO: ==9512== Lock acquired, processing the job...
[2025-04-09 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:13:04] Production.INFO: ==9508== Lock acquired, processing the job...
[2025-04-09 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 14:13:04] Production.INFO: ==9504== Releasing lock...
[2025-04-09 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:13:04] Production.INFO: count ==12
[2025-04-09 14:13:04] Production.INFO: ==9510== Lock acquired, processing the job...
[2025-04-09 14:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 14:13:04] Production.INFO: count ==23
[2025-04-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870074') start
[2025-04-09 14:13:04] Production.INFO: Account Balance Start.
[2025-04-09 14:13:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:13:04] Production.INFO: 117
[2025-04-09 14:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:13:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870074') end
[2025-04-09 14:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:13:04] Production.INFO: 1
[2025-04-09 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:13:04] Production.INFO: ==9512== Releasing lock...
[2025-04-09 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:13:04] Production.INFO: Total Charge 0
[2025-04-09 14:13:04] Production.INFO: CreateAllLog End
[2025-04-09 14:13:04] Production.ERROR: done
[2025-04-09 14:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:13:04] Production.ERROR: done
[2025-04-09 14:13:04] Production.INFO: Account Balance End.
[2025-04-09 14:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:13:04] Production.INFO: ==9508== Releasing lock...
[2025-04-09 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:13:05
[end_date_ymd] => 2025-04-09 14:13:05
[RateCDR] => 1
)
[2025-04-09 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:13:05' and `end` < '2025-04-09 14:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:13:13] Production.ERROR: CronJobId end10
[2025-04-09 14:13:13] Production.INFO: ==9506== Releasing lock...
[2025-04-09 14:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:13:15] Production.INFO: call_cost start
[2025-04-09 14:13:15] Production.INFO: call_cost end
[2025-04-09 14:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:13:16] Production.INFO: ==9502== Releasing lock...
[2025-04-09 14:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:13:20] Production.INFO: count ==6845
[2025-04-09 14:13:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:13:05 - End Time 2025-04-09 14:13:05
[2025-04-09 14:13:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870077', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870077', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870077', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870077', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:13:23] Production.INFO: ProcessCDR(1,14870077,1,1,2)
[2025-04-09 14:13:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:13:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:13:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:13:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870077', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870077', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:13:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:13:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:13:29] Production.INFO: ==9510== Releasing lock...
[2025-04-09 14:13:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:13:29] Production.INFO: 79.25 MB #Memory Used#
[2025-04-09 19:14:01] Production.INFO: ==9571== Lock acquired, processing the job...
[2025-04-09 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:14:01] Production.INFO: neon service started
[2025-04-09 19:14:01] Production.INFO: neon service started
[2025-04-09 19:14:01] Production.INFO: ==9571== Releasing lock...
[2025-04-09 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:14:02] Production.INFO: ==9573== Lock acquired, processing the job...
[2025-04-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:14:02] Production.INFO: ==9575== Lock acquired, processing the job...
[2025-04-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:14:02] Production.INFO: ==9575== Releasing lock...
[2025-04-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:14:02] Production.INFO: ==9573== Releasing lock...
[2025-04-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:14:03] Production.INFO: ==9582== Lock acquired, processing the job...
[2025-04-09 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:14:03] Production.INFO: ==9584== Lock acquired, processing the job...
[2025-04-09 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:14:03] Production.INFO: Account Balance Start.
[2025-04-09 14:14:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:14:03] Production.INFO: 117
[2025-04-09 14:14:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:14:03] Production.INFO: ==9578== Lock acquired, processing the job...
[2025-04-09 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:14:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:14:03] Production.INFO: Total Charge 0
[2025-04-09 14:14:03] Production.INFO: CreateAllLog End
[2025-04-09 14:14:04] Production.INFO: ==9580== Lock acquired, processing the job...
[2025-04-09 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:14:04] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-04-09 14:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:14:04] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-04-09 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:14:04] Production.INFO: Account Balance End.
[2025-04-09 14:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:14:04] Production.INFO: ==9584== Releasing lock...
[2025-04-09 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:14:04] Production.INFO: count ==12
[2025-04-09 14:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:14:04] Production.INFO: count ==23
[2025-04-09 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870081') start
[2025-04-09 14:14:04] Production.INFO: ==9580== Releasing lock...
[2025-04-09 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:14:04] Production.ERROR: done
[2025-04-09 14:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870081') end
[2025-04-09 14:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:14:04] Production.INFO: 1
[2025-04-09 14:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:14:04] Production.INFO: ==9588== Releasing lock...
[2025-04-09 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:14:04] Production.ERROR: done
[2025-04-09 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:14:05
[end_date_ymd] => 2025-04-09 14:14:05
[RateCDR] => 1
)
[2025-04-09 14:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:14:05' and `end` < '2025-04-09 14:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:14:12] Production.ERROR: CronJobId end10
[2025-04-09 14:14:12] Production.INFO: ==9582== Releasing lock...
[2025-04-09 14:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:14:14] Production.INFO: call_cost start
[2025-04-09 14:14:14] Production.INFO: call_cost end
[2025-04-09 14:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:14:15] Production.INFO: ==9578== Releasing lock...
[2025-04-09 14:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:14:19] Production.INFO: count ==6824
[2025-04-09 14:14:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:14:05 - End Time 2025-04-09 14:14:05
[2025-04-09 14:14:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870082', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870082', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870082', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870082', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:14:23] Production.INFO: ProcessCDR(1,14870082,1,1,2)
[2025-04-09 14:14:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:14:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:14:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:14:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870082', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870082', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:14:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:14:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:14:28] Production.INFO: ==9586== Releasing lock...
[2025-04-09 14:14:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:14:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:15:02] Production.INFO: ==9652== Lock acquired, processing the job...
[2025-04-09 19:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:15:02] Production.INFO: neon service started
[2025-04-09 19:15:02] Production.INFO: neon service started
[2025-04-09 19:15:02] Production.INFO: ==9652== Releasing lock...
[2025-04-09 19:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:15:02] Production.INFO: ==9654== Lock acquired, processing the job...
[2025-04-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:15:03] Production.INFO: ==9656== Lock acquired, processing the job...
[2025-04-09 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:15:03] Production.INFO: ==9656== Releasing lock...
[2025-04-09 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:15:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:15:03] Production.INFO: ==9654== Releasing lock...
[2025-04-09 14:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:15:04] Production.INFO: ==9665== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:15:04] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:15:04] Production.INFO: ==9669== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:15:04] Production.INFO: Account Balance Start.
[2025-04-09 14:15:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:15:04] Production.INFO: 117
[2025-04-09 14:15:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:15:04] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:15:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 14:15:04] Production.INFO: Total Charge 0
[2025-04-09 14:15:04] Production.INFO: count ==12
[2025-04-09 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:15:04] Production.INFO: count ==23
[2025-04-09 14:15:04] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:15:04] Production.INFO: ==9667== Lock acquired, processing the job...
[2025-04-09 14:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870085') start
[2025-04-09 14:15:04] Production.INFO: CreateAllLog End
[2025-04-09 14:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870085') end
[2025-04-09 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:15:04] Production.INFO: 1
[2025-04-09 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:15:04] Production.INFO: ==9669== Releasing lock...
[2025-04-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:15:04] Production.INFO: ==9660== Releasing lock...
[2025-04-09 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:15:04] Production.ERROR: done
[2025-04-09 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:15:05] Production.INFO: Account Balance End.
[2025-04-09 14:15:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:15:05] Production.INFO: ==9665== Releasing lock...
[2025-04-09 14:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:15:05] Production.ERROR: done
[2025-04-09 14:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:15:06
[end_date_ymd] => 2025-04-09 14:15:06
[RateCDR] => 1
)
[2025-04-09 14:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:15:06' and `end` < '2025-04-09 14:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:15:13] Production.ERROR: CronJobId end10
[2025-04-09 14:15:13] Production.INFO: ==9663== Releasing lock...
[2025-04-09 14:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:15:15] Production.INFO: call_cost start
[2025-04-09 14:15:15] Production.INFO: call_cost end
[2025-04-09 14:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:15:16] Production.INFO: ==9658== Releasing lock...
[2025-04-09 14:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:15:19] Production.INFO: count ==6818
[2025-04-09 14:15:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:15:06 - End Time 2025-04-09 14:15:06
[2025-04-09 14:15:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870087', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870087', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870087', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870087', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:15:23] Production.INFO: ProcessCDR(1,14870087,1,1,2)
[2025-04-09 14:15:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:15:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:15:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:15:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870087', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870087', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:15:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:15:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:15:28] Production.INFO: ==9667== Releasing lock...
[2025-04-09 14:15:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:15:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:16:01] Production.INFO: ==9734== Lock acquired, processing the job...
[2025-04-09 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:16:01] Production.INFO: neon service started
[2025-04-09 19:16:01] Production.INFO: neon service started
[2025-04-09 19:16:01] Production.INFO: ==9734== Releasing lock...
[2025-04-09 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:16:02] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-04-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:16:02] Production.INFO: ==9736== Releasing lock...
[2025-04-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:16:02] Production.INFO: ==9738== Lock acquired, processing the job...
[2025-04-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:16:02] Production.INFO: ==9738== Releasing lock...
[2025-04-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:16:03] Production.INFO: ==9748== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:16:03] Production.INFO: ==9750== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:16:03] Production.INFO: ==9744== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:16:03] Production.INFO: ==9742== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:16:03] Production.INFO: ==9740== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:16:03] Production.INFO: ==9746== Lock acquired, processing the job...
[2025-04-09 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:16:03] Production.INFO: Account Balance Start.
[2025-04-09 14:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:16:03] Production.INFO: 117
[2025-04-09 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:16:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:16:03] Production.INFO: count ==23
[2025-04-09 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870089') start
[2025-04-09 14:16:03] Production.ERROR: done
[2025-04-09 14:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:16:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:16:04] Production.INFO: Total Charge 0
[2025-04-09 14:16:04] Production.INFO: CreateAllLog End
[2025-04-09 14:16:04] Production.ERROR: done
[2025-04-09 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870089') end
[2025-04-09 14:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:16:04] Production.INFO: 1
[2025-04-09 14:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:16:04] Production.INFO: ==9750== Releasing lock...
[2025-04-09 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:16:04] Production.INFO: ==9742== Releasing lock...
[2025-04-09 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:16:04] Production.INFO: Account Balance End.
[2025-04-09 14:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:16:04] Production.INFO: ==9746== Releasing lock...
[2025-04-09 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:16:04
[end_date_ymd] => 2025-04-09 14:16:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:16:04' and `end` < '2025-04-09 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-04-09 14:16:13] Production.ERROR: CronJobId end10
[2025-04-09 14:16:13] Production.INFO: ==9744== Releasing lock...
[2025-04-09 14:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:16:16] Production.INFO: call_cost start
[2025-04-09 14:16:16] Production.INFO: call_cost end
[2025-04-09 14:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:16:17] Production.INFO: ==9740== Releasing lock...
[2025-04-09 14:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:16:18] Production.INFO: count ==6812
[2025-04-09 14:16:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:16:04 - End Time 2025-04-09 14:16:04
[2025-04-09 14:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870092', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870092', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870092', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870092', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:16:22] Production.INFO: ProcessCDR(1,14870092,1,1,2)
[2025-04-09 14:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:16:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870092', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870092', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:16:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:16:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:16:27] Production.INFO: ==9748== Releasing lock...
[2025-04-09 14:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:16:27] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:17:02] Production.INFO: ==9809== Lock acquired, processing the job...
[2025-04-09 19:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:17:02] Production.INFO: neon service started
[2025-04-09 19:17:02] Production.INFO: neon service started
[2025-04-09 19:17:02] Production.INFO: ==9809== Releasing lock...
[2025-04-09 19:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:17:02] Production.INFO: ==9813== Lock acquired, processing the job...
[2025-04-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:17:02] Production.INFO: ==9813== Releasing lock...
[2025-04-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:17:02] Production.INFO: ==9811== Lock acquired, processing the job...
[2025-04-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:17:03] Production.INFO: ==9811== Releasing lock...
[2025-04-09 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:17:04] Production.INFO: ==9820== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:17:04] Production.INFO: ==9826== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14: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-04-09 14:17:04] Production.INFO: ==9816== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:17:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:17:04] Production.INFO: count ==23
[2025-04-09 14:17:04] Production.INFO: ==9818== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870093') start
[2025-04-09 14:17:04] Production.INFO: ==9822== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:17:04] Production.INFO: ==9824== Lock acquired, processing the job...
[2025-04-09 14:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870093') end
[2025-04-09 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:17:04] Production.INFO: 1
[2025-04-09 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:17:04] Production.INFO: Account Balance Start.
[2025-04-09 14:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:17:04] Production.INFO: 117
[2025-04-09 14:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:17:04] Production.INFO: Total Charge 0
[2025-04-09 14:17:04] Production.INFO: CreateAllLog End
[2025-04-09 14:17:04] Production.INFO: ==9826== Releasing lock...
[2025-04-09 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:17:05] Production.INFO: ==9818== Releasing lock...
[2025-04-09 14:17:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:17:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:17:05] Production.ERROR: done
[2025-04-09 14:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:17:05] Production.ERROR: done
[2025-04-09 14:17:05] Production.INFO: Account Balance End.
[2025-04-09 14:17:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:17:05] Production.INFO: ==9822== Releasing lock...
[2025-04-09 14:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:17:06
[end_date_ymd] => 2025-04-09 14:17:06
[RateCDR] => 1
)
[2025-04-09 14:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:17:06' and `end` < '2025-04-09 14:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:17:13] Production.ERROR: CronJobId end10
[2025-04-09 14:17:13] Production.INFO: ==9820== Releasing lock...
[2025-04-09 14:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:17:15] Production.INFO: call_cost start
[2025-04-09 14:17:15] Production.INFO: call_cost end
[2025-04-09 14:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:17:16] Production.INFO: ==9816== Releasing lock...
[2025-04-09 14:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:17:20] Production.INFO: count ==6817
[2025-04-09 14:17:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:17:06 - End Time 2025-04-09 14:17:06
[2025-04-09 14:17:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870097', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870097', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870097', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870097', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:17:23] Production.INFO: ProcessCDR(1,14870097,1,1,2)
[2025-04-09 14:17:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:17:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:17:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:17:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:17:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870097', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:17:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870097', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:17:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:17:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:17:29] Production.INFO: ==9824== Releasing lock...
[2025-04-09 14:17:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:17:29] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:18:01] Production.INFO: ==9885== Lock acquired, processing the job...
[2025-04-09 19:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:18:01] Production.INFO: neon service started
[2025-04-09 19:18:01] Production.INFO: neon service started
[2025-04-09 19:18:01] Production.INFO: ==9885== Releasing lock...
[2025-04-09 19:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:18:02] Production.INFO: ==9887== Lock acquired, processing the job...
[2025-04-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:18:02] Production.INFO: ==9889== Lock acquired, processing the job...
[2025-04-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:18:02] Production.INFO: ==9889== Releasing lock...
[2025-04-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:18:02] Production.INFO: ==9887== Releasing lock...
[2025-04-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:18:03] Production.INFO: ==9892== Lock acquired, processing the job...
[2025-04-09 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:18:03] Production.INFO: ==9894== Lock acquired, processing the job...
[2025-04-09 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:18:03] Production.INFO: ==9902== Lock acquired, processing the job...
[2025-04-09 14:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14: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-04-09 14:18:03] Production.INFO: count ==12
[2025-04-09 14: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-04-09 14:18:03] Production.INFO: count ==23
[2025-04-09 14:18:03] Production.INFO: ==9896== Lock acquired, processing the job...
[2025-04-09 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:18:03] Production.INFO: ==9898== Lock acquired, processing the job...
[2025-04-09 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870100') start
[2025-04-09 14:18:04] Production.INFO: ==9894== Releasing lock...
[2025-04-09 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:18:04] Production.INFO: ==9900== Lock acquired, processing the job...
[2025-04-09 14:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:18:04] Production.INFO: Account Balance Start.
[2025-04-09 14:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:18:04] Production.INFO: 117
[2025-04-09 14:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870100') end
[2025-04-09 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:18:04] Production.INFO: 1
[2025-04-09 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:18:04] Production.INFO: ==9902== Releasing lock...
[2025-04-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:18:04] Production.INFO: Total Charge 0
[2025-04-09 14:18:04] Production.INFO: CreateAllLog End
[2025-04-09 14:18:04] Production.ERROR: done
[2025-04-09 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:18:04] Production.ERROR: done
[2025-04-09 14:18:04] Production.INFO: Account Balance End.
[2025-04-09 14:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:18:04] Production.INFO: ==9898== Releasing lock...
[2025-04-09 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:18:05
[end_date_ymd] => 2025-04-09 14:18:05
[RateCDR] => 1
)
[2025-04-09 14:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:18:05' and `end` < '2025-04-09 14:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:18:13] Production.ERROR: CronJobId end10
[2025-04-09 14:18:13] Production.INFO: ==9896== Releasing lock...
[2025-04-09 14:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:18:14] Production.INFO: call_cost start
[2025-04-09 14:18:14] Production.INFO: call_cost end
[2025-04-09 14:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:18:15] Production.INFO: ==9892== Releasing lock...
[2025-04-09 14:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:18:20] Production.INFO: count ==6830
[2025-04-09 14:18:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:18:05 - End Time 2025-04-09 14:18:05
[2025-04-09 14:18:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870102', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870102', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870102', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870102', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:18:23] Production.INFO: ProcessCDR(1,14870102,1,1,2)
[2025-04-09 14:18:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:18:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:18:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:18:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870102', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870102', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:18:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:18:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:18:28] Production.INFO: ==9900== Releasing lock...
[2025-04-09 14:18:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:18:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:19:02] Production.INFO: ==9962== Lock acquired, processing the job...
[2025-04-09 19:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:19:02] Production.INFO: neon service started
[2025-04-09 19:19:02] Production.INFO: neon service started
[2025-04-09 19:19:02] Production.INFO: ==9962== Releasing lock...
[2025-04-09 19:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:19:02] Production.INFO: ==9964== Lock acquired, processing the job...
[2025-04-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:19:02] Production.INFO: ==9966== Lock acquired, processing the job...
[2025-04-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:19:02] Production.INFO: ==9966== Releasing lock...
[2025-04-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:19:03] Production.INFO: ==9964== Releasing lock...
[2025-04-09 14:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:19:04] Production.INFO: ==9973== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:19:04] Production.INFO: ==9977== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:19:04] Production.INFO: ==9969== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:19:04] Production.INFO: ==9971== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:19:04] Production.INFO: ==9975== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:19:04] Production.INFO: ==9979== Lock acquired, processing the job...
[2025-04-09 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:19:04] Production.INFO: Account Balance Start.
[2025-04-09 14:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:19:04] Production.INFO: 117
[2025-04-09 14: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-04-09 14:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:19:04] Production.INFO: count ==12
[2025-04-09 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 14: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-04-09 14:19:04] Production.INFO: count ==23
[2025-04-09 14:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870104') start
[2025-04-09 14:19:04] Production.ERROR: done
[2025-04-09 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:19:04] Production.INFO: Total Charge 0
[2025-04-09 14:19:04] Production.INFO: CreateAllLog End
[2025-04-09 14:19:05] Production.INFO: ==9971== Releasing lock...
[2025-04-09 14:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870104') end
[2025-04-09 14:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:19:05] Production.INFO: 1
[2025-04-09 14:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:19:05] Production.ERROR: done
[2025-04-09 14:19:05] Production.INFO: ==9979== Releasing lock...
[2025-04-09 14:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:19:05] Production.INFO: Account Balance End.
[2025-04-09 14:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:19:05] Production.INFO: ==9975== Releasing lock...
[2025-04-09 14:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:19:06
[end_date_ymd] => 2025-04-09 14:19:06
[RateCDR] => 1
)
[2025-04-09 14:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:19:06' and `end` < '2025-04-09 14:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:19:12] Production.ERROR: CronJobId end10
[2025-04-09 14:19:12] Production.INFO: ==9973== Releasing lock...
[2025-04-09 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:19:16] Production.INFO: call_cost start
[2025-04-09 14:19:16] Production.INFO: call_cost end
[2025-04-09 14:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:19:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:19:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:19:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:19:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:19:17] Production.INFO: ==9969== Releasing lock...
[2025-04-09 14:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:19:20] Production.INFO: count ==6811
[2025-04-09 14:19:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:19:06 - End Time 2025-04-09 14:19:06
[2025-04-09 14:19:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:19:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870107', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:19:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870107', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:19:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870107', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:19:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870107', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:19:23] Production.INFO: ProcessCDR(1,14870107,1,1,2)
[2025-04-09 14:19:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:19:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:19:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:19:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870107', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870107', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:19:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:19:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:19:28] Production.INFO: ==9977== Releasing lock...
[2025-04-09 14:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:19:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:20:01] Production.INFO: ==10034== Lock acquired, processing the job...
[2025-04-09 19:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:20:01] Production.INFO: neon service started
[2025-04-09 19:20:01] Production.INFO: neon service started
[2025-04-09 19:20:01] Production.INFO: ==10034== Releasing lock...
[2025-04-09 19:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:20:02] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-04-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:20:02] Production.INFO: ==10038== Releasing lock...
[2025-04-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:20:02] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-04-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:20:02] Production.INFO: ==10036== Releasing lock...
[2025-04-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:20:03] Production.INFO: ==10049== Lock acquired, processing the job...
[2025-04-09 14:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:20:03] Production.INFO: ==10041== Lock acquired, processing the job...
[2025-04-09 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:20:03] Production.INFO: ==10051== Lock acquired, processing the job...
[2025-04-09 14:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:20:03] Production.INFO: Account Balance Start.
[2025-04-09 14:20:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:20:03] Production.INFO: 117
[2025-04-09 14:20:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:20:04] Production.INFO: ==10054== Lock acquired, processing the job...
[2025-04-09 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:20:04] Production.ERROR: CronJob PID - 10049
[2025-04-09 14:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 14:20:04] Production.ERROR: CronJob ID - 12
[2025-04-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:20:00
[2025-04-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:20:04] Production.ERROR: CronJob PID - 10051
[2025-04-09 14:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 14:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:20:04] Production.ERROR: CronJob ID - 16
[2025-04-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:20:00
[2025-04-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:20:04] Production.ERROR: CronJob PID - 10054
[2025-04-09 14:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 14:20:04] Production.ERROR: CronJob ID - 17
[2025-04-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:20:00
[2025-04-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:20:04] Production.INFO: Total Charge 0
[2025-04-09 14:20:04] Production.INFO: ==10043== Lock acquired, processing the job...
[2025-04-09 14:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:20:04] Production.INFO: CreateAllLog End
[2025-04-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:20:04] Production.INFO: ==10045== Lock acquired, processing the job...
[2025-04-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:20:04] Production.INFO: ==10041== Releasing lock...
[2025-04-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:20:04] Production.INFO: ==10057== Lock acquired, processing the job...
[2025-04-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:20:04] Production.INFO: ==10047== Lock acquired, processing the job...
[2025-04-09 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:20:04] Production.INFO: count ==12
[2025-04-09 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:20:04] Production.ERROR: done
[2025-04-09 14:20:04] Production.INFO: count ==23
[2025-04-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870111') start
[2025-04-09 14:20:04] Production.ERROR: done
[2025-04-09 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870112', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:20:04] Production.INFO: Account Balance End.
[2025-04-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870111') end
[2025-04-09 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:20:04] Production.INFO: 1
[2025-04-09 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:20:04] Production.INFO: ==10057== Releasing lock...
[2025-04-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:20:04] Production.INFO: ==10049== Releasing lock...
[2025-04-09 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:20:04] Production.INFO: ==10045== Releasing lock...
[2025-04-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:20:04] Production.ERROR: done
[2025-04-09 14:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:20:06
[end_date_ymd] => 2025-04-09 14:20:06
[RateCDR] => 1
)
[2025-04-09 14:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:20:06' and `end` < '2025-04-09 14:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870112', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:20:09] Production.INFO: ProcessCDR(1,14870112,1,1,2)
[2025-04-09 14:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:20:09] Production.INFO: ==10054== Releasing lock...
[2025-04-09 14:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:20:15] Production.ERROR: CronJobId end10
[2025-04-09 14:20:15] Production.INFO: ==10047== Releasing lock...
[2025-04-09 14:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:20:16] Production.INFO: call_cost start
[2025-04-09 14:20:16] Production.INFO: call_cost end
[2025-04-09 14:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:20:17] Production.INFO: ==10043== Releasing lock...
[2025-04-09 14:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:20:20] Production.INFO: count ==6810
[2025-04-09 14:20:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:20:06 - End Time 2025-04-09 14:20:06
[2025-04-09 14:20:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870113', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870113', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870113', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870113', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:20:23] Production.INFO: ProcessCDR(1,14870113,1,1,2)
[2025-04-09 14:20:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:20:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:20:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870113', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870113', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:20:28] Production.INFO: ==10051== Releasing lock...
[2025-04-09 14:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:20:28] Production.INFO: 79 MB #Memory Used#
[2025-04-09 19:21:02] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-04-09 19:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:21:02] Production.INFO: neon service started
[2025-04-09 19:21:02] Production.INFO: neon service started
[2025-04-09 19:21:02] Production.INFO: ==10116== Releasing lock...
[2025-04-09 19:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:21:02] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-04-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:21:02] Production.INFO: ==10120== Releasing lock...
[2025-04-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:21:02] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-04-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:21:02] Production.INFO: ==10118== Releasing lock...
[2025-04-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:21:03] Production.INFO: ==10123== Lock acquired, processing the job...
[2025-04-09 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:21:03] Production.INFO: ==10127== Lock acquired, processing the job...
[2025-04-09 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:21:03] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-04-09 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:21:04] Production.INFO: Account Balance Start.
[2025-04-09 14:21:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:21:04] Production.INFO: 117
[2025-04-09 14:21:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:21:04] Production.INFO: Total Charge 0
[2025-04-09 14:21:04] Production.INFO: ==10125== Lock acquired, processing the job...
[2025-04-09 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:21:04] Production.INFO: CreateAllLog End
[2025-04-09 14:21:04] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-04-09 14:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:21:04] Production.INFO: Account Balance End.
[2025-04-09 14:21:04] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-04-09 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:21:04] Production.INFO: ==10129== Releasing lock...
[2025-04-09 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:21:04] Production.ERROR: done
[2025-04-09 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:21:04] Production.INFO: ==10125== Releasing lock...
[2025-04-09 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:21:04] Production.INFO: count ==12
[2025-04-09 14:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:21:04] Production.INFO: count ==23
[2025-04-09 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870117') start
[2025-04-09 14:21:04] Production.ERROR: done
[2025-04-09 14:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870117') end
[2025-04-09 14:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:21:05] Production.INFO: 1
[2025-04-09 14:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:21:05] Production.INFO: ==10133== Releasing lock...
[2025-04-09 14:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:21:06
[end_date_ymd] => 2025-04-09 14:21:06
[RateCDR] => 1
)
[2025-04-09 14:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:21:06' and `end` < '2025-04-09 14:21:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:21:12] Production.ERROR: CronJobId end10
[2025-04-09 14:21:12] Production.INFO: ==10127== Releasing lock...
[2025-04-09 14:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:21:15] Production.INFO: call_cost start
[2025-04-09 14:21:15] Production.INFO: call_cost end
[2025-04-09 14:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:21:16] Production.INFO: ==10123== Releasing lock...
[2025-04-09 14:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:21:20] Production.INFO: count ==6789
[2025-04-09 14:21:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:21:06 - End Time 2025-04-09 14:21:06
[2025-04-09 14:21:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870118', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870118', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870118', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870118', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:21:23] Production.INFO: ProcessCDR(1,14870118,1,1,2)
[2025-04-09 14:21:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:21:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870118', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870118', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:21:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:21:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:21:29] Production.INFO: ==10131== Releasing lock...
[2025-04-09 14:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:21:29] Production.INFO: 78.75 MB #Memory Used#
[2025-04-09 19:22:01] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-04-09 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:22:01] Production.INFO: neon service started
[2025-04-09 19:22:01] Production.INFO: neon service started
[2025-04-09 19:22:01] Production.INFO: ==10199== Releasing lock...
[2025-04-09 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:22:01] Production.INFO: ==10201== Lock acquired, processing the job...
[2025-04-09 14:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:22:02] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-04-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:22:02] Production.INFO: ==10201== Releasing lock...
[2025-04-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:22:02] Production.INFO: ==10203== Releasing lock...
[2025-04-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:22:03] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:22:03] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:22:03] Production.INFO: ==10209== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:22:03] Production.INFO: ==10211== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:22:03] Production.INFO: ==10213== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:22:03] Production.INFO: ==10207== Releasing lock...
[2025-04-09 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:22:03] Production.INFO: ==10216== Lock acquired, processing the job...
[2025-04-09 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:22:03] Production.INFO: Account Balance Start.
[2025-04-09 14:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:22:03] Production.INFO: 117
[2025-04-09 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:22:03] Production.INFO: Total Charge 0
[2025-04-09 14:22:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 14:22:03] Production.INFO: count ==12
[2025-04-09 14:22:03] Production.ERROR: done
[2025-04-09 14: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-04-09 14:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:22:03] Production.INFO: count ==23
[2025-04-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870122') start
[2025-04-09 14:22:04] Production.INFO: Account Balance End.
[2025-04-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870122') end
[2025-04-09 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:22:04] Production.INFO: 1
[2025-04-09 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:22:04] Production.INFO: ==10216== Releasing lock...
[2025-04-09 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:22:04] Production.INFO: ==10211== Releasing lock...
[2025-04-09 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:22:04] Production.ERROR: done
[2025-04-09 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:22:05
[end_date_ymd] => 2025-04-09 14:22:05
[RateCDR] => 1
)
[2025-04-09 14:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:22:05' and `end` < '2025-04-09 14:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:22:13] Production.ERROR: CronJobId end10
[2025-04-09 14:22:13] Production.INFO: ==10209== Releasing lock...
[2025-04-09 14:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:22:15] Production.INFO: call_cost start
[2025-04-09 14:22:15] Production.INFO: call_cost end
[2025-04-09 14:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:22:16] Production.INFO: ==10205== Releasing lock...
[2025-04-09 14:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:22:19] Production.INFO: count ==6782
[2025-04-09 14:22:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:22:05 - End Time 2025-04-09 14:22:05
[2025-04-09 14:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870123', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870123', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870123', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870123', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:22:22] Production.INFO: ProcessCDR(1,14870123,1,1,2)
[2025-04-09 14:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870123', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870123', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:22:27] Production.INFO: ==10213== Releasing lock...
[2025-04-09 14:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:22:27] Production.INFO: 78.75 MB #Memory Used#
[2025-04-09 19:23:02] Production.INFO: ==10316== Lock acquired, processing the job...
[2025-04-09 19:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:23:02] Production.INFO: neon service started
[2025-04-09 19:23:02] Production.INFO: neon service started
[2025-04-09 19:23:02] Production.INFO: ==10316== Releasing lock...
[2025-04-09 19:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:23:02] Production.INFO: ==10318== Lock acquired, processing the job...
[2025-04-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:23:02] Production.INFO: ==10318== Releasing lock...
[2025-04-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:23:02] Production.INFO: ==10320== Lock acquired, processing the job...
[2025-04-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:23:02] Production.INFO: ==10320== Releasing lock...
[2025-04-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:23:03] Production.INFO: ==10325== Lock acquired, processing the job...
[2025-04-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:23:03] Production.INFO: ==10329== Lock acquired, processing the job...
[2025-04-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:23:03] Production.INFO: ==10327== Lock acquired, processing the job...
[2025-04-09 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:23:03] Production.INFO: Account Balance Start.
[2025-04-09 14:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:23:03] Production.INFO: 117
[2025-04-09 14:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:23:03] Production.INFO: ==10323== Lock acquired, processing the job...
[2025-04-09 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:23:03] Production.INFO: Total Charge 0
[2025-04-09 14:23:03] Production.INFO: CreateAllLog End
[2025-04-09 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:23:03] Production.INFO: ==10331== Lock acquired, processing the job...
[2025-04-09 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:23:04] Production.INFO: ==10325== Releasing lock...
[2025-04-09 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:23:04] Production.INFO: Account Balance End.
[2025-04-09 14:23:04] Production.INFO: ==10333== Lock acquired, processing the job...
[2025-04-09 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:23:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:23:04] Production.INFO: ==10329== Releasing lock...
[2025-04-09 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 14:23:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:23:04] Production.INFO: count ==23
[2025-04-09 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870127') start
[2025-04-09 14:23:04] Production.ERROR: done
[2025-04-09 14:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870127') end
[2025-04-09 14:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:23:04] Production.INFO: 1
[2025-04-09 14:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:23:04] Production.INFO: ==10333== Releasing lock...
[2025-04-09 14:23:04] Production.ERROR: done
[2025-04-09 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:23:05
[end_date_ymd] => 2025-04-09 14:23:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:23:05' and `end` < '2025-04-09 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-04-09 14:23:13] Production.ERROR: CronJobId end10
[2025-04-09 14:23:13] Production.INFO: ==10327== Releasing lock...
[2025-04-09 14:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:23:15] Production.INFO: call_cost start
[2025-04-09 14:23:15] Production.INFO: call_cost end
[2025-04-09 14:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:23:16] Production.INFO: ==10323== Releasing lock...
[2025-04-09 14:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:23:19] Production.INFO: count ==6775
[2025-04-09 14:23:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:23:05 - End Time 2025-04-09 14:23:05
[2025-04-09 14:23:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870128', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870128', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870128', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870128', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:23:23] Production.INFO: ProcessCDR(1,14870128,1,1,2)
[2025-04-09 14:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870128', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870128', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:23:28] Production.INFO: ==10331== Releasing lock...
[2025-04-09 14:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:23:28] Production.INFO: 78.75 MB #Memory Used#
[2025-04-09 19:24:01] Production.INFO: ==10392== Lock acquired, processing the job...
[2025-04-09 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:24:01] Production.INFO: neon service started
[2025-04-09 19:24:01] Production.INFO: neon service started
[2025-04-09 19:24:01] Production.INFO: ==10392== Releasing lock...
[2025-04-09 19:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:24:02] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-04-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:24:02] Production.INFO: ==10396== Releasing lock...
[2025-04-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:24:02] Production.INFO: ==10394== Lock acquired, processing the job...
[2025-04-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:24:02] Production.INFO: ==10394== Releasing lock...
[2025-04-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:24:03] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:24:03] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 14:24:03] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:24:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:24:03] Production.INFO: count ==23
[2025-04-09 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870130') start
[2025-04-09 14:24:03] Production.INFO: ==10403== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870130') end
[2025-04-09 14:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:24:03] Production.INFO: 1
[2025-04-09 14:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:24:03] Production.INFO: ==10405== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:24:03] Production.INFO: ==10401== Releasing lock...
[2025-04-09 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:24:03] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-04-09 14:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:24:03] Production.INFO: ==10409== Releasing lock...
[2025-04-09 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:24:03] Production.INFO: Account Balance Start.
[2025-04-09 14:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:24:03] Production.INFO: 117
[2025-04-09 14:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:24:04] Production.INFO: Total Charge 0
[2025-04-09 14:24:04] Production.INFO: CreateAllLog End
[2025-04-09 14:24:04] Production.INFO: Account Balance End.
[2025-04-09 14:24:04] Production.ERROR: done
[2025-04-09 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:24:04] Production.INFO: ==10405== Releasing lock...
[2025-04-09 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:24:04] Production.ERROR: done
[2025-04-09 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:24:05
[end_date_ymd] => 2025-04-09 14:24:05
[RateCDR] => 1
)
[2025-04-09 14:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:24:05' and `end` < '2025-04-09 14:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:24:13] Production.ERROR: CronJobId end10
[2025-04-09 14:24:13] Production.INFO: ==10403== Releasing lock...
[2025-04-09 14:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:24:15] Production.INFO: call_cost start
[2025-04-09 14:24:15] Production.INFO: call_cost end
[2025-04-09 14:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:24:16] Production.INFO: ==10399== Releasing lock...
[2025-04-09 14:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:24:19] Production.INFO: count ==6774
[2025-04-09 14:24:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:24:05 - End Time 2025-04-09 14:24:05
[2025-04-09 14:24:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870133', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870133', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870133', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870133', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:24:23] Production.INFO: ProcessCDR(1,14870133,1,1,2)
[2025-04-09 14:24:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:24:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:24:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:24:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870133', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870133', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:24:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:24:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:24:28] Production.INFO: ==10407== Releasing lock...
[2025-04-09 14:24:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:24:28] Production.INFO: 78.75 MB #Memory Used#
[2025-04-09 19:25:02] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-04-09 19:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:25:02] Production.INFO: neon service started
[2025-04-09 19:25:02] Production.INFO: neon service started
[2025-04-09 19:25:02] Production.INFO: ==10475== Releasing lock...
[2025-04-09 19:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:25:02] Production.INFO: ==10479== Lock acquired, processing the job...
[2025-04-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:25:02] Production.INFO: ==10479== Releasing lock...
[2025-04-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:25:02] Production.INFO: ==10477== Lock acquired, processing the job...
[2025-04-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:25:02] Production.INFO: ==10477== Releasing lock...
[2025-04-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:25:03] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-04-09 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:25:03] Production.INFO: Account Balance Start.
[2025-04-09 14:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:25:03] Production.INFO: 117
[2025-04-09 14:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:25:03] Production.INFO: Total Charge 0
[2025-04-09 14:25:03] Production.INFO: CreateAllLog End
[2025-04-09 14:25:03] Production.INFO: Account Balance End.
[2025-04-09 14:25:03] Production.ERROR: CronJobId end 12
[2025-04-09 14:25:03] Production.INFO: ==10489== Releasing lock...
[2025-04-09 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:25:04] Production.INFO: ==10483== Lock acquired, processing the job...
[2025-04-09 14:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:25:04] Production.INFO: ==10493== Lock acquired, processing the job...
[2025-04-09 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:25:04] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-04-09 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:25:04] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-04-09 14:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 14:25:04] Production.INFO: ==10491== Lock acquired, processing the job...
[2025-04-09 14:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:25:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:25:04] Production.INFO: count ==23
[2025-04-09 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870136') start
[2025-04-09 14:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870136') end
[2025-04-09 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:25:04] Production.INFO: 1
[2025-04-09 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:25:04] Production.INFO: ==10493== Releasing lock...
[2025-04-09 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:25:04] Production.INFO: ==10485== Releasing lock...
[2025-04-09 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:25:04] Production.ERROR: done
[2025-04-09 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:25:04] Production.ERROR: done
[2025-04-09 14:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:25:06
[end_date_ymd] => 2025-04-09 14:25:06
[RateCDR] => 1
)
[2025-04-09 14:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:25:06' and `end` < '2025-04-09 14:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:25:13] Production.ERROR: CronJobId end10
[2025-04-09 14:25:13] Production.INFO: ==10487== Releasing lock...
[2025-04-09 14:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:25:15] Production.INFO: call_cost start
[2025-04-09 14:25:15] Production.INFO: call_cost end
[2025-04-09 14:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:25:16] Production.INFO: ==10483== Releasing lock...
[2025-04-09 14:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:25:20] Production.INFO: count ==6766
[2025-04-09 14:25:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:25:06 - End Time 2025-04-09 14:25:06
[2025-04-09 14:25:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870138', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870138', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870138', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870138', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:25:23] Production.INFO: ProcessCDR(1,14870138,1,1,2)
[2025-04-09 14:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:25:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:25:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870138', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870138', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:25:28] Production.INFO: ==10491== Releasing lock...
[2025-04-09 14:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:25:28] Production.INFO: 78.5 MB #Memory Used#
[2025-04-09 19:26:01] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-04-09 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:26:01] Production.INFO: neon service started
[2025-04-09 19:26:01] Production.INFO: neon service started
[2025-04-09 19:26:01] Production.INFO: ==10555== Releasing lock...
[2025-04-09 19:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:26:01] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-04-09 18:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:26:01] Production.INFO: ==10559== Releasing lock...
[2025-04-09 18:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:26:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:26:02] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-04-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:26:02] Production.INFO: ==10557== Releasing lock...
[2025-04-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:26:03] Production.INFO: ==10562== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:26:03] Production.INFO: ==10566== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:26:03] Production.INFO: ==10570== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:26:03] Production.INFO: ==10564== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:26:03] Production.INFO: ==10568== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:26:03] Production.INFO: ==10572== Lock acquired, processing the job...
[2025-04-09 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:26:03] Production.INFO: Account Balance Start.
[2025-04-09 14:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:26:03] Production.INFO: 117
[2025-04-09 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-04-09 14:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:26:03] Production.ERROR: done
[2025-04-09 14:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:26:03] Production.INFO: ==10564== Releasing lock...
[2025-04-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:26:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:26:03] Production.INFO: count ==23
[2025-04-09 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870142') start
[2025-04-09 14:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:26:04] Production.ERROR: done
[2025-04-09 14:26:04] Production.INFO: Total Charge 0
[2025-04-09 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870142') end
[2025-04-09 14:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:26:04] Production.INFO: 1
[2025-04-09 14:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:26:04] Production.INFO: CreateAllLog End
[2025-04-09 14:26:04] Production.INFO: ==10572== Releasing lock...
[2025-04-09 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:26:04] Production.INFO: Account Balance End.
[2025-04-09 14:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:26:04] Production.INFO: ==10568== Releasing lock...
[2025-04-09 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:26:05
[end_date_ymd] => 2025-04-09 14:26:05
[RateCDR] => 1
)
[2025-04-09 14:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:26:05' and `end` < '2025-04-09 14:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:26:11] Production.ERROR: CronJobId end10
[2025-04-09 14:26:11] Production.INFO: ==10566== Releasing lock...
[2025-04-09 14:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:26:14] Production.INFO: call_cost start
[2025-04-09 14:26:14] Production.INFO: call_cost end
[2025-04-09 14:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:26:15] Production.INFO: ==10562== Releasing lock...
[2025-04-09 14:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:26:19] Production.INFO: count ==6771
[2025-04-09 14:26:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:26:05 - End Time 2025-04-09 14:26:05
[2025-04-09 14:26:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870143', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870143', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870143', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870143', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:26:22] Production.INFO: ProcessCDR(1,14870143,1,1,2)
[2025-04-09 14:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870143', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870143', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:26:27] Production.INFO: ==10570== Releasing lock...
[2025-04-09 14:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:26:27] Production.INFO: 78.5 MB #Memory Used#
[2025-04-09 19:27:01] Production.INFO: ==10633== Lock acquired, processing the job...
[2025-04-09 19:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:27:01] Production.INFO: neon service started
[2025-04-09 19:27:01] Production.INFO: neon service started
[2025-04-09 19:27:01] Production.INFO: ==10633== Releasing lock...
[2025-04-09 19:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:27:02] Production.INFO: ==10637== Lock acquired, processing the job...
[2025-04-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:27:02] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-04-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:27:02] Production.INFO: ==10637== Releasing lock...
[2025-04-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:27:02] Production.INFO: ==10635== Releasing lock...
[2025-04-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:27:03] Production.INFO: ==10642== Lock acquired, processing the job...
[2025-04-09 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:27:03] Production.INFO: ==10640== Lock acquired, processing the job...
[2025-04-09 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:27:03] Production.INFO: ==10648== Lock acquired, processing the job...
[2025-04-09 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:27:03] Production.INFO: ==10644== Lock acquired, processing the job...
[2025-04-09 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:27:03] Production.INFO: ==10646== Lock acquired, processing the job...
[2025-04-09 14:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:27:04] Production.INFO: ==10650== Lock acquired, processing the job...
[2025-04-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:27:04] Production.INFO: ==10642== Releasing lock...
[2025-04-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:27:04] Production.ERROR: done
[2025-04-09 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:27:04] Production.INFO: Account Balance Start.
[2025-04-09 14:27:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:27:04] Production.INFO: 117
[2025-04-09 14:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:27:04] Production.INFO: count ==12
[2025-04-09 14:27:04] Production.ERROR: done
[2025-04-09 14:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:27:04] Production.INFO: count ==23
[2025-04-09 14:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870147') start
[2025-04-09 14:27:04] Production.INFO: Total Charge 0
[2025-04-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870147') end
[2025-04-09 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:27:04] Production.INFO: 1
[2025-04-09 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:27:04] Production.INFO: CreateAllLog End
[2025-04-09 14:27:04] Production.INFO: ==10650== Releasing lock...
[2025-04-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:27:04] Production.INFO: Account Balance End.
[2025-04-09 14:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:27:04] Production.INFO: ==10646== Releasing lock...
[2025-04-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:27:05
[end_date_ymd] => 2025-04-09 14:27:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:27:05' and `end` < '2025-04-09 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-04-09 14:27:13] Production.ERROR: CronJobId end10
[2025-04-09 14:27:13] Production.INFO: ==10644== Releasing lock...
[2025-04-09 14:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:27:15] Production.INFO: call_cost start
[2025-04-09 14:27:15] Production.INFO: call_cost end
[2025-04-09 14:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:27:16] Production.INFO: ==10640== Releasing lock...
[2025-04-09 14:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:27:19] Production.INFO: count ==6749
[2025-04-09 14:27:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:27:05 - End Time 2025-04-09 14:27:05
[2025-04-09 14:27:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870148', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870148', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870148', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870148', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:27:22] Production.INFO: ProcessCDR(1,14870148,1,1,2)
[2025-04-09 14:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870148', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:27:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870148', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:27:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:27:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:27:28] Production.INFO: ==10648== Releasing lock...
[2025-04-09 14:27:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:27:28] Production.INFO: 78.5 MB #Memory Used#
[2025-04-09 19:28:01] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-04-09 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:28:01] Production.INFO: neon service started
[2025-04-09 19:28:01] Production.INFO: neon service started
[2025-04-09 19:28:01] Production.INFO: ==10712== Releasing lock...
[2025-04-09 19:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:28:02] Production.INFO: ==10714== Lock acquired, processing the job...
[2025-04-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:28:02] Production.INFO: ==10716== Lock acquired, processing the job...
[2025-04-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:28:02] Production.INFO: ==10716== Releasing lock...
[2025-04-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:28:02] Production.INFO: ==10714== Releasing lock...
[2025-04-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:28:03] Production.INFO: ==10727== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:28:03] Production.INFO: ==10719== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:28:03] Production.INFO: ==10729== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:28:03] Production.INFO: ==10721== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:28:03] Production.INFO: ==10723== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:28:03] Production.INFO: ==10725== Lock acquired, processing the job...
[2025-04-09 14:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:28:03] Production.INFO: count ==12
[2025-04-09 14:28:03] Production.ERROR: done
[2025-04-09 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-04-09 14:28:03] Production.INFO: count ==23
[2025-04-09 14:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870149') start
[2025-04-09 14:28:04] Production.INFO: Account Balance Start.
[2025-04-09 14:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:28:04] Production.INFO: 117
[2025-04-09 14:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:28:04] Production.INFO: ==10721== Releasing lock...
[2025-04-09 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:28:04] Production.ERROR: done
[2025-04-09 14:28:04] Production.INFO: Total Charge 0
[2025-04-09 14:28:04] Production.INFO: CreateAllLog End
[2025-04-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870149') end
[2025-04-09 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:28:04] Production.INFO: 1
[2025-04-09 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:28:04] Production.INFO: ==10729== Releasing lock...
[2025-04-09 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:28:04] Production.INFO: Account Balance End.
[2025-04-09 14:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:28:04] Production.INFO: ==10725== Releasing lock...
[2025-04-09 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:28:05
[end_date_ymd] => 2025-04-09 14:28:05
[RateCDR] => 1
)
[2025-04-09 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:28:05' and `end` < '2025-04-09 14:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:28:12] Production.ERROR: CronJobId end10
[2025-04-09 14:28:12] Production.INFO: ==10723== Releasing lock...
[2025-04-09 14:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:28:15] Production.INFO: call_cost start
[2025-04-09 14:28:15] Production.INFO: call_cost end
[2025-04-09 14:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:28:16] Production.INFO: ==10719== Releasing lock...
[2025-04-09 14:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:28:19] Production.INFO: count ==6742
[2025-04-09 14:28:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:28:05 - End Time 2025-04-09 14:28:05
[2025-04-09 14:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870153', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870153', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870153', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870153', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:28:23] Production.INFO: ProcessCDR(1,14870153,1,1,2)
[2025-04-09 14:28:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:28:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870153', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870153', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:28:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:28:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:28:28] Production.INFO: ==10727== Releasing lock...
[2025-04-09 14:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:28:28] Production.INFO: 78.5 MB #Memory Used#
[2025-04-09 19:29:01] Production.INFO: ==10785== Lock acquired, processing the job...
[2025-04-09 19:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:29:01] Production.INFO: neon service started
[2025-04-09 19:29:01] Production.INFO: neon service started
[2025-04-09 19:29:01] Production.INFO: ==10785== Releasing lock...
[2025-04-09 19:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:29:02] Production.INFO: ==10787== Lock acquired, processing the job...
[2025-04-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:29:02] Production.INFO: ==10787== Releasing lock...
[2025-04-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:29:02] Production.INFO: ==10789== Lock acquired, processing the job...
[2025-04-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:29:02] Production.INFO: ==10789== Releasing lock...
[2025-04-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:29:03] Production.INFO: ==10798== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:29:03] Production.INFO: ==10792== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:29:03] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:29:03] Production.INFO: ==10802== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:29:03] Production.INFO: Account Balance Start.
[2025-04-09 14:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:29:03] Production.INFO: 117
[2025-04-09 14:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:29:03] Production.INFO: ==10796== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:29:03] Production.INFO: Total Charge 0
[2025-04-09 14:29:03] Production.INFO: ==10800== Lock acquired, processing the job...
[2025-04-09 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:29:03] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:29:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:29:03] Production.INFO: count ==23
[2025-04-09 14:29:03] Production.INFO: Account Balance End.
[2025-04-09 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870157') start
[2025-04-09 14:29:03] Production.ERROR: CronJobId end 12
[2025-04-09 14:29:03] Production.INFO: ==10798== Releasing lock...
[2025-04-09 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:29:03] Production.INFO: ==10794== Releasing lock...
[2025-04-09 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870157') end
[2025-04-09 14:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:29:03] Production.INFO: 1
[2025-04-09 14:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:29:04] Production.INFO: ==10802== Releasing lock...
[2025-04-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:29:04] Production.ERROR: done
[2025-04-09 14:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:29:04] Production.ERROR: done
[2025-04-09 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:29:05
[end_date_ymd] => 2025-04-09 14:29:05
[RateCDR] => 1
)
[2025-04-09 14:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:29:05' and `end` < '2025-04-09 14:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:29:12] Production.ERROR: CronJobId end10
[2025-04-09 14:29:12] Production.INFO: ==10796== Releasing lock...
[2025-04-09 14:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:29:15] Production.INFO: call_cost start
[2025-04-09 14:29:15] Production.INFO: call_cost end
[2025-04-09 14:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:29:16] Production.INFO: ==10792== Releasing lock...
[2025-04-09 14:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:29:19] Production.INFO: count ==6717
[2025-04-09 14:29:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:29:05 - End Time 2025-04-09 14:29:05
[2025-04-09 14:29:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870158', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870158', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870158', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870158', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:29:23] Production.INFO: ProcessCDR(1,14870158,1,1,2)
[2025-04-09 14:29:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:29:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870158', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870158', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:29:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:29:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:29:28] Production.INFO: ==10800== Releasing lock...
[2025-04-09 14:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:29:28] Production.INFO: 78.25 MB #Memory Used#
[2025-04-09 19:30:01] Production.INFO: ==10862== Lock acquired, processing the job...
[2025-04-09 19:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:30:01] Production.INFO: neon service started
[2025-04-09 19:30:01] Production.INFO: neon service started
[2025-04-09 19:30:01] Production.INFO: ==10862== Releasing lock...
[2025-04-09 19:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:30:01] Production.INFO: ==10869== Lock acquired, processing the job...
[2025-04-09 18:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:30:01] Production.INFO: ==10869== Releasing lock...
[2025-04-09 18:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:30:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:30:02] Production.INFO: ==10867== Lock acquired, processing the job...
[2025-04-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:30:02] Production.INFO: ==10867== Releasing lock...
[2025-04-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:30:03] Production.INFO: ==10879== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:30:03] Production.INFO: Account Balance Start.
[2025-04-09 14:30:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:30:03] Production.INFO: 117
[2025-04-09 14:30:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:30:03] Production.INFO: ==10871== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:30:03] Production.INFO: ==10883== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:30:03] Production.INFO: ==10873== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:30:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:30:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:30:03] Production.ERROR: CronJob PID - 10873
[2025-04-09 14:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 14:30:03] Production.ERROR: CronJob ID - 5
[2025-04-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 14:30:00
[2025-04-09 14:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:30:03] Production.ERROR: CronJob PID - 10879
[2025-04-09 14:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 14:30:03] Production.ERROR: CronJob ID - 12
[2025-04-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 14:30:00
[2025-04-09 14:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:30:03] Production.ERROR: CronJob PID - 10883
[2025-04-09 14:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 14:30:03] Production.ERROR: CronJob ID - 17
[2025-04-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 14:30:00
[2025-04-09 14:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:30:03] Production.INFO: ==10885== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:30:03] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:30:03] Production.INFO: ==10875== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:30:03] Production.INFO: Total Charge 0
[2025-04-09 14:30:03] Production.INFO: CreateAllLog End
[2025-04-09 14:30:03] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-04-09 14:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:30:04] Production.INFO: ==10871== Releasing lock...
[2025-04-09 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:30:04] Production.INFO: count ==12
[2025-04-09 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:30:04] Production.INFO: count ==23
[2025-04-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870161') start
[2025-04-09 14:30:04] Production.ERROR: done
[2025-04-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870161') end
[2025-04-09 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:30:04] Production.INFO: 1
[2025-04-09 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:30:04] Production.INFO: Account Balance End.
[2025-04-09 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870163', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:30:04] Production.INFO: ==10885== Releasing lock...
[2025-04-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:30:04] Production.INFO: ==10879== Releasing lock...
[2025-04-09 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:30:04] Production.ERROR: done
[2025-04-09 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:30:04] Production.INFO: ==10875== Releasing lock...
[2025-04-09 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:30:04] Production.ERROR: done
[2025-04-09 14:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:30:05
[end_date_ymd] => 2025-04-09 14:30:05
[RateCDR] => 1
)
[2025-04-09 14: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-04-09 11:30:05' and `end` < '2025-04-09 14: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-04-09 14:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870163', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:30:09] Production.INFO: ProcessCDR(1,14870163,1,1,2)
[2025-04-09 14:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:30:09] Production.INFO: ==10883== Releasing lock...
[2025-04-09 14:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:30:14] Production.ERROR: CronJobId end10
[2025-04-09 14:30:14] Production.INFO: ==10877== Releasing lock...
[2025-04-09 14:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:30:17] Production.INFO: call_cost start
[2025-04-09 14:30:17] Production.INFO: call_cost end
[2025-04-09 14:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:30:18] Production.INFO: ==10873== Releasing lock...
[2025-04-09 14:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:30:19] Production.INFO: count ==6653
[2025-04-09 14:30:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:30:05 - End Time 2025-04-09 14:30:05
[2025-04-09 14:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870164', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870164', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870164', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870164', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:30:23] Production.INFO: ProcessCDR(1,14870164,1,1,2)
[2025-04-09 14:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870164', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870164', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:30:28] Production.INFO: ==10881== Releasing lock...
[2025-04-09 14:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:30:28] Production.INFO: 77.75 MB #Memory Used#
[2025-04-09 19:31:01] Production.INFO: ==10944== Lock acquired, processing the job...
[2025-04-09 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:31:01] Production.INFO: neon service started
[2025-04-09 19:31:01] Production.INFO: neon service started
[2025-04-09 19:31:01] Production.INFO: ==10944== Releasing lock...
[2025-04-09 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:31:02] Production.INFO: ==10946== Lock acquired, processing the job...
[2025-04-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:31:02] Production.INFO: ==10946== Releasing lock...
[2025-04-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:31:02] Production.INFO: ==10948== Lock acquired, processing the job...
[2025-04-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:31:02] Production.INFO: ==10948== Releasing lock...
[2025-04-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:31:03] Production.INFO: ==10951== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:31:03] Production.INFO: ==10957== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:31:03] Production.INFO: ==10953== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:31:03] Production.INFO: Account Balance Start.
[2025-04-09 14:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:31:03] Production.INFO: 117
[2025-04-09 14:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:31:03] Production.INFO: ==10955== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:31:03] Production.INFO: ==10961== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:31:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:31:03] Production.INFO: Total Charge 0
[2025-04-09 14:31:03] Production.INFO: ==10959== Lock acquired, processing the job...
[2025-04-09 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:31:03] Production.INFO: CreateAllLog End
[2025-04-09 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 14:31:03] Production.INFO: ==10953== Releasing lock...
[2025-04-09 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:31:03] Production.INFO: count ==12
[2025-04-09 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-04-09 14:31:03] Production.INFO: count ==23
[2025-04-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870168') start
[2025-04-09 14:31:04] Production.INFO: Account Balance End.
[2025-04-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870168') end
[2025-04-09 14:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:31:04] Production.INFO: 1
[2025-04-09 14:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:31:04] Production.INFO: ==10957== Releasing lock...
[2025-04-09 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:31:04] Production.INFO: ==10961== Releasing lock...
[2025-04-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:31:04] Production.ERROR: done
[2025-04-09 14:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:31:04] Production.ERROR: done
[2025-04-09 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:31:05
[end_date_ymd] => 2025-04-09 14:31:05
[RateCDR] => 1
)
[2025-04-09 14:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:31:05' and `end` < '2025-04-09 14:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:31:12] Production.ERROR: CronJobId end10
[2025-04-09 14:31:12] Production.INFO: ==10955== Releasing lock...
[2025-04-09 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:31:14] Production.INFO: call_cost start
[2025-04-09 14:31:14] Production.INFO: call_cost end
[2025-04-09 14:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:31:15] Production.INFO: ==10951== Releasing lock...
[2025-04-09 14:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:31:20] Production.INFO: count ==6587
[2025-04-09 14:31:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:31:05 - End Time 2025-04-09 14:31:05
[2025-04-09 14:31:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870169', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870169', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870169', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870169', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:31:23] Production.INFO: ProcessCDR(1,14870169,1,1,2)
[2025-04-09 14:31:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:31:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:31:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:31:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870169', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870169', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:31:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:31:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:31:28] Production.INFO: ==10959== Releasing lock...
[2025-04-09 14:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:31:28] Production.INFO: 77.25 MB #Memory Used#
[2025-04-09 19:32:02] Production.INFO: ==11022== Lock acquired, processing the job...
[2025-04-09 19:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:32:02] Production.INFO: neon service started
[2025-04-09 19:32:02] Production.INFO: neon service started
[2025-04-09 19:32:02] Production.INFO: ==11022== Releasing lock...
[2025-04-09 19:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:32:02] Production.INFO: ==11024== Lock acquired, processing the job...
[2025-04-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:32:03] Production.INFO: ==11024== Releasing lock...
[2025-04-09 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:32:03] Production.INFO: ==11026== Lock acquired, processing the job...
[2025-04-09 18:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:32:03] Production.INFO: ==11026== Releasing lock...
[2025-04-09 18:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:32:03] Production.INFO: ==11034== Lock acquired, processing the job...
[2025-04-09 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:32:03] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-04-09 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:32:04] Production.INFO: Account Balance Start.
[2025-04-09 14:32:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:32:04] Production.INFO: 117
[2025-04-09 14:32:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:32:04] Production.INFO: ==11028== Lock acquired, processing the job...
[2025-04-09 14:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:32:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:32:04] Production.INFO: ==11030== Lock acquired, processing the job...
[2025-04-09 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:32:04] Production.INFO: ==11032== Lock acquired, processing the job...
[2025-04-09 14:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:32:04] Production.INFO: Total Charge 0
[2025-04-09 14:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:32:04] Production.INFO: ==11040== Lock acquired, processing the job...
[2025-04-09 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:32:04] Production.INFO: CreateAllLog End
[2025-04-09 14:32:04] Production.ERROR: done
[2025-04-09 14:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:32:04] Production.INFO: count ==12
[2025-04-09 14:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:32:04] Production.INFO: count ==23
[2025-04-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870172') start
[2025-04-09 14:32:04] Production.ERROR: done
[2025-04-09 14:32:04] Production.INFO: Account Balance End.
[2025-04-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870172') end
[2025-04-09 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:32:04] Production.INFO: 1
[2025-04-09 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:32:04] Production.INFO: ==11040== Releasing lock...
[2025-04-09 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:32:04] Production.INFO: ==11034== Releasing lock...
[2025-04-09 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:32:04] Production.INFO: ==11030== Releasing lock...
[2025-04-09 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:32:05
[end_date_ymd] => 2025-04-09 14:32:05
[RateCDR] => 1
)
[2025-04-09 14:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:32:05' and `end` < '2025-04-09 14:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:32:12] Production.ERROR: CronJobId end10
[2025-04-09 14:32:12] Production.INFO: ==11032== Releasing lock...
[2025-04-09 14:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:32:15] Production.INFO: call_cost start
[2025-04-09 14:32:15] Production.INFO: call_cost end
[2025-04-09 14:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:32:16] Production.INFO: ==11028== Releasing lock...
[2025-04-09 14:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:32:19] Production.INFO: count ==6553
[2025-04-09 14:32:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:32:05 - End Time 2025-04-09 14:32:05
[2025-04-09 14:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870174', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870174', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870174', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870174', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:32:22] Production.INFO: ProcessCDR(1,14870174,1,1,2)
[2025-04-09 14:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870174', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870174', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:32:27] Production.INFO: ==11037== Releasing lock...
[2025-04-09 14:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:32:27] Production.INFO: 77 MB #Memory Used#
[2025-04-09 19:33:01] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-04-09 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:33:01] Production.INFO: neon service started
[2025-04-09 19:33:01] Production.INFO: neon service started
[2025-04-09 19:33:01] Production.INFO: ==11098== Releasing lock...
[2025-04-09 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:33:02] Production.INFO: ==11102== Lock acquired, processing the job...
[2025-04-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:33:02] Production.INFO: ==11102== Releasing lock...
[2025-04-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:33:02] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-04-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:33:02] Production.INFO: ==11100== Releasing lock...
[2025-04-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:33:03] Production.INFO: ==11109== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:33:03] Production.INFO: ==11115== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:33:03] Production.INFO: count ==12
[2025-04-09 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:33:03] Production.INFO: count ==23
[2025-04-09 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870175') start
[2025-04-09 14:33:03] Production.INFO: ==11104== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:33:03] Production.INFO: ==11106== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:33:03] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:33:03] Production.INFO: ==11113== Lock acquired, processing the job...
[2025-04-09 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870175') end
[2025-04-09 14:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:33:03] Production.INFO: 1
[2025-04-09 14:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:33:03] Production.INFO: Account Balance Start.
[2025-04-09 14:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:33:03] Production.INFO: 117
[2025-04-09 14:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:33:04] Production.INFO: ==11115== Releasing lock...
[2025-04-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:33:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:33:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:33:04] Production.INFO: Total Charge 0
[2025-04-09 14:33:04] Production.INFO: CreateAllLog End
[2025-04-09 14:33:04] Production.ERROR: done
[2025-04-09 14:33:04] Production.INFO: ==11106== Releasing lock...
[2025-04-09 14:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:33:04] Production.ERROR: done
[2025-04-09 14:33:04] Production.INFO: Account Balance End.
[2025-04-09 14:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:33:04] Production.INFO: ==11111== Releasing lock...
[2025-04-09 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:33:05
[end_date_ymd] => 2025-04-09 14:33:05
[RateCDR] => 1
)
[2025-04-09 14:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:33:05' and `end` < '2025-04-09 14:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:33:12] Production.ERROR: CronJobId end10
[2025-04-09 14:33:12] Production.INFO: ==11109== Releasing lock...
[2025-04-09 14:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:33:15] Production.INFO: call_cost start
[2025-04-09 14:33:15] Production.INFO: call_cost end
[2025-04-09 14:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:33:16] Production.INFO: ==11104== Releasing lock...
[2025-04-09 14:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:33:19] Production.INFO: count ==6492
[2025-04-09 14:33:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:33:05 - End Time 2025-04-09 14:33:05
[2025-04-09 14:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870179', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870179', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870179', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870179', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:33:22] Production.INFO: ProcessCDR(1,14870179,1,1,2)
[2025-04-09 14:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:33:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:33:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870179', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:33:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870179', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:33:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:33:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:33:28] Production.INFO: ==11113== Releasing lock...
[2025-04-09 14:33:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:33:28] Production.INFO: 76.5 MB #Memory Used#
[2025-04-09 19:34:02] Production.INFO: ==11173== Lock acquired, processing the job...
[2025-04-09 19:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:34:02] Production.INFO: neon service started
[2025-04-09 19:34:02] Production.INFO: neon service started
[2025-04-09 19:34:02] Production.INFO: ==11173== Releasing lock...
[2025-04-09 19:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:34:02] Production.INFO: ==11176== Lock acquired, processing the job...
[2025-04-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:34:03] Production.INFO: ==11176== Releasing lock...
[2025-04-09 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:34:03] Production.INFO: ==11178== Lock acquired, processing the job...
[2025-04-09 18:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:34:03] Production.INFO: ==11178== Releasing lock...
[2025-04-09 18:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:34:03] Production.INFO: ==11180== Lock acquired, processing the job...
[2025-04-09 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:34:03] Production.INFO: ==11182== Lock acquired, processing the job...
[2025-04-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:34:04] Production.INFO: ==11188== Lock acquired, processing the job...
[2025-04-09 14:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:34:04] Production.INFO: ==11184== Lock acquired, processing the job...
[2025-04-09 14:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:34:04] Production.INFO: ==11186== Lock acquired, processing the job...
[2025-04-09 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:34:04] Production.INFO: ==11182== Releasing lock...
[2025-04-09 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:34:04] Production.INFO: ==11190== Lock acquired, processing the job...
[2025-04-09 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:34:04] Production.INFO: Account Balance Start.
[2025-04-09 14:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:34:04] Production.INFO: 117
[2025-04-09 14:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:34:04] Production.ERROR: done
[2025-04-09 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:34:04] Production.INFO: Total Charge 0
[2025-04-09 14:34:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 14:34:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:34:04] Production.INFO: count ==23
[2025-04-09 14:34:04] Production.ERROR: done
[2025-04-09 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870183') start
[2025-04-09 14:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870183') end
[2025-04-09 14:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:34:05] Production.INFO: 1
[2025-04-09 14:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:34:05] Production.INFO: ==11190== Releasing lock...
[2025-04-09 14:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:34:05] Production.INFO: Account Balance End.
[2025-04-09 14:34:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:34:05] Production.INFO: ==11186== Releasing lock...
[2025-04-09 14:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:34:06
[end_date_ymd] => 2025-04-09 14:34:06
[RateCDR] => 1
)
[2025-04-09 14: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-04-09 11:34:06' and `end` < '2025-04-09 14: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-04-09 14:34:13] Production.ERROR: CronJobId end10
[2025-04-09 14:34:13] Production.INFO: ==11184== Releasing lock...
[2025-04-09 14:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:34:16] Production.INFO: call_cost start
[2025-04-09 14:34:16] Production.INFO: call_cost end
[2025-04-09 14:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:34:16] Production.INFO: ==11180== Releasing lock...
[2025-04-09 14:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:34:20] Production.INFO: count ==6452
[2025-04-09 14:34:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:34:06 - End Time 2025-04-09 14:34:06
[2025-04-09 14:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870184', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870184', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870184', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870184', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:34:23] Production.INFO: ProcessCDR(1,14870184,1,1,2)
[2025-04-09 14:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:34:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870184', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870184', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:34:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:34:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:34:28] Production.INFO: ==11188== Releasing lock...
[2025-04-09 14:34:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:34:28] Production.INFO: 76.25 MB #Memory Used#
[2025-04-09 19:35:01] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-04-09 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:35:01] Production.INFO: neon service started
[2025-04-09 19:35:01] Production.INFO: neon service started
[2025-04-09 19:35:01] Production.INFO: ==11247== Releasing lock...
[2025-04-09 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:35:02] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-04-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:35:02] Production.INFO: ==11251== Releasing lock...
[2025-04-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:35:02] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-04-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:35:02] Production.INFO: ==11249== Releasing lock...
[2025-04-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:35:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:35:03] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:35:03] Production.INFO: Account Balance Start.
[2025-04-09 14:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:35:03] Production.INFO: 117
[2025-04-09 14:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:35:03] Production.INFO: Total Charge 0
[2025-04-09 14:35:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: CreateAllLog End
[2025-04-09 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:35:03] Production.INFO: ==11255== Releasing lock...
[2025-04-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:35:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:35:03] Production.INFO: Account Balance End.
[2025-04-09 14:35:03] Production.ERROR: CronJobId end 12
[2025-04-09 14:35:03] Production.INFO: ==11259== Releasing lock...
[2025-04-09 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:35:03] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:35:03] Production.INFO: ==11264== Lock acquired, processing the job...
[2025-04-09 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 14:35:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:35:04] Production.INFO: count ==23
[2025-04-09 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870188') start
[2025-04-09 14:35:04] Production.ERROR: done
[2025-04-09 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:35:04] Production.ERROR: done
[2025-04-09 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870188') end
[2025-04-09 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:35:04] Production.INFO: 1
[2025-04-09 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:35:04] Production.INFO: ==11264== Releasing lock...
[2025-04-09 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:35:05
[end_date_ymd] => 2025-04-09 14:35:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:35:05' and `end` < '2025-04-09 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-04-09 14:35:12] Production.ERROR: CronJobId end10
[2025-04-09 14:35:12] Production.INFO: ==11257== Releasing lock...
[2025-04-09 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:35:14] Production.INFO: call_cost start
[2025-04-09 14:35:14] Production.INFO: call_cost end
[2025-04-09 14:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:35:15] Production.INFO: ==11253== Releasing lock...
[2025-04-09 14:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:35:19] Production.INFO: count ==6390
[2025-04-09 14:35:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:35:05 - End Time 2025-04-09 14:35:05
[2025-04-09 14:35:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870189', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870189', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870189', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870189', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:35:22] Production.INFO: ProcessCDR(1,14870189,1,1,2)
[2025-04-09 14:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870189', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870189', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:35:28] Production.INFO: ==11261== Releasing lock...
[2025-04-09 14:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:35:28] Production.INFO: 75.75 MB #Memory Used#
[2025-04-09 19:36:02] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-04-09 19:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:36:02] Production.INFO: neon service started
[2025-04-09 19:36:02] Production.INFO: neon service started
[2025-04-09 19:36:02] Production.INFO: ==11328== Releasing lock...
[2025-04-09 19:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:36:02] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-04-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:36:02] Production.INFO: ==11332== Releasing lock...
[2025-04-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:36:02] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-04-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:36:03] Production.INFO: ==11330== Releasing lock...
[2025-04-09 14:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:36:04] Production.INFO: ==11341== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:36:04] Production.INFO: ==11345== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:36:04] Production.INFO: Account Balance Start.
[2025-04-09 14:36:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:36:04] Production.INFO: 117
[2025-04-09 14:36:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:36:04] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:36:04] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:36:04] Production.INFO: count ==12
[2025-04-09 14:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:36:04] Production.INFO: count ==23
[2025-04-09 14:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870191') start
[2025-04-09 14:36:04] Production.INFO: ==11339== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:36:04] Production.INFO: Total Charge 0
[2025-04-09 14:36:04] Production.INFO: ==11343== Lock acquired, processing the job...
[2025-04-09 14:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:36:04] Production.INFO: CreateAllLog End
[2025-04-09 14:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870191') end
[2025-04-09 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:36:04] Production.INFO: 1
[2025-04-09 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:36:04] Production.INFO: ==11337== Releasing lock...
[2025-04-09 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:36:04] Production.INFO: ==11345== Releasing lock...
[2025-04-09 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:36:05] Production.ERROR: done
[2025-04-09 14:36:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:36:05] Production.INFO: Account Balance End.
[2025-04-09 14:36:05] Production.ERROR: done
[2025-04-09 14:36:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:36:05] Production.INFO: ==11341== Releasing lock...
[2025-04-09 14:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:36:06
[end_date_ymd] => 2025-04-09 14:36:06
[RateCDR] => 1
)
[2025-04-09 14:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:36:06' and `end` < '2025-04-09 14:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:36:13] Production.ERROR: CronJobId end10
[2025-04-09 14:36:13] Production.INFO: ==11339== Releasing lock...
[2025-04-09 14:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:36:16] Production.INFO: call_cost start
[2025-04-09 14:36:16] Production.INFO: call_cost end
[2025-04-09 14:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:36:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:36:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:36:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:36:17] Production.INFO: ==11335== Releasing lock...
[2025-04-09 14:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:36:20] Production.INFO: count ==6315
[2025-04-09 14:36:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:36:06 - End Time 2025-04-09 14:36:06
[2025-04-09 14:36:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870194', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870194', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870194', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870194', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:36:23] Production.INFO: ProcessCDR(1,14870194,1,1,2)
[2025-04-09 14:36:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:36:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:36:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870194', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870194', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:36:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:36:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:36:28] Production.INFO: ==11343== Releasing lock...
[2025-04-09 14:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:36:28] Production.INFO: 75.25 MB #Memory Used#
[2025-04-09 19:37:01] Production.INFO: ==11404== Lock acquired, processing the job...
[2025-04-09 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:37:01] Production.INFO: neon service started
[2025-04-09 19:37:01] Production.INFO: neon service started
[2025-04-09 19:37:01] Production.INFO: ==11404== Releasing lock...
[2025-04-09 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:37:02] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-04-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:37:02] Production.INFO: ==11408== Lock acquired, processing the job...
[2025-04-09 18:37:02] Production.INFO: ==11410== Releasing lock...
[2025-04-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:37:02] Production.INFO: ==11408== Releasing lock...
[2025-04-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:37:03] Production.INFO: ==11413== Lock acquired, processing the job...
[2025-04-09 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:37:03] Production.INFO: ==11419== Lock acquired, processing the job...
[2025-04-09 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:37:03] Production.INFO: ==11415== Lock acquired, processing the job...
[2025-04-09 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:37:03] Production.INFO: Account Balance Start.
[2025-04-09 14:37:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:37:03] Production.INFO: 117
[2025-04-09 14:37:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:37:03] Production.INFO: ==11417== Lock acquired, processing the job...
[2025-04-09 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:37:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:37:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:37:03] Production.INFO: Total Charge 0
[2025-04-09 14:37:03] Production.INFO: CreateAllLog End
[2025-04-09 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:37:04] Production.INFO: Account Balance End.
[2025-04-09 14:37:04] Production.INFO: ==11421== Lock acquired, processing the job...
[2025-04-09 14:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:37:04] Production.INFO: ==11419== Releasing lock...
[2025-04-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:37:04] Production.INFO: ==11415== Releasing lock...
[2025-04-09 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:37:04] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-04-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:37:04] Production.INFO: count ==12
[2025-04-09 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:37:04] Production.INFO: count ==23
[2025-04-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870198') start
[2025-04-09 14:37:04] Production.ERROR: done
[2025-04-09 14:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870198') end
[2025-04-09 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:37:04] Production.INFO: 1
[2025-04-09 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:37:04] Production.INFO: ==11423== Releasing lock...
[2025-04-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:37:04] Production.ERROR: done
[2025-04-09 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:37:05
[end_date_ymd] => 2025-04-09 14:37:05
[RateCDR] => 1
)
[2025-04-09 14:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:37:05' and `end` < '2025-04-09 14:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:37:12] Production.ERROR: CronJobId end10
[2025-04-09 14:37:12] Production.INFO: ==11417== Releasing lock...
[2025-04-09 14:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:37:15] Production.INFO: call_cost start
[2025-04-09 14:37:15] Production.INFO: call_cost end
[2025-04-09 14:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:37:16] Production.INFO: ==11413== Releasing lock...
[2025-04-09 14:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:37:19] Production.INFO: count ==6247
[2025-04-09 14:37:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:37:05 - End Time 2025-04-09 14:37:05
[2025-04-09 14:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870199', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870199', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870199', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870199', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:37:23] Production.INFO: ProcessCDR(1,14870199,1,1,2)
[2025-04-09 14:37:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870199', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870199', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:37:28] Production.INFO: ==11421== Releasing lock...
[2025-04-09 14:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:37:28] Production.INFO: 74.75 MB #Memory Used#
[2025-04-09 19:38:02] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-04-09 19:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:38:02] Production.INFO: neon service started
[2025-04-09 19:38:02] Production.INFO: neon service started
[2025-04-09 19:38:02] Production.INFO: ==11485== Releasing lock...
[2025-04-09 19:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:38:02] Production.INFO: ==11489== Lock acquired, processing the job...
[2025-04-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:38:02] Production.INFO: ==11489== Releasing lock...
[2025-04-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:38:02] Production.INFO: ==11487== Lock acquired, processing the job...
[2025-04-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:38:03] Production.INFO: ==11487== Releasing lock...
[2025-04-09 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:38:04] Production.INFO: ==11492== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:38:04] Production.INFO: ==11494== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:38:04] Production.INFO: ==11502== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:38:04] Production.INFO: count ==12
[2025-04-09 14:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:38:04] Production.INFO: count ==23
[2025-04-09 14:38:04] Production.INFO: ==11496== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870202') start
[2025-04-09 14:38:04] Production.INFO: ==11500== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:38:04] Production.INFO: ==11494== Releasing lock...
[2025-04-09 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:38:04] Production.INFO: ==11498== Lock acquired, processing the job...
[2025-04-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870202') end
[2025-04-09 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:38:04] Production.INFO: 1
[2025-04-09 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:38:04] Production.INFO: ==11502== Releasing lock...
[2025-04-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:38:04] Production.INFO: Account Balance Start.
[2025-04-09 14:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:38:04] Production.INFO: 117
[2025-04-09 14:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:38:05] Production.INFO: Date 2025-04-09
[2025-04-09 14:38:05] Production.INFO: Reseller ==> 0
[2025-04-09 14:38:05] Production.INFO: Total Charge 0
[2025-04-09 14:38:05] Production.ERROR: done
[2025-04-09 14:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:38:05] Production.INFO: CreateAllLog End
[2025-04-09 14:38:05] Production.ERROR: done
[2025-04-09 14:38:05] Production.INFO: Account Balance End.
[2025-04-09 14:38:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:38:05] Production.INFO: ==11498== Releasing lock...
[2025-04-09 14:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:38:06
[end_date_ymd] => 2025-04-09 14:38:06
[RateCDR] => 1
)
[2025-04-09 14:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:38:06' and `end` < '2025-04-09 14:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:38:14] Production.ERROR: CronJobId end10
[2025-04-09 14:38:14] Production.INFO: ==11496== Releasing lock...
[2025-04-09 14:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:38:16] Production.INFO: call_cost start
[2025-04-09 14:38:16] Production.INFO: call_cost end
[2025-04-09 14:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:38:17] Production.INFO: ==11492== Releasing lock...
[2025-04-09 14:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:38:20] Production.INFO: count ==6197
[2025-04-09 14:38:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:38:06 - End Time 2025-04-09 14:38:06
[2025-04-09 14:38:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870204', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870204', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870204', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870204', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:38:23] Production.INFO: ProcessCDR(1,14870204,1,1,2)
[2025-04-09 14:38:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:38:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:38:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:38:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870204', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870204', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:38:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:38:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:38:28] Production.INFO: ==11500== Releasing lock...
[2025-04-09 14:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:38:28] Production.INFO: 74.25 MB #Memory Used#
[2025-04-09 19:39:01] Production.INFO: ==11602== Lock acquired, processing the job...
[2025-04-09 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:39:01] Production.INFO: neon service started
[2025-04-09 19:39:01] Production.INFO: neon service started
[2025-04-09 19:39:01] Production.INFO: ==11602== Releasing lock...
[2025-04-09 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:39:02] Production.INFO: ==11606== Lock acquired, processing the job...
[2025-04-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:39:02] Production.INFO: ==11606== Releasing lock...
[2025-04-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:39:02] Production.INFO: ==11604== Lock acquired, processing the job...
[2025-04-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:39:02] Production.INFO: ==11604== Releasing lock...
[2025-04-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:39:03] Production.INFO: ==11611== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:39:03] Production.INFO: ==11609== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:39:03] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:39:03] Production.INFO: ==11613== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:39:03] Production.INFO: ==11615== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:39:03] Production.INFO: ==11619== Lock acquired, processing the job...
[2025-04-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:39:03] Production.INFO: ==11611== Releasing lock...
[2025-04-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:39:03] Production.INFO: Account Balance Start.
[2025-04-09 14:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:39:03] Production.INFO: 117
[2025-04-09 14:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:39:03] Production.INFO: Total Charge 0
[2025-04-09 14:39:03] Production.INFO: CreateAllLog End
[2025-04-09 14:39:03] Production.INFO: count ==12
[2025-04-09 14:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:39:03] Production.INFO: count ==23
[2025-04-09 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870208') start
[2025-04-09 14:39:03] Production.ERROR: done
[2025-04-09 14:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870208') end
[2025-04-09 14:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:39:03] Production.INFO: 1
[2025-04-09 14:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:39:03] Production.INFO: Account Balance End.
[2025-04-09 14:39:03] Production.INFO: ==11619== Releasing lock...
[2025-04-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:39:04] Production.ERROR: done
[2025-04-09 14:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:39:04] Production.INFO: ==11615== Releasing lock...
[2025-04-09 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:39:05
[end_date_ymd] => 2025-04-09 14:39:05
[RateCDR] => 1
)
[2025-04-09 14:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:39:05' and `end` < '2025-04-09 14:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:39:13] Production.ERROR: CronJobId end10
[2025-04-09 14:39:13] Production.INFO: ==11613== Releasing lock...
[2025-04-09 14:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:39:15] Production.INFO: call_cost start
[2025-04-09 14:39:15] Production.INFO: call_cost end
[2025-04-09 14:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:39:16] Production.INFO: ==11609== Releasing lock...
[2025-04-09 14:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:39:18] Production.INFO: count ==6142
[2025-04-09 14:39:21] Production.ERROR: pbx CDR StartTime 2025-04-09 11:39:05 - End Time 2025-04-09 14:39:05
[2025-04-09 14:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870209', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870209', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870209', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870209', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:39:21] Production.INFO: ProcessCDR(1,14870209,1,1,2)
[2025-04-09 14:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870209', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870209', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:39:26] Production.INFO: ==11617== Releasing lock...
[2025-04-09 14:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:39:26] Production.INFO: 74 MB #Memory Used#
[2025-04-09 19:40:02] Production.INFO: ==11682== Lock acquired, processing the job...
[2025-04-09 19:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:40:02] Production.INFO: neon service started
[2025-04-09 19:40:02] Production.INFO: neon service started
[2025-04-09 19:40:02] Production.INFO: ==11682== Releasing lock...
[2025-04-09 19:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:40:02] Production.INFO: ==11684== Lock acquired, processing the job...
[2025-04-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:40:02] Production.INFO: ==11686== Lock acquired, processing the job...
[2025-04-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:40:02] Production.INFO: ==11686== Releasing lock...
[2025-04-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:40:03] Production.INFO: ==11684== Releasing lock...
[2025-04-09 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:40:04] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:40:04] Production.INFO: ==11697== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:40:04] Production.INFO: ==11689== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:40:04] Production.INFO: Account Balance Start.
[2025-04-09 14:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:40:04] Production.INFO: 117
[2025-04-09 14:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:40:04] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:40:04] Production.INFO: ==11691== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:40:04] Production.ERROR: CronJob PID - 11691
[2025-04-09 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 14:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:40:00
[2025-04-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:40:04] Production.ERROR: CronJob PID - 11695
[2025-04-09 14:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 14:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:40:00
[2025-04-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:40:04] Production.INFO: Total Charge 0
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:40:04] Production.ERROR: CronJob PID - 11697
[2025-04-09 14:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 14:40:04] Production.ERROR: CronJob ID - 12
[2025-04-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:40:00
[2025-04-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 14:40:04] Production.ERROR: CronJob PID - 11703
[2025-04-09 14:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 14:40:04] Production.ERROR: CronJob ID - 19
[2025-04-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 14:40:00
[2025-04-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 14:40:04] Production.INFO: CreateAllLog End
[2025-04-09 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:40:04] Production.INFO: ==11689== Releasing lock...
[2025-04-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:40:04] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:40:04] Production.INFO: count ==12
[2025-04-09 14:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:40:04] Production.INFO: count ==23
[2025-04-09 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870211') start
[2025-04-09 14:40:04] Production.INFO: Account Balance End.
[2025-04-09 14:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:40:04] Production.INFO: ==11697== Releasing lock...
[2025-04-09 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:40:04] Production.INFO: ==11701== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:40:04] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-04-09 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870211') end
[2025-04-09 14:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:40:04] Production.INFO: 1
[2025-04-09 14:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:40:04] Production.INFO: ==11703== Releasing lock...
[2025-04-09 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:40:05] Production.INFO: ==11693== Releasing lock...
[2025-04-09 14:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:40:05] Production.ERROR: done
[2025-04-09 14:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:40:05] Production.ERROR: done
[2025-04-09 14:40:05] Production.ERROR: done
[2025-04-09 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870214', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:40:07
[end_date_ymd] => 2025-04-09 14:40:07
[RateCDR] => 1
)
[2025-04-09 14:40:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:40:07' and `end` < '2025-04-09 14:40:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870214', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:40:10] Production.INFO: ProcessCDR(1,14870214,1,1,2)
[2025-04-09 14:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870214,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:40:10] Production.INFO: ==11701== Releasing lock...
[2025-04-09 14:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:40:15] Production.ERROR: CronJobId end10
[2025-04-09 14:40:15] Production.INFO: ==11695== Releasing lock...
[2025-04-09 14:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:40:17] Production.INFO: call_cost start
[2025-04-09 14:40:17] Production.INFO: call_cost end
[2025-04-09 14:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:40:18] Production.INFO: ==11691== Releasing lock...
[2025-04-09 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:40:21] Production.INFO: count ==6098
[2025-04-09 14:40:24] Production.ERROR: pbx CDR StartTime 2025-04-09 11:40:07 - End Time 2025-04-09 14:40:07
[2025-04-09 14:40:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870215', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870215', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870215', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870215', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:40:24] Production.INFO: ProcessCDR(1,14870215,1,1,2)
[2025-04-09 14:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:40:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:40:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:40:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870215', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870215', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:40:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:40:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:40:29] Production.INFO: ==11699== Releasing lock...
[2025-04-09 14:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:40:29] Production.INFO: 73.5 MB #Memory Used#
[2025-04-09 19:41:01] Production.INFO: ==11759== Lock acquired, processing the job...
[2025-04-09 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:41:01] Production.INFO: neon service started
[2025-04-09 19:41:01] Production.INFO: neon service started
[2025-04-09 19:41:01] Production.INFO: ==11759== Releasing lock...
[2025-04-09 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:41:01] Production.INFO: ==11761== Lock acquired, processing the job...
[2025-04-09 14:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:41:02] Production.INFO: ==11761== Releasing lock...
[2025-04-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:41:02] Production.INFO: ==11763== Lock acquired, processing the job...
[2025-04-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:41:02] Production.INFO: ==11763== Releasing lock...
[2025-04-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:41:03] Production.INFO: ==11771== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:41:03] Production.INFO: ==11773== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:41:03] Production.INFO: ==11765== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:41:03] Production.INFO: ==11769== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:41:03] Production.INFO: ==11767== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:41:03] Production.INFO: Account Balance Start.
[2025-04-09 14:41:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:41:03] Production.INFO: 117
[2025-04-09 14:41:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:41:03] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-04-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:41:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:41:03] Production.INFO: Total Charge 0
[2025-04-09 14:41:03] Production.INFO: CreateAllLog End
[2025-04-09 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:41:03] Production.INFO: count ==12
[2025-04-09 14:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:41:03] Production.INFO: count ==23
[2025-04-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870217') start
[2025-04-09 14:41:03] Production.ERROR: done
[2025-04-09 14:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:41:03] Production.INFO: ==11767== Releasing lock...
[2025-04-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870217') end
[2025-04-09 14:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:41:03] Production.INFO: 1
[2025-04-09 14:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:41:03] Production.INFO: Account Balance End.
[2025-04-09 14:41:04] Production.INFO: ==11776== Releasing lock...
[2025-04-09 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:41:04] Production.INFO: ==11771== Releasing lock...
[2025-04-09 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:41:04] Production.ERROR: done
[2025-04-09 14:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:41:05
[end_date_ymd] => 2025-04-09 14:41:05
[RateCDR] => 1
)
[2025-04-09 14:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:41:05' and `end` < '2025-04-09 14:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:41:12] Production.ERROR: CronJobId end10
[2025-04-09 14:41:12] Production.INFO: ==11769== Releasing lock...
[2025-04-09 14:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:41:15] Production.INFO: call_cost start
[2025-04-09 14:41:15] Production.INFO: call_cost end
[2025-04-09 14:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:41:16] Production.INFO: ==11765== Releasing lock...
[2025-04-09 14:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:41:19] Production.INFO: count ==6073
[2025-04-09 14:41:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:41:05 - End Time 2025-04-09 14:41:05
[2025-04-09 14:41:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870220', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870220', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870220', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870220', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:41:22] Production.INFO: ProcessCDR(1,14870220,1,1,2)
[2025-04-09 14:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:41:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:41:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870220', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870220', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:41:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:41:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:41:28] Production.INFO: ==11773== Releasing lock...
[2025-04-09 14:41:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:41:28] Production.INFO: 73.5 MB #Memory Used#
[2025-04-09 19:42:02] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-04-09 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:42:02] Production.INFO: neon service started
[2025-04-09 19:42:02] Production.INFO: neon service started
[2025-04-09 19:42:02] Production.INFO: ==11837== Releasing lock...
[2025-04-09 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:42:02] Production.INFO: ==11840== Lock acquired, processing the job...
[2025-04-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:42:02] Production.INFO: ==11842== Lock acquired, processing the job...
[2025-04-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:42:02] Production.INFO: ==11842== Releasing lock...
[2025-04-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:42:03] Production.INFO: ==11840== Releasing lock...
[2025-04-09 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:42:04] Production.INFO: ==11844== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:42:04] Production.INFO: ==11848== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:42:04] Production.INFO: ==11846== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:42:04] Production.INFO: ==11850== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:42:04] Production.INFO: ==11852== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:42:04] Production.INFO: ==11854== Lock acquired, processing the job...
[2025-04-09 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:42:04] Production.INFO: Account Balance Start.
[2025-04-09 14:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:42:04] Production.INFO: 117
[2025-04-09 14:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:42:04] Production.INFO: ==11846== Releasing lock...
[2025-04-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:42:04] Production.INFO: Total Charge 0
[2025-04-09 14:42:04] Production.INFO: CreateAllLog End
[2025-04-09 14:42: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-04-09 14:42:05] Production.INFO: count ==12
[2025-04-09 14:42: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-04-09 14:42:05] Production.INFO: count ==23
[2025-04-09 14:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870224') start
[2025-04-09 14:42:05] Production.ERROR: done
[2025-04-09 14:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870224') end
[2025-04-09 14:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:42:05] Production.INFO: 1
[2025-04-09 14:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:42:05] Production.INFO: Account Balance End.
[2025-04-09 14:42:05] Production.INFO: ==11854== Releasing lock...
[2025-04-09 14:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:42:05] Production.ERROR: done
[2025-04-09 14:42:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:42:05] Production.INFO: ==11850== Releasing lock...
[2025-04-09 14:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:42:06
[end_date_ymd] => 2025-04-09 14:42:06
[RateCDR] => 1
)
[2025-04-09 14:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:42:06' and `end` < '2025-04-09 14:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:42:14] Production.ERROR: CronJobId end10
[2025-04-09 14:42:14] Production.INFO: ==11848== Releasing lock...
[2025-04-09 14:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:42:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:42:16] Production.INFO: call_cost start
[2025-04-09 14:42:16] Production.INFO: call_cost end
[2025-04-09 14:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:42:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:42:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:42:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:42:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:42:17] Production.INFO: ==11844== Releasing lock...
[2025-04-09 14:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:42:20] Production.INFO: count ==6041
[2025-04-09 14:42:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:42:06 - End Time 2025-04-09 14:42:06
[2025-04-09 14:42:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870225', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870225', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870225', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870225', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:42:23] Production.INFO: ProcessCDR(1,14870225,1,1,2)
[2025-04-09 14:42:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:42:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:42:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:42:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870225', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870225', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:42:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:42:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:42:28] Production.INFO: ==11852== Releasing lock...
[2025-04-09 14:42:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:42:28] Production.INFO: 73.25 MB #Memory Used#
[2025-04-09 19:43:01] Production.INFO: ==11919== Lock acquired, processing the job...
[2025-04-09 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:43:01] Production.INFO: neon service started
[2025-04-09 19:43:01] Production.INFO: neon service started
[2025-04-09 19:43:01] Production.INFO: ==11919== Releasing lock...
[2025-04-09 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:43:01] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-04-09 18:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:43:02] Production.INFO: ==11923== Releasing lock...
[2025-04-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:43:02] Production.INFO: ==11921== Lock acquired, processing the job...
[2025-04-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:43:02] Production.INFO: ==11921== Releasing lock...
[2025-04-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:43:03] Production.INFO: ==11930== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:43:03] Production.INFO: ==11926== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:43:03] Production.INFO: ==11928== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:43:03] Production.INFO: ==11934== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:43:03] Production.INFO: ==11932== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:43:03] Production.INFO: ==11936== Lock acquired, processing the job...
[2025-04-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:43:03] Production.INFO: Account Balance Start.
[2025-04-09 14:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:43:03] Production.INFO: 117
[2025-04-09 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:43:03] Production.INFO: count ==12
[2025-04-09 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:43:03] Production.INFO: count ==23
[2025-04-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870229') start
[2025-04-09 14:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:43:03] Production.INFO: ==11928== Releasing lock...
[2025-04-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:43:03] Production.INFO: Total Charge 0
[2025-04-09 14:43:04] Production.INFO: CreateAllLog End
[2025-04-09 14:43:04] Production.ERROR: done
[2025-04-09 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870229') end
[2025-04-09 14:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:43:04] Production.INFO: 1
[2025-04-09 14:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:43:04] Production.INFO: ==11936== Releasing lock...
[2025-04-09 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:43:04] Production.ERROR: done
[2025-04-09 14:43:04] Production.INFO: Account Balance End.
[2025-04-09 14:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:43:04] Production.INFO: ==11932== Releasing lock...
[2025-04-09 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:43:05
[end_date_ymd] => 2025-04-09 14:43:05
[RateCDR] => 1
)
[2025-04-09 14:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:43:05' and `end` < '2025-04-09 14:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:43:13] Production.ERROR: CronJobId end10
[2025-04-09 14:43:13] Production.INFO: ==11930== Releasing lock...
[2025-04-09 14:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:43:14] Production.INFO: call_cost start
[2025-04-09 14:43:14] Production.INFO: call_cost end
[2025-04-09 14:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:43:15] Production.INFO: ==11926== Releasing lock...
[2025-04-09 14:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:43:19] Production.INFO: count ==6045
[2025-04-09 14:43:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:43:05 - End Time 2025-04-09 14:43:05
[2025-04-09 14:43:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870230', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870230', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870230', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870230', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:43:22] Production.INFO: ProcessCDR(1,14870230,1,1,2)
[2025-04-09 14:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870230', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870230', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:43:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:43:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:43:28] Production.INFO: ==11934== Releasing lock...
[2025-04-09 14:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:43:28] Production.INFO: 73.25 MB #Memory Used#
[2025-04-09 19:44:02] Production.INFO: ==12016== Lock acquired, processing the job...
[2025-04-09 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:44:02] Production.INFO: neon service started
[2025-04-09 19:44:02] Production.INFO: neon service started
[2025-04-09 19:44:02] Production.INFO: ==12016== Releasing lock...
[2025-04-09 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 18:44:02] Production.INFO: ==12020== Lock acquired, processing the job...
[2025-04-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:44:02] Production.INFO: ==12020== Releasing lock...
[2025-04-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:44:02] Production.INFO: ==12018== Lock acquired, processing the job...
[2025-04-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:44:02] Production.INFO: ==12018== Releasing lock...
[2025-04-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:44:03] Production.INFO: ==12027== Lock acquired, processing the job...
[2025-04-09 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:44:03] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-04-09 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:44:03] Production.INFO: ==12033== Lock acquired, processing the job...
[2025-04-09 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:44:04] Production.INFO: ==12025== Lock acquired, processing the job...
[2025-04-09 14:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:44:04] Production.INFO: ==12027== Releasing lock...
[2025-04-09 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:44:04] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-04-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:44:04] Production.INFO: ==12031== Lock acquired, processing the job...
[2025-04-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:44:04] Production.ERROR: done
[2025-04-09 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:44:04] Production.INFO: Account Balance Start.
[2025-04-09 14:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:44:04] Production.INFO: 117
[2025-04-09 14:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:44:04] Production.ERROR: done
[2025-04-09 14:44:04] Production.INFO: count ==12
[2025-04-09 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-04-09 14:44:04] Production.INFO: count ==23
[2025-04-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870232') start
[2025-04-09 14:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:44:04] Production.INFO: Total Charge 0
[2025-04-09 14:44:04] Production.INFO: CreateAllLog End
[2025-04-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870232') end
[2025-04-09 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:44:04] Production.INFO: 1
[2025-04-09 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:44:04] Production.INFO: ==12035== Releasing lock...
[2025-04-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:44:04] Production.INFO: Account Balance End.
[2025-04-09 14:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:44:04] Production.INFO: ==12031== Releasing lock...
[2025-04-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:44:05
[end_date_ymd] => 2025-04-09 14:44:05
[RateCDR] => 1
)
[2025-04-09 14:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:44:05' and `end` < '2025-04-09 14:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:44:13] Production.ERROR: CronJobId end10
[2025-04-09 14:44:13] Production.INFO: ==12029== Releasing lock...
[2025-04-09 14:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:44:15] Production.INFO: call_cost start
[2025-04-09 14:44:15] Production.INFO: call_cost end
[2025-04-09 14:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:44:16] Production.INFO: ==12025== Releasing lock...
[2025-04-09 14:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:44:19] Production.INFO: count ==6044
[2025-04-09 14:44:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:44:05 - End Time 2025-04-09 14:44:05
[2025-04-09 14:44:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870235', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870235', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870235', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870235', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:44:22] Production.INFO: ProcessCDR(1,14870235,1,1,2)
[2025-04-09 14:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870235', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870235', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:44:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:44:27] Production.INFO: ==12033== Releasing lock...
[2025-04-09 14:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:44:27] Production.INFO: 73.25 MB #Memory Used#
[2025-04-09 19:45:01] Production.INFO: ==12116== Lock acquired, processing the job...
[2025-04-09 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:45:01] Production.INFO: neon service started
[2025-04-09 19:45:01] Production.INFO: neon service started
[2025-04-09 19:45:01] Production.INFO: ==12116== Releasing lock...
[2025-04-09 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:45:01] Production.INFO: ==12120== Lock acquired, processing the job...
[2025-04-09 18:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:45:01] Production.INFO: ==12120== Releasing lock...
[2025-04-09 18:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:45:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:45:02] Production.INFO: ==12118== Lock acquired, processing the job...
[2025-04-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:45:02] Production.INFO: ==12118== Releasing lock...
[2025-04-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:45:03] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:45:03] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:45:03] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:45:03] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:45:03] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:45:03] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-04-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:45:03] Production.INFO: Account Balance Start.
[2025-04-09 14:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:45:03] Production.INFO: 117
[2025-04-09 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:45:03] Production.ERROR: done
[2025-04-09 14:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:45:03] Production.INFO: Total Charge 0
[2025-04-09 14:45:03] Production.INFO: CreateAllLog End
[2025-04-09 14:45:03] Production.INFO: count ==12
[2025-04-09 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:45:03] Production.INFO: count ==23
[2025-04-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870239') start
[2025-04-09 14:45:03] Production.ERROR: done
[2025-04-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870239') end
[2025-04-09 14:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:45:03] Production.INFO: 1
[2025-04-09 14:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:45:04] Production.INFO: ==12125== Releasing lock...
[2025-04-09 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:45:04] Production.INFO: Account Balance End.
[2025-04-09 14:45:04] Production.INFO: ==12133== Releasing lock...
[2025-04-09 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:45:04] Production.INFO: ==12129== Releasing lock...
[2025-04-09 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:45:05
[end_date_ymd] => 2025-04-09 14:45:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:45:05' and `end` < '2025-04-09 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-04-09 14:45:13] Production.ERROR: CronJobId end10
[2025-04-09 14:45:13] Production.INFO: ==12127== Releasing lock...
[2025-04-09 14:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:45:15] Production.INFO: call_cost start
[2025-04-09 14:45:15] Production.INFO: call_cost end
[2025-04-09 14:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:45:16] Production.INFO: ==12123== Releasing lock...
[2025-04-09 14:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:45:19] Production.INFO: count ==6036
[2025-04-09 14:45:21] Production.ERROR: pbx CDR StartTime 2025-04-09 11:45:05 - End Time 2025-04-09 14:45:05
[2025-04-09 14:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870240', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870240', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870240', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870240', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:45:21] Production.INFO: ProcessCDR(1,14870240,1,1,2)
[2025-04-09 14:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870240', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870240', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:45:27] Production.INFO: ==12131== Releasing lock...
[2025-04-09 14:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:45:27] Production.INFO: 73.25 MB #Memory Used#
[2025-04-09 19:46:01] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-04-09 19:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:46:01] Production.INFO: neon service started
[2025-04-09 19:46:01] Production.INFO: neon service started
[2025-04-09 19:46:01] Production.INFO: ==12218== Releasing lock...
[2025-04-09 19:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:46:02] Production.INFO: ==12222== Lock acquired, processing the job...
[2025-04-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:46:02] Production.INFO: ==12222== Releasing lock...
[2025-04-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:46:02] Production.INFO: ==12220== Lock acquired, processing the job...
[2025-04-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:46:02] Production.INFO: ==12220== Releasing lock...
[2025-04-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:46:03] Production.INFO: ==12226== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:46:03] Production.INFO: ==12230== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:46:03] Production.INFO: ==12224== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:46:03] Production.INFO: Account Balance Start.
[2025-04-09 14:46:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:46:03] Production.INFO: 117
[2025-04-09 14:46:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:46:03] Production.INFO: ==12226== Releasing lock...
[2025-04-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:46:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:46:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:46:03] Production.INFO: ==12228== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:46:03] Production.INFO: Total Charge 0
[2025-04-09 14:46:03] Production.INFO: ==12234== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:46:03] Production.INFO: ==12232== Lock acquired, processing the job...
[2025-04-09 14:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:46:03] Production.INFO: CreateAllLog End
[2025-04-09 14:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:46:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 14:46:04] Production.INFO: count ==12
[2025-04-09 14:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:46:04] Production.INFO: ==12230== Releasing lock...
[2025-04-09 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 14:46:04] Production.INFO: count ==23
[2025-04-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870244') start
[2025-04-09 14:46:04] Production.ERROR: done
[2025-04-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870244') end
[2025-04-09 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:46:04] Production.INFO: 1
[2025-04-09 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:46:04] Production.INFO: ==12234== Releasing lock...
[2025-04-09 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:46:04] Production.ERROR: done
[2025-04-09 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:46:05
[end_date_ymd] => 2025-04-09 14:46:05
[RateCDR] => 1
)
[2025-04-09 14:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:46:05' and `end` < '2025-04-09 14:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:46:13] Production.ERROR: CronJobId end10
[2025-04-09 14:46:13] Production.INFO: ==12228== Releasing lock...
[2025-04-09 14:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:46:16] Production.INFO: call_cost start
[2025-04-09 14:46:16] Production.INFO: call_cost end
[2025-04-09 14:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:46:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:46:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:46:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:46:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:46:17] Production.INFO: ==12224== Releasing lock...
[2025-04-09 14:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:46:19] Production.INFO: count ==6028
[2025-04-09 14:46:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:46:05 - End Time 2025-04-09 14:46:05
[2025-04-09 14:46:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870245', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870245', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870245', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870245', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:46:22] Production.INFO: ProcessCDR(1,14870245,1,1,2)
[2025-04-09 14:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870245', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870245', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:46:27] Production.INFO: ==12232== Releasing lock...
[2025-04-09 14:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:46:27] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:47:02] Production.INFO: ==12314== Lock acquired, processing the job...
[2025-04-09 19:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:47:02] Production.INFO: neon service started
[2025-04-09 19:47:02] Production.INFO: neon service started
[2025-04-09 19:47:02] Production.INFO: ==12314== Releasing lock...
[2025-04-09 19:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:47:02] Production.INFO: ==12316== Lock acquired, processing the job...
[2025-04-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:47:02] Production.INFO: ==12318== Lock acquired, processing the job...
[2025-04-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:47:03] Production.INFO: ==12318== Releasing lock...
[2025-04-09 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:47:03] Production.INFO: ==12316== Releasing lock...
[2025-04-09 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:47:04] Production.INFO: ==12321== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:47:04] Production.INFO: ==12325== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:47:04] Production.INFO: ==12323== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:47:04] Production.INFO: ==12327== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:47:04] Production.INFO: ==12329== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:47:04] Production.INFO: ==12331== Lock acquired, processing the job...
[2025-04-09 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:47:04] Production.INFO: Account Balance Start.
[2025-04-09 14:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:47:04] Production.INFO: 117
[2025-04-09 14:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:47:04] Production.INFO: count ==12
[2025-04-09 14:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:47:04] Production.INFO: count ==23
[2025-04-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870249') start
[2025-04-09 14:47:04] Production.INFO: ==12323== Releasing lock...
[2025-04-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:47:04] Production.INFO: Total Charge 0
[2025-04-09 14:47:04] Production.INFO: CreateAllLog End
[2025-04-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870249') end
[2025-04-09 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:47:04] Production.INFO: 1
[2025-04-09 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:47:05] Production.INFO: ==12331== Releasing lock...
[2025-04-09 14:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:47:05] Production.ERROR: done
[2025-04-09 14:47:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:47:05] Production.INFO: Account Balance End.
[2025-04-09 14:47:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:47:05] Production.INFO: ==12327== Releasing lock...
[2025-04-09 14:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:47:05] Production.ERROR: done
[2025-04-09 14:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:47:06
[end_date_ymd] => 2025-04-09 14:47:06
[RateCDR] => 1
)
[2025-04-09 14:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:47:06' and `end` < '2025-04-09 14:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:47:14] Production.ERROR: CronJobId end10
[2025-04-09 14:47:14] Production.INFO: ==12325== Releasing lock...
[2025-04-09 14:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:47:15] Production.INFO: call_cost start
[2025-04-09 14:47:15] Production.INFO: call_cost end
[2025-04-09 14:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:47:16] Production.INFO: ==12321== Releasing lock...
[2025-04-09 14:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:47:20] Production.INFO: count ==6021
[2025-04-09 14:47:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:47:06 - End Time 2025-04-09 14:47:06
[2025-04-09 14:47:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870250', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870250', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870250', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870250', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:47:23] Production.INFO: ProcessCDR(1,14870250,1,1,2)
[2025-04-09 14:47:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:47:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:47:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:47:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870250', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870250', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:47:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:47:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:47:28] Production.INFO: ==12329== Releasing lock...
[2025-04-09 14:47:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:47:28] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:48:01] Production.INFO: ==12390== Lock acquired, processing the job...
[2025-04-09 19:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:48:01] Production.INFO: neon service started
[2025-04-09 19:48:01] Production.INFO: neon service started
[2025-04-09 19:48:01] Production.INFO: ==12390== Releasing lock...
[2025-04-09 19:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:48:02] Production.INFO: ==12394== Lock acquired, processing the job...
[2025-04-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:48:02] Production.INFO: ==12392== Lock acquired, processing the job...
[2025-04-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:48:02] Production.INFO: ==12394== Releasing lock...
[2025-04-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:48:02] Production.INFO: ==12392== Releasing lock...
[2025-04-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:48:03] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-04-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:48:03] Production.INFO: ==12401== Lock acquired, processing the job...
[2025-04-09 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:48:03] Production.INFO: ==12405== Lock acquired, processing the job...
[2025-04-09 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:48:03] Production.INFO: ==12399== Releasing lock...
[2025-04-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:48:03] Production.INFO: ==12397== Lock acquired, processing the job...
[2025-04-09 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:48:03] Production.INFO: ==12403== Lock acquired, processing the job...
[2025-04-09 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:48:04] Production.INFO: ==12407== Lock acquired, processing the job...
[2025-04-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:48:04] Production.ERROR: done
[2025-04-09 14:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:48:04] Production.INFO: Account Balance Start.
[2025-04-09 14:48:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:48:04] Production.INFO: 117
[2025-04-09 14:48:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:48:04] Production.ERROR: done
[2025-04-09 14:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:48:04] Production.INFO: Total Charge 0
[2025-04-09 14:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:48:04] Production.INFO: count ==12
[2025-04-09 14:48:04] Production.INFO: CreateAllLog End
[2025-04-09 14:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:48:04] Production.INFO: count ==23
[2025-04-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870254') start
[2025-04-09 14:48:04] Production.INFO: Account Balance End.
[2025-04-09 14:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:48:04] Production.INFO: ==12403== Releasing lock...
[2025-04-09 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870254') end
[2025-04-09 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:48:04] Production.INFO: 1
[2025-04-09 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:48:04] Production.INFO: ==12407== Releasing lock...
[2025-04-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:48:05
[end_date_ymd] => 2025-04-09 14:48:05
[RateCDR] => 1
)
[2025-04-09 14:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:48:05' and `end` < '2025-04-09 14:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:48:12] Production.ERROR: CronJobId end10
[2025-04-09 14:48:12] Production.INFO: ==12401== Releasing lock...
[2025-04-09 14:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:48:14] Production.INFO: call_cost start
[2025-04-09 14:48:14] Production.INFO: call_cost end
[2025-04-09 14:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:48:15] Production.INFO: ==12397== Releasing lock...
[2025-04-09 14:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:48:19] Production.INFO: count ==6028
[2025-04-09 14:48:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:48:05 - End Time 2025-04-09 14:48:05
[2025-04-09 14:48:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870255', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870255', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870255', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870255', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:48:22] Production.INFO: ProcessCDR(1,14870255,1,1,2)
[2025-04-09 14:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870255', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870255', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:48:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:48:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:48:27] Production.INFO: ==12405== Releasing lock...
[2025-04-09 14:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:48:27] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:49:02] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-04-09 19:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:49:02] Production.INFO: neon service started
[2025-04-09 19:49:02] Production.INFO: neon service started
[2025-04-09 19:49:02] Production.INFO: ==12468== Releasing lock...
[2025-04-09 19:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:49:02] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-04-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:49:02] Production.INFO: ==12472== Releasing lock...
[2025-04-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:49:02] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-04-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:49:02] Production.INFO: ==12470== Releasing lock...
[2025-04-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:49:03] Production.INFO: ==12474== Lock acquired, processing the job...
[2025-04-09 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:49:03] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-04-09 14:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:49:03] Production.INFO: ==12482== Lock acquired, processing the job...
[2025-04-09 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:49:04] Production.INFO: ==12476== Lock acquired, processing the job...
[2025-04-09 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:49:04] Production.INFO: ==12480== Lock acquired, processing the job...
[2025-04-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:49:04] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-04-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:49:04] Production.ERROR: done
[2025-04-09 14:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:49:04] Production.INFO: Account Balance Start.
[2025-04-09 14:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:49:04] Production.INFO: 117
[2025-04-09 14:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:49:04] Production.INFO: count ==12
[2025-04-09 14:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:49:04] Production.ERROR: done
[2025-04-09 14:49:04] Production.INFO: count ==23
[2025-04-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870259') start
[2025-04-09 14:49:04] Production.INFO: Total Charge 0
[2025-04-09 14:49:04] Production.INFO: ==12476== Releasing lock...
[2025-04-09 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:49:04] Production.INFO: CreateAllLog End
[2025-04-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870259') end
[2025-04-09 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:49:04] Production.INFO: 1
[2025-04-09 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:49:04] Production.INFO: ==12484== Releasing lock...
[2025-04-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:49:04] Production.INFO: Account Balance End.
[2025-04-09 14:49:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:49:05] Production.INFO: ==12480== Releasing lock...
[2025-04-09 14:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:49:05
[end_date_ymd] => 2025-04-09 14:49:05
[RateCDR] => 1
)
[2025-04-09 14: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-04-09 11:49:05' and `end` < '2025-04-09 14: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-04-09 14:49:13] Production.ERROR: CronJobId end10
[2025-04-09 14:49:13] Production.INFO: ==12478== Releasing lock...
[2025-04-09 14:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:49:15] Production.INFO: call_cost start
[2025-04-09 14:49:15] Production.INFO: call_cost end
[2025-04-09 14:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:49:16] Production.INFO: ==12474== Releasing lock...
[2025-04-09 14:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:49:19] Production.INFO: count ==6022
[2025-04-09 14:49:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:49:05 - End Time 2025-04-09 14:49:05
[2025-04-09 14:49:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870260', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870260', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870260', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870260', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:49:22] Production.INFO: ProcessCDR(1,14870260,1,1,2)
[2025-04-09 14:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:49:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870260', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870260', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:49:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:49:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:49:27] Production.INFO: ==12482== Releasing lock...
[2025-04-09 14:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:49:27] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:50:01] Production.INFO: ==12542== Lock acquired, processing the job...
[2025-04-09 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:50:01] Production.INFO: neon service started
[2025-04-09 19:50:01] Production.INFO: neon service started
[2025-04-09 19:50:01] Production.INFO: ==12542== Releasing lock...
[2025-04-09 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:50:02] Production.INFO: ==12547== Lock acquired, processing the job...
[2025-04-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:50:02] Production.INFO: ==12547== Releasing lock...
[2025-04-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:50:02] Production.INFO: ==12545== Lock acquired, processing the job...
[2025-04-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:50:02] Production.INFO: ==12545== Releasing lock...
[2025-04-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:50:03] Production.INFO: ==12549== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 14:50:03] Production.INFO: ==12551== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 14:50:03] Production.INFO: ==12553== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 14:50:03] Production.INFO: ==12549== Releasing lock...
[2025-04-09 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 14:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 14:50:03] Production.INFO: ==12555== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:50:03] Production.INFO: ==12557== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:50:03] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-04-09 14:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:50:03] Production.INFO: Account Balance Start.
[2025-04-09 14:50:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:50:03] Production.INFO: 117
[2025-04-09 14:50:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:50:04] Production.INFO: ==12561== Lock acquired, processing the job...
[2025-04-09 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 14:50:04] Production.INFO: ==12563== Lock acquired, processing the job...
[2025-04-09 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:50:04] Production.INFO: ==12553== Releasing lock...
[2025-04-09 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:50:04] Production.INFO: Total Charge 0
[2025-04-09 14:50:04] Production.INFO: count ==12
[2025-04-09 14:50:04] Production.INFO: CreateAllLog End
[2025-04-09 14:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:50:04] Production.INFO: count ==23
[2025-04-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870264') start
[2025-04-09 14:50:04] Production.ERROR: done
[2025-04-09 14:50:04] Production.ERROR: done
[2025-04-09 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870264') end
[2025-04-09 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:50:04] Production.INFO: 1
[2025-04-09 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870265', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 14:50:04] Production.INFO: ==12563== Releasing lock...
[2025-04-09 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:50:05] Production.INFO: Account Balance End.
[2025-04-09 14:50:05] Production.ERROR: done
[2025-04-09 14:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:50:05] Production.INFO: ==12557== Releasing lock...
[2025-04-09 14:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:50:06
[end_date_ymd] => 2025-04-09 14:50:06
[RateCDR] => 1
)
[2025-04-09 14:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:50:06' and `end` < '2025-04-09 14:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870265', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 14:50:09] Production.INFO: ProcessCDR(1,14870265,1,1,2)
[2025-04-09 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870265,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:50:09] Production.INFO: ==12561== Releasing lock...
[2025-04-09 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 14:50:15] Production.ERROR: CronJobId end10
[2025-04-09 14:50:15] Production.INFO: ==12555== Releasing lock...
[2025-04-09 14:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:50:17] Production.INFO: call_cost start
[2025-04-09 14:50:17] Production.INFO: call_cost end
[2025-04-09 14:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:50:18] Production.INFO: ==12551== Releasing lock...
[2025-04-09 14:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:50:19] Production.INFO: count ==6028
[2025-04-09 14:50:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:50:06 - End Time 2025-04-09 14:50:06
[2025-04-09 14:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870266', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870266', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870266', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870266', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:50:22] Production.INFO: ProcessCDR(1,14870266,1,1,2)
[2025-04-09 14:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870266', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870266', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:50:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:50:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:50:28] Production.INFO: ==12559== Releasing lock...
[2025-04-09 14:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:50:28] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:51:02] Production.INFO: ==12626== Lock acquired, processing the job...
[2025-04-09 19:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:51:02] Production.INFO: neon service started
[2025-04-09 19:51:02] Production.INFO: neon service started
[2025-04-09 19:51:02] Production.INFO: ==12626== Releasing lock...
[2025-04-09 19:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:51:02] Production.INFO: ==12628== Lock acquired, processing the job...
[2025-04-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:51:02] Production.INFO: ==12630== Lock acquired, processing the job...
[2025-04-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:51:02] Production.INFO: ==12630== Releasing lock...
[2025-04-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:51:03] Production.INFO: ==12628== Releasing lock...
[2025-04-09 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:51:03] Production.INFO: ==12637== Lock acquired, processing the job...
[2025-04-09 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:51:04] Production.INFO: ==12639== Lock acquired, processing the job...
[2025-04-09 14:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:51:04] Production.INFO: ==12635== Lock acquired, processing the job...
[2025-04-09 14:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:51:04] Production.INFO: ==12641== Lock acquired, processing the job...
[2025-04-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:51:04] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-04-09 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:51:04] Production.INFO: Account Balance Start.
[2025-04-09 14:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:51:04] Production.INFO: 117
[2025-04-09 14:51:04] Production.INFO: ==12637== Releasing lock...
[2025-04-09 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:51:04] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-04-09 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:51:04] Production.INFO: Total Charge 0
[2025-04-09 14:51:04] Production.INFO: CreateAllLog End
[2025-04-09 14:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:51:04] Production.INFO: count ==12
[2025-04-09 14:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:51:04] Production.INFO: count ==23
[2025-04-09 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870270') start
[2025-04-09 14:51:04] Production.ERROR: done
[2025-04-09 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:51:05] Production.INFO: Account Balance End.
[2025-04-09 14:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870270') end
[2025-04-09 14:51:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:51:05] Production.INFO: 1
[2025-04-09 14:51:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:51:05] Production.INFO: ==12645== Releasing lock...
[2025-04-09 14:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:51:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:51:05] Production.INFO: ==12641== Releasing lock...
[2025-04-09 14:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:51:05] Production.ERROR: done
[2025-04-09 14:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:51:06
[end_date_ymd] => 2025-04-09 14:51:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 11:51:06' and `end` < '2025-04-09 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-04-09 14:51:15] Production.ERROR: CronJobId end10
[2025-04-09 14:51:15] Production.INFO: ==12639== Releasing lock...
[2025-04-09 14:51:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:51:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:51:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:51:17] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:51:17] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:51:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:51:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:51:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:51:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:51:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:51:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:51:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:51:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:51:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:51:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:51:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:51:17] Production.INFO: call_cost start
[2025-04-09 14:51:17] Production.INFO: call_cost end
[2025-04-09 14:51:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:51:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:51:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:51:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:51:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:51:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:51:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:51:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:51:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:51:18] Production.INFO: ==12635== Releasing lock...
[2025-04-09 14:51:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:51:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:51:20] Production.INFO: count ==6027
[2025-04-09 14:51:23] Production.ERROR: pbx CDR StartTime 2025-04-09 11:51:06 - End Time 2025-04-09 14:51:06
[2025-04-09 14:51:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870271', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870271', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870271', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870271', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:51:23] Production.INFO: ProcessCDR(1,14870271,1,1,2)
[2025-04-09 14:51:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:51:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:51:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:51:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870271', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870271', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:51:29] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:51:29] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:51:29] Production.INFO: ==12643== Releasing lock...
[2025-04-09 14:51:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:51:29] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:52:01] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-04-09 19:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:52:01] Production.INFO: neon service started
[2025-04-09 19:52:01] Production.INFO: neon service started
[2025-04-09 19:52:01] Production.INFO: ==12704== Releasing lock...
[2025-04-09 19:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:52:02] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-04-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:52:02] Production.INFO: ==12708== Releasing lock...
[2025-04-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:52:02] Production.INFO: ==12706== Lock acquired, processing the job...
[2025-04-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:52:02] Production.INFO: ==12706== Releasing lock...
[2025-04-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:52:03] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-04-09 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:52:03] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-04-09 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:52:03] Production.INFO: Account Balance Start.
[2025-04-09 14:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:52:03] Production.INFO: 117
[2025-04-09 14:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:52:03] Production.INFO: Total Charge 0
[2025-04-09 14:52:03] Production.INFO: CreateAllLog End
[2025-04-09 14: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-04-09 14:52:03] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-04-09 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:52:03] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-04-09 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:52:03] Production.INFO: Account Balance End.
[2025-04-09 14:52:03] Production.INFO: count ==12
[2025-04-09 14:52:03] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-04-09 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14: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-04-09 14:52:03] Production.INFO: count ==23
[2025-04-09 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870273') start
[2025-04-09 14:52:04] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-04-09 14:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:52:04] Production.INFO: ==12717== Releasing lock...
[2025-04-09 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870273') end
[2025-04-09 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:52:04] Production.INFO: 1
[2025-04-09 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:52:04] Production.INFO: ==12721== Releasing lock...
[2025-04-09 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:52:04] Production.INFO: ==12713== Releasing lock...
[2025-04-09 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:52:04] Production.ERROR: done
[2025-04-09 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:52:04] Production.ERROR: done
[2025-04-09 14:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:52:06
[end_date_ymd] => 2025-04-09 14:52:06
[RateCDR] => 1
)
[2025-04-09 14:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:52:06' and `end` < '2025-04-09 14:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:52:14] Production.ERROR: CronJobId end10
[2025-04-09 14:52:14] Production.INFO: ==12715== Releasing lock...
[2025-04-09 14:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:52:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:52:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:52:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:52:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:52:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:52:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:52:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:52:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:52:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:52:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:52:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:52:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:52:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:52:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:52:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:52:16] Production.INFO: call_cost start
[2025-04-09 14:52:16] Production.INFO: call_cost end
[2025-04-09 14:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:52:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:52:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:52:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:52:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:52:17] Production.INFO: ==12711== Releasing lock...
[2025-04-09 14:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:52:19] Production.INFO: count ==6009
[2025-04-09 14:52:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:52:06 - End Time 2025-04-09 14:52:06
[2025-04-09 14:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870276', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870276', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870276', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870276', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:52:22] Production.INFO: ProcessCDR(1,14870276,1,1,2)
[2025-04-09 14:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870276', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870276', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:52:27] Production.INFO: ==12719== Releasing lock...
[2025-04-09 14:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:52:27] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:53:02] Production.INFO: ==12787== Lock acquired, processing the job...
[2025-04-09 19:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:53:02] Production.INFO: neon service started
[2025-04-09 19:53:02] Production.INFO: neon service started
[2025-04-09 19:53:02] Production.INFO: ==12787== Releasing lock...
[2025-04-09 19:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:53:02] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-04-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:53:02] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-04-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:53:02] Production.INFO: ==12791== Releasing lock...
[2025-04-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:53:03] Production.INFO: ==12789== Releasing lock...
[2025-04-09 14:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:53:03] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-04-09 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:53:04] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-04-09 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:53:04] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-04-09 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:53:04] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-04-09 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:53:04] Production.INFO: ==12794== Lock acquired, processing the job...
[2025-04-09 14:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:53:04] Production.INFO: count ==12
[2025-04-09 14:53:04] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-04-09 14:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:53:04] Production.INFO: count ==23
[2025-04-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870277') start
[2025-04-09 14:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:53:04] Production.INFO: Account Balance Start.
[2025-04-09 14:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:53:04] Production.INFO: 117
[2025-04-09 14:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:53:04] Production.ERROR: done
[2025-04-09 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870277') end
[2025-04-09 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:53:04] Production.INFO: 1
[2025-04-09 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:53:04] Production.INFO: Total Charge 0
[2025-04-09 14:53:04] Production.INFO: CreateAllLog End
[2025-04-09 14:53:04] Production.INFO: ==12804== Releasing lock...
[2025-04-09 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:53:04] Production.ERROR: done
[2025-04-09 14:53:04] Production.INFO: Account Balance End.
[2025-04-09 14:53:04] Production.INFO: ==12796== Releasing lock...
[2025-04-09 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:53:05] Production.ERROR: CronJobId end 12
[2025-04-09 14:53:05] Production.INFO: ==12800== Releasing lock...
[2025-04-09 14:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:53:05
[end_date_ymd] => 2025-04-09 14:53:05
[RateCDR] => 1
)
[2025-04-09 14:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:53:05' and `end` < '2025-04-09 14:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:53:12] Production.ERROR: CronJobId end10
[2025-04-09 14:53:12] Production.INFO: ==12798== Releasing lock...
[2025-04-09 14:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:53:14] Production.INFO: call_cost start
[2025-04-09 14:53:14] Production.INFO: call_cost end
[2025-04-09 14:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:53:15] Production.INFO: ==12794== Releasing lock...
[2025-04-09 14:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:53:19] Production.INFO: count ==6029
[2025-04-09 14:53:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:53:05 - End Time 2025-04-09 14:53:05
[2025-04-09 14:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870281', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870281', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870281', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870281', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:53:22] Production.INFO: ProcessCDR(1,14870281,1,1,2)
[2025-04-09 14:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870281', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870281', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:53:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:53:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:53:27] Production.INFO: ==12802== Releasing lock...
[2025-04-09 14:53:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:53:27] Production.INFO: 73 MB #Memory Used#
[2025-04-09 19:54:01] Production.INFO: ==12906== Lock acquired, processing the job...
[2025-04-09 19:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:54:01] Production.INFO: neon service started
[2025-04-09 19:54:01] Production.INFO: neon service started
[2025-04-09 19:54:01] Production.INFO: ==12906== Releasing lock...
[2025-04-09 19:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:54:01] Production.INFO: ==12908== Lock acquired, processing the job...
[2025-04-09 14:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:54:02] Production.INFO: ==12908== Releasing lock...
[2025-04-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:54:02] Production.INFO: ==12910== Lock acquired, processing the job...
[2025-04-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:54:02] Production.INFO: ==12910== Releasing lock...
[2025-04-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:54:03] Production.INFO: ==12916== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:54:03] Production.INFO: ==12923== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 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-04-09 14:54:03] Production.INFO: ==12912== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:54:03] Production.INFO: count ==12
[2025-04-09 14:54:03] Production.INFO: ==12914== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 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-04-09 14:54:03] Production.INFO: count ==23
[2025-04-09 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870282') start
[2025-04-09 14:54:03] Production.INFO: ==12918== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:54:03] Production.INFO: ==12920== Lock acquired, processing the job...
[2025-04-09 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870282') end
[2025-04-09 14:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:54:03] Production.INFO: 1
[2025-04-09 14:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:54:03] Production.INFO: Account Balance Start.
[2025-04-09 14:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:54:03] Production.INFO: 117
[2025-04-09 14:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:54:03] Production.INFO: Total Charge 0
[2025-04-09 14:54:03] Production.INFO: CreateAllLog End
[2025-04-09 14:54:03] Production.INFO: ==12923== Releasing lock...
[2025-04-09 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:54:03] Production.INFO: ==12914== Releasing lock...
[2025-04-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:54:04] Production.INFO: Account Balance End.
[2025-04-09 14:54:04] Production.ERROR: done
[2025-04-09 14:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:54:04] Production.INFO: ==12918== Releasing lock...
[2025-04-09 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:54:04] Production.ERROR: done
[2025-04-09 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:54:05
[end_date_ymd] => 2025-04-09 14:54:05
[RateCDR] => 1
)
[2025-04-09 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:54:05' and `end` < '2025-04-09 14:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:54:12] Production.ERROR: CronJobId end10
[2025-04-09 14:54:12] Production.INFO: ==12916== Releasing lock...
[2025-04-09 14:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:54:15] Production.INFO: call_cost start
[2025-04-09 14:54:15] Production.INFO: call_cost end
[2025-04-09 14:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:54:16] Production.INFO: ==12912== Releasing lock...
[2025-04-09 14:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:54:19] Production.INFO: count ==5995
[2025-04-09 14:54:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:54:05 - End Time 2025-04-09 14:54:05
[2025-04-09 14:54:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870286', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870286', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870286', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870286', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:54:22] Production.INFO: ProcessCDR(1,14870286,1,1,2)
[2025-04-09 14:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870286', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870286', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:54:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:54:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:54:27] Production.INFO: ==12920== Releasing lock...
[2025-04-09 14:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:54:27] Production.INFO: 72.75 MB #Memory Used#
[2025-04-09 19:55:02] Production.INFO: ==12990== Lock acquired, processing the job...
[2025-04-09 19:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:55:02] Production.INFO: neon service started
[2025-04-09 19:55:02] Production.INFO: neon service started
[2025-04-09 19:55:02] Production.INFO: ==12990== Releasing lock...
[2025-04-09 19:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:55:02] Production.INFO: ==12992== Lock acquired, processing the job...
[2025-04-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:55:02] Production.INFO: ==12992== Releasing lock...
[2025-04-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:55:02] Production.INFO: ==12994== Lock acquired, processing the job...
[2025-04-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:55:03] Production.INFO: ==12994== Releasing lock...
[2025-04-09 18:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:55:03] Production.INFO: ==12996== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:55:03] Production.INFO: ==13000== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:55:03] Production.INFO: ==13002== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:55:03] Production.INFO: Account Balance Start.
[2025-04-09 14:55:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:55:03] Production.INFO: ==12998== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:55:03] Production.INFO: 117
[2025-04-09 14:55:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:55:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:55:03] Production.INFO: ==13004== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:55:03] Production.INFO: ==13006== Lock acquired, processing the job...
[2025-04-09 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:55:04] Production.INFO: Total Charge 0
[2025-04-09 14:55:04] Production.INFO: ==12998== Releasing lock...
[2025-04-09 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:55:04] Production.INFO: CreateAllLog End
[2025-04-09 14:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:55:04] Production.INFO: count ==12
[2025-04-09 14:55:04] Production.ERROR: done
[2025-04-09 14:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:55:04] Production.INFO: count ==23
[2025-04-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870290') start
[2025-04-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870290') end
[2025-04-09 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:55:04] Production.INFO: 1
[2025-04-09 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:55:04] Production.INFO: Account Balance End.
[2025-04-09 14:55:04] Production.INFO: ==13006== Releasing lock...
[2025-04-09 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:55:04] Production.ERROR: done
[2025-04-09 14:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:55:04] Production.INFO: ==13002== Releasing lock...
[2025-04-09 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:55:05
[end_date_ymd] => 2025-04-09 14:55:05
[RateCDR] => 1
)
[2025-04-09 14:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:55:05' and `end` < '2025-04-09 14:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:55:12] Production.ERROR: CronJobId end10
[2025-04-09 14:55:12] Production.INFO: ==13000== Releasing lock...
[2025-04-09 14:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:55:15] Production.INFO: call_cost start
[2025-04-09 14:55:15] Production.INFO: call_cost end
[2025-04-09 14:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:55:16] Production.INFO: ==12996== Releasing lock...
[2025-04-09 14:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:55:19] Production.INFO: count ==5953
[2025-04-09 14:55:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:55:05 - End Time 2025-04-09 14:55:05
[2025-04-09 14:55:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870291', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870291', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870291', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870291', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:55:22] Production.INFO: ProcessCDR(1,14870291,1,1,2)
[2025-04-09 14:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870291', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870291', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:55:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:55:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:55:28] Production.INFO: ==13004== Releasing lock...
[2025-04-09 14:55:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:55:28] Production.INFO: 72.5 MB #Memory Used#
[2025-04-09 19:56:01] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-04-09 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:56:01] Production.INFO: neon service started
[2025-04-09 19:56:01] Production.INFO: neon service started
[2025-04-09 19:56:01] Production.INFO: ==13064== Releasing lock...
[2025-04-09 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:56:01] Production.INFO: ==13068== Lock acquired, processing the job...
[2025-04-09 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:56:01] Production.INFO: ==13068== Releasing lock...
[2025-04-09 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:56:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:56:02] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-04-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:56:02] Production.INFO: ==13066== Releasing lock...
[2025-04-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:56:03] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:56:03] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:56:03] Production.INFO: ==13070== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:56:03] Production.INFO: ==13072== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:56:03] Production.INFO: count ==12
[2025-04-09 14:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:56:03] Production.INFO: count ==23
[2025-04-09 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:56:03] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870292') start
[2025-04-09 14:56:03] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-04-09 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:56:03] Production.INFO: Account Balance Start.
[2025-04-09 14:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:56:03] Production.INFO: 117
[2025-04-09 14:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870292') end
[2025-04-09 14:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:56:03] Production.INFO: 1
[2025-04-09 14:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:56:03] Production.INFO: ==13081== Releasing lock...
[2025-04-09 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:56:03] Production.INFO: ==13072== Releasing lock...
[2025-04-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:56:03] Production.INFO: Total Charge 0
[2025-04-09 14:56:03] Production.INFO: CreateAllLog End
[2025-04-09 14:56:04] Production.ERROR: done
[2025-04-09 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:56:04] Production.INFO: Account Balance End.
[2025-04-09 14:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:56:04] Production.INFO: ==13077== Releasing lock...
[2025-04-09 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:56:04] Production.ERROR: done
[2025-04-09 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:56:05
[end_date_ymd] => 2025-04-09 14:56:05
[RateCDR] => 1
)
[2025-04-09 14:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:56:05' and `end` < '2025-04-09 14:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:56:13] Production.ERROR: CronJobId end10
[2025-04-09 14:56:13] Production.INFO: ==13074== Releasing lock...
[2025-04-09 14:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:56:15] Production.INFO: call_cost start
[2025-04-09 14:56:15] Production.INFO: call_cost end
[2025-04-09 14:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:56:16] Production.INFO: ==13070== Releasing lock...
[2025-04-09 14:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:56:19] Production.INFO: count ==5922
[2025-04-09 14:56:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:56:05 - End Time 2025-04-09 14:56:05
[2025-04-09 14:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870296', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870296', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870296', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870296', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:56:22] Production.INFO: ProcessCDR(1,14870296,1,1,2)
[2025-04-09 14:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870296', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870296', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:56:27] Production.INFO: ==13079== Releasing lock...
[2025-04-09 14:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:56:27] Production.INFO: 72.25 MB #Memory Used#
[2025-04-09 19:57:01] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-04-09 19:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:57:01] Production.INFO: neon service started
[2025-04-09 19:57:01] Production.INFO: neon service started
[2025-04-09 19:57:01] Production.INFO: ==13144== Releasing lock...
[2025-04-09 19:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 18:57:02] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-04-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:57:02] Production.INFO: ==13148== Releasing lock...
[2025-04-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:57:02] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-04-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:57:02] Production.INFO: ==13146== Releasing lock...
[2025-04-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 14:57:03] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-04-09 14:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:57:03] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-04-09 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:57:03] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-04-09 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:57:03] Production.INFO: ==13156== Lock acquired, processing the job...
[2025-04-09 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:57:04] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-04-09 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:57:04] Production.INFO: ==13158== Lock acquired, processing the job...
[2025-04-09 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:57:04] Production.INFO: Account Balance Start.
[2025-04-09 14:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 14:57:04] Production.INFO: 117
[2025-04-09 14:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:57:04] Production.INFO: ==13152== Releasing lock...
[2025-04-09 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:57:04] Production.INFO: count ==12
[2025-04-09 14:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:57:04] Production.INFO: count ==23
[2025-04-09 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870300') start
[2025-04-09 14:57:04] Production.INFO: Total Charge 0
[2025-04-09 14:57:04] Production.INFO: CreateAllLog End
[2025-04-09 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870300') end
[2025-04-09 14:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:57:04] Production.INFO: 1
[2025-04-09 14:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:57:04] Production.INFO: ==13161== Releasing lock...
[2025-04-09 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:57:04] Production.ERROR: done
[2025-04-09 14:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:57:04] Production.INFO: Account Balance End.
[2025-04-09 14:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:57:04] Production.INFO: ==13156== Releasing lock...
[2025-04-09 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:57:04] Production.ERROR: done
[2025-04-09 14:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:57:05
[end_date_ymd] => 2025-04-09 14:57:05
[RateCDR] => 1
)
[2025-04-09 14:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:57:05' and `end` < '2025-04-09 14:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:57:14] Production.ERROR: CronJobId end10
[2025-04-09 14:57:14] Production.INFO: ==13154== Releasing lock...
[2025-04-09 14:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:57:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:57:15] Production.INFO: call_cost start
[2025-04-09 14:57:15] Production.INFO: call_cost end
[2025-04-09 14:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:57:16] Production.INFO: ==13150== Releasing lock...
[2025-04-09 14:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:57:19] Production.INFO: count ==5875
[2025-04-09 14:57:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:57:05 - End Time 2025-04-09 14:57:05
[2025-04-09 14:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870301', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870301', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870301', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870301', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:57:22] Production.INFO: ProcessCDR(1,14870301,1,1,2)
[2025-04-09 14:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870301', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870301', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:57:27] Production.INFO: ==13158== Releasing lock...
[2025-04-09 14:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:57:27] Production.INFO: 72 MB #Memory Used#
[2025-04-09 19:58:01] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-04-09 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:58:01] Production.INFO: neon service started
[2025-04-09 19:58:01] Production.INFO: neon service started
[2025-04-09 19:58:01] Production.INFO: ==13220== Releasing lock...
[2025-04-09 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:58:01] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-04-09 14:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 18:58:02] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-04-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 14:58:02] Production.INFO: ==13222== Releasing lock...
[2025-04-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:58:02] Production.INFO: ==13224== Releasing lock...
[2025-04-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:58:03] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:58:03] Production.INFO: ==13236== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:58:03] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:58:03] Production.INFO: count ==12
[2025-04-09 14:58:03] Production.INFO: ==13230== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 14:58:03] Production.INFO: count ==23
[2025-04-09 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870303') start
[2025-04-09 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870303') end
[2025-04-09 14:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:58:03] Production.INFO: 1
[2025-04-09 14:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:58:03] Production.INFO: ==13236== Releasing lock...
[2025-04-09 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:58:03] Production.INFO: ==13232== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:58:03] Production.INFO: ==13234== Lock acquired, processing the job...
[2025-04-09 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:58:03] Production.INFO: Account Balance Start.
[2025-04-09 14:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:58:03] Production.INFO: 117
[2025-04-09 14:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 14:58:03] Production.INFO: Total Charge 0
[2025-04-09 14:58:03] Production.INFO: CreateAllLog End
[2025-04-09 14:58:03] Production.INFO: ==13228== Releasing lock...
[2025-04-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 14:58:04] Production.ERROR: done
[2025-04-09 14:58:04] Production.INFO: Account Balance End.
[2025-04-09 14:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:58:04] Production.INFO: ==13232== Releasing lock...
[2025-04-09 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:58:04] Production.ERROR: done
[2025-04-09 14:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:58:05
[end_date_ymd] => 2025-04-09 14:58:05
[RateCDR] => 1
)
[2025-04-09 14:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:58:05' and `end` < '2025-04-09 14:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:58:12] Production.ERROR: CronJobId end10
[2025-04-09 14:58:12] Production.INFO: ==13230== Releasing lock...
[2025-04-09 14:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:58:14] Production.INFO: call_cost start
[2025-04-09 14:58:14] Production.INFO: call_cost end
[2025-04-09 14:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:58:15] Production.INFO: ==13226== Releasing lock...
[2025-04-09 14:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:58:19] Production.INFO: count ==5871
[2025-04-09 14:58:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:58:05 - End Time 2025-04-09 14:58:05
[2025-04-09 14:58:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870306', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870306', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870306', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870306', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:58:22] Production.INFO: ProcessCDR(1,14870306,1,1,2)
[2025-04-09 14:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870306', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870306', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:58:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:58:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:58:27] Production.INFO: ==13234== Releasing lock...
[2025-04-09 14:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:58:27] Production.INFO: 72 MB #Memory Used#
[2025-04-09 19:59:01] Production.INFO: ==13296== Lock acquired, processing the job...
[2025-04-09 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 19:59:01] Production.INFO: neon service started
[2025-04-09 19:59:01] Production.INFO: neon service started
[2025-04-09 19:59:01] Production.INFO: ==13296== Releasing lock...
[2025-04-09 19:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 19:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 14:59:02] Production.INFO: ==13298== Lock acquired, processing the job...
[2025-04-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 14:59:02] Production.INFO: ==13298== Releasing lock...
[2025-04-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 18:59:02] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-04-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 18:59:02] Production.INFO: ==13300== Releasing lock...
[2025-04-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 14:59:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 14:59:03] Production.INFO: ==13312== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 14:59:03] Production.INFO: ==13304== Releasing lock...
[2025-04-09 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 14:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 14:59:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 14:59:03] Production.INFO: count ==12
[2025-04-09 14:59:03] Production.INFO: ==13306== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 14: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-04-09 14:59:03] Production.INFO: count ==23
[2025-04-09 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870308') start
[2025-04-09 14:59:03] Production.INFO: ==13308== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 14:59:03] Production.INFO: ==13310== Lock acquired, processing the job...
[2025-04-09 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 14:59:03] Production.INFO: Account Balance Start.
[2025-04-09 14:59:03] Production.INFO: CreateAllLog Start
[2025-04-09 14:59:03] Production.INFO: 117
[2025-04-09 14:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870308') end
[2025-04-09 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 14:59:04] Production.INFO: 1
[2025-04-09 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 14:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 14:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 14:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 14:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 14:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 14:59:04] Production.INFO: ==13312== Releasing lock...
[2025-04-09 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 14:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 14:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 14:59:04] Production.INFO: Total Charge 0
[2025-04-09 14:59:04] Production.INFO: CreateAllLog End
[2025-04-09 14:59:04] Production.ERROR: done
[2025-04-09 14:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 14:59:04] Production.INFO: Account Balance End.
[2025-04-09 14:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 14:59:04] Production.INFO: ==13308== Releasing lock...
[2025-04-09 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 14:59:04] Production.ERROR: done
[2025-04-09 14:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 11:59:05
[end_date_ymd] => 2025-04-09 14:59:05
[RateCDR] => 1
)
[2025-04-09 14:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 11:59:05' and `end` < '2025-04-09 14:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 14:59:13] Production.ERROR: CronJobId end10
[2025-04-09 14:59:13] Production.INFO: ==13306== Releasing lock...
[2025-04-09 14:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 14:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 14:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 14:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 14:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 14:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 14:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 14:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 14:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 14:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 14:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 14:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 14:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 14:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 14:59:15] Production.INFO: call_cost start
[2025-04-09 14:59:15] Production.INFO: call_cost end
[2025-04-09 14:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 14:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 14:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 14:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 14:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 14:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 14:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 14:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 14:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 14:59:16] Production.INFO: ==13302== Releasing lock...
[2025-04-09 14:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 14:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 14:59:19] Production.INFO: count ==5882
[2025-04-09 14:59:22] Production.ERROR: pbx CDR StartTime 2025-04-09 11:59:05 - End Time 2025-04-09 14:59:05
[2025-04-09 14:59:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870311', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870311', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870311', 'tblTempVendorCDR_20' ) start
[2025-04-09 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870311', 'tblTempVendorCDR_20' ) end
[2025-04-09 14:59:22] Production.INFO: ProcessCDR(1,14870311,1,1,2)
[2025-04-09 14:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:59:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 14:59:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 14:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870311', 'tblTempUsageDetail_20' ) start
[2025-04-09 14:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870311', 'tblTempUsageDetail_20' ) end
[2025-04-09 14:59:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 14:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 14:59:27] Production.INFO: ==13310== Releasing lock...
[2025-04-09 14:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 14:59:27] Production.INFO: 72 MB #Memory Used#
[2025-04-09 20:00:01] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-04-09 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:00:01] Production.INFO: neon service started
[2025-04-09 20:00:01] Production.INFO: neon service started
[2025-04-09 20:00:01] Production.INFO: ==13372== Releasing lock...
[2025-04-09 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:00:01] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-04-09 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:00:02] Production.INFO: ==13374== Releasing lock...
[2025-04-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:00:02] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-04-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:00:02] Production.INFO: ==13376== Releasing lock...
[2025-04-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:00:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:00:03] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:00:03] Production.INFO: ==13382== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:00:03] Production.INFO: ==13386== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:00:03] Production.ERROR: CronJob PID - 13380
[2025-04-09 15:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 15:00:03] Production.ERROR: CronJob ID - 5
[2025-04-09 15:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:00:00
[2025-04-09 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:00:03] Production.ERROR: CronJob PID - 13382
[2025-04-09 15:00:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 15:00:03] Production.ERROR: CronJob ID - 7
[2025-04-09 15:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:00:00
[2025-04-09 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:00:03] Production.INFO: ==13378== Releasing lock...
[2025-04-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:00:03] Production.INFO: ==13384== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:00:03] Production.INFO: ==13389== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:00:03] Production.INFO: ==13391== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:00:03] Production.INFO: Account Balance Start.
[2025-04-09 15:00:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:00:03] Production.INFO: ==13393== Lock acquired, processing the job...
[2025-04-09 15:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:00:03] Production.INFO: 117
[2025-04-09 15:00:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:00:03] Production.INFO: ==13382== Releasing lock...
[2025-04-09 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:00:04] Production.ERROR: done
[2025-04-09 15:00:04] Production.INFO: count ==12
[2025-04-09 15:00:04] Production.INFO: Total Charge 0
[2025-04-09 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870316', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:00:04] Production.INFO: count ==23
[2025-04-09 15:00:04] Production.INFO: CreateAllLog End
[2025-04-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870315') start
[2025-04-09 15:00:04] Production.ERROR: done
[2025-04-09 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:00:04] Production.INFO: Account Balance End.
[2025-04-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870315') end
[2025-04-09 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:00:04] Production.INFO: 1
[2025-04-09 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:00:04] Production.INFO: ==13386== Releasing lock...
[2025-04-09 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:00:04] Production.INFO: ==13393== Releasing lock...
[2025-04-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:00:04] Production.ERROR: done
[2025-04-09 15:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:00:05
[end_date_ymd] => 2025-04-09 15:00:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:00:05' and `end` < '2025-04-09 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-04-09 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870316', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:00:08] Production.INFO: ProcessCDR(1,14870316,1,1,2)
[2025-04-09 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870316,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:00:08] Production.INFO: ==13391== Releasing lock...
[2025-04-09 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:00:15] Production.ERROR: CronJobId end10
[2025-04-09 15:00:15] Production.INFO: ==13384== Releasing lock...
[2025-04-09 15:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:00:16] Production.INFO: call_cost start
[2025-04-09 15:00:16] Production.INFO: call_cost end
[2025-04-09 15:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:00:17] Production.INFO: ==13380== Releasing lock...
[2025-04-09 15:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:00:19] Production.INFO: count ==5873
[2025-04-09 15:00:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:00:05 - End Time 2025-04-09 15:00:05
[2025-04-09 15:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870317', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870317', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870317', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870317', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:00:22] Production.INFO: ProcessCDR(1,14870317,1,1,2)
[2025-04-09 15:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870317', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870317', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:00:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:00:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:00:28] Production.INFO: ==13389== Releasing lock...
[2025-04-09 15:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:00:28] Production.INFO: 72 MB #Memory Used#
[2025-04-09 20:01:01] Production.INFO: ==13456== Lock acquired, processing the job...
[2025-04-09 20:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:01:01] Production.INFO: neon service started
[2025-04-09 20:01:01] Production.INFO: neon service started
[2025-04-09 20:01:01] Production.INFO: ==13456== Releasing lock...
[2025-04-09 20:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:01:02] Production.INFO: ==13470== Lock acquired, processing the job...
[2025-04-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:01:02] Production.INFO: ==13470== Releasing lock...
[2025-04-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:01:02] Production.INFO: ==13472== Lock acquired, processing the job...
[2025-04-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:01:02] Production.INFO: ==13472== Releasing lock...
[2025-04-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:01:03] Production.INFO: ==13488== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:01:03] Production.INFO: ==13498== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:01:03] Production.INFO: Account Balance Start.
[2025-04-09 15:01:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:01:03] Production.INFO: 117
[2025-04-09 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-04-09 15:01:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:01:03] Production.INFO: count ==12
[2025-04-09 15:01:03] Production.INFO: ==13479== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:01:03] Production.INFO: ==13481== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15: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-04-09 15:01:03] Production.INFO: count ==23
[2025-04-09 15:01:03] Production.INFO: ==13484== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870319') start
[2025-04-09 15:01:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:01:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:01:03] Production.INFO: ==13491== Lock acquired, processing the job...
[2025-04-09 15:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:01:03] Production.INFO: Total Charge 0
[2025-04-09 15:01:03] Production.INFO: CreateAllLog End
[2025-04-09 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870319') end
[2025-04-09 15:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:01:03] Production.INFO: 1
[2025-04-09 15:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:01:03] Production.INFO: ==13498== Releasing lock...
[2025-04-09 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:01:04] Production.INFO: Account Balance End.
[2025-04-09 15:01:04] Production.ERROR: done
[2025-04-09 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:01:04] Production.INFO: ==13481== Releasing lock...
[2025-04-09 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:01:04] Production.INFO: ==13488== Releasing lock...
[2025-04-09 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:01:04] Production.ERROR: done
[2025-04-09 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:01:05
[end_date_ymd] => 2025-04-09 15:01:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:01:05' and `end` < '2025-04-09 15:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:01:12] Production.ERROR: CronJobId end10
[2025-04-09 15:01:12] Production.INFO: ==13484== Releasing lock...
[2025-04-09 15:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:01:16] Production.INFO: call_cost start
[2025-04-09 15:01:16] Production.INFO: call_cost end
[2025-04-09 15:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:01:17] Production.INFO: ==13479== Releasing lock...
[2025-04-09 15:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:01:19] Production.INFO: count ==5863
[2025-04-09 15:01:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:01:05 - End Time 2025-04-09 15:01:05
[2025-04-09 15:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870322', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870322', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870322', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870322', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:01:22] Production.INFO: ProcessCDR(1,14870322,1,1,2)
[2025-04-09 15:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870322', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870322', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:01:27] Production.INFO: ==13491== Releasing lock...
[2025-04-09 15:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:01:27] Production.INFO: 71.75 MB #Memory Used#
[2025-04-09 20:02:02] Production.INFO: ==13621== Lock acquired, processing the job...
[2025-04-09 20:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:02:02] Production.INFO: neon service started
[2025-04-09 20:02:02] Production.INFO: neon service started
[2025-04-09 20:02:02] Production.INFO: ==13621== Releasing lock...
[2025-04-09 20:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:02:02] Production.INFO: ==13624== Lock acquired, processing the job...
[2025-04-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:02:02] Production.INFO: ==13624== Releasing lock...
[2025-04-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:02:03] Production.INFO: ==13626== Lock acquired, processing the job...
[2025-04-09 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:02:03] Production.INFO: ==13626== Releasing lock...
[2025-04-09 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:02:03] Production.INFO: ==13632== Lock acquired, processing the job...
[2025-04-09 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:02:04] Production.INFO: ==13628== Lock acquired, processing the job...
[2025-04-09 15:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:02:04] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-04-09 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:02:04] Production.INFO: ==13630== Lock acquired, processing the job...
[2025-04-09 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:02:04] Production.INFO: ==13636== Lock acquired, processing the job...
[2025-04-09 15:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:02:04] Production.INFO: ==13634== Lock acquired, processing the job...
[2025-04-09 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:02:04] Production.INFO: Account Balance Start.
[2025-04-09 15:02:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:02:04] Production.INFO: 117
[2025-04-09 15:02:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:02:04] Production.INFO: count ==12
[2025-04-09 15:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:02:04] Production.INFO: count ==23
[2025-04-09 15:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870325') start
[2025-04-09 15:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:02:04] Production.INFO: Total Charge 0
[2025-04-09 15:02:04] Production.INFO: CreateAllLog End
[2025-04-09 15:02:04] Production.INFO: ==13630== Releasing lock...
[2025-04-09 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870325') end
[2025-04-09 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:02:04] Production.INFO: 1
[2025-04-09 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:02:04] Production.INFO: ==13638== Releasing lock...
[2025-04-09 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:02:04] Production.ERROR: done
[2025-04-09 15:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:02:04] Production.INFO: Account Balance End.
[2025-04-09 15:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:02:04] Production.INFO: ==13634== Releasing lock...
[2025-04-09 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:02:04] Production.ERROR: done
[2025-04-09 15:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:02:06
[end_date_ymd] => 2025-04-09 15:02:06
[RateCDR] => 1
)
[2025-04-09 15: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-04-09 12:02:06' and `end` < '2025-04-09 15: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-04-09 15:02:13] Production.ERROR: CronJobId end10
[2025-04-09 15:02:13] Production.INFO: ==13632== Releasing lock...
[2025-04-09 15:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:02:15] Production.INFO: call_cost start
[2025-04-09 15:02:15] Production.INFO: call_cost end
[2025-04-09 15:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:02:16] Production.INFO: ==13628== Releasing lock...
[2025-04-09 15:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:02:20] Production.INFO: count ==5807
[2025-04-09 15:02:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:02:06 - End Time 2025-04-09 15:02:06
[2025-04-09 15:02:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870327', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870327', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870327', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870327', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:02:23] Production.INFO: ProcessCDR(1,14870327,1,1,2)
[2025-04-09 15:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870327', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870327', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:02:28] Production.INFO: ==13636== Releasing lock...
[2025-04-09 15:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:02:28] Production.INFO: 71.5 MB #Memory Used#
[2025-04-09 20:03:01] Production.INFO: ==13697== Lock acquired, processing the job...
[2025-04-09 20:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:03:01] Production.INFO: neon service started
[2025-04-09 20:03:01] Production.INFO: neon service started
[2025-04-09 20:03:01] Production.INFO: ==13697== Releasing lock...
[2025-04-09 20:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:03:02] Production.INFO: ==13700== Lock acquired, processing the job...
[2025-04-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:03:02] Production.INFO: ==13700== Releasing lock...
[2025-04-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:03:02] Production.INFO: ==13702== Lock acquired, processing the job...
[2025-04-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:03:02] Production.INFO: ==13702== Releasing lock...
[2025-04-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:03:03] Production.INFO: ==13708== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:03:03] Production.INFO: ==13714== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:03:03] Production.INFO: ==13704== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:03:03] Production.INFO: ==13706== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:03:03] Production.INFO: ==13710== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: ==13712== Lock acquired, processing the job...
[2025-04-09 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15: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-04-09 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:03:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:03:03] Production.INFO: count ==23
[2025-04-09 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870328') start
[2025-04-09 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:03:03] Production.INFO: Account Balance Start.
[2025-04-09 15:03:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:03:03] Production.INFO: 117
[2025-04-09 15:03:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:03:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870328') end
[2025-04-09 15:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:03:03] Production.INFO: 1
[2025-04-09 15:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:03:03] Production.INFO: ==13714== Releasing lock...
[2025-04-09 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:03:04] Production.INFO: Total Charge 0
[2025-04-09 15:03:04] Production.INFO: CreateAllLog End
[2025-04-09 15:03:04] Production.INFO: ==13706== Releasing lock...
[2025-04-09 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:03:04] Production.ERROR: done
[2025-04-09 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:03:04] Production.INFO: Account Balance End.
[2025-04-09 15:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:03:04] Production.INFO: ==13710== Releasing lock...
[2025-04-09 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:03:04] Production.ERROR: done
[2025-04-09 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:03:05
[end_date_ymd] => 2025-04-09 15:03:05
[RateCDR] => 1
)
[2025-04-09 15:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:03:05' and `end` < '2025-04-09 15:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:03:12] Production.ERROR: CronJobId end10
[2025-04-09 15:03:12] Production.INFO: ==13708== Releasing lock...
[2025-04-09 15:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:03:14] Production.INFO: call_cost start
[2025-04-09 15:03:14] Production.INFO: call_cost end
[2025-04-09 15:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:03:15] Production.INFO: ==13704== Releasing lock...
[2025-04-09 15:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:03:19] Production.INFO: count ==5737
[2025-04-09 15:03:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:03:05 - End Time 2025-04-09 15:03:05
[2025-04-09 15:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870332', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870332', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870332', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870332', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:03:22] Production.INFO: ProcessCDR(1,14870332,1,1,2)
[2025-04-09 15:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870332', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870332', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:03:27] Production.INFO: ==13712== Releasing lock...
[2025-04-09 15:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:03:27] Production.INFO: 71 MB #Memory Used#
[2025-04-09 20:04:02] Production.INFO: ==13773== Lock acquired, processing the job...
[2025-04-09 20:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:04:02] Production.INFO: neon service started
[2025-04-09 20:04:02] Production.INFO: neon service started
[2025-04-09 20:04:02] Production.INFO: ==13773== Releasing lock...
[2025-04-09 20:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:04:02] Production.INFO: ==13775== Lock acquired, processing the job...
[2025-04-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:04:02] Production.INFO: ==13775== Releasing lock...
[2025-04-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:04:03] Production.INFO: ==13777== Lock acquired, processing the job...
[2025-04-09 19:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:04:03] Production.INFO: ==13777== Releasing lock...
[2025-04-09 19:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:04:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-04-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:04:03] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-04-09 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:04:04] Production.INFO: ==13780== Lock acquired, processing the job...
[2025-04-09 15:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:04:04] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-04-09 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:04:04] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-04-09 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:04:04] Production.INFO: Account Balance Start.
[2025-04-09 15:04:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:04:04] Production.INFO: 117
[2025-04-09 15:04:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:04:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:04:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:04:04] Production.INFO: ==13788== Lock acquired, processing the job...
[2025-04-09 15:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:04:04] Production.INFO: ==13782== Releasing lock...
[2025-04-09 15:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:04:04] Production.INFO: Total Charge 0
[2025-04-09 15:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:04:04] Production.INFO: CreateAllLog End
[2025-04-09 15:04:04] Production.INFO: count ==12
[2025-04-09 15:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:04:04] Production.INFO: count ==23
[2025-04-09 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870336') start
[2025-04-09 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870336') end
[2025-04-09 15:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:04:04] Production.INFO: 1
[2025-04-09 15:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:04:04] Production.INFO: ==13790== Releasing lock...
[2025-04-09 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:04:04] Production.INFO: Account Balance End.
[2025-04-09 15:04:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:04:04] Production.INFO: ==13786== Releasing lock...
[2025-04-09 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:04:04] Production.ERROR: done
[2025-04-09 15:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:04:05] Production.ERROR: done
[2025-04-09 15:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:04:06
[end_date_ymd] => 2025-04-09 15:04:06
[RateCDR] => 1
)
[2025-04-09 15:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:04:06' and `end` < '2025-04-09 15:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:04:14] Production.ERROR: CronJobId end10
[2025-04-09 15:04:14] Production.INFO: ==13784== Releasing lock...
[2025-04-09 15:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:04:15] Production.INFO: call_cost start
[2025-04-09 15:04:15] Production.INFO: call_cost end
[2025-04-09 15:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:04:16] Production.INFO: ==13780== Releasing lock...
[2025-04-09 15:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:04:19] Production.INFO: count ==5651
[2025-04-09 15:04:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:04:06 - End Time 2025-04-09 15:04:06
[2025-04-09 15:04:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870337', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870337', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870337', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870337', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:04:22] Production.INFO: ProcessCDR(1,14870337,1,1,2)
[2025-04-09 15:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870337', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870337', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:04:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:04:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:04:28] Production.INFO: ==13788== Releasing lock...
[2025-04-09 15:04:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:04:28] Production.INFO: 70.25 MB #Memory Used#
[2025-04-09 20:05:01] Production.INFO: ==13928== Lock acquired, processing the job...
[2025-04-09 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:05:01] Production.INFO: neon service started
[2025-04-09 20:05:01] Production.INFO: neon service started
[2025-04-09 20:05:01] Production.INFO: ==13928== Releasing lock...
[2025-04-09 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:05:02] Production.INFO: ==13930== Lock acquired, processing the job...
[2025-04-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:05:02] Production.INFO: ==13932== Lock acquired, processing the job...
[2025-04-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:05:02] Production.INFO: ==13932== Releasing lock...
[2025-04-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:05:02] Production.INFO: ==13930== Releasing lock...
[2025-04-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:05:03] Production.INFO: ==13938== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:05:03] Production.INFO: ==13941== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:05:03] Production.INFO: ==13934== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:05:03] Production.INFO: Account Balance Start.
[2025-04-09 15:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:05:03] Production.INFO: 117
[2025-04-09 15:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:05:03] Production.INFO: ==13936== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:05:03] Production.INFO: ==13943== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:05:03] Production.INFO: ==13945== Lock acquired, processing the job...
[2025-04-09 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:05:03] Production.INFO: Total Charge 0
[2025-04-09 15:05:03] Production.INFO: CreateAllLog End
[2025-04-09 15:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:05:04] Production.INFO: Account Balance End.
[2025-04-09 15:05:04] Production.INFO: count ==12
[2025-04-09 15:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:05:04] Production.INFO: count ==23
[2025-04-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870341') start
[2025-04-09 15:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:05:04] Production.INFO: ==13941== Releasing lock...
[2025-04-09 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:05:04] Production.INFO: ==13936== Releasing lock...
[2025-04-09 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:05:04] Production.ERROR: done
[2025-04-09 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870341') end
[2025-04-09 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:05:04] Production.INFO: 1
[2025-04-09 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:05:04] Production.INFO: ==13945== Releasing lock...
[2025-04-09 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:05:04] Production.ERROR: done
[2025-04-09 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:05:05
[end_date_ymd] => 2025-04-09 15:05:05
[RateCDR] => 1
)
[2025-04-09 15:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:05:05' and `end` < '2025-04-09 15:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:05:13] Production.ERROR: CronJobId end10
[2025-04-09 15:05:13] Production.INFO: ==13938== Releasing lock...
[2025-04-09 15:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:05:15] Production.INFO: call_cost start
[2025-04-09 15:05:15] Production.INFO: call_cost end
[2025-04-09 15:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:05:16] Production.INFO: ==13934== Releasing lock...
[2025-04-09 15:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:05:19] Production.INFO: count ==5575
[2025-04-09 15:05:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:05:05 - End Time 2025-04-09 15:05:05
[2025-04-09 15:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870342', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870342', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870342', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870342', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:05:22] Production.INFO: ProcessCDR(1,14870342,1,1,2)
[2025-04-09 15:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870342', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870342', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:05:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:05:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:05:27] Production.INFO: ==13943== Releasing lock...
[2025-04-09 15:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:05:27] Production.INFO: 69.75 MB #Memory Used#
[2025-04-09 20:06:02] Production.INFO: ==14003== Lock acquired, processing the job...
[2025-04-09 20:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:06:02] Production.INFO: neon service started
[2025-04-09 20:06:02] Production.INFO: neon service started
[2025-04-09 20:06:02] Production.INFO: ==14003== Releasing lock...
[2025-04-09 20:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:06:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:06:02] Production.INFO: ==14005== Lock acquired, processing the job...
[2025-04-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:06:02] Production.INFO: ==14005== Releasing lock...
[2025-04-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:06:03] Production.INFO: ==14007== Lock acquired, processing the job...
[2025-04-09 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:06:03] Production.INFO: ==14007== Releasing lock...
[2025-04-09 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:06:03] Production.INFO: ==14009== Lock acquired, processing the job...
[2025-04-09 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:06:03] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-04-09 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:06:04] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-04-09 15:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:06:04] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-04-09 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:06:04] Production.INFO: Account Balance Start.
[2025-04-09 15:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:06:04] Production.INFO: 117
[2025-04-09 15:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:06:04] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-04-09 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:06:04] Production.INFO: Total Charge 0
[2025-04-09 15:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:06:04] Production.INFO: CreateAllLog End
[2025-04-09 15:06:04] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-04-09 15:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:06:04] Production.INFO: ==14011== Releasing lock...
[2025-04-09 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:06:04] Production.INFO: count ==12
[2025-04-09 15:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:06:04] Production.INFO: count ==23
[2025-04-09 15:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870346') start
[2025-04-09 15:06:04] Production.INFO: Account Balance End.
[2025-04-09 15:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:06:04] Production.INFO: ==14015== Releasing lock...
[2025-04-09 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870346') end
[2025-04-09 15:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:06:04] Production.INFO: 1
[2025-04-09 15:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:06:04] Production.INFO: ==14019== Releasing lock...
[2025-04-09 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:06:05] Production.ERROR: done
[2025-04-09 15:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:06:05] Production.ERROR: done
[2025-04-09 15:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:06:06
[end_date_ymd] => 2025-04-09 15:06:06
[RateCDR] => 1
)
[2025-04-09 15:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:06:06' and `end` < '2025-04-09 15:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:06:12] Production.ERROR: CronJobId end10
[2025-04-09 15:06:12] Production.INFO: ==14013== Releasing lock...
[2025-04-09 15:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:06:15] Production.INFO: call_cost start
[2025-04-09 15:06:15] Production.INFO: call_cost end
[2025-04-09 15:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:06:16] Production.INFO: ==14009== Releasing lock...
[2025-04-09 15:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:06:20] Production.INFO: count ==5517
[2025-04-09 15:06:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:06:06 - End Time 2025-04-09 15:06:06
[2025-04-09 15:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870347', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870347', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870347', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870347', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:06:22] Production.INFO: ProcessCDR(1,14870347,1,1,2)
[2025-04-09 15:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:06:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:06:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:06:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870347', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870347', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:06:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:06:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:06:27] Production.INFO: ==14017== Releasing lock...
[2025-04-09 15:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:06:27] Production.INFO: 69.25 MB #Memory Used#
[2025-04-09 20:07:01] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-04-09 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:07:01] Production.INFO: neon service started
[2025-04-09 20:07:01] Production.INFO: neon service started
[2025-04-09 20:07:01] Production.INFO: ==14077== Releasing lock...
[2025-04-09 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:07:02] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-04-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:07:02] Production.INFO: ==14079== Releasing lock...
[2025-04-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:07:02] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-04-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:07:02] Production.INFO: ==14081== Releasing lock...
[2025-04-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:07:03] Production.INFO: ==14085== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:07:03] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:07:03] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:07:03] Production.INFO: Account Balance Start.
[2025-04-09 15:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:07:03] Production.INFO: 117
[2025-04-09 15:07:03] Production.INFO: ==14083== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:07:03] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:07:03] Production.INFO: Total Charge 0
[2025-04-09 15:07:03] Production.INFO: CreateAllLog End
[2025-04-09 15:07:03] Production.INFO: ==14085== Releasing lock...
[2025-04-09 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:07:03] Production.INFO: ==14093== Lock acquired, processing the job...
[2025-04-09 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:07:03] Production.INFO: count ==12
[2025-04-09 15:07:03] Production.ERROR: done
[2025-04-09 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-04-09 15:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:07:03] Production.INFO: count ==23
[2025-04-09 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870351') start
[2025-04-09 15:07:04] Production.INFO: Account Balance End.
[2025-04-09 15:07:04] Production.ERROR: done
[2025-04-09 15:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:07:04] Production.INFO: ==14089== Releasing lock...
[2025-04-09 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870351') end
[2025-04-09 15:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:07:04] Production.INFO: 1
[2025-04-09 15:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:07:04] Production.INFO: ==14093== Releasing lock...
[2025-04-09 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:07:05
[end_date_ymd] => 2025-04-09 15:07:05
[RateCDR] => 1
)
[2025-04-09 15:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:07:05' and `end` < '2025-04-09 15:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:07:12] Production.ERROR: CronJobId end10
[2025-04-09 15:07:12] Production.INFO: ==14087== Releasing lock...
[2025-04-09 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:07:14] Production.INFO: call_cost start
[2025-04-09 15:07:14] Production.INFO: call_cost end
[2025-04-09 15:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:07:15] Production.INFO: ==14083== Releasing lock...
[2025-04-09 15:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:07:19] Production.INFO: count ==5482
[2025-04-09 15:07:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:07:05 - End Time 2025-04-09 15:07:05
[2025-04-09 15:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870352', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870352', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870352', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870352', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:07:21] Production.INFO: ProcessCDR(1,14870352,1,1,2)
[2025-04-09 15:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870352', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870352', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:07:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:07:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:07:27] Production.INFO: ==14091== Releasing lock...
[2025-04-09 15:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:07:27] Production.INFO: 69 MB #Memory Used#
[2025-04-09 20:08:02] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-04-09 20:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:08:02] Production.INFO: neon service started
[2025-04-09 20:08:02] Production.INFO: neon service started
[2025-04-09 20:08:02] Production.INFO: ==14229== Releasing lock...
[2025-04-09 20:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:08:02] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-04-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:08:02] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-04-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:08:02] Production.INFO: ==14233== Releasing lock...
[2025-04-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:08:03] Production.INFO: ==14231== Releasing lock...
[2025-04-09 15:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:08:03] Production.INFO: ==14240== Lock acquired, processing the job...
[2025-04-09 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:08:04] Production.INFO: ==14246== Lock acquired, processing the job...
[2025-04-09 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:08:04] Production.INFO: ==14236== Lock acquired, processing the job...
[2025-04-09 15:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:08:04] Production.INFO: ==14238== Lock acquired, processing the job...
[2025-04-09 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15: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-04-09 15:08:04] Production.INFO: ==14242== Lock acquired, processing the job...
[2025-04-09 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:08:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:08:04] Production.INFO: count ==23
[2025-04-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870353') start
[2025-04-09 15:08:04] Production.INFO: ==14244== Lock acquired, processing the job...
[2025-04-09 15:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:08:04] Production.INFO: Account Balance Start.
[2025-04-09 15:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:08:04] Production.INFO: 117
[2025-04-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870353') end
[2025-04-09 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:08:04] Production.INFO: 1
[2025-04-09 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:08:04] Production.INFO: Total Charge 0
[2025-04-09 15:08:04] Production.INFO: CreateAllLog End
[2025-04-09 15:08:04] Production.INFO: ==14246== Releasing lock...
[2025-04-09 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:08:04] Production.INFO: ==14238== Releasing lock...
[2025-04-09 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:08:04] Production.ERROR: done
[2025-04-09 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:08:05] Production.ERROR: done
[2025-04-09 15:08:05] Production.INFO: Account Balance End.
[2025-04-09 15:08:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:08:05] Production.INFO: ==14242== Releasing lock...
[2025-04-09 15:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:08:06
[end_date_ymd] => 2025-04-09 15:08:06
[RateCDR] => 1
)
[2025-04-09 15:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:08:06' and `end` < '2025-04-09 15:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:08:14] Production.ERROR: CronJobId end10
[2025-04-09 15:08:14] Production.INFO: ==14240== Releasing lock...
[2025-04-09 15:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:08:14] Production.INFO: call_cost start
[2025-04-09 15:08:14] Production.INFO: call_cost end
[2025-04-09 15:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:08:15] Production.INFO: ==14236== Releasing lock...
[2025-04-09 15:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:08:19] Production.INFO: count ==5460
[2025-04-09 15:08:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:08:06 - End Time 2025-04-09 15:08:06
[2025-04-09 15:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870357', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870357', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870357', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870357', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:08:22] Production.INFO: ProcessCDR(1,14870357,1,1,2)
[2025-04-09 15:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870357', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870357', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:08:27] Production.INFO: ==14244== Releasing lock...
[2025-04-09 15:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:08:27] Production.INFO: 68.75 MB #Memory Used#
[2025-04-09 20:09:01] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-04-09 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:09:01] Production.INFO: neon service started
[2025-04-09 20:09:01] Production.INFO: neon service started
[2025-04-09 20:09:01] Production.INFO: ==14298== Releasing lock...
[2025-04-09 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:09:02] Production.INFO: ==14302== Lock acquired, processing the job...
[2025-04-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:09:02] Production.INFO: ==14302== Releasing lock...
[2025-04-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:09:02] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-04-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:09:02] Production.INFO: ==14300== Releasing lock...
[2025-04-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:09:03] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-04-09 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:09:03] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-04-09 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:09:03] Production.INFO: ==14311== Lock acquired, processing the job...
[2025-04-09 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:09:03] Production.INFO: ==14307== Releasing lock...
[2025-04-09 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:09:03] Production.INFO: ==14309== Lock acquired, processing the job...
[2025-04-09 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:09:03] Production.INFO: Account Balance Start.
[2025-04-09 15:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:09:03] Production.INFO: 117
[2025-04-09 15:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:09:03] Production.INFO: ==14313== Lock acquired, processing the job...
[2025-04-09 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:09:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:09:04] Production.INFO: ==14315== Lock acquired, processing the job...
[2025-04-09 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:09:04] Production.INFO: Total Charge 0
[2025-04-09 15:09:04] Production.INFO: CreateAllLog End
[2025-04-09 15:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:09:04] Production.INFO: count ==12
[2025-04-09 15:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:09:04] Production.INFO: count ==23
[2025-04-09 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870361') start
[2025-04-09 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870361') end
[2025-04-09 15:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:09:04] Production.INFO: 1
[2025-04-09 15:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:09:04] Production.INFO: ==14315== Releasing lock...
[2025-04-09 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:09:04] Production.INFO: Account Balance End.
[2025-04-09 15:09:04] Production.ERROR: done
[2025-04-09 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:09:04] Production.INFO: ==14311== Releasing lock...
[2025-04-09 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:09:04] Production.ERROR: done
[2025-04-09 15:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:09:06
[end_date_ymd] => 2025-04-09 15:09:06
[RateCDR] => 1
)
[2025-04-09 15:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:09:06' and `end` < '2025-04-09 15:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:09:13] Production.ERROR: CronJobId end10
[2025-04-09 15:09:13] Production.INFO: ==14309== Releasing lock...
[2025-04-09 15:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:09:15] Production.INFO: call_cost start
[2025-04-09 15:09:15] Production.INFO: call_cost end
[2025-04-09 15:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:09:16] Production.INFO: ==14305== Releasing lock...
[2025-04-09 15:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:09:19] Production.INFO: count ==5415
[2025-04-09 15:09:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:09:06 - End Time 2025-04-09 15:09:06
[2025-04-09 15:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870362', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870362', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870362', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870362', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:09:22] Production.INFO: ProcessCDR(1,14870362,1,1,2)
[2025-04-09 15:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:09:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:09:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:09:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870362', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870362', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:09:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:09:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:09:28] Production.INFO: ==14313== Releasing lock...
[2025-04-09 15:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:09:28] Production.INFO: 68.5 MB #Memory Used#
[2025-04-09 20:10:02] Production.INFO: ==14408== Lock acquired, processing the job...
[2025-04-09 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:10:02] Production.INFO: neon service started
[2025-04-09 20:10:02] Production.INFO: neon service started
[2025-04-09 20:10:02] Production.INFO: ==14408== Releasing lock...
[2025-04-09 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:10:02] Production.INFO: ==14412== Lock acquired, processing the job...
[2025-04-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:10:02] Production.INFO: ==14412== Releasing lock...
[2025-04-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:10:02] Production.INFO: ==14410== Lock acquired, processing the job...
[2025-04-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:10:03] Production.INFO: ==14410== Releasing lock...
[2025-04-09 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:10:04] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:10:04] Production.INFO: Account Balance Start.
[2025-04-09 15:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:10:04] Production.INFO: 117
[2025-04-09 15:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:10:04] Production.INFO: ==14414== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:10:04] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-04-09 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:10:04] Production.INFO: ==14418== Releasing lock...
[2025-04-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:10:04] Production.ERROR: CronJob PID - 14416
[2025-04-09 15:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 15:10:04] Production.ERROR: CronJob ID - 5
[2025-04-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:10:00
[2025-04-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:10:04] Production.ERROR: CronJob PID - 14420
[2025-04-09 15:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 15:10:04] Production.ERROR: CronJob ID - 10
[2025-04-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:10:00
[2025-04-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:10:04] Production.ERROR: CronJob PID - 14422
[2025-04-09 15:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 15:10:04] Production.ERROR: CronJob ID - 12
[2025-04-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:10:00
[2025-04-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:10:04] Production.ERROR: CronJob PID - 14427
[2025-04-09 15:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 15:10:04] Production.ERROR: CronJob ID - 17
[2025-04-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:10:00
[2025-04-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:10:04] Production.ERROR: CronJob PID - 14429
[2025-04-09 15:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 15:10:04] Production.ERROR: CronJob ID - 19
[2025-04-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:10:00
[2025-04-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:10:04] Production.INFO: Total Charge 0
[2025-04-09 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:10:04] Production.INFO: CreateAllLog End
[2025-04-09 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:10:04] Production.INFO: count ==12
[2025-04-09 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:10:04] Production.INFO: ==14414== Releasing lock...
[2025-04-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:10:04] Production.INFO: count ==23
[2025-04-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870365') start
[2025-04-09 15:10:04] Production.ERROR: done
[2025-04-09 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870367', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870365') end
[2025-04-09 15:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:10:05] Production.INFO: 1
[2025-04-09 15:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:10:05] Production.INFO: Account Balance End.
[2025-04-09 15:10:05] Production.INFO: ==14429== Releasing lock...
[2025-04-09 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:10:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:10:05] Production.INFO: ==14422== Releasing lock...
[2025-04-09 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:10:05] Production.ERROR: done
[2025-04-09 15:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:10:05] Production.ERROR: done
[2025-04-09 15:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:10:07
[end_date_ymd] => 2025-04-09 15:10:07
[RateCDR] => 1
)
[2025-04-09 15:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:10:07' and `end` < '2025-04-09 15:10:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870367', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:10:09] Production.INFO: ProcessCDR(1,14870367,1,1,2)
[2025-04-09 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:10:09] Production.INFO: ==14427== Releasing lock...
[2025-04-09 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:10:15] Production.ERROR: CronJobId end10
[2025-04-09 15:10:15] Production.INFO: ==14420== Releasing lock...
[2025-04-09 15:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:10:16] Production.INFO: call_cost start
[2025-04-09 15:10:16] Production.INFO: call_cost end
[2025-04-09 15:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:10:17] Production.INFO: ==14416== Releasing lock...
[2025-04-09 15:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:10:21] Production.INFO: count ==5371
[2025-04-09 15:10:23] Production.ERROR: pbx CDR StartTime 2025-04-09 12:10:07 - End Time 2025-04-09 15:10:07
[2025-04-09 15:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870368', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870368', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870368', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870368', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:10:23] Production.INFO: ProcessCDR(1,14870368,1,1,2)
[2025-04-09 15:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870368', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870368', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:10:28] Production.INFO: ==14425== Releasing lock...
[2025-04-09 15:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:10:28] Production.INFO: 68.25 MB #Memory Used#
[2025-04-09 20:11:01] Production.INFO: ==14484== Lock acquired, processing the job...
[2025-04-09 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:11:01] Production.INFO: neon service started
[2025-04-09 20:11:01] Production.INFO: neon service started
[2025-04-09 20:11:01] Production.INFO: ==14484== Releasing lock...
[2025-04-09 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:11:02] Production.INFO: ==14486== Lock acquired, processing the job...
[2025-04-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:11:02] Production.INFO: ==14488== Lock acquired, processing the job...
[2025-04-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:11:02] Production.INFO: ==14488== Releasing lock...
[2025-04-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:11:02] Production.INFO: ==14486== Releasing lock...
[2025-04-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:11:03] Production.INFO: ==14495== Lock acquired, processing the job...
[2025-04-09 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:11:03] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-04-09 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 15:11:04] Production.INFO: ==14491== Lock acquired, processing the job...
[2025-04-09 15:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:11:04] Production.INFO: count ==12
[2025-04-09 15:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:11:04] Production.INFO: ==14493== Lock acquired, processing the job...
[2025-04-09 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:11:04] Production.INFO: count ==23
[2025-04-09 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870369') start
[2025-04-09 15:11:04] Production.INFO: ==14497== Lock acquired, processing the job...
[2025-04-09 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:11:04] Production.INFO: ==14499== Lock acquired, processing the job...
[2025-04-09 15:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870369') end
[2025-04-09 15:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:11:04] Production.INFO: 1
[2025-04-09 15:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:11:04] Production.INFO: Account Balance Start.
[2025-04-09 15:11:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:11:04] Production.INFO: 117
[2025-04-09 15:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:11:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:11:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:11:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:11:04] Production.INFO: Total Charge 0
[2025-04-09 15:11:04] Production.INFO: CreateAllLog End
[2025-04-09 15:11:04] Production.INFO: ==14501== Releasing lock...
[2025-04-09 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:11:04] Production.INFO: ==14493== Releasing lock...
[2025-04-09 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:11:04] Production.ERROR: done
[2025-04-09 15:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:11:04] Production.INFO: Account Balance End.
[2025-04-09 15:11:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:11:05] Production.INFO: ==14497== Releasing lock...
[2025-04-09 15:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:11:05] Production.ERROR: done
[2025-04-09 15:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:11:06
[end_date_ymd] => 2025-04-09 15:11:06
[RateCDR] => 1
)
[2025-04-09 15: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-04-09 12:11:06' and `end` < '2025-04-09 15: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-04-09 15:11:13] Production.ERROR: CronJobId end10
[2025-04-09 15:11:13] Production.INFO: ==14495== Releasing lock...
[2025-04-09 15:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:11:16] Production.INFO: call_cost start
[2025-04-09 15:11:16] Production.INFO: call_cost end
[2025-04-09 15:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:11:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:11:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:11:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:11:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:11:17] Production.INFO: ==14491== Releasing lock...
[2025-04-09 15:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:11:20] Production.INFO: count ==5316
[2025-04-09 15:11:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:11:06 - End Time 2025-04-09 15:11:06
[2025-04-09 15:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870373', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870373', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870373', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870373', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:11:22] Production.INFO: ProcessCDR(1,14870373,1,1,2)
[2025-04-09 15:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:11:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870373', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870373', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:11:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:11:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:11:28] Production.INFO: ==14499== Releasing lock...
[2025-04-09 15:11:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:11:28] Production.INFO: 67.75 MB #Memory Used#
[2025-04-09 20:12:02] Production.INFO: ==14632== Lock acquired, processing the job...
[2025-04-09 20:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:12:02] Production.INFO: neon service started
[2025-04-09 20:12:02] Production.INFO: neon service started
[2025-04-09 20:12:02] Production.INFO: ==14632== Releasing lock...
[2025-04-09 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:12:02] Production.INFO: ==14634== Lock acquired, processing the job...
[2025-04-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:12:02] Production.INFO: ==14636== Lock acquired, processing the job...
[2025-04-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:12:02] Production.INFO: ==14634== Releasing lock...
[2025-04-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:12:02] Production.INFO: ==14636== Releasing lock...
[2025-04-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:12:03] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-04-09 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:12:03] Production.INFO: ==14643== Lock acquired, processing the job...
[2025-04-09 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:12:03] Production.INFO: ==14645== Lock acquired, processing the job...
[2025-04-09 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:12:03] Production.INFO: Account Balance Start.
[2025-04-09 15:12:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:12:03] Production.INFO: 117
[2025-04-09 15:12:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:12:03] Production.INFO: ==14641== Lock acquired, processing the job...
[2025-04-09 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:12:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:12:04] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-04-09 15:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:12:04] Production.INFO: Total Charge 0
[2025-04-09 15:12:04] Production.INFO: CreateAllLog End
[2025-04-09 15:12:04] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-04-09 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:12:04] Production.INFO: count ==12
[2025-04-09 15:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:12:04] Production.INFO: count ==23
[2025-04-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870377') start
[2025-04-09 15:12:04] Production.INFO: ==14641== Releasing lock...
[2025-04-09 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870377') end
[2025-04-09 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:12:04] Production.INFO: 1
[2025-04-09 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:12:04] Production.INFO: Account Balance End.
[2025-04-09 15:12:04] Production.ERROR: done
[2025-04-09 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:12:04] Production.INFO: ==14645== Releasing lock...
[2025-04-09 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:12:04] Production.INFO: ==14649== Releasing lock...
[2025-04-09 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:12:05] Production.ERROR: done
[2025-04-09 15:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:12:06
[end_date_ymd] => 2025-04-09 15:12:06
[RateCDR] => 1
)
[2025-04-09 15:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:12:06' and `end` < '2025-04-09 15:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:12:13] Production.ERROR: CronJobId end10
[2025-04-09 15:12:13] Production.INFO: ==14643== Releasing lock...
[2025-04-09 15:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:12:15] Production.INFO: call_cost start
[2025-04-09 15:12:15] Production.INFO: call_cost end
[2025-04-09 15:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:12:16] Production.INFO: ==14639== Releasing lock...
[2025-04-09 15:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:12:20] Production.INFO: count ==5298
[2025-04-09 15:12:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:12:06 - End Time 2025-04-09 15:12:06
[2025-04-09 15:12:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870378', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870378', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870378', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870378', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:12:22] Production.INFO: ProcessCDR(1,14870378,1,1,2)
[2025-04-09 15:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870378', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870378', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:12:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:12:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:12:27] Production.INFO: ==14647== Releasing lock...
[2025-04-09 15:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:12:27] Production.INFO: 67.75 MB #Memory Used#
[2025-04-09 20:13:01] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-04-09 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:13:01] Production.INFO: neon service started
[2025-04-09 20:13:01] Production.INFO: neon service started
[2025-04-09 20:13:01] Production.INFO: ==14704== Releasing lock...
[2025-04-09 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:13:02] Production.INFO: ==14706== Lock acquired, processing the job...
[2025-04-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:13:02] Production.INFO: ==14708== Lock acquired, processing the job...
[2025-04-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:13:02] Production.INFO: ==14708== Releasing lock...
[2025-04-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:13:02] Production.INFO: ==14706== Releasing lock...
[2025-04-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:13:03] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:13:03] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:13:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:13:03] Production.INFO: count ==12
[2025-04-09 15:13:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 15:13:03] Production.INFO: count ==23
[2025-04-09 15:13:03] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:13:03] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-04-09 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870380') start
[2025-04-09 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870380') end
[2025-04-09 15:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:13:03] Production.INFO: 1
[2025-04-09 15:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:13:03] Production.INFO: Account Balance Start.
[2025-04-09 15:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:13:03] Production.INFO: 117
[2025-04-09 15:13:03] Production.INFO: ==14721== Releasing lock...
[2025-04-09 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:13:03] Production.INFO: ==14713== Releasing lock...
[2025-04-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:13:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:13:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:13:04] Production.INFO: Total Charge 0
[2025-04-09 15:13:04] Production.INFO: CreateAllLog End
[2025-04-09 15:13:04] Production.ERROR: done
[2025-04-09 15:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:13:04] Production.ERROR: done
[2025-04-09 15:13:04] Production.INFO: Account Balance End.
[2025-04-09 15:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:13:04] Production.INFO: ==14717== Releasing lock...
[2025-04-09 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:13:05
[end_date_ymd] => 2025-04-09 15:13:05
[RateCDR] => 1
)
[2025-04-09 15:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:13:05' and `end` < '2025-04-09 15:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:13:12] Production.ERROR: CronJobId end10
[2025-04-09 15:13:12] Production.INFO: ==14715== Releasing lock...
[2025-04-09 15:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:13:14] Production.INFO: call_cost start
[2025-04-09 15:13:14] Production.INFO: call_cost end
[2025-04-09 15:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:13:15] Production.INFO: ==14711== Releasing lock...
[2025-04-09 15:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:13:20] Production.INFO: count ==5260
[2025-04-09 15:13:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:13:05 - End Time 2025-04-09 15:13:05
[2025-04-09 15:13:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870383', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870383', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870383', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870383', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:13:23] Production.INFO: ProcessCDR(1,14870383,1,1,2)
[2025-04-09 15:13:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:13:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:13:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:13:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870383', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870383', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:13:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:13:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:13:28] Production.INFO: ==14719== Releasing lock...
[2025-04-09 15:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:13:28] Production.INFO: 67.25 MB #Memory Used#
[2025-04-09 20:14:02] Production.INFO: ==14780== Lock acquired, processing the job...
[2025-04-09 20:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:14:02] Production.INFO: neon service started
[2025-04-09 20:14:02] Production.INFO: neon service started
[2025-04-09 20:14:02] Production.INFO: ==14780== Releasing lock...
[2025-04-09 20:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:14:02] Production.INFO: ==14782== Lock acquired, processing the job...
[2025-04-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:14:03] Production.INFO: ==14782== Releasing lock...
[2025-04-09 15:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:14:03] Production.INFO: ==14784== Lock acquired, processing the job...
[2025-04-09 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:14:03] Production.INFO: ==14784== Releasing lock...
[2025-04-09 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:14:03] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-04-09 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:14:04] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-04-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:14:04] Production.ERROR: done
[2025-04-09 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:14:04] Production.INFO: ==14786== Lock acquired, processing the job...
[2025-04-09 15:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:14:04] Production.INFO: ==14788== Lock acquired, processing the job...
[2025-04-09 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:14:04] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-04-09 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:14:04] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-04-09 15:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:14:04] Production.ERROR: done
[2025-04-09 15:14:04] Production.INFO: Account Balance Start.
[2025-04-09 15:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:14:04] Production.INFO: 117
[2025-04-09 15:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:14:04] Production.INFO: count ==12
[2025-04-09 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:14:04] Production.INFO: count ==23
[2025-04-09 15:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870384') start
[2025-04-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870384') end
[2025-04-09 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:14:04] Production.INFO: 1
[2025-04-09 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:14:04] Production.INFO: ==14796== Releasing lock...
[2025-04-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:14:04] Production.INFO: Total Charge 0
[2025-04-09 15:14:04] Production.INFO: CreateAllLog End
[2025-04-09 15:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:14:04] Production.INFO: ==14788== Releasing lock...
[2025-04-09 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:14:04] Production.INFO: Account Balance End.
[2025-04-09 15:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:14:04] Production.INFO: ==14792== Releasing lock...
[2025-04-09 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:14:05
[end_date_ymd] => 2025-04-09 15:14:05
[RateCDR] => 1
)
[2025-04-09 15:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:14:05' and `end` < '2025-04-09 15:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:14:13] Production.ERROR: CronJobId end10
[2025-04-09 15:14:13] Production.INFO: ==14790== Releasing lock...
[2025-04-09 15:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:14:15] Production.INFO: call_cost start
[2025-04-09 15:14:15] Production.INFO: call_cost end
[2025-04-09 15:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:14:16] Production.INFO: ==14786== Releasing lock...
[2025-04-09 15:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:14:19] Production.INFO: count ==5233
[2025-04-09 15:14:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:14:05 - End Time 2025-04-09 15:14:05
[2025-04-09 15:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870386', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870386', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870386', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870386', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:14:21] Production.INFO: ProcessCDR(1,14870386,1,1,2)
[2025-04-09 15:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:14:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870386', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870386', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:14:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:14:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:14:27] Production.INFO: ==14794== Releasing lock...
[2025-04-09 15:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:14:27] Production.INFO: 67.25 MB #Memory Used#
[2025-04-09 20:15:01] Production.INFO: ==14929== Lock acquired, processing the job...
[2025-04-09 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:15:01] Production.INFO: neon service started
[2025-04-09 20:15:01] Production.INFO: neon service started
[2025-04-09 20:15:01] Production.INFO: ==14929== Releasing lock...
[2025-04-09 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:15:02] Production.INFO: ==14931== Lock acquired, processing the job...
[2025-04-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:15:02] Production.INFO: ==14931== Releasing lock...
[2025-04-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:15:02] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-04-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:15:02] Production.INFO: ==14933== Releasing lock...
[2025-04-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:15:03] Production.INFO: ==14935== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:15:03] Production.INFO: ==14937== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:15:03] Production.INFO: ==14939== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:15:03] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:15:03] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:15:03] Production.INFO: ==14943== Lock acquired, processing the job...
[2025-04-09 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:15:03] Production.INFO: Account Balance Start.
[2025-04-09 15:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:15:03] Production.INFO: 117
[2025-04-09 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:15:03] Production.INFO: count ==12
[2025-04-09 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:15:03] Production.INFO: count ==23
[2025-04-09 15:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870392') start
[2025-04-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:15:03] Production.INFO: ==14937== Releasing lock...
[2025-04-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:15:04] Production.INFO: Total Charge 0
[2025-04-09 15:15:04] Production.INFO: CreateAllLog End
[2025-04-09 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870392') end
[2025-04-09 15:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:15:04] Production.INFO: 1
[2025-04-09 15:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:15:04] Production.ERROR: done
[2025-04-09 15:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:15:04] Production.INFO: ==14945== Releasing lock...
[2025-04-09 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:15:04] Production.ERROR: done
[2025-04-09 15:15:04] Production.INFO: Account Balance End.
[2025-04-09 15:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:15:04] Production.INFO: ==14941== Releasing lock...
[2025-04-09 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:15:05
[end_date_ymd] => 2025-04-09 15:15:05
[RateCDR] => 1
)
[2025-04-09 15:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:15:05' and `end` < '2025-04-09 15:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:15:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-04-09 15:15:13] Production.ERROR: CronJobId end10
[2025-04-09 15:15:13] Production.INFO: ==14939== Releasing lock...
[2025-04-09 15:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:15:16] Production.INFO: call_cost start
[2025-04-09 15:15:16] Production.INFO: call_cost end
[2025-04-09 15:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:15:17] Production.INFO: ==14935== Releasing lock...
[2025-04-09 15:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:15:19] Production.INFO: count ==5196
[2025-04-09 15:15:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:15:05 - End Time 2025-04-09 15:15:05
[2025-04-09 15:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870393', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870393', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870393', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870393', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:15:21] Production.INFO: ProcessCDR(1,14870393,1,1,2)
[2025-04-09 15:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870393', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870393', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:15:27] Production.INFO: ==14943== Releasing lock...
[2025-04-09 15:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:15:27] Production.INFO: 66.75 MB #Memory Used#
[2025-04-09 20:16:02] Production.INFO: ==14999== Lock acquired, processing the job...
[2025-04-09 20:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:16:02] Production.INFO: neon service started
[2025-04-09 20:16:02] Production.INFO: neon service started
[2025-04-09 20:16:02] Production.INFO: ==14999== Releasing lock...
[2025-04-09 20:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:16:02] Production.INFO: ==15001== Lock acquired, processing the job...
[2025-04-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:16:03] Production.INFO: ==15001== Releasing lock...
[2025-04-09 15:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:16:03] Production.INFO: ==15003== Lock acquired, processing the job...
[2025-04-09 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:16:03] Production.INFO: ==15003== Releasing lock...
[2025-04-09 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:16:04] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:16:04] Production.INFO: ==15016== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:16:04] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:16:04] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:16:04] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:16:04] Production.INFO: ==15007== Releasing lock...
[2025-04-09 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:16:04] Production.INFO: ==15014== Lock acquired, processing the job...
[2025-04-09 15:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:16:04] Production.INFO: count ==12
[2025-04-09 15:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:16:04] Production.INFO: count ==23
[2025-04-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870395') start
[2025-04-09 15:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870395') end
[2025-04-09 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:16:04] Production.INFO: 1
[2025-04-09 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:16:04] Production.INFO: Account Balance Start.
[2025-04-09 15:16:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:16:04] Production.INFO: 117
[2025-04-09 15:16:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:16:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:16:04] Production.INFO: ==15016== Releasing lock...
[2025-04-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:16:04] Production.INFO: Total Charge 0
[2025-04-09 15:16:04] Production.INFO: CreateAllLog End
[2025-04-09 15:16:04] Production.ERROR: done
[2025-04-09 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:16:05] Production.ERROR: done
[2025-04-09 15:16:05] Production.INFO: Account Balance End.
[2025-04-09 15:16:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:16:05] Production.INFO: ==15011== Releasing lock...
[2025-04-09 15:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:16:05
[end_date_ymd] => 2025-04-09 15:16:05
[RateCDR] => 1
)
[2025-04-09 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:16:05' and `end` < '2025-04-09 15:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:16:14] Production.ERROR: CronJobId end10
[2025-04-09 15:16:14] Production.INFO: ==15009== Releasing lock...
[2025-04-09 15:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:16:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:16:16] Production.INFO: call_cost start
[2025-04-09 15:16:16] Production.INFO: call_cost end
[2025-04-09 15:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:16:17] Production.INFO: ==15005== Releasing lock...
[2025-04-09 15:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:16:19] Production.INFO: count ==5159
[2025-04-09 15:16:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:16:05 - End Time 2025-04-09 15:16:05
[2025-04-09 15:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870398', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870398', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870398', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870398', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:16:22] Production.INFO: ProcessCDR(1,14870398,1,1,2)
[2025-04-09 15:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:16:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870398', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870398', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:16:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:16:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:16:27] Production.INFO: ==15014== Releasing lock...
[2025-04-09 15:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:16:27] Production.INFO: 66.5 MB #Memory Used#
[2025-04-09 20:17:01] Production.INFO: ==15070== Lock acquired, processing the job...
[2025-04-09 20:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:17:01] Production.INFO: neon service started
[2025-04-09 20:17:01] Production.INFO: neon service started
[2025-04-09 20:17:01] Production.INFO: ==15070== Releasing lock...
[2025-04-09 20:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:17:02] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-04-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:17:02] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-04-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:17:02] Production.INFO: ==15072== Releasing lock...
[2025-04-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:17:03] Production.INFO: ==15074== Releasing lock...
[2025-04-09 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:17:03] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-04-09 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:17:03] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-04-09 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:17:03] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-04-09 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:17:04] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-04-09 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:17:04] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-04-09 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:17:04] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-04-09 15:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:17:04] Production.INFO: ==15079== Releasing lock...
[2025-04-09 15:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:17:04] Production.INFO: Account Balance Start.
[2025-04-09 15:17:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:17:04] Production.INFO: 117
[2025-04-09 15:17:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:17:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:17:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:17:04] Production.INFO: Total Charge 0
[2025-04-09 15:17:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 15:17:04] Production.INFO: count ==12
[2025-04-09 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:17:04] Production.INFO: count ==23
[2025-04-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870402') start
[2025-04-09 15:17:05] Production.ERROR: done
[2025-04-09 15:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870402') end
[2025-04-09 15:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:17:05] Production.INFO: 1
[2025-04-09 15:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:17:05] Production.INFO: ==15087== Releasing lock...
[2025-04-09 15:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:17:05] Production.ERROR: done
[2025-04-09 15:17:05] Production.INFO: Account Balance End.
[2025-04-09 15:17:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:17:05] Production.INFO: ==15083== Releasing lock...
[2025-04-09 15:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:17:06
[end_date_ymd] => 2025-04-09 15:17:06
[RateCDR] => 1
)
[2025-04-09 15:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:17:06' and `end` < '2025-04-09 15:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:17:14] Production.ERROR: CronJobId end10
[2025-04-09 15:17:14] Production.INFO: ==15081== Releasing lock...
[2025-04-09 15:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:17:15] Production.INFO: call_cost start
[2025-04-09 15:17:15] Production.INFO: call_cost end
[2025-04-09 15:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:17:16] Production.INFO: ==15077== Releasing lock...
[2025-04-09 15:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:17:20] Production.INFO: count ==5124
[2025-04-09 15:17:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:17:06 - End Time 2025-04-09 15:17:06
[2025-04-09 15:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870403', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870403', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870403', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870403', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:17:22] Production.INFO: ProcessCDR(1,14870403,1,1,2)
[2025-04-09 15:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870403', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870403', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:17:27] Production.INFO: ==15085== Releasing lock...
[2025-04-09 15:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:17:27] Production.INFO: 66.25 MB #Memory Used#
[2025-04-09 20:18:01] Production.INFO: ==15139== Lock acquired, processing the job...
[2025-04-09 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:18:01] Production.INFO: neon service started
[2025-04-09 20:18:01] Production.INFO: neon service started
[2025-04-09 20:18:01] Production.INFO: ==15139== Releasing lock...
[2025-04-09 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:18:01] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-04-09 15:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:18:02] Production.INFO: ==15141== Releasing lock...
[2025-04-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:18:02] Production.INFO: ==15143== Lock acquired, processing the job...
[2025-04-09 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:18:02] Production.INFO: ==15143== Releasing lock...
[2025-04-09 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:18:03] Production.INFO: ==15149== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:18:03] Production.INFO: ==15145== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:18:03] Production.INFO: ==15155== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:18:03] Production.INFO: ==15147== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:18:03] Production.INFO: ==15151== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:18:03] Production.INFO: ==15153== Lock acquired, processing the job...
[2025-04-09 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 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-04-09 15:18:03] Production.INFO: Account Balance Start.
[2025-04-09 15:18:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:18:03] Production.INFO: 117
[2025-04-09 15:18:03] Production.INFO: count ==12
[2025-04-09 15:18:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 15:18:03] Production.INFO: count ==23
[2025-04-09 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870405') start
[2025-04-09 15:18:03] Production.INFO: ==15147== Releasing lock...
[2025-04-09 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:18:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:18:03] Production.INFO: Total Charge 0
[2025-04-09 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870405') end
[2025-04-09 15:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:18:03] Production.INFO: 1
[2025-04-09 15:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:18:03] Production.INFO: CreateAllLog End
[2025-04-09 15:18:04] Production.INFO: ==15155== Releasing lock...
[2025-04-09 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:18:04] Production.ERROR: done
[2025-04-09 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:18:04] Production.ERROR: done
[2025-04-09 15:18:04] Production.INFO: Account Balance End.
[2025-04-09 15:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:18:04] Production.INFO: ==15151== Releasing lock...
[2025-04-09 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:18:05
[end_date_ymd] => 2025-04-09 15:18:05
[RateCDR] => 1
)
[2025-04-09 15:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:18:05' and `end` < '2025-04-09 15:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:18:12] Production.ERROR: CronJobId end10
[2025-04-09 15:18:12] Production.INFO: ==15149== Releasing lock...
[2025-04-09 15:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:18:14] Production.INFO: call_cost start
[2025-04-09 15:18:14] Production.INFO: call_cost end
[2025-04-09 15:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:18:15] Production.INFO: ==15145== Releasing lock...
[2025-04-09 15:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:18:18] Production.INFO: count ==5070
[2025-04-09 15:18:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:18:05 - End Time 2025-04-09 15:18:05
[2025-04-09 15:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870408', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870408', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870408', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870408', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:18:21] Production.INFO: ProcessCDR(1,14870408,1,1,2)
[2025-04-09 15:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870408', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870408', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:18:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:18:26] Production.INFO: ==15153== Releasing lock...
[2025-04-09 15:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:18:26] Production.INFO: 66 MB #Memory Used#
[2025-04-09 20:19:01] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-04-09 20:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:19:01] Production.INFO: neon service started
[2025-04-09 20:19:01] Production.INFO: neon service started
[2025-04-09 20:19:01] Production.INFO: ==15213== Releasing lock...
[2025-04-09 20:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:19:02] Production.INFO: ==15217== Lock acquired, processing the job...
[2025-04-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:19:02] Production.INFO: ==15217== Releasing lock...
[2025-04-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:19:02] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-04-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:19:02] Production.INFO: ==15215== Releasing lock...
[2025-04-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:19:03] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-04-09 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:19:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-04-09 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:19:04] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-04-09 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:19:04] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-04-09 15:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:19:04] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-04-09 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:19:04] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-04-09 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:19:04] Production.INFO: Account Balance Start.
[2025-04-09 15:19:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:19:04] Production.INFO: 117
[2025-04-09 15:19:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 15:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:19:04] Production.INFO: count ==12
[2025-04-09 15:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:19:04] Production.INFO: count ==23
[2025-04-09 15:19:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870411') start
[2025-04-09 15:19:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:19:04] Production.ERROR: done
[2025-04-09 15:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:19:04] Production.INFO: Total Charge 0
[2025-04-09 15:19:04] Production.INFO: CreateAllLog End
[2025-04-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870411') end
[2025-04-09 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:19:04] Production.INFO: 1
[2025-04-09 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:19:04] Production.INFO: ==15222== Releasing lock...
[2025-04-09 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:19:04] Production.INFO: ==15230== Releasing lock...
[2025-04-09 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:19:04] Production.ERROR: done
[2025-04-09 15:19:05] Production.INFO: Account Balance End.
[2025-04-09 15:19:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:19:05] Production.INFO: ==15226== Releasing lock...
[2025-04-09 15:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:19:05
[end_date_ymd] => 2025-04-09 15:19:05
[RateCDR] => 1
)
[2025-04-09 15:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:19:05' and `end` < '2025-04-09 15:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:19:14] Production.ERROR: CronJobId end10
[2025-04-09 15:19:14] Production.INFO: ==15224== Releasing lock...
[2025-04-09 15:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:19:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:19:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:19:16] Production.INFO: call_cost start
[2025-04-09 15:19:16] Production.INFO: call_cost end
[2025-04-09 15:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:19:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:19:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:19:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:19:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:19:17] Production.INFO: ==15220== Releasing lock...
[2025-04-09 15:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:19:19] Production.INFO: count ==5042
[2025-04-09 15:19:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:19:05 - End Time 2025-04-09 15:19:05
[2025-04-09 15:19:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870413', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870413', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870413', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870413', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:19:22] Production.INFO: ProcessCDR(1,14870413,1,1,2)
[2025-04-09 15:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:19:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870413', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870413', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:19:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:19:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:19:28] Production.INFO: ==15228== Releasing lock...
[2025-04-09 15:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:19:28] Production.INFO: 65.75 MB #Memory Used#
[2025-04-09 20:20:01] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-04-09 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:20:01] Production.INFO: neon service started
[2025-04-09 20:20:01] Production.INFO: neon service started
[2025-04-09 20:20:01] Production.INFO: ==15282== Releasing lock...
[2025-04-09 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:20:01] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-04-09 15:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:20:02] Production.INFO: ==15286== Lock acquired, processing the job...
[2025-04-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:20:02] Production.INFO: ==15286== Releasing lock...
[2025-04-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:20:02] Production.INFO: ==15284== Releasing lock...
[2025-04-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:20:03] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-04-09 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:20:03] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-04-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:20:03] Production.ERROR: CronJob PID - 15291
[2025-04-09 15:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 15:20:03] Production.ERROR: CronJob ID - 5
[2025-04-09 15:20:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:20:00
[2025-04-09 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:20:03] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-04-09 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:20:03] Production.INFO: ==15289== Releasing lock...
[2025-04-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:20:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-04-09 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:20:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-04-09 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:20:04] Production.INFO: Account Balance Start.
[2025-04-09 15:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:20:04] Production.INFO: 117
[2025-04-09 15:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:20:04] Production.INFO: ==15293== Releasing lock...
[2025-04-09 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:20:04] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-04-09 15:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:20:04] Production.INFO: Total Charge 0
[2025-04-09 15:20:04] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-04-09 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:20:04] Production.INFO: CreateAllLog End
[2025-04-09 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:20:04] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-04-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:20:04] Production.INFO: count ==12
[2025-04-09 15:20:04] Production.ERROR: done
[2025-04-09 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:20:04] Production.INFO: count ==23
[2025-04-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870417') start
[2025-04-09 15:20:04] Production.ERROR: done
[2025-04-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870417') end
[2025-04-09 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:20:04] Production.INFO: 1
[2025-04-09 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:20:04] Production.INFO: ==15303== Releasing lock...
[2025-04-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:20:04] Production.ERROR: done
[2025-04-09 15:20:04] Production.INFO: Account Balance End.
[2025-04-09 15:20:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:20:04] Production.INFO: ==15297== Releasing lock...
[2025-04-09 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870419', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:20:05
[end_date_ymd] => 2025-04-09 15:20:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:20:05' and `end` < '2025-04-09 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-04-09 15:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870419', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:20:09] Production.INFO: ProcessCDR(1,14870419,1,1,2)
[2025-04-09 15:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870419,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:20:09] Production.INFO: ==15301== Releasing lock...
[2025-04-09 15:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:20:14] Production.ERROR: CronJobId end10
[2025-04-09 15:20:14] Production.INFO: ==15295== Releasing lock...
[2025-04-09 15:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:20:17] Production.INFO: call_cost start
[2025-04-09 15:20:17] Production.INFO: call_cost end
[2025-04-09 15:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:20:18] Production.INFO: ==15291== Releasing lock...
[2025-04-09 15:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:20:20] Production.INFO: count ==5016
[2025-04-09 15:20:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:20:05 - End Time 2025-04-09 15:20:05
[2025-04-09 15:20:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870418', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870418', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870418', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870418', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:20:22] Production.INFO: ProcessCDR(1,14870418,1,1,2)
[2025-04-09 15:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870418', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870418', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:20:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:20:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:20:27] Production.INFO: ==15299== Releasing lock...
[2025-04-09 15:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:20:27] Production.INFO: 65.5 MB #Memory Used#
[2025-04-09 20:21:02] Production.INFO: ==15356== Lock acquired, processing the job...
[2025-04-09 20:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:21:02] Production.INFO: neon service started
[2025-04-09 20:21:02] Production.INFO: neon service started
[2025-04-09 20:21:02] Production.INFO: ==15356== Releasing lock...
[2025-04-09 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:21:02] Production.INFO: ==15360== Lock acquired, processing the job...
[2025-04-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:21:02] Production.INFO: ==15360== Releasing lock...
[2025-04-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:21:02] Production.INFO: ==15358== Lock acquired, processing the job...
[2025-04-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:21:02] Production.INFO: ==15358== Releasing lock...
[2025-04-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:21:03] Production.INFO: ==15363== Lock acquired, processing the job...
[2025-04-09 15:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:21:03] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-04-09 15:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:21:03] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-04-09 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:21:03] Production.INFO: Account Balance Start.
[2025-04-09 15:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:21:03] Production.INFO: 117
[2025-04-09 15:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:21:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:21:04] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-04-09 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:21:04] Production.INFO: Total Charge 0
[2025-04-09 15:21:04] Production.INFO: CreateAllLog End
[2025-04-09 15:21:04] Production.INFO: ==15371== Lock acquired, processing the job...
[2025-04-09 15:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:21:04] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-04-09 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:21:04] Production.INFO: Account Balance End.
[2025-04-09 15:21:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:21:04] Production.INFO: ==15369== Releasing lock...
[2025-04-09 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:21:04] Production.INFO: count ==12
[2025-04-09 15:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:21:04] Production.INFO: count ==23
[2025-04-09 15:21:04] Production.INFO: ==15365== Releasing lock...
[2025-04-09 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870423') start
[2025-04-09 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870423') end
[2025-04-09 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:21:04] Production.INFO: 1
[2025-04-09 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:21:04] Production.INFO: ==15373== Releasing lock...
[2025-04-09 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:21:04] Production.ERROR: done
[2025-04-09 15:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:21:04] Production.ERROR: done
[2025-04-09 15:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:21:06
[end_date_ymd] => 2025-04-09 15:21:06
[RateCDR] => 1
)
[2025-04-09 15:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:21:06' and `end` < '2025-04-09 15:21:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:21:12] Production.ERROR: CronJobId end10
[2025-04-09 15:21:12] Production.INFO: ==15367== Releasing lock...
[2025-04-09 15:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:21:14] Production.INFO: call_cost start
[2025-04-09 15:21:14] Production.INFO: call_cost end
[2025-04-09 15:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:21:15] Production.INFO: ==15363== Releasing lock...
[2025-04-09 15:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:21:20] Production.INFO: count ==5007
[2025-04-09 15:21:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:21:06 - End Time 2025-04-09 15:21:06
[2025-04-09 15:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870424', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870424', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870424', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870424', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:21:23] Production.INFO: ProcessCDR(1,14870424,1,1,2)
[2025-04-09 15:21:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:21:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:21:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:21:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870424', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870424', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:21:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:21:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:21:28] Production.INFO: ==15371== Releasing lock...
[2025-04-09 15:21:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:21:28] Production.INFO: 65.5 MB #Memory Used#
[2025-04-09 20:22:01] Production.INFO: ==15425== Lock acquired, processing the job...
[2025-04-09 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:22:01] Production.INFO: neon service started
[2025-04-09 20:22:01] Production.INFO: neon service started
[2025-04-09 20:22:01] Production.INFO: ==15425== Releasing lock...
[2025-04-09 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:22:02] Production.INFO: ==15427== Lock acquired, processing the job...
[2025-04-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:22:02] Production.INFO: ==15429== Lock acquired, processing the job...
[2025-04-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:22:02] Production.INFO: ==15429== Releasing lock...
[2025-04-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:22:02] Production.INFO: ==15427== Releasing lock...
[2025-04-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:22:03] Production.INFO: ==15434== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:22:03] Production.INFO: ==15432== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:22:03] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:22:03] Production.INFO: ==15436== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:22:03] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:22:03] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-04-09 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 15:22:03] Production.INFO: Account Balance Start.
[2025-04-09 15:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:22:03] Production.INFO: 117
[2025-04-09 15:22:03] Production.INFO: ==15434== Releasing lock...
[2025-04-09 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:22:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:22:03] Production.INFO: count ==12
[2025-04-09 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-04-09 15:22:03] Production.INFO: count ==23
[2025-04-09 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870427') start
[2025-04-09 15:22:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:22:03] Production.INFO: Total Charge 0
[2025-04-09 15:22:03] Production.INFO: CreateAllLog End
[2025-04-09 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870427') end
[2025-04-09 15:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:22:03] Production.INFO: 1
[2025-04-09 15:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:22:04] Production.INFO: ==15442== Releasing lock...
[2025-04-09 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:22:04] Production.ERROR: done
[2025-04-09 15:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:22:04] Production.INFO: Account Balance End.
[2025-04-09 15:22:04] Production.ERROR: done
[2025-04-09 15:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:22:04] Production.INFO: ==15438== Releasing lock...
[2025-04-09 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:22:05
[end_date_ymd] => 2025-04-09 15:22:05
[RateCDR] => 1
)
[2025-04-09 15:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:22:05' and `end` < '2025-04-09 15:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:22:12] Production.ERROR: CronJobId end10
[2025-04-09 15:22:12] Production.INFO: ==15436== Releasing lock...
[2025-04-09 15:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:22:15] Production.INFO: call_cost start
[2025-04-09 15:22:15] Production.INFO: call_cost end
[2025-04-09 15:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:22:16] Production.INFO: ==15432== Releasing lock...
[2025-04-09 15:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:22:19] Production.INFO: count ==4965
[2025-04-09 15:22:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:22:05 - End Time 2025-04-09 15:22:05
[2025-04-09 15:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870429', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870429', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870429', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870429', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:22:21] Production.INFO: ProcessCDR(1,14870429,1,1,2)
[2025-04-09 15:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870429', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870429', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:22:26] Production.INFO: ==15440== Releasing lock...
[2025-04-09 15:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:22:26] Production.INFO: 65.25 MB #Memory Used#
[2025-04-09 20:23:01] Production.INFO: ==15499== Lock acquired, processing the job...
[2025-04-09 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:23:01] Production.INFO: neon service started
[2025-04-09 20:23:01] Production.INFO: neon service started
[2025-04-09 20:23:01] Production.INFO: ==15499== Releasing lock...
[2025-04-09 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:23:02] Production.INFO: ==15501== Lock acquired, processing the job...
[2025-04-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:23:02] Production.INFO: ==15501== Releasing lock...
[2025-04-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:23:02] Production.INFO: ==15503== Lock acquired, processing the job...
[2025-04-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:23:02] Production.INFO: ==15503== Releasing lock...
[2025-04-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:23:03] Production.INFO: ==15512== Lock acquired, processing the job...
[2025-04-09 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:23:03] Production.INFO: Account Balance Start.
[2025-04-09 15:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:23:03] Production.INFO: 117
[2025-04-09 15:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:23:03] Production.INFO: ==15506== Lock acquired, processing the job...
[2025-04-09 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:23:03] Production.INFO: Total Charge 0
[2025-04-09 15:23:03] Production.INFO: CreateAllLog End
[2025-04-09 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:23:03] Production.INFO: ==15508== Lock acquired, processing the job...
[2025-04-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:23:03] Production.INFO: ==15510== Lock acquired, processing the job...
[2025-04-09 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:23:03] Production.INFO: ==15514== Lock acquired, processing the job...
[2025-04-09 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:23:03] Production.INFO: Account Balance End.
[2025-04-09 15:23:03] Production.ERROR: CronJobId end 12
[2025-04-09 15:23:03] Production.INFO: ==15512== Releasing lock...
[2025-04-09 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:23:04] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-04-09 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15: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-04-09 15:23:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:23:04] Production.ERROR: done
[2025-04-09 15:23:04] Production.INFO: count ==23
[2025-04-09 15:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870433') start
[2025-04-09 15:23:04] Production.ERROR: done
[2025-04-09 15:23:04] Production.INFO: ==15508== Releasing lock...
[2025-04-09 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870433') end
[2025-04-09 15:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:23:04] Production.INFO: 1
[2025-04-09 15:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:23:04] Production.INFO: ==15516== Releasing lock...
[2025-04-09 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:23:05
[end_date_ymd] => 2025-04-09 15:23:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:23:05' and `end` < '2025-04-09 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-04-09 15:23:13] Production.ERROR: CronJobId end10
[2025-04-09 15:23:13] Production.INFO: ==15510== Releasing lock...
[2025-04-09 15:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:23:15] Production.INFO: call_cost start
[2025-04-09 15:23:15] Production.INFO: call_cost end
[2025-04-09 15:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:23:16] Production.INFO: ==15506== Releasing lock...
[2025-04-09 15:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:23:19] Production.INFO: count ==4944
[2025-04-09 15:23:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:23:05 - End Time 2025-04-09 15:23:05
[2025-04-09 15:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870434', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870434', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870434', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870434', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:23:21] Production.INFO: ProcessCDR(1,14870434,1,1,2)
[2025-04-09 15:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870434', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870434', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:23:27] Production.INFO: ==15514== Releasing lock...
[2025-04-09 15:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:23:27] Production.INFO: 65 MB #Memory Used#
[2025-04-09 20:24:01] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-04-09 20:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:24:01] Production.INFO: neon service started
[2025-04-09 20:24:01] Production.INFO: neon service started
[2025-04-09 20:24:01] Production.INFO: ==15571== Releasing lock...
[2025-04-09 20:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:24:01] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-04-09 15:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:24:02] Production.INFO: ==15573== Releasing lock...
[2025-04-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:24:02] Production.INFO: ==15575== Lock acquired, processing the job...
[2025-04-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:24:02] Production.INFO: ==15575== Releasing lock...
[2025-04-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:24:03] Production.INFO: ==15579== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:24:03] Production.INFO: ==15577== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:24:03] Production.INFO: ==15588== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:24:03] Production.INFO: ==15581== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:24:03] Production.INFO: ==15583== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:24:03] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-04-09 15:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15: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-04-09 15:24:03] Production.INFO: Account Balance Start.
[2025-04-09 15:24:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:24:03] Production.INFO: 117
[2025-04-09 15:24:03] Production.INFO: ==15579== Releasing lock...
[2025-04-09 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:24:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:24:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:24:03] Production.INFO: count ==23
[2025-04-09 15:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870437') start
[2025-04-09 15:24:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:24:03] Production.INFO: Total Charge 0
[2025-04-09 15:24:03] Production.INFO: CreateAllLog End
[2025-04-09 15:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870437') end
[2025-04-09 15:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:24:03] Production.INFO: 1
[2025-04-09 15:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:24:04] Production.INFO: ==15588== Releasing lock...
[2025-04-09 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:24:04] Production.ERROR: done
[2025-04-09 15:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:24:04] Production.ERROR: done
[2025-04-09 15:24:04] Production.INFO: Account Balance End.
[2025-04-09 15:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:24:04] Production.INFO: ==15583== Releasing lock...
[2025-04-09 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:24:05
[end_date_ymd] => 2025-04-09 15:24:05
[RateCDR] => 1
)
[2025-04-09 15:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:24:05' and `end` < '2025-04-09 15:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:24:13] Production.ERROR: CronJobId end10
[2025-04-09 15:24:13] Production.INFO: ==15581== Releasing lock...
[2025-04-09 15:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:24:15] Production.INFO: call_cost start
[2025-04-09 15:24:15] Production.INFO: call_cost end
[2025-04-09 15:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:24:16] Production.INFO: ==15577== Releasing lock...
[2025-04-09 15:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:24:19] Production.INFO: count ==4896
[2025-04-09 15:24:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:24:05 - End Time 2025-04-09 15:24:05
[2025-04-09 15:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870439', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870439', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870439', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870439', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:24:21] Production.INFO: ProcessCDR(1,14870439,1,1,2)
[2025-04-09 15:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870439', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870439', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:24:26] Production.INFO: ==15586== Releasing lock...
[2025-04-09 15:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:24:26] Production.INFO: 64.5 MB #Memory Used#
[2025-04-09 20:25:01] Production.INFO: ==15681== Lock acquired, processing the job...
[2025-04-09 20:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:25:01] Production.INFO: neon service started
[2025-04-09 20:25:01] Production.INFO: neon service started
[2025-04-09 20:25:01] Production.INFO: ==15681== Releasing lock...
[2025-04-09 20:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:25:02] Production.INFO: ==15683== Lock acquired, processing the job...
[2025-04-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:25:02] Production.INFO: ==15683== Releasing lock...
[2025-04-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:25:02] Production.INFO: ==15685== Lock acquired, processing the job...
[2025-04-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:25:02] Production.INFO: ==15685== Releasing lock...
[2025-04-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:25:03] Production.INFO: ==15691== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:25:03] Production.INFO: ==15687== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:25:03] Production.INFO: ==15689== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:25:03] Production.INFO: ==15698== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:25:03] Production.INFO: ==15693== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:25:03] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-04-09 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:25:03] Production.INFO: count ==12
[2025-04-09 15:25:03] Production.INFO: Account Balance Start.
[2025-04-09 15:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:25:03] Production.INFO: count ==23
[2025-04-09 15:25:03] Production.INFO: 117
[2025-04-09 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870442') start
[2025-04-09 15:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870442') end
[2025-04-09 15:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:25:03] Production.INFO: 1
[2025-04-09 15:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:25:03] Production.INFO: Total Charge 0
[2025-04-09 15:25:04] Production.INFO: CreateAllLog End
[2025-04-09 15:25:04] Production.INFO: ==15698== Releasing lock...
[2025-04-09 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:25:04] Production.INFO: ==15689== Releasing lock...
[2025-04-09 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:25:04] Production.ERROR: done
[2025-04-09 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:25:04] Production.ERROR: done
[2025-04-09 15:25:04] Production.INFO: Account Balance End.
[2025-04-09 15:25:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:25:04] Production.INFO: ==15693== Releasing lock...
[2025-04-09 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:25:05
[end_date_ymd] => 2025-04-09 15:25:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:25:05' and `end` < '2025-04-09 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-04-09 15:25:13] Production.ERROR: CronJobId end10
[2025-04-09 15:25:13] Production.INFO: ==15691== Releasing lock...
[2025-04-09 15:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:25:15] Production.INFO: call_cost start
[2025-04-09 15:25:15] Production.INFO: call_cost end
[2025-04-09 15:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:25:16] Production.INFO: ==15687== Releasing lock...
[2025-04-09 15:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:25:19] Production.INFO: count ==4859
[2025-04-09 15:25:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:25:05 - End Time 2025-04-09 15:25:05
[2025-04-09 15:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870444', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870444', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870444', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870444', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:25:21] Production.INFO: ProcessCDR(1,14870444,1,1,2)
[2025-04-09 15:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870444', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870444', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:25:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:25:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:25:26] Production.INFO: ==15695== Releasing lock...
[2025-04-09 15:25:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:25:26] Production.INFO: 64.25 MB #Memory Used#
[2025-04-09 20:26:02] Production.INFO: ==15754== Lock acquired, processing the job...
[2025-04-09 20:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:26:02] Production.INFO: neon service started
[2025-04-09 20:26:02] Production.INFO: neon service started
[2025-04-09 20:26:02] Production.INFO: ==15754== Releasing lock...
[2025-04-09 20:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:26:02] Production.INFO: ==15757== Lock acquired, processing the job...
[2025-04-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:26:02] Production.INFO: ==15757== Releasing lock...
[2025-04-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:26:03] Production.INFO: ==15759== Lock acquired, processing the job...
[2025-04-09 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:26:03] Production.INFO: ==15759== Releasing lock...
[2025-04-09 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:26:03] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-04-09 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:26:03] Production.INFO: ==15763== Lock acquired, processing the job...
[2025-04-09 15:26:03] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-04-09 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:26:03] Production.INFO: ==15765== Lock acquired, processing the job...
[2025-04-09 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:26:04] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-04-09 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:26:04] Production.INFO: count ==12
[2025-04-09 15:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:26:04] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-04-09 15:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:26:04] Production.INFO: Account Balance Start.
[2025-04-09 15:26:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:26:04] Production.INFO: 117
[2025-04-09 15:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:26:04] Production.INFO: count ==23
[2025-04-09 15:26:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870446') start
[2025-04-09 15:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:26:04] Production.INFO: ==15763== Releasing lock...
[2025-04-09 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:26:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:26:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:26:04] Production.INFO: Total Charge 0
[2025-04-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870446') end
[2025-04-09 15:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:26:04] Production.INFO: 1
[2025-04-09 15:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:26:04] Production.INFO: CreateAllLog End
[2025-04-09 15:26:04] Production.INFO: ==15771== Releasing lock...
[2025-04-09 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:26:04] Production.ERROR: done
[2025-04-09 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:26:04] Production.INFO: Account Balance End.
[2025-04-09 15:26:04] Production.ERROR: done
[2025-04-09 15:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:26:04] Production.INFO: ==15767== Releasing lock...
[2025-04-09 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:26:06
[end_date_ymd] => 2025-04-09 15:26:06
[RateCDR] => 1
)
[2025-04-09 15:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:26:06' and `end` < '2025-04-09 15:26:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:26:14] Production.ERROR: CronJobId end10
[2025-04-09 15:26:14] Production.INFO: ==15765== Releasing lock...
[2025-04-09 15:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:26:16] Production.INFO: call_cost start
[2025-04-09 15:26:16] Production.INFO: call_cost end
[2025-04-09 15:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:26:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:26:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:26:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:26:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:26:17] Production.INFO: ==15761== Releasing lock...
[2025-04-09 15:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:26:19] Production.INFO: count ==4819
[2025-04-09 15:26:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:26:06 - End Time 2025-04-09 15:26:06
[2025-04-09 15:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870449', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870449', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870449', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870449', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:26:21] Production.INFO: ProcessCDR(1,14870449,1,1,2)
[2025-04-09 15:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870449', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870449', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:26:27] Production.INFO: ==15769== Releasing lock...
[2025-04-09 15:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:26:27] Production.INFO: 64 MB #Memory Used#
[2025-04-09 20:27:01] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-04-09 20:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:27:01] Production.INFO: neon service started
[2025-04-09 20:27:01] Production.INFO: neon service started
[2025-04-09 20:27:01] Production.INFO: ==15824== Releasing lock...
[2025-04-09 20:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:27:02] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-04-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:27:02] Production.INFO: ==15826== Releasing lock...
[2025-04-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:27:02] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-04-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:27:02] Production.INFO: ==15828== Releasing lock...
[2025-04-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:27:03] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:27:03] Production.INFO: ==15841== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:27:03] Production.INFO: ==15831== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 15:27:03] Production.INFO: ==15835== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:27:03] Production.INFO: count ==12
[2025-04-09 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-04-09 15:27:03] Production.INFO: count ==23
[2025-04-09 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870451') start
[2025-04-09 15:27:03] Production.INFO: ==15839== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:27:03] Production.INFO: ==15837== Lock acquired, processing the job...
[2025-04-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870451') end
[2025-04-09 15:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:27:03] Production.INFO: 1
[2025-04-09 15:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:27:03] Production.INFO: Account Balance Start.
[2025-04-09 15:27:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:27:03] Production.INFO: 117
[2025-04-09 15:27:03] Production.INFO: ==15841== Releasing lock...
[2025-04-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:27:03] Production.INFO: ==15833== Releasing lock...
[2025-04-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:27:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:27:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:27:04] Production.ERROR: done
[2025-04-09 15:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:27:04] Production.INFO: Total Charge 0
[2025-04-09 15:27:04] Production.INFO: CreateAllLog End
[2025-04-09 15:27:04] Production.ERROR: done
[2025-04-09 15:27:04] Production.INFO: Account Balance End.
[2025-04-09 15:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:27:04] Production.INFO: ==15837== Releasing lock...
[2025-04-09 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:27:05
[end_date_ymd] => 2025-04-09 15:27:05
[RateCDR] => 1
)
[2025-04-09 15:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:27:05' and `end` < '2025-04-09 15:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:27:12] Production.ERROR: CronJobId end10
[2025-04-09 15:27:12] Production.INFO: ==15835== Releasing lock...
[2025-04-09 15:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:27:15] Production.INFO: call_cost start
[2025-04-09 15:27:15] Production.INFO: call_cost end
[2025-04-09 15:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:27:15] Production.INFO: ==15831== Releasing lock...
[2025-04-09 15:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:27:19] Production.INFO: count ==4797
[2025-04-09 15:27:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:27:05 - End Time 2025-04-09 15:27:05
[2025-04-09 15:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870454', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870454', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870454', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870454', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:27:21] Production.INFO: ProcessCDR(1,14870454,1,1,2)
[2025-04-09 15:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870454', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870454', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:27:26] Production.INFO: ==15839== Releasing lock...
[2025-04-09 15:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:27:26] Production.INFO: 63.75 MB #Memory Used#
[2025-04-09 20:28:02] Production.INFO: ==15895== Lock acquired, processing the job...
[2025-04-09 20:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:28:02] Production.INFO: neon service started
[2025-04-09 20:28:02] Production.INFO: neon service started
[2025-04-09 20:28:02] Production.INFO: ==15895== Releasing lock...
[2025-04-09 20:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:28:02] Production.INFO: ==15899== Lock acquired, processing the job...
[2025-04-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:28:02] Production.INFO: ==15899== Releasing lock...
[2025-04-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:28:02] Production.INFO: ==15897== Lock acquired, processing the job...
[2025-04-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:28:03] Production.INFO: ==15897== Releasing lock...
[2025-04-09 15:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:28:03] Production.INFO: ==15906== Lock acquired, processing the job...
[2025-04-09 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:28:04] Production.INFO: ==15912== Lock acquired, processing the job...
[2025-04-09 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:28:04] Production.INFO: ==15902== Lock acquired, processing the job...
[2025-04-09 15:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:28:04] Production.INFO: ==15904== Lock acquired, processing the job...
[2025-04-09 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:28:04] Production.INFO: count ==12
[2025-04-09 15:28:04] Production.INFO: ==15910== Lock acquired, processing the job...
[2025-04-09 15:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:28:04] Production.INFO: count ==23
[2025-04-09 15:28:04] Production.INFO: ==15908== Lock acquired, processing the job...
[2025-04-09 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870455') start
[2025-04-09 15:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:28:04] Production.INFO: Account Balance Start.
[2025-04-09 15:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:28:04] Production.INFO: 117
[2025-04-09 15:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870455') end
[2025-04-09 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:28:04] Production.INFO: 1
[2025-04-09 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:28:04] Production.INFO: ==15912== Releasing lock...
[2025-04-09 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:28:04] Production.INFO: Total Charge 0
[2025-04-09 15:28:04] Production.INFO: CreateAllLog End
[2025-04-09 15:28:04] Production.ERROR: done
[2025-04-09 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:28:04] Production.INFO: ==15904== Releasing lock...
[2025-04-09 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:28:04] Production.ERROR: done
[2025-04-09 15:28:05] Production.INFO: Account Balance End.
[2025-04-09 15:28:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:28:05] Production.INFO: ==15908== Releasing lock...
[2025-04-09 15:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:28:06
[end_date_ymd] => 2025-04-09 15:28:06
[RateCDR] => 1
)
[2025-04-09 15:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:28:06' and `end` < '2025-04-09 15:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:28:12] Production.ERROR: CronJobId end10
[2025-04-09 15:28:12] Production.INFO: ==15906== Releasing lock...
[2025-04-09 15:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:28:14] Production.INFO: call_cost start
[2025-04-09 15:28:14] Production.INFO: call_cost end
[2025-04-09 15:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:28:15] Production.INFO: ==15902== Releasing lock...
[2025-04-09 15:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:28:20] Production.INFO: count ==4766
[2025-04-09 15:28:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:28:06 - End Time 2025-04-09 15:28:06
[2025-04-09 15:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870459', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870459', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870459', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870459', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:28:22] Production.INFO: ProcessCDR(1,14870459,1,1,2)
[2025-04-09 15:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870459', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870459', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:28:27] Production.INFO: ==15910== Releasing lock...
[2025-04-09 15:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:28:27] Production.INFO: 63.75 MB #Memory Used#
[2025-04-09 20:29:01] Production.INFO: ==15966== Lock acquired, processing the job...
[2025-04-09 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:29:01] Production.INFO: neon service started
[2025-04-09 20:29:01] Production.INFO: neon service started
[2025-04-09 20:29:01] Production.INFO: ==15966== Releasing lock...
[2025-04-09 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:29:02] Production.INFO: ==15970== Lock acquired, processing the job...
[2025-04-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:29:02] Production.INFO: ==15970== Releasing lock...
[2025-04-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:29:02] Production.INFO: ==15968== Lock acquired, processing the job...
[2025-04-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:29:02] Production.INFO: ==15968== Releasing lock...
[2025-04-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:29:03] Production.INFO: ==15979== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:29:03] Production.INFO: ==15983== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:29:03] Production.INFO: Account Balance Start.
[2025-04-09 15:29:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:29:03] Production.INFO: 117
[2025-04-09 15:29:03] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 15:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:29:03] Production.INFO: count ==12
[2025-04-09 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-04-09 15:29:03] Production.INFO: count ==23
[2025-04-09 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870461') start
[2025-04-09 15:29:03] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:29:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:29:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:29:03] Production.INFO: Total Charge 0
[2025-04-09 15:29:03] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:29:03] Production.INFO: ==15981== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:29:03] Production.INFO: CreateAllLog End
[2025-04-09 15:29:03] Production.INFO: ==15977== Lock acquired, processing the job...
[2025-04-09 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870461') end
[2025-04-09 15:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:29:03] Production.INFO: 1
[2025-04-09 15:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:29:03] Production.INFO: ==15983== Releasing lock...
[2025-04-09 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:29:03] Production.INFO: Account Balance End.
[2025-04-09 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:29:03] Production.ERROR: CronJobId end 12
[2025-04-09 15:29:03] Production.INFO: ==15979== Releasing lock...
[2025-04-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:29:03] Production.INFO: ==15975== Releasing lock...
[2025-04-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:29:04] Production.ERROR: done
[2025-04-09 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:29:04] Production.ERROR: done
[2025-04-09 15:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:29:05
[end_date_ymd] => 2025-04-09 15:29:05
[RateCDR] => 1
)
[2025-04-09 15:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:29:05' and `end` < '2025-04-09 15:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:29:12] Production.ERROR: CronJobId end10
[2025-04-09 15:29:12] Production.INFO: ==15977== Releasing lock...
[2025-04-09 15:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:29:14] Production.INFO: call_cost start
[2025-04-09 15:29:14] Production.INFO: call_cost end
[2025-04-09 15:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:29:15] Production.INFO: ==15973== Releasing lock...
[2025-04-09 15:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:29:19] Production.INFO: count ==4744
[2025-04-09 15:29:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:29:05 - End Time 2025-04-09 15:29:05
[2025-04-09 15:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870464', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870464', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870464', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870464', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:29:21] Production.INFO: ProcessCDR(1,14870464,1,1,2)
[2025-04-09 15:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870464', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870464', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:29:26] Production.INFO: ==15981== Releasing lock...
[2025-04-09 15:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:29:26] Production.INFO: 63.5 MB #Memory Used#
[2025-04-09 20:30:02] Production.INFO: ==16039== Lock acquired, processing the job...
[2025-04-09 20:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:30:02] Production.INFO: neon service started
[2025-04-09 20:30:02] Production.INFO: neon service started
[2025-04-09 20:30:02] Production.INFO: ==16039== Releasing lock...
[2025-04-09 20:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:30:02] Production.INFO: ==16041== Lock acquired, processing the job...
[2025-04-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:30:02] Production.INFO: ==16043== Lock acquired, processing the job...
[2025-04-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:30:02] Production.INFO: ==16043== Releasing lock...
[2025-04-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:30:03] Production.INFO: ==16041== Releasing lock...
[2025-04-09 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:30:03] Production.INFO: ==16045== Lock acquired, processing the job...
[2025-04-09 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:30:03] Production.INFO: ==16045== Releasing lock...
[2025-04-09 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:30:03] Production.INFO: ==16047== Lock acquired, processing the job...
[2025-04-09 15:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:30:03] Production.INFO: ==16049== Lock acquired, processing the job...
[2025-04-09 15:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:30:04] Production.INFO: ==16051== Lock acquired, processing the job...
[2025-04-09 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:30:04] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-04-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:30:04] Production.INFO: ==16054== Lock acquired, processing the job...
[2025-04-09 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:30:04] Production.INFO: count ==12
[2025-04-09 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:30:04] Production.INFO: count ==23
[2025-04-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870467') start
[2025-04-09 15:30:04] Production.INFO: ==16049== Releasing lock...
[2025-04-09 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:30:04] Production.INFO: ==16058== Lock acquired, processing the job...
[2025-04-09 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:30:04] Production.INFO: Account Balance Start.
[2025-04-09 15:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:30:04] Production.INFO: 117
[2025-04-09 15:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870467') end
[2025-04-09 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:30:04] Production.INFO: 1
[2025-04-09 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:30:04] Production.INFO: ==16056== Lock acquired, processing the job...
[2025-04-09 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:30:04] Production.INFO: ==16060== Releasing lock...
[2025-04-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:30:04] Production.INFO: Total Charge 0
[2025-04-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:30:04] Production.INFO: CreateAllLog End
[2025-04-09 15:30:05] Production.INFO: Account Balance End.
[2025-04-09 15:30:05] Production.ERROR: done
[2025-04-09 15:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:30:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:30:05] Production.INFO: ==16054== Releasing lock...
[2025-04-09 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:30:05] Production.ERROR: done
[2025-04-09 15:30:05] Production.ERROR: done
[2025-04-09 15:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870469', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:30:06
[end_date_ymd] => 2025-04-09 15:30:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:30:06' and `end` < '2025-04-09 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-04-09 15:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870469', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:30:09] Production.INFO: ProcessCDR(1,14870469,1,1,2)
[2025-04-09 15:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870469,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:30:10] Production.INFO: ==16058== Releasing lock...
[2025-04-09 15:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:30:15] Production.ERROR: CronJobId end10
[2025-04-09 15:30:15] Production.INFO: ==16051== Releasing lock...
[2025-04-09 15:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:30:16] Production.INFO: call_cost start
[2025-04-09 15:30:16] Production.INFO: call_cost end
[2025-04-09 15:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:30:17] Production.INFO: ==16047== Releasing lock...
[2025-04-09 15:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:30:20] Production.INFO: count ==4700
[2025-04-09 15:30:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:30:06 - End Time 2025-04-09 15:30:06
[2025-04-09 15:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870470', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870470', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870470', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870470', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:30:22] Production.INFO: ProcessCDR(1,14870470,1,1,2)
[2025-04-09 15:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870470', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870470', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:30:27] Production.INFO: ==16056== Releasing lock...
[2025-04-09 15:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:30:27] Production.INFO: 63.25 MB #Memory Used#
[2025-04-09 20:31:01] Production.INFO: ==16114== Lock acquired, processing the job...
[2025-04-09 20:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:31:01] Production.INFO: neon service started
[2025-04-09 20:31:01] Production.INFO: neon service started
[2025-04-09 20:31:01] Production.INFO: ==16114== Releasing lock...
[2025-04-09 20:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:31:01] Production.INFO: ==16118== Lock acquired, processing the job...
[2025-04-09 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:31:01] Production.INFO: ==16118== Releasing lock...
[2025-04-09 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:31:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:31:02] Production.INFO: ==16116== Lock acquired, processing the job...
[2025-04-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:31:02] Production.INFO: ==16116== Releasing lock...
[2025-04-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:31:03] Production.INFO: ==16120== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:31:03] Production.INFO: ==16129== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:31:03] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:31:03] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:31:03] Production.INFO: ==16127== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:31:03] Production.INFO: ==16131== Lock acquired, processing the job...
[2025-04-09 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:31:03] Production.ERROR: done
[2025-04-09 15:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:31:03] Production.INFO: Account Balance Start.
[2025-04-09 15:31:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:31:03] Production.INFO: 117
[2025-04-09 15:31:03] Production.INFO: Date 2025-04-08
[2025-04-09 15: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-04-09 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:31:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:31:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:31:04] Production.INFO: count ==23
[2025-04-09 15:31:04] Production.ERROR: done
[2025-04-09 15:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870474') start
[2025-04-09 15:31:04] Production.INFO: ==16122== Releasing lock...
[2025-04-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:31:04] Production.INFO: Total Charge 0
[2025-04-09 15:31:04] Production.INFO: CreateAllLog End
[2025-04-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870474') end
[2025-04-09 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:31:04] Production.INFO: 1
[2025-04-09 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:31:04] Production.INFO: ==16131== Releasing lock...
[2025-04-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:31:04] Production.INFO: Account Balance End.
[2025-04-09 15:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:31:04] Production.INFO: ==16127== Releasing lock...
[2025-04-09 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:31:05
[end_date_ymd] => 2025-04-09 15:31:05
[RateCDR] => 1
)
[2025-04-09 15:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:31:05' and `end` < '2025-04-09 15:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:31:13] Production.ERROR: CronJobId end10
[2025-04-09 15:31:13] Production.INFO: ==16125== Releasing lock...
[2025-04-09 15:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:31:14] Production.INFO: call_cost start
[2025-04-09 15:31:14] Production.INFO: call_cost end
[2025-04-09 15:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:31:15] Production.INFO: ==16120== Releasing lock...
[2025-04-09 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:31:19] Production.INFO: count ==4676
[2025-04-09 15:31:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:31:05 - End Time 2025-04-09 15:31:05
[2025-04-09 15:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870475', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870475', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870475', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870475', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:31:21] Production.INFO: ProcessCDR(1,14870475,1,1,2)
[2025-04-09 15:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870475', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870475', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:31:26] Production.INFO: ==16129== Releasing lock...
[2025-04-09 15:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:31:26] Production.INFO: 63 MB #Memory Used#
[2025-04-09 20:32:02] Production.INFO: ==16184== Lock acquired, processing the job...
[2025-04-09 20:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:32:02] Production.INFO: neon service started
[2025-04-09 20:32:02] Production.INFO: neon service started
[2025-04-09 20:32:02] Production.INFO: ==16184== Releasing lock...
[2025-04-09 20:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:32:02] Production.INFO: ==16189== Lock acquired, processing the job...
[2025-04-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:32:02] Production.INFO: ==16189== Releasing lock...
[2025-04-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:32:02] Production.INFO: ==16186== Lock acquired, processing the job...
[2025-04-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:32:02] Production.INFO: ==16186== Releasing lock...
[2025-04-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:32:03] Production.INFO: ==16197== Lock acquired, processing the job...
[2025-04-09 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:32:03] Production.INFO: ==16201== Lock acquired, processing the job...
[2025-04-09 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:32:03] Production.INFO: Account Balance Start.
[2025-04-09 15:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:32:03] Production.INFO: 117
[2025-04-09 15:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:32:03] Production.INFO: Total Charge 0
[2025-04-09 15:32:03] Production.INFO: CreateAllLog End
[2025-04-09 15:32:04] Production.INFO: ==16191== Lock acquired, processing the job...
[2025-04-09 15:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:32:04] Production.INFO: count ==12
[2025-04-09 15:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:32:04] Production.INFO: count ==23
[2025-04-09 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870477') start
[2025-04-09 15:32:04] Production.INFO: ==16193== Lock acquired, processing the job...
[2025-04-09 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:32:04] Production.INFO: ==16195== Lock acquired, processing the job...
[2025-04-09 15:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:32:04] Production.INFO: Account Balance End.
[2025-04-09 15:32:04] Production.INFO: ==16199== Lock acquired, processing the job...
[2025-04-09 15:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870477') end
[2025-04-09 15:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:32:04] Production.INFO: 1
[2025-04-09 15:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:32:04] Production.INFO: ==16201== Releasing lock...
[2025-04-09 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:32:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:32:04] Production.INFO: ==16197== Releasing lock...
[2025-04-09 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:32:04] Production.INFO: ==16193== Releasing lock...
[2025-04-09 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:32:04] Production.ERROR: done
[2025-04-09 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:32:04] Production.ERROR: done
[2025-04-09 15:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:32:05
[end_date_ymd] => 2025-04-09 15:32:05
[RateCDR] => 1
)
[2025-04-09 15:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:32:05' and `end` < '2025-04-09 15:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:32:14] Production.ERROR: CronJobId end10
[2025-04-09 15:32:14] Production.INFO: ==16195== Releasing lock...
[2025-04-09 15:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:32:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:32:15] Production.INFO: call_cost start
[2025-04-09 15:32:15] Production.INFO: call_cost end
[2025-04-09 15:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:32:16] Production.INFO: ==16191== Releasing lock...
[2025-04-09 15:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:32:19] Production.INFO: count ==4685
[2025-04-09 15:32:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:32:05 - End Time 2025-04-09 15:32:05
[2025-04-09 15:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870480', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870480', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870480', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870480', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:32:21] Production.INFO: ProcessCDR(1,14870480,1,1,2)
[2025-04-09 15:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870480', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870480', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:32:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:32:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:32:26] Production.INFO: ==16199== Releasing lock...
[2025-04-09 15:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:32:26] Production.INFO: 63 MB #Memory Used#
[2025-04-09 20:33:01] Production.INFO: ==16254== Lock acquired, processing the job...
[2025-04-09 20:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:33:01] Production.INFO: neon service started
[2025-04-09 20:33:01] Production.INFO: neon service started
[2025-04-09 20:33:01] Production.INFO: ==16254== Releasing lock...
[2025-04-09 20:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:33:02] Production.INFO: ==16256== Lock acquired, processing the job...
[2025-04-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:33:02] Production.INFO: ==16258== Lock acquired, processing the job...
[2025-04-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:33:02] Production.INFO: ==16258== Releasing lock...
[2025-04-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:33:02] Production.INFO: ==16256== Releasing lock...
[2025-04-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:33:03] Production.INFO: ==16261== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:33:03] Production.INFO: ==16263== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:33:03] Production.INFO: ==16269== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:33:03] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:33:03] Production.INFO: ==16267== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:33:03] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-04-09 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:33:03] Production.INFO: ==16263== Releasing lock...
[2025-04-09 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:33:03] Production.INFO: Account Balance Start.
[2025-04-09 15:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:33:03] Production.INFO: 117
[2025-04-09 15:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:33:03] Production.INFO: count ==12
[2025-04-09 15:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 15:33:03] Production.INFO: count ==23
[2025-04-09 15:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870484') start
[2025-04-09 15:33:04] Production.ERROR: done
[2025-04-09 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:33:04] Production.INFO: Total Charge 0
[2025-04-09 15:33:04] Production.INFO: CreateAllLog End
[2025-04-09 15:33:04] Production.ERROR: done
[2025-04-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870484') end
[2025-04-09 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:33:04] Production.INFO: 1
[2025-04-09 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:33:04] Production.INFO: ==16271== Releasing lock...
[2025-04-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:33:04] Production.INFO: Account Balance End.
[2025-04-09 15:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:33:04] Production.INFO: ==16267== Releasing lock...
[2025-04-09 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:33:05
[end_date_ymd] => 2025-04-09 15:33:05
[RateCDR] => 1
)
[2025-04-09 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:33:05' and `end` < '2025-04-09 15:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:33:12] Production.ERROR: CronJobId end10
[2025-04-09 15:33:12] Production.INFO: ==16265== Releasing lock...
[2025-04-09 15:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:33:13] Production.INFO: call_cost start
[2025-04-09 15:33:13] Production.INFO: call_cost end
[2025-04-09 15:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:33:14] Production.INFO: ==16261== Releasing lock...
[2025-04-09 15:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:33:19] Production.INFO: count ==4677
[2025-04-09 15:33:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:33:05 - End Time 2025-04-09 15:33:05
[2025-04-09 15:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870485', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870485', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870485', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870485', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:33:21] Production.INFO: ProcessCDR(1,14870485,1,1,2)
[2025-04-09 15:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870485', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870485', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:33:26] Production.INFO: ==16269== Releasing lock...
[2025-04-09 15:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:33:26] Production.INFO: 63 MB #Memory Used#
[2025-04-09 20:34:01] Production.INFO: ==16331== Lock acquired, processing the job...
[2025-04-09 20:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:34:01] Production.INFO: neon service started
[2025-04-09 20:34:01] Production.INFO: neon service started
[2025-04-09 20:34:01] Production.INFO: ==16331== Releasing lock...
[2025-04-09 20:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:34:02] Production.INFO: ==16333== Lock acquired, processing the job...
[2025-04-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:34:02] Production.INFO: ==16335== Lock acquired, processing the job...
[2025-04-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:34:02] Production.INFO: ==16335== Releasing lock...
[2025-04-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:34:02] Production.INFO: ==16333== Releasing lock...
[2025-04-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:34:03] Production.INFO: ==16340== Lock acquired, processing the job...
[2025-04-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:34:03] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-04-09 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:34:03] Production.INFO: ==16338== Lock acquired, processing the job...
[2025-04-09 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:34:04] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-04-09 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:34:04] Production.INFO: Account Balance Start.
[2025-04-09 15:34:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:34:04] Production.INFO: 117
[2025-04-09 15:34:04] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-04-09 15:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:34:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:34:04] Production.INFO: ==16348== Lock acquired, processing the job...
[2025-04-09 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:34:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:34:04] Production.INFO: Total Charge 0
[2025-04-09 15:34:04] Production.INFO: CreateAllLog End
[2025-04-09 15:34:04] Production.INFO: ==16340== Releasing lock...
[2025-04-09 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:34:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:34:04] Production.INFO: count ==23
[2025-04-09 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870489') start
[2025-04-09 15:34:04] Production.INFO: Account Balance End.
[2025-04-09 15:34:04] Production.ERROR: done
[2025-04-09 15:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:34:04] Production.INFO: ==16344== Releasing lock...
[2025-04-09 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870489') end
[2025-04-09 15:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:34:04] Production.INFO: 1
[2025-04-09 15:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:34:05] Production.INFO: ==16348== Releasing lock...
[2025-04-09 15:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:34:05] Production.ERROR: done
[2025-04-09 15:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:34:06
[end_date_ymd] => 2025-04-09 15:34:06
[RateCDR] => 1
)
[2025-04-09 15:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:34:06' and `end` < '2025-04-09 15:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:34:12] Production.ERROR: CronJobId end10
[2025-04-09 15:34:12] Production.INFO: ==16342== Releasing lock...
[2025-04-09 15:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:34:15] Production.INFO: call_cost start
[2025-04-09 15:34:15] Production.INFO: call_cost end
[2025-04-09 15:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:34:16] Production.INFO: ==16338== Releasing lock...
[2025-04-09 15:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:34:19] Production.INFO: count ==4639
[2025-04-09 15:34:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:34:06 - End Time 2025-04-09 15:34:06
[2025-04-09 15:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870490', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870490', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870490', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870490', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:34:21] Production.INFO: ProcessCDR(1,14870490,1,1,2)
[2025-04-09 15:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870490', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870490', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:34:26] Production.INFO: ==16346== Releasing lock...
[2025-04-09 15:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:34:26] Production.INFO: 62.75 MB #Memory Used#
[2025-04-09 20:35:01] Production.INFO: ==16413== Lock acquired, processing the job...
[2025-04-09 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:35:01] Production.INFO: neon service started
[2025-04-09 20:35:01] Production.INFO: neon service started
[2025-04-09 20:35:01] Production.INFO: ==16413== Releasing lock...
[2025-04-09 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:35:01] Production.INFO: ==16415== Lock acquired, processing the job...
[2025-04-09 15:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:35:02] Production.INFO: ==16415== Releasing lock...
[2025-04-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:35:02] Production.INFO: ==16417== Lock acquired, processing the job...
[2025-04-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:35:02] Production.INFO: ==16417== Releasing lock...
[2025-04-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:35:03] Production.INFO: ==16424== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:35:03] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:35:03] Production.INFO: ==16422== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15: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-04-09 15:35:03] Production.INFO: ==16420== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:35:03] Production.INFO: count ==12
[2025-04-09 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15: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-04-09 15:35:03] Production.INFO: count ==23
[2025-04-09 15:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870491') start
[2025-04-09 15:35:03] Production.INFO: ==16426== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:35:03] Production.INFO: ==16428== Lock acquired, processing the job...
[2025-04-09 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:35:03] Production.INFO: Account Balance Start.
[2025-04-09 15:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870491') end
[2025-04-09 15:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:35:03] Production.INFO: 1
[2025-04-09 15:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:35:03] Production.INFO: 117
[2025-04-09 15:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:35:03] Production.INFO: ==16430== Releasing lock...
[2025-04-09 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:35:03] Production.INFO: Total Charge 0
[2025-04-09 15:35:03] Production.INFO: CreateAllLog End
[2025-04-09 15:35:03] Production.INFO: ==16422== Releasing lock...
[2025-04-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:35:03] Production.INFO: Account Balance End.
[2025-04-09 15:35:03] Production.ERROR: CronJobId end 12
[2025-04-09 15:35:03] Production.INFO: ==16426== Releasing lock...
[2025-04-09 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:35:03] Production.ERROR: done
[2025-04-09 15:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:35:04] Production.ERROR: done
[2025-04-09 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:35:05
[end_date_ymd] => 2025-04-09 15:35:05
[RateCDR] => 1
)
[2025-04-09 15:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:35:05' and `end` < '2025-04-09 15:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:35:12] Production.ERROR: CronJobId end10
[2025-04-09 15:35:12] Production.INFO: ==16424== Releasing lock...
[2025-04-09 15:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:35:14] Production.INFO: call_cost start
[2025-04-09 15:35:14] Production.INFO: call_cost end
[2025-04-09 15:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:35:15] Production.INFO: ==16420== Releasing lock...
[2025-04-09 15:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:35:19] Production.INFO: count ==4615
[2025-04-09 15:35:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:35:05 - End Time 2025-04-09 15:35:05
[2025-04-09 15:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870495', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870495', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870495', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870495', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:35:21] Production.INFO: ProcessCDR(1,14870495,1,1,2)
[2025-04-09 15:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870495', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870495', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:35:26] Production.INFO: ==16428== Releasing lock...
[2025-04-09 15:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:35:26] Production.INFO: 62.5 MB #Memory Used#
[2025-04-09 20:36:01] Production.INFO: ==16485== Lock acquired, processing the job...
[2025-04-09 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:36:01] Production.INFO: neon service started
[2025-04-09 20:36:01] Production.INFO: neon service started
[2025-04-09 20:36:01] Production.INFO: ==16485== Releasing lock...
[2025-04-09 20:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:36:02] Production.INFO: ==16487== Lock acquired, processing the job...
[2025-04-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:36:02] Production.INFO: ==16489== Lock acquired, processing the job...
[2025-04-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:36:02] Production.INFO: ==16489== Releasing lock...
[2025-04-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:36:02] Production.INFO: ==16487== Releasing lock...
[2025-04-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:36:03] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-04-09 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:36:03] Production.INFO: ==16492== Lock acquired, processing the job...
[2025-04-09 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:36:03] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-04-09 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:36:03] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-04-09 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:36:03] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-04-09 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:36:03] Production.INFO: Account Balance Start.
[2025-04-09 15:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:36:03] Production.INFO: 117
[2025-04-09 15:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:36:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:36:04] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-04-09 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:36:04] Production.INFO: Total Charge 0
[2025-04-09 15:36:04] Production.INFO: CreateAllLog End
[2025-04-09 15:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:36:04] Production.ERROR: done
[2025-04-09 15:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:36:04] Production.INFO: count ==12
[2025-04-09 15:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:36:04] Production.INFO: count ==23
[2025-04-09 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870499') start
[2025-04-09 15:36:04] Production.ERROR: done
[2025-04-09 15:36:04] Production.INFO: ==16494== Releasing lock...
[2025-04-09 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:36:04] Production.INFO: Account Balance End.
[2025-04-09 15:36:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:36:04] Production.INFO: ==16498== Releasing lock...
[2025-04-09 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870499') end
[2025-04-09 15:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:36:04] Production.INFO: 1
[2025-04-09 15:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:36:04] Production.INFO: ==16502== Releasing lock...
[2025-04-09 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:36:05
[end_date_ymd] => 2025-04-09 15:36:05
[RateCDR] => 1
)
[2025-04-09 15: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-04-09 12:36:05' and `end` < '2025-04-09 15: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-04-09 15:36:13] Production.ERROR: CronJobId end10
[2025-04-09 15:36:13] Production.INFO: ==16496== Releasing lock...
[2025-04-09 15:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:36:14] Production.INFO: call_cost start
[2025-04-09 15:36:14] Production.INFO: call_cost end
[2025-04-09 15:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:36:15] Production.INFO: ==16492== Releasing lock...
[2025-04-09 15:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:36:19] Production.INFO: count ==4566
[2025-04-09 15:36:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:36:05 - End Time 2025-04-09 15:36:05
[2025-04-09 15:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870500', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870500', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870500', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870500', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:36:21] Production.INFO: ProcessCDR(1,14870500,1,1,2)
[2025-04-09 15:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870500', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870500', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:36:26] Production.INFO: ==16500== Releasing lock...
[2025-04-09 15:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:36:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 20:37:02] Production.INFO: ==16556== Lock acquired, processing the job...
[2025-04-09 20:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:37:02] Production.INFO: neon service started
[2025-04-09 20:37:02] Production.INFO: neon service started
[2025-04-09 20:37:02] Production.INFO: ==16556== Releasing lock...
[2025-04-09 20:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:37:02] Production.INFO: ==16560== Lock acquired, processing the job...
[2025-04-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:37:02] Production.INFO: ==16560== Releasing lock...
[2025-04-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:37:02] Production.INFO: ==16558== Lock acquired, processing the job...
[2025-04-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:37:03] Production.INFO: ==16558== Releasing lock...
[2025-04-09 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:37:03] Production.INFO: ==16562== Lock acquired, processing the job...
[2025-04-09 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:37:03] Production.INFO: ==16569== Lock acquired, processing the job...
[2025-04-09 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:37:04] Production.INFO: Account Balance Start.
[2025-04-09 15:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:37:04] Production.INFO: 117
[2025-04-09 15:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:37:04] Production.INFO: ==16564== Lock acquired, processing the job...
[2025-04-09 15:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:37:04] Production.INFO: ==16573== Lock acquired, processing the job...
[2025-04-09 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:37:04] Production.INFO: ==16566== Lock acquired, processing the job...
[2025-04-09 15:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:37:04] Production.INFO: Total Charge 0
[2025-04-09 15:37:04] Production.INFO: CreateAllLog End
[2025-04-09 15:37:04] Production.INFO: ==16571== Lock acquired, processing the job...
[2025-04-09 15:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:37:04] Production.INFO: count ==12
[2025-04-09 15:37:04] Production.INFO: Account Balance End.
[2025-04-09 15:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:37:04] Production.INFO: count ==23
[2025-04-09 15:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:37:04] Production.INFO: ==16569== Releasing lock...
[2025-04-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870504') start
[2025-04-09 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:37:04] Production.INFO: ==16564== Releasing lock...
[2025-04-09 15:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870504') end
[2025-04-09 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:37:04] Production.INFO: 1
[2025-04-09 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:37:04] Production.INFO: ==16573== Releasing lock...
[2025-04-09 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:37:04] Production.ERROR: done
[2025-04-09 15:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:37:04] Production.ERROR: done
[2025-04-09 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:37:05
[end_date_ymd] => 2025-04-09 15:37:05
[RateCDR] => 1
)
[2025-04-09 15:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:37:05' and `end` < '2025-04-09 15:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:37:13] Production.ERROR: CronJobId end10
[2025-04-09 15:37:13] Production.INFO: ==16566== Releasing lock...
[2025-04-09 15:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:37:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:37:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:37:15] Production.INFO: call_cost start
[2025-04-09 15:37:15] Production.INFO: call_cost end
[2025-04-09 15:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:37:16] Production.INFO: ==16562== Releasing lock...
[2025-04-09 15:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:37:19] Production.INFO: count ==4521
[2025-04-09 15:37:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:37:05 - End Time 2025-04-09 15:37:05
[2025-04-09 15:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870505', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870505', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870505', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870505', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:37:21] Production.INFO: ProcessCDR(1,14870505,1,1,2)
[2025-04-09 15:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870505', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870505', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:37:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:37:27] Production.INFO: ==16571== Releasing lock...
[2025-04-09 15:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:37:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 20:38:01] Production.INFO: ==16633== Lock acquired, processing the job...
[2025-04-09 20:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:38:01] Production.INFO: neon service started
[2025-04-09 20:38:01] Production.INFO: neon service started
[2025-04-09 20:38:01] Production.INFO: ==16633== Releasing lock...
[2025-04-09 20:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:38:02] Production.INFO: ==16635== Lock acquired, processing the job...
[2025-04-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:38:02] Production.INFO: ==16637== Lock acquired, processing the job...
[2025-04-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:38:02] Production.INFO: ==16637== Releasing lock...
[2025-04-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:38:02] Production.INFO: ==16635== Releasing lock...
[2025-04-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:38:03] Production.INFO: ==16639== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:38:03] Production.INFO: ==16648== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:38:03] Production.INFO: ==16641== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:38:03] Production.INFO: ==16644== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:38:03] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:38:03] Production.INFO: ==16650== Lock acquired, processing the job...
[2025-04-09 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:38:04] Production.INFO: Account Balance Start.
[2025-04-09 15:38:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:38:04] Production.INFO: 117
[2025-04-09 15:38:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:38:04] Production.INFO: count ==12
[2025-04-09 15:38:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:38:04] Production.INFO: count ==23
[2025-04-09 15:38:04] Production.ERROR: done
[2025-04-09 15:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870509') start
[2025-04-09 15:38:04] Production.INFO: Total Charge 0
[2025-04-09 15:38:04] Production.INFO: CreateAllLog End
[2025-04-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870509') end
[2025-04-09 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:38:04] Production.INFO: 1
[2025-04-09 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:38:04] Production.INFO: ==16650== Releasing lock...
[2025-04-09 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:38:04] Production.INFO: ==16641== Releasing lock...
[2025-04-09 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:38:04] Production.ERROR: done
[2025-04-09 15:38:04] Production.INFO: Account Balance End.
[2025-04-09 15:38:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:38:04] Production.INFO: ==16646== Releasing lock...
[2025-04-09 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:38:05
[end_date_ymd] => 2025-04-09 15:38:05
[RateCDR] => 1
)
[2025-04-09 15: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-04-09 12:38:05' and `end` < '2025-04-09 15: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-04-09 15:38:12] Production.ERROR: CronJobId end10
[2025-04-09 15:38:12] Production.INFO: ==16644== Releasing lock...
[2025-04-09 15:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:38:15] Production.INFO: call_cost start
[2025-04-09 15:38:15] Production.INFO: call_cost end
[2025-04-09 15:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:38:16] Production.INFO: ==16639== Releasing lock...
[2025-04-09 15:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:38:19] Production.INFO: count ==4478
[2025-04-09 15:38:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:38:05 - End Time 2025-04-09 15:38:05
[2025-04-09 15:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870510', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870510', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870510', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870510', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:38:21] Production.INFO: ProcessCDR(1,14870510,1,1,2)
[2025-04-09 15:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870510', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870510', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:38:26] Production.INFO: ==16648== Releasing lock...
[2025-04-09 15:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:38:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:39:02] Production.INFO: ==16704== Lock acquired, processing the job...
[2025-04-09 20:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:39:02] Production.INFO: neon service started
[2025-04-09 20:39:02] Production.INFO: neon service started
[2025-04-09 20:39:02] Production.INFO: ==16704== Releasing lock...
[2025-04-09 20:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:39:02] Production.INFO: ==16706== Lock acquired, processing the job...
[2025-04-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:39:02] Production.INFO: ==16708== Lock acquired, processing the job...
[2025-04-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:39:02] Production.INFO: ==16708== Releasing lock...
[2025-04-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:39:03] Production.INFO: ==16706== Releasing lock...
[2025-04-09 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:39:04] Production.INFO: ==16711== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:39:04] Production.INFO: ==16713== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:39:04] Production.INFO: ==16715== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:39:04] Production.INFO: ==16719== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:39:04] Production.INFO: ==16713== Releasing lock...
[2025-04-09 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:39:04] Production.INFO: ==16717== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:39:04] Production.INFO: ==16721== Lock acquired, processing the job...
[2025-04-09 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:39:04] Production.INFO: Account Balance Start.
[2025-04-09 15:39:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:39:04] Production.INFO: 117
[2025-04-09 15:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:39:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:39:04] Production.INFO: count ==12
[2025-04-09 15:39:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:39:04] Production.INFO: count ==23
[2025-04-09 15:39:04] Production.INFO: Total Charge 0
[2025-04-09 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870513') start
[2025-04-09 15:39:04] Production.INFO: CreateAllLog End
[2025-04-09 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870513') end
[2025-04-09 15:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:39:04] Production.INFO: 1
[2025-04-09 15:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:39:05] Production.INFO: Account Balance End.
[2025-04-09 15:39:05] Production.ERROR: done
[2025-04-09 15:39:05] Production.INFO: ==16721== Releasing lock...
[2025-04-09 15:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:39:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:39:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:39:05] Production.INFO: ==16717== Releasing lock...
[2025-04-09 15:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:39:05] Production.ERROR: done
[2025-04-09 15:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:39:06
[end_date_ymd] => 2025-04-09 15:39:06
[RateCDR] => 1
)
[2025-04-09 15: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-04-09 12:39:06' and `end` < '2025-04-09 15:39:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:39:12] Production.ERROR: CronJobId end10
[2025-04-09 15:39:12] Production.INFO: ==16715== Releasing lock...
[2025-04-09 15:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:39:15] Production.INFO: call_cost start
[2025-04-09 15:39:15] Production.INFO: call_cost end
[2025-04-09 15:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:39:16] Production.INFO: ==16711== Releasing lock...
[2025-04-09 15:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:39:20] Production.INFO: count ==4446
[2025-04-09 15:39:22] Production.ERROR: pbx CDR StartTime 2025-04-09 12:39:06 - End Time 2025-04-09 15:39:06
[2025-04-09 15:39:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870515', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870515', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870515', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870515', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:39:22] Production.INFO: ProcessCDR(1,14870515,1,1,2)
[2025-04-09 15:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870515', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870515', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:39:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:39:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:39:27] Production.INFO: ==16719== Releasing lock...
[2025-04-09 15:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:39:27] Production.INFO: 61.25 MB #Memory Used#
[2025-04-09 20:40:01] Production.INFO: ==16775== Lock acquired, processing the job...
[2025-04-09 20:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:40:01] Production.INFO: neon service started
[2025-04-09 20:40:01] Production.INFO: neon service started
[2025-04-09 20:40:01] Production.INFO: ==16775== Releasing lock...
[2025-04-09 20:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:40:02] Production.INFO: ==16779== Lock acquired, processing the job...
[2025-04-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:40:02] Production.INFO: ==16779== Releasing lock...
[2025-04-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:40:02] Production.INFO: ==16777== Lock acquired, processing the job...
[2025-04-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:40:02] Production.INFO: ==16777== Releasing lock...
[2025-04-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:40:03] Production.INFO: ==16784== Lock acquired, processing the job...
[2025-04-09 15:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:40:03] Production.INFO: ==16786== Lock acquired, processing the job...
[2025-04-09 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:40:03] Production.INFO: ==16788== Lock acquired, processing the job...
[2025-04-09 15:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:40:03] Production.INFO: ==16792== Lock acquired, processing the job...
[2025-04-09 15:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:40:03] Production.INFO: ==16782== Lock acquired, processing the job...
[2025-04-09 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:40:04] Production.ERROR: CronJob PID - 16784
[2025-04-09 15:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 15:40:04] Production.ERROR: CronJob ID - 5
[2025-04-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:40:00
[2025-04-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:40:04] Production.ERROR: CronJob PID - 16786
[2025-04-09 15:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 15:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:40:00
[2025-04-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:40:04] Production.ERROR: CronJob PID - 16788
[2025-04-09 15:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-09 15:40:04] Production.ERROR: CronJob ID - 10
[2025-04-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:40:00
[2025-04-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:40:04] Production.ERROR: CronJob PID - 16792
[2025-04-09 15:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 15:40:04] Production.ERROR: CronJob ID - 16
[2025-04-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 15:40:00
[2025-04-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:40:04] Production.INFO: ==16790== Lock acquired, processing the job...
[2025-04-09 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:40:04] Production.INFO: ==16786== Releasing lock...
[2025-04-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:40:04] Production.INFO: ==16794== Lock acquired, processing the job...
[2025-04-09 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:40:04] Production.INFO: ==16782== Releasing lock...
[2025-04-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:40:04] Production.INFO: ==16796== Lock acquired, processing the job...
[2025-04-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:40:04] Production.INFO: Account Balance Start.
[2025-04-09 15:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:40:04] Production.INFO: 117
[2025-04-09 15:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 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-04-09 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:40:04] Production.INFO: count ==12
[2025-04-09 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-04-09 15:40:04] Production.INFO: count ==23
[2025-04-09 15:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870519') start
[2025-04-09 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:40:04] Production.ERROR: done
[2025-04-09 15:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:40:04] Production.INFO: Total Charge 0
[2025-04-09 15:40:04] Production.INFO: CreateAllLog End
[2025-04-09 15:40:04] Production.ERROR: done
[2025-04-09 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870520', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:40:04] Production.ERROR: done
[2025-04-09 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870519') end
[2025-04-09 15:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:40:04] Production.INFO: 1
[2025-04-09 15:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:40:04] Production.INFO: ==16796== Releasing lock...
[2025-04-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:40:04] Production.INFO: Account Balance End.
[2025-04-09 15:40:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:40:04] Production.INFO: ==16790== Releasing lock...
[2025-04-09 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:40:06
[end_date_ymd] => 2025-04-09 15:40:06
[RateCDR] => 1
)
[2025-04-09 15:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:40:06' and `end` < '2025-04-09 15:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870520', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:40:09] Production.INFO: ProcessCDR(1,14870520,1,1,2)
[2025-04-09 15:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:40:09] Production.INFO: ==16794== Releasing lock...
[2025-04-09 15:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:40:14] Production.ERROR: CronJobId end10
[2025-04-09 15:40:14] Production.INFO: ==16788== Releasing lock...
[2025-04-09 15:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:40:17] Production.INFO: call_cost start
[2025-04-09 15:40:17] Production.INFO: call_cost end
[2025-04-09 15:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:40:18] Production.INFO: ==16784== Releasing lock...
[2025-04-09 15:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:40:20] Production.INFO: count ==4436
[2025-04-09 15:40:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:40:06 - End Time 2025-04-09 15:40:06
[2025-04-09 15:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870521', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870521', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870521', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870521', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:40:21] Production.INFO: ProcessCDR(1,14870521,1,1,2)
[2025-04-09 15:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870521', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870521', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:40:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:40:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:40:27] Production.INFO: ==16792== Releasing lock...
[2025-04-09 15:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:40:27] Production.INFO: 61.25 MB #Memory Used#
[2025-04-09 20:41:02] Production.INFO: ==16891== Lock acquired, processing the job...
[2025-04-09 20:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:41:02] Production.INFO: neon service started
[2025-04-09 20:41:02] Production.INFO: neon service started
[2025-04-09 20:41:02] Production.INFO: ==16891== Releasing lock...
[2025-04-09 20:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:41:02] Production.INFO: ==16893== Lock acquired, processing the job...
[2025-04-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:41:02] Production.INFO: ==16895== Lock acquired, processing the job...
[2025-04-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:41:02] Production.INFO: ==16895== Releasing lock...
[2025-04-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:41:03] Production.INFO: ==16893== Releasing lock...
[2025-04-09 15:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:41:03] Production.INFO: ==16904== Lock acquired, processing the job...
[2025-04-09 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:41:04] Production.INFO: ==16906== Lock acquired, processing the job...
[2025-04-09 15:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:41:04] Production.INFO: Account Balance Start.
[2025-04-09 15:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:41:04] Production.INFO: 117
[2025-04-09 15:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:41:04] Production.INFO: ==16898== Lock acquired, processing the job...
[2025-04-09 15:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:41:04] Production.INFO: Total Charge 0
[2025-04-09 15:41:04] Production.INFO: CreateAllLog End
[2025-04-09 15:41:04] Production.INFO: ==16900== Lock acquired, processing the job...
[2025-04-09 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:41:04] Production.INFO: ==16902== Lock acquired, processing the job...
[2025-04-09 15:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:41:04] Production.ERROR: done
[2025-04-09 15:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:41:04] Production.INFO: ==16908== Lock acquired, processing the job...
[2025-04-09 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:41:04] Production.INFO: Account Balance End.
[2025-04-09 15:41:04] Production.ERROR: done
[2025-04-09 15:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:41:04] Production.INFO: ==16904== Releasing lock...
[2025-04-09 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15: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-04-09 15:41:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:41:04] Production.INFO: count ==23
[2025-04-09 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870525') start
[2025-04-09 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870525') end
[2025-04-09 15:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:41:04] Production.INFO: 1
[2025-04-09 15:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:41:05] Production.INFO: ==16900== Releasing lock...
[2025-04-09 15:41:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:41:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:41:05] Production.INFO: ==16908== Releasing lock...
[2025-04-09 15:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:41:05
[end_date_ymd] => 2025-04-09 15:41:05
[RateCDR] => 1
)
[2025-04-09 15:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:41:05' and `end` < '2025-04-09 15:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:41:13] Production.ERROR: CronJobId end10
[2025-04-09 15:41:13] Production.INFO: ==16902== Releasing lock...
[2025-04-09 15:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:41:15] Production.INFO: call_cost start
[2025-04-09 15:41:15] Production.INFO: call_cost end
[2025-04-09 15:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:41:15] Production.INFO: ==16898== Releasing lock...
[2025-04-09 15:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:41:19] Production.INFO: count ==4466
[2025-04-09 15:41:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:41:05 - End Time 2025-04-09 15:41:05
[2025-04-09 15:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870526', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870526', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870526', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870526', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:41:20] Production.INFO: ProcessCDR(1,14870526,1,1,2)
[2025-04-09 15:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870526', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870526', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:41:26] Production.INFO: ==16906== Releasing lock...
[2025-04-09 15:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:41:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:42:01] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-04-09 20:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:42:01] Production.INFO: neon service started
[2025-04-09 20:42:01] Production.INFO: neon service started
[2025-04-09 20:42:01] Production.INFO: ==16962== Releasing lock...
[2025-04-09 20:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:42:02] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-04-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:42:02] Production.INFO: ==16966== Lock acquired, processing the job...
[2025-04-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:42:02] Production.INFO: ==16966== Releasing lock...
[2025-04-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:42:02] Production.INFO: ==16964== Releasing lock...
[2025-04-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:42:03] Production.INFO: ==16969== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:42:03] Production.INFO: ==16975== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:42:03] Production.INFO: ==16971== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:42:03] Production.INFO: Account Balance Start.
[2025-04-09 15:42:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:42:03] Production.INFO: 117
[2025-04-09 15:42:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:42:03] Production.INFO: ==16973== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:42:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:42:03] Production.INFO: ==16977== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:42:03] Production.INFO: ==16979== Lock acquired, processing the job...
[2025-04-09 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:42:03] Production.INFO: Total Charge 0
[2025-04-09 15:42:04] Production.INFO: CreateAllLog End
[2025-04-09 15:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:42:04] Production.INFO: count ==12
[2025-04-09 15:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:42:04] Production.INFO: count ==23
[2025-04-09 15:42:04] Production.ERROR: done
[2025-04-09 15:42:04] Production.INFO: ==16971== Releasing lock...
[2025-04-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870530') start
[2025-04-09 15:42:04] Production.INFO: Account Balance End.
[2025-04-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870530') end
[2025-04-09 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:42:04] Production.INFO: 1
[2025-04-09 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:42:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:42:04] Production.INFO: ==16975== Releasing lock...
[2025-04-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:42:04] Production.ERROR: done
[2025-04-09 15:42:04] Production.INFO: ==16979== Releasing lock...
[2025-04-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:42:05
[end_date_ymd] => 2025-04-09 15:42:05
[RateCDR] => 1
)
[2025-04-09 15:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:42:05' and `end` < '2025-04-09 15:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:42:13] Production.ERROR: CronJobId end10
[2025-04-09 15:42:13] Production.INFO: ==16973== Releasing lock...
[2025-04-09 15:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:42:14] Production.INFO: call_cost start
[2025-04-09 15:42:14] Production.INFO: call_cost end
[2025-04-09 15:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:42:15] Production.INFO: ==16969== Releasing lock...
[2025-04-09 15:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:42:19] Production.INFO: count ==4468
[2025-04-09 15:42:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:42:05 - End Time 2025-04-09 15:42:05
[2025-04-09 15:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870531', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870531', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870531', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870531', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:42:21] Production.INFO: ProcessCDR(1,14870531,1,1,2)
[2025-04-09 15:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870531', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870531', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:42:26] Production.INFO: ==16977== Releasing lock...
[2025-04-09 15:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:42:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:43:02] Production.INFO: ==17033== Lock acquired, processing the job...
[2025-04-09 20:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:43:02] Production.INFO: neon service started
[2025-04-09 20:43:02] Production.INFO: neon service started
[2025-04-09 20:43:02] Production.INFO: ==17033== Releasing lock...
[2025-04-09 20:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:43:02] Production.INFO: ==17035== Lock acquired, processing the job...
[2025-04-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:43:02] Production.INFO: ==17037== Lock acquired, processing the job...
[2025-04-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:43:02] Production.INFO: ==17037== Releasing lock...
[2025-04-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:43:03] Production.INFO: ==17035== Releasing lock...
[2025-04-09 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:43:04] Production.INFO: ==17046== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:43:04] Production.INFO: ==17048== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:43:04] Production.INFO: Account Balance Start.
[2025-04-09 15:43:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:43:04] Production.INFO: 117
[2025-04-09 15:43:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:43:04] Production.INFO: ==17040== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:43:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:43:04] Production.INFO: Total Charge 0
[2025-04-09 15:43:04] Production.INFO: CreateAllLog End
[2025-04-09 15:43:04] Production.INFO: ==17042== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:43:04] Production.INFO: ==17044== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:43:04] Production.INFO: ==17050== Lock acquired, processing the job...
[2025-04-09 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:43:04] Production.INFO: Account Balance End.
[2025-04-09 15:43:04] Production.ERROR: done
[2025-04-09 15:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:43:04] Production.INFO: ==17046== Releasing lock...
[2025-04-09 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:43:04] Production.ERROR: done
[2025-04-09 15: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-04-09 15:43:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:43:04] Production.INFO: count ==23
[2025-04-09 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870534') start
[2025-04-09 15:43:04] Production.INFO: ==17042== Releasing lock...
[2025-04-09 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870534') end
[2025-04-09 15:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:43:04] Production.INFO: 1
[2025-04-09 15:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:43:04] Production.INFO: ==17050== Releasing lock...
[2025-04-09 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:43:05
[end_date_ymd] => 2025-04-09 15:43:05
[RateCDR] => 1
)
[2025-04-09 15:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:43:05' and `end` < '2025-04-09 15:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:43:13] Production.ERROR: CronJobId end10
[2025-04-09 15:43:13] Production.INFO: ==17044== Releasing lock...
[2025-04-09 15:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:43:15] Production.INFO: call_cost start
[2025-04-09 15:43:15] Production.INFO: call_cost end
[2025-04-09 15:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:43:16] Production.INFO: ==17040== Releasing lock...
[2025-04-09 15:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:43:19] Production.INFO: count ==4475
[2025-04-09 15:43:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:43:05 - End Time 2025-04-09 15:43:05
[2025-04-09 15:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870536', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870536', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870536', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870536', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:43:21] Production.INFO: ProcessCDR(1,14870536,1,1,2)
[2025-04-09 15:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870536', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870536', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:43:26] Production.INFO: ==17048== Releasing lock...
[2025-04-09 15:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:43:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:44:01] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-04-09 20:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:44:01] Production.INFO: neon service started
[2025-04-09 20:44:01] Production.INFO: neon service started
[2025-04-09 20:44:01] Production.INFO: ==17102== Releasing lock...
[2025-04-09 20:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:44:02] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-04-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:44:02] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-04-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:44:02] Production.INFO: ==17106== Releasing lock...
[2025-04-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:44:02] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:44:02] Production.INFO: ==17104== Releasing lock...
[2025-04-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:44:03] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:44:03] Production.INFO: ==17119== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:44:03] Production.INFO: Account Balance Start.
[2025-04-09 15:44:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:44:03] Production.INFO: 117
[2025-04-09 15:44:03] Production.INFO: Date 2025-04-08
[2025-04-09 15: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-04-09 15:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:44:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:44:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:44:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:44:03] Production.INFO: count ==23
[2025-04-09 15:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870538') start
[2025-04-09 15:44:03] Production.INFO: Total Charge 0
[2025-04-09 15:44:03] Production.INFO: CreateAllLog End
[2025-04-09 15:44:03] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870538') end
[2025-04-09 15:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:44:03] Production.INFO: 1
[2025-04-09 15:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:44:03] Production.INFO: ==17119== Releasing lock...
[2025-04-09 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:44:03] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:44:03] Production.INFO: ==17117== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:44:03] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-04-09 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:44:03] Production.INFO: Account Balance End.
[2025-04-09 15:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:44:04] Production.INFO: ==17115== Releasing lock...
[2025-04-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:44:04] Production.ERROR: done
[2025-04-09 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:44:04] Production.ERROR: done
[2025-04-09 15:44:04] Production.INFO: ==17111== Releasing lock...
[2025-04-09 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:44:05
[end_date_ymd] => 2025-04-09 15:44:05
[RateCDR] => 1
)
[2025-04-09 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:44:05' and `end` < '2025-04-09 15:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:44:12] Production.ERROR: CronJobId end10
[2025-04-09 15:44:12] Production.INFO: ==17113== Releasing lock...
[2025-04-09 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:44:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:44:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:44:14] Production.INFO: call_cost start
[2025-04-09 15:44:14] Production.INFO: call_cost end
[2025-04-09 15:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:44:15] Production.INFO: ==17109== Releasing lock...
[2025-04-09 15:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:44:19] Production.INFO: count ==4484
[2025-04-09 15:44:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:44:05 - End Time 2025-04-09 15:44:05
[2025-04-09 15:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870541', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870541', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870541', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870541', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:44:21] Production.INFO: ProcessCDR(1,14870541,1,1,2)
[2025-04-09 15:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870541', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870541', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:44:26] Production.INFO: ==17117== Releasing lock...
[2025-04-09 15:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:44:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:45:02] Production.INFO: ==17177== Lock acquired, processing the job...
[2025-04-09 20:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:45:02] Production.INFO: neon service started
[2025-04-09 20:45:02] Production.INFO: neon service started
[2025-04-09 20:45:02] Production.INFO: ==17177== Releasing lock...
[2025-04-09 20:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:45:02] Production.INFO: ==17181== Lock acquired, processing the job...
[2025-04-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:45:02] Production.INFO: ==17181== Releasing lock...
[2025-04-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:45:02] Production.INFO: ==17179== Lock acquired, processing the job...
[2025-04-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:45:03] Production.INFO: ==17179== Releasing lock...
[2025-04-09 15:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:45:03] Production.INFO: ==17184== Lock acquired, processing the job...
[2025-04-09 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:45:03] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-04-09 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:45:04] Production.INFO: ==17192== Lock acquired, processing the job...
[2025-04-09 15:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:45:04] Production.INFO: ==17186== Lock acquired, processing the job...
[2025-04-09 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:45:04] Production.INFO: ==17190== Lock acquired, processing the job...
[2025-04-09 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:45:04] Production.INFO: ==17194== Lock acquired, processing the job...
[2025-04-09 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15: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-04-09 15:45:04] Production.INFO: Account Balance Start.
[2025-04-09 15:45:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:45:04] Production.INFO: 117
[2025-04-09 15:45:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:45:04] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:45:04] Production.INFO: count ==23
[2025-04-09 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870543') start
[2025-04-09 15:45:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:45:04] Production.ERROR: done
[2025-04-09 15:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:45:04] Production.INFO: Total Charge 0
[2025-04-09 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870543') end
[2025-04-09 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:45:04] Production.INFO: 1
[2025-04-09 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:45:04] Production.INFO: CreateAllLog End
[2025-04-09 15:45:05] Production.ERROR: done
[2025-04-09 15:45:05] Production.INFO: ==17194== Releasing lock...
[2025-04-09 15:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:45:05] Production.INFO: ==17186== Releasing lock...
[2025-04-09 15:45:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:45:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:45:05] Production.INFO: Account Balance End.
[2025-04-09 15:45:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:45:05] Production.INFO: ==17190== Releasing lock...
[2025-04-09 15:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:45:06
[end_date_ymd] => 2025-04-09 15:45:06
[RateCDR] => 1
)
[2025-04-09 15:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:45:06' and `end` < '2025-04-09 15:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:45:12] Production.ERROR: CronJobId end10
[2025-04-09 15:45:12] Production.INFO: ==17188== Releasing lock...
[2025-04-09 15:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:45:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:45:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:45:15] Production.INFO: call_cost start
[2025-04-09 15:45:15] Production.INFO: call_cost end
[2025-04-09 15:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:45:16] Production.INFO: ==17184== Releasing lock...
[2025-04-09 15:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:45:20] Production.INFO: count ==4501
[2025-04-09 15:45:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:45:06 - End Time 2025-04-09 15:45:06
[2025-04-09 15:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870546', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870546', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870546', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870546', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:45:21] Production.INFO: ProcessCDR(1,14870546,1,1,2)
[2025-04-09 15:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870546', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870546', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:45:27] Production.INFO: ==17192== Releasing lock...
[2025-04-09 15:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:45:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 20:46:01] Production.INFO: ==17248== Lock acquired, processing the job...
[2025-04-09 20:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:46:01] Production.INFO: neon service started
[2025-04-09 20:46:01] Production.INFO: neon service started
[2025-04-09 20:46:01] Production.INFO: ==17248== Releasing lock...
[2025-04-09 20:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:46:02] Production.INFO: ==17250== Lock acquired, processing the job...
[2025-04-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:46:02] Production.INFO: ==17252== Lock acquired, processing the job...
[2025-04-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:46:02] Production.INFO: ==17252== Releasing lock...
[2025-04-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:46:02] Production.INFO: ==17250== Releasing lock...
[2025-04-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:46:03] Production.INFO: ==17259== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:46:03] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:46:03] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:46:03] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15: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-04-09 15:46:03] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:46:03] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-04-09 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:46:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:46:03] Production.INFO: count ==23
[2025-04-09 15:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870548') start
[2025-04-09 15:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:46:04] Production.INFO: Account Balance Start.
[2025-04-09 15:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:46:04] Production.INFO: 117
[2025-04-09 15:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870548') end
[2025-04-09 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:46:04] Production.INFO: 1
[2025-04-09 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:46:04] Production.INFO: Total Charge 0
[2025-04-09 15:46:04] Production.INFO: ==17265== Releasing lock...
[2025-04-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:46:04] Production.INFO: CreateAllLog End
[2025-04-09 15:46:04] Production.INFO: ==17257== Releasing lock...
[2025-04-09 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:46:04] Production.ERROR: done
[2025-04-09 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:46:04] Production.INFO: Account Balance End.
[2025-04-09 15:46:04] Production.ERROR: done
[2025-04-09 15:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:46:04] Production.INFO: ==17261== Releasing lock...
[2025-04-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:46:05
[end_date_ymd] => 2025-04-09 15:46:05
[RateCDR] => 1
)
[2025-04-09 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:46:05' and `end` < '2025-04-09 15:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:46:12] Production.ERROR: CronJobId end10
[2025-04-09 15:46:12] Production.INFO: ==17259== Releasing lock...
[2025-04-09 15:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:46:14] Production.INFO: call_cost start
[2025-04-09 15:46:14] Production.INFO: call_cost end
[2025-04-09 15:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:46:15] Production.INFO: ==17255== Releasing lock...
[2025-04-09 15:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:46:19] Production.INFO: count ==4487
[2025-04-09 15:46:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:46:05 - End Time 2025-04-09 15:46:05
[2025-04-09 15:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870551', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870551', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870551', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870551', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:46:21] Production.INFO: ProcessCDR(1,14870551,1,1,2)
[2025-04-09 15:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870551', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870551', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:46:26] Production.INFO: ==17263== Releasing lock...
[2025-04-09 15:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:46:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:47:02] Production.INFO: ==17320== Lock acquired, processing the job...
[2025-04-09 20:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:47:02] Production.INFO: neon service started
[2025-04-09 20:47:02] Production.INFO: neon service started
[2025-04-09 20:47:02] Production.INFO: ==17320== Releasing lock...
[2025-04-09 20:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:47:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-04-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:47:02] Production.INFO: ==17324== Releasing lock...
[2025-04-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:47:02] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-04-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:47:02] Production.INFO: ==17322== Releasing lock...
[2025-04-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:47:03] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-04-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:47:03] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-04-09 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:47:04] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-04-09 15:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15: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-04-09 15:47:04] Production.INFO: count ==12
[2025-04-09 15:47:04] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-04-09 15:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15: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-04-09 15:47:04] Production.INFO: count ==23
[2025-04-09 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870552') start
[2025-04-09 15:47:04] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-04-09 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:47:04] Production.INFO: ==17335== Lock acquired, processing the job...
[2025-04-09 15:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870552') end
[2025-04-09 15:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:47:04] Production.INFO: 1
[2025-04-09 15:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:47:04] Production.INFO: ==17329== Releasing lock...
[2025-04-09 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:47:04] Production.INFO: ==17337== Releasing lock...
[2025-04-09 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:47:04] Production.INFO: Account Balance Start.
[2025-04-09 15:47:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:47:04] Production.INFO: 117
[2025-04-09 15:47:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:47:04] Production.ERROR: done
[2025-04-09 15:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:47:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:47:04] Production.INFO: Total Charge 0
[2025-04-09 15:47:04] Production.INFO: CreateAllLog End
[2025-04-09 15:47:05] Production.ERROR: done
[2025-04-09 15:47:05] Production.INFO: Account Balance End.
[2025-04-09 15:47:05] Production.ERROR: CronJobId end 12
[2025-04-09 15:47:05] Production.INFO: ==17333== Releasing lock...
[2025-04-09 15:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:47:06
[end_date_ymd] => 2025-04-09 15:47:06
[RateCDR] => 1
)
[2025-04-09 15:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:47:06' and `end` < '2025-04-09 15:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:47:13] Production.ERROR: CronJobId end10
[2025-04-09 15:47:13] Production.INFO: ==17331== Releasing lock...
[2025-04-09 15:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:47:14] Production.INFO: call_cost start
[2025-04-09 15:47:14] Production.INFO: call_cost end
[2025-04-09 15:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:47:15] Production.INFO: ==17327== Releasing lock...
[2025-04-09 15:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:47:20] Production.INFO: count ==4474
[2025-04-09 15:47:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:47:06 - End Time 2025-04-09 15:47:06
[2025-04-09 15:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870556', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870556', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870556', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870556', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:47:22] Production.INFO: ProcessCDR(1,14870556,1,1,2)
[2025-04-09 15:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870556', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870556', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:47:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:47:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:47:27] Production.INFO: ==17335== Releasing lock...
[2025-04-09 15:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:47:27] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:48:01] Production.INFO: ==17391== Lock acquired, processing the job...
[2025-04-09 20:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:48:01] Production.INFO: neon service started
[2025-04-09 20:48:01] Production.INFO: neon service started
[2025-04-09 20:48:01] Production.INFO: ==17391== Releasing lock...
[2025-04-09 20:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:48:01] Production.INFO: ==17393== Lock acquired, processing the job...
[2025-04-09 15:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:48:02] Production.INFO: ==17393== Releasing lock...
[2025-04-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:48:02] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-04-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:48:02] Production.INFO: ==17395== Releasing lock...
[2025-04-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:48:03] Production.INFO: ==17398== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:48:03] Production.INFO: ==17400== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:48:03] Production.INFO: ==17402== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:48:03] Production.INFO: ==17404== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:48:03] Production.INFO: ==17408== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:48:03] Production.INFO: Account Balance Start.
[2025-04-09 15:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:48:03] Production.INFO: 117
[2025-04-09 15:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:48:03] Production.INFO: ==17406== Lock acquired, processing the job...
[2025-04-09 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:48:03] Production.INFO: ==17400== Releasing lock...
[2025-04-09 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:48:03] Production.INFO: count ==12
[2025-04-09 15:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:48:03] Production.INFO: count ==23
[2025-04-09 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870560') start
[2025-04-09 15:48:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:48:03] Production.INFO: Total Charge 0
[2025-04-09 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:48:03] Production.INFO: CreateAllLog End
[2025-04-09 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870560') end
[2025-04-09 15:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:48:03] Production.INFO: 1
[2025-04-09 15:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:48:03] Production.INFO: ==17408== Releasing lock...
[2025-04-09 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:48:03] Production.INFO: Account Balance End.
[2025-04-09 15:48:03] Production.ERROR: CronJobId end 12
[2025-04-09 15:48:03] Production.INFO: ==17404== Releasing lock...
[2025-04-09 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:48:04] Production.ERROR: done
[2025-04-09 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:48:04] Production.ERROR: done
[2025-04-09 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:48:05
[end_date_ymd] => 2025-04-09 15:48:05
[RateCDR] => 1
)
[2025-04-09 15:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:48:05' and `end` < '2025-04-09 15:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:48:12] Production.ERROR: CronJobId end10
[2025-04-09 15:48:12] Production.INFO: ==17402== Releasing lock...
[2025-04-09 15:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:48:15] Production.INFO: call_cost start
[2025-04-09 15:48:15] Production.INFO: call_cost end
[2025-04-09 15:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:48:15] Production.INFO: ==17398== Releasing lock...
[2025-04-09 15:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:48:19] Production.INFO: count ==4465
[2025-04-09 15:48:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:48:05 - End Time 2025-04-09 15:48:05
[2025-04-09 15:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870561', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870561', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870561', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870561', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:48:21] Production.INFO: ProcessCDR(1,14870561,1,1,2)
[2025-04-09 15:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870561', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870561', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:48:26] Production.INFO: ==17406== Releasing lock...
[2025-04-09 15:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:48:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 20:49:02] Production.INFO: ==17463== Lock acquired, processing the job...
[2025-04-09 20:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:49:02] Production.INFO: neon service started
[2025-04-09 20:49:02] Production.INFO: neon service started
[2025-04-09 20:49:02] Production.INFO: ==17463== Releasing lock...
[2025-04-09 20:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:49:02] Production.INFO: ==17466== Lock acquired, processing the job...
[2025-04-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:49:02] Production.INFO: ==17468== Lock acquired, processing the job...
[2025-04-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:49:02] Production.INFO: ==17468== Releasing lock...
[2025-04-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:49:02] Production.INFO: ==17466== Releasing lock...
[2025-04-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:49:03] Production.INFO: ==17472== Lock acquired, processing the job...
[2025-04-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:49:03] Production.INFO: ==17478== Lock acquired, processing the job...
[2025-04-09 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:49:03] Production.INFO: ==17470== Lock acquired, processing the job...
[2025-04-09 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:49:04] Production.INFO: ==17474== Lock acquired, processing the job...
[2025-04-09 15:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:49:04] Production.INFO: ==17476== Lock acquired, processing the job...
[2025-04-09 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:49:04] Production.INFO: ==17480== Lock acquired, processing the job...
[2025-04-09 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:49:04] Production.INFO: ==17472== Releasing lock...
[2025-04-09 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:49:04] Production.INFO: Account Balance Start.
[2025-04-09 15:49:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:49:04] Production.INFO: 117
[2025-04-09 15:49:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 15:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:49:04] Production.INFO: Total Charge 0
[2025-04-09 15:49:04] Production.INFO: CreateAllLog End
[2025-04-09 15:49:04] Production.INFO: count ==12
[2025-04-09 15:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 15:49:04] Production.INFO: count ==23
[2025-04-09 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870565') start
[2025-04-09 15:49:04] Production.ERROR: done
[2025-04-09 15:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870565') end
[2025-04-09 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:49:04] Production.INFO: 1
[2025-04-09 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:49:04] Production.INFO: Account Balance End.
[2025-04-09 15:49:04] Production.INFO: ==17480== Releasing lock...
[2025-04-09 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:49:04] Production.ERROR: done
[2025-04-09 15:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:49:04] Production.INFO: ==17476== Releasing lock...
[2025-04-09 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:49:05
[end_date_ymd] => 2025-04-09 15:49:05
[RateCDR] => 1
)
[2025-04-09 15:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:49:05' and `end` < '2025-04-09 15:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:49:13] Production.ERROR: CronJobId end10
[2025-04-09 15:49:13] Production.INFO: ==17474== Releasing lock...
[2025-04-09 15:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:49:16] Production.INFO: call_cost start
[2025-04-09 15:49:16] Production.INFO: call_cost end
[2025-04-09 15:49:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:49:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:49:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:49:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:49:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:49:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:49:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:49:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:49:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:49:17] Production.INFO: ==17470== Releasing lock...
[2025-04-09 15:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:49:20] Production.INFO: count ==4458
[2025-04-09 15:49:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:49:05 - End Time 2025-04-09 15:49:05
[2025-04-09 15:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870566', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870566', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870566', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870566', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:49:21] Production.INFO: ProcessCDR(1,14870566,1,1,2)
[2025-04-09 15:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870566', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870566', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:49:26] Production.INFO: ==17478== Releasing lock...
[2025-04-09 15:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:49:26] Production.INFO: 61.25 MB #Memory Used#
[2025-04-09 20:50:01] Production.INFO: ==17533== Lock acquired, processing the job...
[2025-04-09 20:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:50:01] Production.INFO: neon service started
[2025-04-09 20:50:01] Production.INFO: neon service started
[2025-04-09 20:50:01] Production.INFO: ==17533== Releasing lock...
[2025-04-09 20:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:50:01] Production.INFO: ==17535== Lock acquired, processing the job...
[2025-04-09 15:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:50:02] Production.INFO: ==17535== Releasing lock...
[2025-04-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:50:02] Production.INFO: ==17537== Lock acquired, processing the job...
[2025-04-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:50:02] Production.INFO: ==17537== Releasing lock...
[2025-04-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:50:03] Production.INFO: ==17544== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:50:03] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 15:50:03] Production.INFO: ==17552== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 15:50:03] Production.INFO: ==17554== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:50:03] Production.ERROR: CronJob PID - 17544
[2025-04-09 15:50:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 15:50:03] Production.ERROR: CronJob ID - 7
[2025-04-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:50:00
[2025-04-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:50:03] Production.ERROR: CronJob PID - 17552
[2025-04-09 15:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-09 15:50:03] Production.ERROR: CronJob ID - 17
[2025-04-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:50:00
[2025-04-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 15:50:03] Production.ERROR: CronJob PID - 17554
[2025-04-09 15:50:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-09 15:50:03] Production.ERROR: CronJob ID - 19
[2025-04-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-04-09 15:50:00
[2025-04-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 15:50:03] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:50:03] Production.INFO: ==17546== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15: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-04-09 15:50:03] Production.INFO: ==17548== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:50:03] Production.INFO: count ==12
[2025-04-09 15: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-04-09 15:50:03] Production.INFO: count ==23
[2025-04-09 15:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870568') start
[2025-04-09 15:50:03] Production.INFO: ==17550== Lock acquired, processing the job...
[2025-04-09 15:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 15:50:03] Production.INFO: ==17540== Releasing lock...
[2025-04-09 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 15:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 15:50:03] Production.INFO: Account Balance Start.
[2025-04-09 15:50:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:50:03] Production.INFO: 117
[2025-04-09 15:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:50:03] Production.INFO: ==17544== Releasing lock...
[2025-04-09 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:50:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:50:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870568') end
[2025-04-09 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:50:04] Production.INFO: 1
[2025-04-09 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:50:04] Production.INFO: Total Charge 0
[2025-04-09 15:50:04] Production.INFO: CreateAllLog End
[2025-04-09 15:50:04] Production.INFO: ==17554== Releasing lock...
[2025-04-09 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:50:04] Production.ERROR: done
[2025-04-09 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870571', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 15:50:04] Production.ERROR: done
[2025-04-09 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:50:04] Production.INFO: Account Balance End.
[2025-04-09 15:50:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:50:04] Production.INFO: ==17548== Releasing lock...
[2025-04-09 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:50:04] Production.ERROR: done
[2025-04-09 15:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:50:05
[end_date_ymd] => 2025-04-09 15:50:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:50:05' and `end` < '2025-04-09 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-04-09 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870571', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 15:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 15:50:09] Production.INFO: ProcessCDR(1,14870571,1,1,2)
[2025-04-09 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870571,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:50:09] Production.INFO: ==17552== Releasing lock...
[2025-04-09 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 15:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 15:50:14] Production.ERROR: CronJobId end10
[2025-04-09 15:50:14] Production.INFO: ==17546== Releasing lock...
[2025-04-09 15:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:50:16] Production.INFO: call_cost start
[2025-04-09 15:50:16] Production.INFO: call_cost end
[2025-04-09 15:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:50:17] Production.INFO: ==17542== Releasing lock...
[2025-04-09 15:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:50:20] Production.INFO: count ==4498
[2025-04-09 15:50:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:50:05 - End Time 2025-04-09 15:50:05
[2025-04-09 15:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870572', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870572', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870572', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870572', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:50:21] Production.INFO: ProcessCDR(1,14870572,1,1,2)
[2025-04-09 15:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870572', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870572', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:50:27] Production.INFO: ==17550== Releasing lock...
[2025-04-09 15:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:50:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 20:51:01] Production.INFO: ==17608== Lock acquired, processing the job...
[2025-04-09 20:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:51:01] Production.INFO: neon service started
[2025-04-09 20:51:02] Production.INFO: neon service started
[2025-04-09 20:51:02] Production.INFO: ==17608== Releasing lock...
[2025-04-09 20:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:51:02] Production.INFO: ==17612== Lock acquired, processing the job...
[2025-04-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:51:02] Production.INFO: ==17612== Releasing lock...
[2025-04-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:51:02] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-04-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:51:02] Production.INFO: ==17610== Releasing lock...
[2025-04-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:51:03] Production.INFO: ==17615== Lock acquired, processing the job...
[2025-04-09 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:51:03] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-04-09 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:51:03] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-04-09 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:51:03] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-04-09 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:51:04] Production.INFO: ==17621== Lock acquired, processing the job...
[2025-04-09 15:51:04] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-04-09 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:51:04] Production.INFO: Account Balance Start.
[2025-04-09 15:51:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:51:04] Production.INFO: 117
[2025-04-09 15:51:04] Production.INFO: count ==12
[2025-04-09 15:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:51:04] Production.INFO: count ==23
[2025-04-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870574') start
[2025-04-09 15:51:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:51:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:51:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:51:04] Production.INFO: Total Charge 0
[2025-04-09 15:51:04] Production.ERROR: done
[2025-04-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870574') end
[2025-04-09 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:51:04] Production.INFO: 1
[2025-04-09 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:51:04] Production.INFO: CreateAllLog End
[2025-04-09 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:51:04] Production.INFO: ==17625== Releasing lock...
[2025-04-09 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:51:04] Production.INFO: ==17617== Releasing lock...
[2025-04-09 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:51:04] Production.ERROR: done
[2025-04-09 15:51:04] Production.INFO: Account Balance End.
[2025-04-09 15:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:51:04] Production.INFO: ==17621== Releasing lock...
[2025-04-09 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:51:05
[end_date_ymd] => 2025-04-09 15:51:05
[RateCDR] => 1
)
[2025-04-09 15:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:51:05' and `end` < '2025-04-09 15:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:51:12] Production.ERROR: CronJobId end10
[2025-04-09 15:51:12] Production.INFO: ==17619== Releasing lock...
[2025-04-09 15:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:51:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:51:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:51:15] Production.INFO: call_cost start
[2025-04-09 15:51:15] Production.INFO: call_cost end
[2025-04-09 15:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:51:16] Production.INFO: ==17615== Releasing lock...
[2025-04-09 15:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:51:19] Production.INFO: count ==4558
[2025-04-09 15:51:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:51:05 - End Time 2025-04-09 15:51:05
[2025-04-09 15:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870577', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870577', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870577', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870577', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:51:21] Production.INFO: ProcessCDR(1,14870577,1,1,2)
[2025-04-09 15:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870577', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870577', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:51:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:51:27] Production.INFO: ==17623== Releasing lock...
[2025-04-09 15:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:51:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:52:01] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-04-09 20:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:52:01] Production.INFO: neon service started
[2025-04-09 20:52:01] Production.INFO: neon service started
[2025-04-09 20:52:01] Production.INFO: ==17677== Releasing lock...
[2025-04-09 20:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:52:02] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-04-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:52:02] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-04-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:52:02] Production.INFO: ==17681== Releasing lock...
[2025-04-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:52:02] Production.INFO: ==17679== Releasing lock...
[2025-04-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:52:03] Production.INFO: ==17684== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:52:03] Production.INFO: ==17692== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:52:03] Production.INFO: ==17686== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:52:03] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:52:03] Production.INFO: ==17690== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:52:03] Production.INFO: ==17694== Lock acquired, processing the job...
[2025-04-09 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:52:04] Production.INFO: Account Balance Start.
[2025-04-09 15:52:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:52:04] Production.INFO: 117
[2025-04-09 15:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:52:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:52:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:52:04] Production.INFO: Total Charge 0
[2025-04-09 15:52:04] Production.ERROR: done
[2025-04-09 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:52:04] Production.INFO: ==17686== Releasing lock...
[2025-04-09 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:52:04] Production.INFO: CreateAllLog End
[2025-04-09 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-04-09 15:52:04] Production.INFO: Account Balance End.
[2025-04-09 15:52:04] Production.INFO: count ==12
[2025-04-09 15:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:52:04] Production.INFO: ==17690== Releasing lock...
[2025-04-09 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 15:52:04] Production.ERROR: done
[2025-04-09 15:52:04] Production.INFO: count ==23
[2025-04-09 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870581') start
[2025-04-09 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870581') end
[2025-04-09 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:52:04] Production.INFO: 1
[2025-04-09 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:52:04] Production.INFO: ==17694== Releasing lock...
[2025-04-09 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:52:05
[end_date_ymd] => 2025-04-09 15:52:05
[RateCDR] => 1
)
[2025-04-09 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:52:05' and `end` < '2025-04-09 15:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:52:12] Production.ERROR: CronJobId end10
[2025-04-09 15:52:12] Production.INFO: ==17688== Releasing lock...
[2025-04-09 15:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:52:15] Production.INFO: call_cost start
[2025-04-09 15:52:15] Production.INFO: call_cost end
[2025-04-09 15:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:52:16] Production.INFO: ==17684== Releasing lock...
[2025-04-09 15:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:52:19] Production.INFO: count ==4554
[2025-04-09 15:52:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:52:05 - End Time 2025-04-09 15:52:05
[2025-04-09 15:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870582', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870582', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870582', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870582', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:52:21] Production.INFO: ProcessCDR(1,14870582,1,1,2)
[2025-04-09 15:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870582', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870582', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:52:26] Production.INFO: ==17692== Releasing lock...
[2025-04-09 15:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:52:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:53:01] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-04-09 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:53:01] Production.INFO: neon service started
[2025-04-09 20:53:01] Production.INFO: neon service started
[2025-04-09 20:53:01] Production.INFO: ==17757== Releasing lock...
[2025-04-09 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:53:02] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-04-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:53:02] Production.INFO: ==17759== Releasing lock...
[2025-04-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:53:02] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-04-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:53:02] Production.INFO: ==17761== Releasing lock...
[2025-04-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:53:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:53:03] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:53:03] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:53:03] Production.INFO: count ==12
[2025-04-09 15:53:03] Production.INFO: ==17767== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:53:03] Production.INFO: count ==23
[2025-04-09 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870583') start
[2025-04-09 15:53:03] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:53:03] Production.INFO: ==17771== Lock acquired, processing the job...
[2025-04-09 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:53:04] Production.INFO: Account Balance Start.
[2025-04-09 15:53:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:53:04] Production.INFO: 117
[2025-04-09 15:53:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870583') end
[2025-04-09 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:53:04] Production.INFO: 1
[2025-04-09 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:53:04] Production.INFO: ==17773== Releasing lock...
[2025-04-09 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:53:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:53:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:53:04] Production.INFO: Total Charge 0
[2025-04-09 15:53:04] Production.INFO: CreateAllLog End
[2025-04-09 15:53:04] Production.INFO: ==17765== Releasing lock...
[2025-04-09 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:53:04] Production.ERROR: done
[2025-04-09 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:53:04] Production.INFO: Account Balance End.
[2025-04-09 15:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:53:04] Production.INFO: ==17769== Releasing lock...
[2025-04-09 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:53:04] Production.ERROR: done
[2025-04-09 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:53:05
[end_date_ymd] => 2025-04-09 15:53:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 12:53:05' and `end` < '2025-04-09 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-04-09 15:53:13] Production.ERROR: CronJobId end10
[2025-04-09 15:53:13] Production.INFO: ==17767== Releasing lock...
[2025-04-09 15:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:53:14] Production.INFO: call_cost start
[2025-04-09 15:53:14] Production.INFO: call_cost end
[2025-04-09 15:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:53:15] Production.INFO: ==17763== Releasing lock...
[2025-04-09 15:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:53:19] Production.INFO: count ==4536
[2025-04-09 15:53:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:53:05 - End Time 2025-04-09 15:53:05
[2025-04-09 15:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870587', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870587', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870587', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870587', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:53:21] Production.INFO: ProcessCDR(1,14870587,1,1,2)
[2025-04-09 15:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870587', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870587', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:53:26] Production.INFO: ==17771== Releasing lock...
[2025-04-09 15:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:53:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:54:01] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-04-09 20:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:54:01] Production.INFO: neon service started
[2025-04-09 20:54:01] Production.INFO: neon service started
[2025-04-09 20:54:01] Production.INFO: ==17831== Releasing lock...
[2025-04-09 20:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:54:02] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-04-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:54:02] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-04-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:54:02] Production.INFO: ==17835== Releasing lock...
[2025-04-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:54:02] Production.INFO: ==17833== Releasing lock...
[2025-04-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:54:03] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-04-09 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:54:03] Production.INFO: ==17842== Lock acquired, processing the job...
[2025-04-09 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:54:03] Production.INFO: Account Balance Start.
[2025-04-09 15:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:54:03] Production.INFO: 117
[2025-04-09 15:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:54:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:54:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-04-09 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:54:03] Production.INFO: Total Charge 0
[2025-04-09 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:54:03] Production.INFO: CreateAllLog End
[2025-04-09 15:54:03] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-04-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:54:03] Production.INFO: Account Balance End.
[2025-04-09 15:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:54:03] Production.ERROR: CronJobId end 12
[2025-04-09 15:54:03] Production.INFO: ==17844== Releasing lock...
[2025-04-09 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:54:03] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-04-09 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:54:04] Production.INFO: ==17848== Lock acquired, processing the job...
[2025-04-09 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 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-04-09 15:54:04] Production.INFO: count ==12
[2025-04-09 15:54:04] Production.INFO: ==17840== Releasing lock...
[2025-04-09 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 15:54:04] Production.INFO: count ==23
[2025-04-09 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870591') start
[2025-04-09 15:54:04] Production.ERROR: done
[2025-04-09 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870591') end
[2025-04-09 15:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:54:04] Production.INFO: 1
[2025-04-09 15:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:54:04] Production.INFO: ==17848== Releasing lock...
[2025-04-09 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:54:04] Production.ERROR: done
[2025-04-09 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:54:05
[end_date_ymd] => 2025-04-09 15:54:05
[RateCDR] => 1
)
[2025-04-09 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:54:05' and `end` < '2025-04-09 15:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:54:13] Production.ERROR: CronJobId end10
[2025-04-09 15:54:13] Production.INFO: ==17842== Releasing lock...
[2025-04-09 15:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:54:14] Production.INFO: call_cost start
[2025-04-09 15:54:14] Production.INFO: call_cost end
[2025-04-09 15:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:54:15] Production.INFO: ==17838== Releasing lock...
[2025-04-09 15:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:54:19] Production.INFO: count ==4530
[2025-04-09 15:54:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:54:05 - End Time 2025-04-09 15:54:05
[2025-04-09 15:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870592', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870592', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870592', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870592', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:54:21] Production.INFO: ProcessCDR(1,14870592,1,1,2)
[2025-04-09 15:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870592', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870592', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:54:26] Production.INFO: ==17846== Releasing lock...
[2025-04-09 15:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:54:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 20:55:02] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-04-09 20:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:55:02] Production.INFO: neon service started
[2025-04-09 20:55:02] Production.INFO: neon service started
[2025-04-09 20:55:02] Production.INFO: ==17902== Releasing lock...
[2025-04-09 20:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:55:02] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-04-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 19:55:02] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-04-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 15:55:02] Production.INFO: ==17904== Releasing lock...
[2025-04-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:55:02] Production.INFO: ==17906== Releasing lock...
[2025-04-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:55:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-04-09 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:55:03] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-04-09 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:55:03] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-04-09 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:55:03] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-04-09 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:55:04] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-04-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:55:04] Production.INFO: ==17919== Lock acquired, processing the job...
[2025-04-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:55:04] Production.INFO: Account Balance Start.
[2025-04-09 15:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:55:04] Production.INFO: 117
[2025-04-09 15:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:55:04] Production.INFO: ==17910== Releasing lock...
[2025-04-09 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:55:04] Production.INFO: count ==12
[2025-04-09 15:55:04] Production.ERROR: done
[2025-04-09 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:55:04] Production.INFO: Total Charge 0
[2025-04-09 15:55:04] Production.INFO: count ==23
[2025-04-09 15:55:04] Production.INFO: CreateAllLog End
[2025-04-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870596') start
[2025-04-09 15:55:04] Production.ERROR: done
[2025-04-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870596') end
[2025-04-09 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:55:04] Production.INFO: 1
[2025-04-09 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:55:04] Production.INFO: Account Balance End.
[2025-04-09 15:55:04] Production.INFO: ==17919== Releasing lock...
[2025-04-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:55:04] Production.INFO: ==17914== Releasing lock...
[2025-04-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:55:05
[end_date_ymd] => 2025-04-09 15:55:05
[RateCDR] => 1
)
[2025-04-09 15:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:55:05' and `end` < '2025-04-09 15:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:55:13] Production.ERROR: CronJobId end10
[2025-04-09 15:55:13] Production.INFO: ==17912== Releasing lock...
[2025-04-09 15:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:55:15] Production.INFO: call_cost start
[2025-04-09 15:55:15] Production.INFO: call_cost end
[2025-04-09 15:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:55:16] Production.INFO: ==17908== Releasing lock...
[2025-04-09 15:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:55:19] Production.INFO: count ==4539
[2025-04-09 15:55:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:55:05 - End Time 2025-04-09 15:55:05
[2025-04-09 15:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870597', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870597', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870597', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870597', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:55:21] Production.INFO: ProcessCDR(1,14870597,1,1,2)
[2025-04-09 15:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870597', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870597', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:55:27] Production.INFO: ==17916== Releasing lock...
[2025-04-09 15:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:55:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:56:01] Production.INFO: ==18012== Lock acquired, processing the job...
[2025-04-09 20:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:56:01] Production.INFO: neon service started
[2025-04-09 20:56:01] Production.INFO: neon service started
[2025-04-09 20:56:01] Production.INFO: ==18012== Releasing lock...
[2025-04-09 20:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:56:01] Production.INFO: ==18014== Lock acquired, processing the job...
[2025-04-09 15:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:56:02] Production.INFO: ==18014== Releasing lock...
[2025-04-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:56:02] Production.INFO: ==18016== Lock acquired, processing the job...
[2025-04-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:56:02] Production.INFO: ==18016== Releasing lock...
[2025-04-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:56:03] Production.INFO: ==18020== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:56:03] Production.INFO: ==18022== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:56:03] Production.INFO: ==18018== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:56:03] Production.INFO: ==18024== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:56:03] Production.INFO: ==18020== Releasing lock...
[2025-04-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:56:03] Production.INFO: ==18026== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:56:03] Production.INFO: ==18029== Lock acquired, processing the job...
[2025-04-09 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:56:03] Production.INFO: Account Balance Start.
[2025-04-09 15:56:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:56:03] Production.INFO: 117
[2025-04-09 15:56:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 15:56:03] Production.INFO: count ==12
[2025-04-09 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-04-09 15:56:03] Production.INFO: count ==23
[2025-04-09 15:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870601') start
[2025-04-09 15:56:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:56:04] Production.INFO: Total Charge 0
[2025-04-09 15:56:04] Production.ERROR: done
[2025-04-09 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:56:04] Production.INFO: CreateAllLog End
[2025-04-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870601') end
[2025-04-09 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:56:04] Production.INFO: 1
[2025-04-09 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:56:04] Production.INFO: ==18029== Releasing lock...
[2025-04-09 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:56:04] Production.ERROR: done
[2025-04-09 15:56:04] Production.INFO: Account Balance End.
[2025-04-09 15:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:56:04] Production.INFO: ==18024== Releasing lock...
[2025-04-09 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:56:05
[end_date_ymd] => 2025-04-09 15:56:05
[RateCDR] => 1
)
[2025-04-09 15:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:56:05' and `end` < '2025-04-09 15:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:56:13] Production.ERROR: CronJobId end10
[2025-04-09 15:56:13] Production.INFO: ==18022== Releasing lock...
[2025-04-09 15:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:56:14] Production.INFO: call_cost start
[2025-04-09 15:56:14] Production.INFO: call_cost end
[2025-04-09 15:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:56:15] Production.INFO: ==18018== Releasing lock...
[2025-04-09 15:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:56:19] Production.INFO: count ==4540
[2025-04-09 15:56:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:56:05 - End Time 2025-04-09 15:56:05
[2025-04-09 15:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870602', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870602', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870602', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870602', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:56:21] Production.INFO: ProcessCDR(1,14870602,1,1,2)
[2025-04-09 15:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870602', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870602', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:56:26] Production.INFO: ==18026== Releasing lock...
[2025-04-09 15:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:56:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:57:02] Production.INFO: ==18082== Lock acquired, processing the job...
[2025-04-09 20:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:57:02] Production.INFO: neon service started
[2025-04-09 20:57:02] Production.INFO: neon service started
[2025-04-09 20:57:02] Production.INFO: ==18082== Releasing lock...
[2025-04-09 20:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 15:57:02] Production.INFO: ==18084== Lock acquired, processing the job...
[2025-04-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:57:02] Production.INFO: ==18084== Releasing lock...
[2025-04-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 19:57:02] Production.INFO: ==18086== Lock acquired, processing the job...
[2025-04-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:57:03] Production.INFO: ==18086== Releasing lock...
[2025-04-09 19:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:57:03] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-04-09 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:57:03] Production.INFO: ==18088== Lock acquired, processing the job...
[2025-04-09 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:57:03] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-04-09 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:57:03] Production.INFO: ==18090== Lock acquired, processing the job...
[2025-04-09 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:57:04] Production.ERROR: done
[2025-04-09 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:57:04] Production.INFO: ==18092== Lock acquired, processing the job...
[2025-04-09 15:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:57:04] Production.INFO: ==18094== Lock acquired, processing the job...
[2025-04-09 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:57:04] Production.INFO: count ==12
[2025-04-09 15:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:57:04] Production.INFO: count ==23
[2025-04-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870603') start
[2025-04-09 15:57:04] Production.ERROR: done
[2025-04-09 15:57:04] Production.INFO: Account Balance Start.
[2025-04-09 15:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:57:04] Production.INFO: 117
[2025-04-09 15:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:57:04] Production.INFO: Total Charge 0
[2025-04-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870603') end
[2025-04-09 15:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:57:04] Production.INFO: 1
[2025-04-09 15:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:57:04] Production.INFO: CreateAllLog End
[2025-04-09 15:57:04] Production.INFO: ==18098== Releasing lock...
[2025-04-09 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:57:04] Production.INFO: ==18090== Releasing lock...
[2025-04-09 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:57:04] Production.INFO: Account Balance End.
[2025-04-09 15:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:57:04] Production.INFO: ==18094== Releasing lock...
[2025-04-09 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:57:05
[end_date_ymd] => 2025-04-09 15:57:05
[RateCDR] => 1
)
[2025-04-09 15:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:57:05' and `end` < '2025-04-09 15:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:57:13] Production.ERROR: CronJobId end10
[2025-04-09 15:57:13] Production.INFO: ==18092== Releasing lock...
[2025-04-09 15:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:57:15] Production.INFO: call_cost start
[2025-04-09 15:57:15] Production.INFO: call_cost end
[2025-04-09 15:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:57:16] Production.INFO: ==18088== Releasing lock...
[2025-04-09 15:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:57:19] Production.INFO: count ==4544
[2025-04-09 15:57:20] Production.ERROR: pbx CDR StartTime 2025-04-09 12:57:05 - End Time 2025-04-09 15:57:05
[2025-04-09 15:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870607', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870607', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870607', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870607', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:57:21] Production.INFO: ProcessCDR(1,14870607,1,1,2)
[2025-04-09 15:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870607', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870607', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:57:26] Production.INFO: ==18096== Releasing lock...
[2025-04-09 15:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:57:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 20:58:01] Production.INFO: ==18152== Lock acquired, processing the job...
[2025-04-09 20:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:58:01] Production.INFO: neon service started
[2025-04-09 20:58:01] Production.INFO: neon service started
[2025-04-09 20:58:01] Production.INFO: ==18152== Releasing lock...
[2025-04-09 20:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:58:01] Production.INFO: ==18156== Lock acquired, processing the job...
[2025-04-09 19:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:58:01] Production.INFO: ==18156== Releasing lock...
[2025-04-09 19:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:58:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:58:02] Production.INFO: ==18154== Lock acquired, processing the job...
[2025-04-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:58:02] Production.INFO: ==18154== Releasing lock...
[2025-04-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:58:03] Production.INFO: ==18158== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:58:03] Production.INFO: ==18165== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:58:03] Production.INFO: ==18160== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:58:03] Production.INFO: ==18163== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 15:58:03] Production.INFO: Account Balance Start.
[2025-04-09 15:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 15:58:03] Production.INFO: 117
[2025-04-09 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:58:03] Production.INFO: ==18167== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:58:03] Production.INFO: ==18169== Lock acquired, processing the job...
[2025-04-09 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 15:58:03] Production.INFO: Total Charge 0
[2025-04-09 15:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:58:03] Production.INFO: CreateAllLog End
[2025-04-09 15:58:03] Production.INFO: ==18160== Releasing lock...
[2025-04-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:58:04] Production.INFO: count ==12
[2025-04-09 15:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:58:04] Production.INFO: count ==23
[2025-04-09 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870611') start
[2025-04-09 15:58:04] Production.ERROR: done
[2025-04-09 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:58:04] Production.INFO: Account Balance End.
[2025-04-09 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870611') end
[2025-04-09 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:58:04] Production.INFO: 1
[2025-04-09 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:58:04] Production.INFO: ==18169== Releasing lock...
[2025-04-09 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:58:04] Production.INFO: ==18165== Releasing lock...
[2025-04-09 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:58:04] Production.ERROR: done
[2025-04-09 15:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:58:05
[end_date_ymd] => 2025-04-09 15:58:05
[RateCDR] => 1
)
[2025-04-09 15:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:58:05' and `end` < '2025-04-09 15:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:58:12] Production.ERROR: CronJobId end10
[2025-04-09 15:58:12] Production.INFO: ==18163== Releasing lock...
[2025-04-09 15:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:58:14] Production.INFO: call_cost start
[2025-04-09 15:58:14] Production.INFO: call_cost end
[2025-04-09 15:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:58:15] Production.INFO: ==18158== Releasing lock...
[2025-04-09 15:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:58:19] Production.INFO: count ==4507
[2025-04-09 15:58:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:58:05 - End Time 2025-04-09 15:58:05
[2025-04-09 15:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870612', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870612', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870612', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870612', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:58:21] Production.INFO: ProcessCDR(1,14870612,1,1,2)
[2025-04-09 15:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870612', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870612', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:58:26] Production.INFO: ==18167== Releasing lock...
[2025-04-09 15:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:58:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 20:59:02] Production.INFO: ==18223== Lock acquired, processing the job...
[2025-04-09 20:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 20:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 20:59:02] Production.INFO: neon service started
[2025-04-09 20:59:02] Production.INFO: neon service started
[2025-04-09 20:59:02] Production.INFO: ==18223== Releasing lock...
[2025-04-09 20:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 20:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 19:59:02] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-04-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 19:59:02] Production.INFO: ==18227== Releasing lock...
[2025-04-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 15:59:02] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-04-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 15:59:02] Production.INFO: ==18225== Releasing lock...
[2025-04-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 15:59:03] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-04-09 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 15:59:03] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-04-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 15:59:03] Production.INFO: ==18240== Lock acquired, processing the job...
[2025-04-09 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 15:59:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-04-09 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 15:59:04] Production.INFO: count ==12
[2025-04-09 15:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 15:59:04] Production.INFO: count ==23
[2025-04-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870615') start
[2025-04-09 15:59:04] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-04-09 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 15:59:04] Production.INFO: ==18238== Lock acquired, processing the job...
[2025-04-09 15:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 15:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 15:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 15:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 15:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870615') end
[2025-04-09 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 15:59:04] Production.INFO: 1
[2025-04-09 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 15:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 15:59:04] Production.INFO: Account Balance Start.
[2025-04-09 15:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 15:59:04] Production.INFO: 117
[2025-04-09 15:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 15:59:04] Production.INFO: ==18240== Releasing lock...
[2025-04-09 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 15:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 15:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 15:59:04] Production.INFO: Total Charge 0
[2025-04-09 15:59:04] Production.INFO: CreateAllLog End
[2025-04-09 15:59:04] Production.INFO: ==18232== Releasing lock...
[2025-04-09 15:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 15:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 15:59:04] Production.ERROR: done
[2025-04-09 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 15:59:04] Production.ERROR: done
[2025-04-09 15:59:04] Production.INFO: Account Balance End.
[2025-04-09 15:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 15:59:04] Production.INFO: ==18236== Releasing lock...
[2025-04-09 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 15:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 12:59:05
[end_date_ymd] => 2025-04-09 15:59:05
[RateCDR] => 1
)
[2025-04-09 15:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 12:59:05' and `end` < '2025-04-09 15:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 15:59:14] Production.ERROR: CronJobId end10
[2025-04-09 15:59:14] Production.INFO: ==18234== Releasing lock...
[2025-04-09 15:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 15:59:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 15:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 15:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 15:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 15:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 15:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 15:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 15:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 15:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 15:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 15:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 15:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 15:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 15:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 15:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 15:59:15] Production.INFO: call_cost start
[2025-04-09 15:59:15] Production.INFO: call_cost end
[2025-04-09 15:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 15:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 15:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 15:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 15:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 15:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 15:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 15:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 15:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 15:59:16] Production.INFO: ==18230== Releasing lock...
[2025-04-09 15:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 15:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 15:59:19] Production.INFO: count ==4503
[2025-04-09 15:59:21] Production.ERROR: pbx CDR StartTime 2025-04-09 12:59:05 - End Time 2025-04-09 15:59:05
[2025-04-09 15:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 15:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870617', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870617', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870617', 'tblTempVendorCDR_20' ) start
[2025-04-09 15:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870617', 'tblTempVendorCDR_20' ) end
[2025-04-09 15:59:21] Production.INFO: ProcessCDR(1,14870617,1,1,2)
[2025-04-09 15:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 15:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 15:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870617', 'tblTempUsageDetail_20' ) start
[2025-04-09 15:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870617', 'tblTempUsageDetail_20' ) end
[2025-04-09 15:59:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 15:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 15:59:27] Production.INFO: ==18238== Releasing lock...
[2025-04-09 15:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 15:59:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:00:01] Production.INFO: ==18298== Lock acquired, processing the job...
[2025-04-09 21:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:00:01] Production.INFO: neon service started
[2025-04-09 21:00:01] Production.INFO: neon service started
[2025-04-09 21:00:01] Production.INFO: ==18298== Releasing lock...
[2025-04-09 21:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:00:01] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-04-09 16:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:00:02] Production.INFO: ==18302== Lock acquired, processing the job...
[2025-04-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:00:02] Production.INFO: ==18300== Releasing lock...
[2025-04-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:00:02] Production.INFO: ==18302== Releasing lock...
[2025-04-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:00:03] Production.INFO: ==18304== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:00:03] Production.INFO: ==18304== Releasing lock...
[2025-04-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:00:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:00:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:00:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:00:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:00:03] Production.INFO: ==18315== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:00:03] Production.INFO: ==18317== Lock acquired, processing the job...
[2025-04-09 16:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:00:03] Production.INFO: Account Balance Start.
[2025-04-09 16:00:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:00:03] Production.INFO: 117
[2025-04-09 16:00:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:00:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:00:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:00:03] Production.INFO: Total Charge 0
[2025-04-09 16:00:03] Production.INFO: CreateAllLog End
[2025-04-09 16:00:04] Production.INFO: ==18319== Lock acquired, processing the job...
[2025-04-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:00:04] Production.INFO: ==18308== Releasing lock...
[2025-04-09 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 16:00:04] Production.INFO: count ==12
[2025-04-09 16:00:04] Production.ERROR: done
[2025-04-09 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 16:00:04] Production.INFO: count ==23
[2025-04-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870621') start
[2025-04-09 16:00:04] Production.ERROR: done
[2025-04-09 16:00:04] Production.INFO: Account Balance End.
[2025-04-09 16:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:00:04] Production.INFO: ==18312== Releasing lock...
[2025-04-09 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870622', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:00:04] Production.ERROR: done
[2025-04-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870621') end
[2025-04-09 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:00:04] Production.INFO: 1
[2025-04-09 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:00:04] Production.INFO: ==18319== Releasing lock...
[2025-04-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:00:05
[end_date_ymd] => 2025-04-09 16:00:05
[RateCDR] => 1
)
[2025-04-09 16:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:00:05' and `end` < '2025-04-09 16:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870622', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:00:09] Production.INFO: ProcessCDR(1,14870622,1,1,2)
[2025-04-09 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870622,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:00:09] Production.INFO: ==18317== Releasing lock...
[2025-04-09 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:00:14] Production.ERROR: CronJobId end10
[2025-04-09 16:00:14] Production.INFO: ==18310== Releasing lock...
[2025-04-09 16:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:00:16] Production.INFO: call_cost start
[2025-04-09 16:00:16] Production.INFO: call_cost end
[2025-04-09 16:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:00:17] Production.INFO: ==18306== Releasing lock...
[2025-04-09 16:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:00:19] Production.INFO: count ==4495
[2025-04-09 16:00:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:00:05 - End Time 2025-04-09 16:00:05
[2025-04-09 16:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870623', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870623', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870623', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870623', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:00:21] Production.INFO: ProcessCDR(1,14870623,1,1,2)
[2025-04-09 16:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870623', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870623', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:00:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:00:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:00:26] Production.INFO: ==18315== Releasing lock...
[2025-04-09 16:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:00:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 21:01:02] Production.INFO: ==18374== Lock acquired, processing the job...
[2025-04-09 21:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:01:02] Production.INFO: neon service started
[2025-04-09 21:01:02] Production.INFO: neon service started
[2025-04-09 21:01:02] Production.INFO: ==18374== Releasing lock...
[2025-04-09 21:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:01:02] Production.INFO: ==18387== Lock acquired, processing the job...
[2025-04-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:01:02] Production.INFO: ==18387== Releasing lock...
[2025-04-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:01:02] Production.INFO: ==18389== Lock acquired, processing the job...
[2025-04-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:01:02] Production.INFO: ==18389== Releasing lock...
[2025-04-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:01:03] Production.INFO: ==18396== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:01:03] Production.INFO: ==18400== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:01:03] Production.INFO: ==18391== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:01:03] Production.INFO: ==18394== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:01:03] Production.INFO: ==18398== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:01:03] Production.INFO: ==18402== Lock acquired, processing the job...
[2025-04-09 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:01:04] Production.INFO: Account Balance Start.
[2025-04-09 16:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:01:04] Production.INFO: 117
[2025-04-09 16:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:01:04] Production.ERROR: done
[2025-04-09 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:01:04] Production.INFO: ==18394== Releasing lock...
[2025-04-09 16:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:01:04] Production.INFO: Total Charge 0
[2025-04-09 16: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-04-09 16:01:04] Production.INFO: CreateAllLog End
[2025-04-09 16:01:04] Production.INFO: count ==12
[2025-04-09 16:01:04] Production.ERROR: done
[2025-04-09 16: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-04-09 16:01:04] Production.INFO: count ==23
[2025-04-09 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870627') start
[2025-04-09 16:01:04] Production.INFO: Account Balance End.
[2025-04-09 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870627') end
[2025-04-09 16:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:01:04] Production.INFO: 1
[2025-04-09 16:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:01:04] Production.INFO: ==18398== Releasing lock...
[2025-04-09 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:01:04] Production.INFO: ==18402== Releasing lock...
[2025-04-09 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:01:05
[end_date_ymd] => 2025-04-09 16:01:05
[RateCDR] => 1
)
[2025-04-09 16:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:01:05' and `end` < '2025-04-09 16:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:01:14] Production.ERROR: CronJobId end10
[2025-04-09 16:01:14] Production.INFO: ==18396== Releasing lock...
[2025-04-09 16:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:01:16] Production.INFO: call_cost start
[2025-04-09 16:01:16] Production.INFO: call_cost end
[2025-04-09 16:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:01:17] Production.INFO: ==18391== Releasing lock...
[2025-04-09 16:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:01:19] Production.INFO: count ==4499
[2025-04-09 16:01:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:01:05 - End Time 2025-04-09 16:01:05
[2025-04-09 16:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870628', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870628', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870628', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870628', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:01:21] Production.INFO: ProcessCDR(1,14870628,1,1,2)
[2025-04-09 16:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870628', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870628', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:01:27] Production.INFO: ==18400== Releasing lock...
[2025-04-09 16:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:01:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:02:01] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-04-09 21:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:02:01] Production.INFO: neon service started
[2025-04-09 21:02:01] Production.INFO: neon service started
[2025-04-09 21:02:01] Production.INFO: ==18455== Releasing lock...
[2025-04-09 21:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:02:02] Production.INFO: ==18459== Lock acquired, processing the job...
[2025-04-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:02:02] Production.INFO: ==18459== Releasing lock...
[2025-04-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:02:02] Production.INFO: ==18457== Lock acquired, processing the job...
[2025-04-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:02:02] Production.INFO: ==18457== Releasing lock...
[2025-04-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:02:03] Production.INFO: ==18466== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:02:03] Production.INFO: ==18472== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:02:03] Production.INFO: ==18468== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:02:03] Production.INFO: ==18462== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16: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-04-09 16:02:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:02:03] Production.INFO: count ==23
[2025-04-09 16:02:03] Production.INFO: ==18464== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870629') start
[2025-04-09 16:02:03] Production.INFO: Account Balance Start.
[2025-04-09 16:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:02:03] Production.INFO: 117
[2025-04-09 16:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870629') end
[2025-04-09 16:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:02:03] Production.INFO: 1
[2025-04-09 16:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:02:03] Production.INFO: ==18470== Lock acquired, processing the job...
[2025-04-09 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:02:03] Production.INFO: ==18472== Releasing lock...
[2025-04-09 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:02:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:02:04] Production.INFO: Total Charge 0
[2025-04-09 16:02:04] Production.INFO: CreateAllLog End
[2025-04-09 16:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:02:04] Production.INFO: ==18464== Releasing lock...
[2025-04-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:02:04] Production.INFO: Account Balance End.
[2025-04-09 16:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:02:04] Production.INFO: ==18468== Releasing lock...
[2025-04-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:02:04] Production.ERROR: done
[2025-04-09 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:02:04] Production.ERROR: done
[2025-04-09 16:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:02:05
[end_date_ymd] => 2025-04-09 16:02:05
[RateCDR] => 1
)
[2025-04-09 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:02:05' and `end` < '2025-04-09 16:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:02:13] Production.ERROR: CronJobId end10
[2025-04-09 16:02:13] Production.INFO: ==18466== Releasing lock...
[2025-04-09 16:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:02:16] Production.INFO: call_cost start
[2025-04-09 16:02:16] Production.INFO: call_cost end
[2025-04-09 16:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:02:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:02:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:02:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:02:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:02:18] Production.INFO: ==18462== Releasing lock...
[2025-04-09 16:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:02:19] Production.INFO: count ==4518
[2025-04-09 16:02:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:02:05 - End Time 2025-04-09 16:02:05
[2025-04-09 16:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870633', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870633', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870633', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870633', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:02:21] Production.INFO: ProcessCDR(1,14870633,1,1,2)
[2025-04-09 16:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870633', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870633', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:02:26] Production.INFO: ==18470== Releasing lock...
[2025-04-09 16:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:02:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:03:01] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-04-09 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:03:02] Production.INFO: neon service started
[2025-04-09 21:03:02] Production.INFO: neon service started
[2025-04-09 21:03:02] Production.INFO: ==18526== Releasing lock...
[2025-04-09 21:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:03:02] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-04-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:03:02] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-04-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:03:02] Production.INFO: ==18530== Releasing lock...
[2025-04-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:03:03] Production.INFO: ==18528== Releasing lock...
[2025-04-09 16:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:03:04] Production.INFO: ==18541== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:03:04] Production.INFO: ==18543== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:03:04] Production.INFO: ==18533== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:03:04] Production.INFO: ==18535== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:03:04] Production.INFO: ==18537== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:03:04] Production.INFO: ==18539== Lock acquired, processing the job...
[2025-04-09 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:03:04] Production.INFO: count ==12
[2025-04-09 16:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:03:04] Production.INFO: count ==23
[2025-04-09 16:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870635') start
[2025-04-09 16:03:04] Production.INFO: Account Balance Start.
[2025-04-09 16:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:03:04] Production.INFO: 117
[2025-04-09 16:03:04] Production.INFO: ==18535== Releasing lock...
[2025-04-09 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870635') end
[2025-04-09 16:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:03:04] Production.INFO: 1
[2025-04-09 16:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:03:04] Production.INFO: Total Charge 0
[2025-04-09 16:03:04] Production.INFO: CreateAllLog End
[2025-04-09 16:03:04] Production.INFO: ==18543== Releasing lock...
[2025-04-09 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:03:04] Production.ERROR: done
[2025-04-09 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:03:04] Production.INFO: Account Balance End.
[2025-04-09 16:03:04] Production.ERROR: done
[2025-04-09 16:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:03:04] Production.INFO: ==18539== Releasing lock...
[2025-04-09 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:03:05
[end_date_ymd] => 2025-04-09 16:03:05
[RateCDR] => 1
)
[2025-04-09 16:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:03:05' and `end` < '2025-04-09 16:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:03:12] Production.ERROR: CronJobId end10
[2025-04-09 16:03:12] Production.INFO: ==18537== Releasing lock...
[2025-04-09 16:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:03:14] Production.INFO: call_cost start
[2025-04-09 16:03:14] Production.INFO: call_cost end
[2025-04-09 16:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:03:15] Production.INFO: ==18533== Releasing lock...
[2025-04-09 16:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:03:20] Production.INFO: count ==4518
[2025-04-09 16:03:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:03:05 - End Time 2025-04-09 16:03:05
[2025-04-09 16:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870638', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870638', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870638', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870638', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:03:21] Production.INFO: ProcessCDR(1,14870638,1,1,2)
[2025-04-09 16:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870638', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870638', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:03:26] Production.INFO: ==18541== Releasing lock...
[2025-04-09 16:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:03:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:04:01] Production.INFO: ==18598== Lock acquired, processing the job...
[2025-04-09 21:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:04:01] Production.INFO: neon service started
[2025-04-09 21:04:01] Production.INFO: neon service started
[2025-04-09 21:04:01] Production.INFO: ==18598== Releasing lock...
[2025-04-09 21:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:04:01] Production.INFO: ==18600== Lock acquired, processing the job...
[2025-04-09 16:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:04:02] Production.INFO: ==18600== Releasing lock...
[2025-04-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:04:02] Production.INFO: ==18602== Lock acquired, processing the job...
[2025-04-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:04:02] Production.INFO: ==18602== Releasing lock...
[2025-04-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:04:02] Production.INFO: ==18607== Lock acquired, processing the job...
[2025-04-09 16:04:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:04:02] Production.INFO: ==18609== Lock acquired, processing the job...
[2025-04-09 16:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:04:03] Production.INFO: ==18611== Lock acquired, processing the job...
[2025-04-09 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:04:03] Production.INFO: Account Balance Start.
[2025-04-09 16:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:04:03] Production.INFO: 117
[2025-04-09 16:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:04:03] Production.INFO: ==18607== Releasing lock...
[2025-04-09 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:04:03] Production.INFO: Total Charge 0
[2025-04-09 16:04:03] Production.INFO: CreateAllLog End
[2025-04-09 16:04:03] Production.INFO: Account Balance End.
[2025-04-09 16:04:03] Production.INFO: ==18605== Lock acquired, processing the job...
[2025-04-09 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:04:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:04:03] Production.INFO: ==18611== Releasing lock...
[2025-04-09 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:04:03] Production.INFO: ==18613== Lock acquired, processing the job...
[2025-04-09 16:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:04:03] Production.INFO: ==18615== Lock acquired, processing the job...
[2025-04-09 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 16:04:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:04:03] Production.INFO: count ==23
[2025-04-09 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870642') start
[2025-04-09 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870642') end
[2025-04-09 16:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:04:03] Production.INFO: 1
[2025-04-09 16:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:04:03] Production.INFO: ==18615== Releasing lock...
[2025-04-09 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:04:03] Production.ERROR: done
[2025-04-09 16:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:04:04] Production.ERROR: done
[2025-04-09 16:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:04:05
[end_date_ymd] => 2025-04-09 16:04:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:04:05' and `end` < '2025-04-09 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-04-09 16:04:13] Production.ERROR: CronJobId end10
[2025-04-09 16:04:13] Production.INFO: ==18609== Releasing lock...
[2025-04-09 16:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:04:14] Production.INFO: call_cost start
[2025-04-09 16:04:14] Production.INFO: call_cost end
[2025-04-09 16:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:04:15] Production.INFO: ==18605== Releasing lock...
[2025-04-09 16:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:04:19] Production.INFO: count ==4521
[2025-04-09 16:04:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:04:05 - End Time 2025-04-09 16:04:05
[2025-04-09 16:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870643', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870643', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870643', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870643', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:04:21] Production.INFO: ProcessCDR(1,14870643,1,1,2)
[2025-04-09 16:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870643', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870643', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:04:26] Production.INFO: ==18613== Releasing lock...
[2025-04-09 16:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:04:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:05:01] Production.INFO: ==18668== Lock acquired, processing the job...
[2025-04-09 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:05:01] Production.INFO: neon service started
[2025-04-09 21:05:01] Production.INFO: neon service started
[2025-04-09 21:05:01] Production.INFO: ==18668== Releasing lock...
[2025-04-09 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:05:02] Production.INFO: ==18670== Lock acquired, processing the job...
[2025-04-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:05:02] Production.INFO: ==18670== Releasing lock...
[2025-04-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:05:02] Production.INFO: ==18672== Lock acquired, processing the job...
[2025-04-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:05:02] Production.INFO: ==18672== Releasing lock...
[2025-04-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:05:03] Production.INFO: ==18678== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:05:03] Production.INFO: ==18676== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:05:03] Production.INFO: ==18682== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:05:03] Production.INFO: ==18674== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:05:03] Production.INFO: ==18680== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:05:03] Production.INFO: ==18685== Lock acquired, processing the job...
[2025-04-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:05:03] Production.INFO: ==18676== Releasing lock...
[2025-04-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:05:03] Production.INFO: Account Balance Start.
[2025-04-09 16:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:05:03] Production.INFO: 117
[2025-04-09 16:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:05:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 16:05:04] Production.INFO: Total Charge 0
[2025-04-09 16:05:04] Production.INFO: CreateAllLog End
[2025-04-09 16:05:04] Production.INFO: count ==12
[2025-04-09 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-04-09 16:05:04] Production.INFO: count ==23
[2025-04-09 16:05:04] Production.ERROR: done
[2025-04-09 16:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870647') start
[2025-04-09 16:05:04] Production.INFO: Account Balance End.
[2025-04-09 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870647') end
[2025-04-09 16:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:05:04] Production.INFO: 1
[2025-04-09 16:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:05:04] Production.ERROR: done
[2025-04-09 16:05:04] Production.INFO: ==18685== Releasing lock...
[2025-04-09 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:05:04] Production.INFO: ==18680== Releasing lock...
[2025-04-09 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:05:05
[end_date_ymd] => 2025-04-09 16:05:05
[RateCDR] => 1
)
[2025-04-09 16:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:05:05' and `end` < '2025-04-09 16:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:05:13] Production.ERROR: CronJobId end10
[2025-04-09 16:05:13] Production.INFO: ==18678== Releasing lock...
[2025-04-09 16:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:05:14] Production.INFO: call_cost start
[2025-04-09 16:05:14] Production.INFO: call_cost end
[2025-04-09 16:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:05:15] Production.INFO: ==18674== Releasing lock...
[2025-04-09 16:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:05:19] Production.INFO: count ==4519
[2025-04-09 16:05:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:05:05 - End Time 2025-04-09 16:05:05
[2025-04-09 16:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870648', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870648', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870648', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870648', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:05:21] Production.INFO: ProcessCDR(1,14870648,1,1,2)
[2025-04-09 16:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870648', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870648', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:05:26] Production.INFO: ==18682== Releasing lock...
[2025-04-09 16:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:05:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:06:02] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-04-09 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:06:02] Production.INFO: neon service started
[2025-04-09 21:06:02] Production.INFO: neon service started
[2025-04-09 21:06:02] Production.INFO: ==18739== Releasing lock...
[2025-04-09 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:06:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:06:02] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-04-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:06:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-04-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:06:03] Production.INFO: ==18741== Releasing lock...
[2025-04-09 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:06:03] Production.INFO: ==18743== Releasing lock...
[2025-04-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:06:04] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:06:04] Production.INFO: ==18752== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:06:04] Production.INFO: Account Balance Start.
[2025-04-09 16:06:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:06:04] Production.INFO: 117
[2025-04-09 16:06:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:06:04] Production.INFO: ==18746== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:06:04] Production.INFO: ==18750== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:06:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:06:04] Production.INFO: Total Charge 0
[2025-04-09 16:06:04] Production.INFO: ==18754== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:06:04] Production.INFO: ==18756== Lock acquired, processing the job...
[2025-04-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:06:04] Production.INFO: CreateAllLog End
[2025-04-09 16:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:06:04] Production.INFO: count ==12
[2025-04-09 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:06:04] Production.INFO: ==18748== Releasing lock...
[2025-04-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:06:04] Production.INFO: count ==23
[2025-04-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870652') start
[2025-04-09 16:06:04] Production.INFO: Account Balance End.
[2025-04-09 16:06:04] Production.ERROR: done
[2025-04-09 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:06:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:06:04] Production.INFO: ==18752== Releasing lock...
[2025-04-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870652') end
[2025-04-09 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:06:04] Production.INFO: 1
[2025-04-09 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:06:04] Production.INFO: ==18756== Releasing lock...
[2025-04-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:06:04] Production.ERROR: done
[2025-04-09 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:06:05
[end_date_ymd] => 2025-04-09 16:06:05
[RateCDR] => 1
)
[2025-04-09 16:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:06:05' and `end` < '2025-04-09 16:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:06:13] Production.ERROR: CronJobId end10
[2025-04-09 16:06:13] Production.INFO: ==18750== Releasing lock...
[2025-04-09 16:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:06:15] Production.INFO: call_cost start
[2025-04-09 16:06:15] Production.INFO: call_cost end
[2025-04-09 16:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:06:16] Production.INFO: ==18746== Releasing lock...
[2025-04-09 16:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:06:19] Production.INFO: count ==4510
[2025-04-09 16:06:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:06:05 - End Time 2025-04-09 16:06:05
[2025-04-09 16:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870653', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870653', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870653', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870653', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:06:21] Production.INFO: ProcessCDR(1,14870653,1,1,2)
[2025-04-09 16:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870653', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870653', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:06:26] Production.INFO: ==18754== Releasing lock...
[2025-04-09 16:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:06:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:07:01] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-04-09 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:07:01] Production.INFO: neon service started
[2025-04-09 21:07:01] Production.INFO: neon service started
[2025-04-09 21:07:01] Production.INFO: ==18813== Releasing lock...
[2025-04-09 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:07:02] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-04-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:07:02] Production.INFO: ==18817== Releasing lock...
[2025-04-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:07:02] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-04-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:07:02] Production.INFO: ==18815== Releasing lock...
[2025-04-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:07:03] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:07:03] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:07:03] Production.INFO: ==18828== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:07:03] Production.INFO: ==18826== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:07:03] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:07:03] Production.INFO: Account Balance Start.
[2025-04-09 16:07:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:07:03] Production.INFO: 117
[2025-04-09 16:07:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:07:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:07:03] Production.INFO: ==18830== Lock acquired, processing the job...
[2025-04-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:07:03] Production.INFO: Total Charge 0
[2025-04-09 16:07:03] Production.INFO: CreateAllLog End
[2025-04-09 16:07:04] Production.ERROR: done
[2025-04-09 16:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 16:07:04] Production.INFO: count ==12
[2025-04-09 16:07:04] Production.INFO: Account Balance End.
[2025-04-09 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-04-09 16:07:04] Production.INFO: count ==23
[2025-04-09 16:07:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:07:04] Production.INFO: ==18826== Releasing lock...
[2025-04-09 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870657') start
[2025-04-09 16:07:04] Production.INFO: ==18821== Releasing lock...
[2025-04-09 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:07:04] Production.ERROR: done
[2025-04-09 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870657') end
[2025-04-09 16:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:07:04] Production.INFO: 1
[2025-04-09 16:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:07:04] Production.INFO: ==18830== Releasing lock...
[2025-04-09 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:07:05
[end_date_ymd] => 2025-04-09 16:07:05
[RateCDR] => 1
)
[2025-04-09 16:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:07:05' and `end` < '2025-04-09 16:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:07:12] Production.ERROR: CronJobId end10
[2025-04-09 16:07:12] Production.INFO: ==18823== Releasing lock...
[2025-04-09 16:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:07:14] Production.INFO: call_cost start
[2025-04-09 16:07:14] Production.INFO: call_cost end
[2025-04-09 16:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:07:15] Production.INFO: ==18819== Releasing lock...
[2025-04-09 16:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:07:19] Production.INFO: count ==4511
[2025-04-09 16:07:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:07:05 - End Time 2025-04-09 16:07:05
[2025-04-09 16:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870658', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870658', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870658', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870658', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:07:21] Production.INFO: ProcessCDR(1,14870658,1,1,2)
[2025-04-09 16:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870658', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870658', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:07:25] Production.INFO: ==18828== Releasing lock...
[2025-04-09 16:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:07:25] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:08:02] Production.INFO: ==18893== Lock acquired, processing the job...
[2025-04-09 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:08:02] Production.INFO: neon service started
[2025-04-09 21:08:02] Production.INFO: neon service started
[2025-04-09 21:08:02] Production.INFO: ==18893== Releasing lock...
[2025-04-09 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:08:02] Production.INFO: ==18895== Lock acquired, processing the job...
[2025-04-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:08:02] Production.INFO: ==18897== Lock acquired, processing the job...
[2025-04-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:08:02] Production.INFO: ==18897== Releasing lock...
[2025-04-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:08:03] Production.INFO: ==18895== Releasing lock...
[2025-04-09 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:08:03] Production.INFO: ==18902== Lock acquired, processing the job...
[2025-04-09 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:08:03] Production.INFO: ==18904== Lock acquired, processing the job...
[2025-04-09 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:08:03] Production.INFO: ==18906== Lock acquired, processing the job...
[2025-04-09 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:08:04] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-04-09 16:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:08:04] Production.INFO: Account Balance Start.
[2025-04-09 16:08:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:08:04] Production.INFO: 117
[2025-04-09 16:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:08:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:08:04] Production.INFO: ==18902== Releasing lock...
[2025-04-09 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:08:04] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-04-09 16:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:08:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:08:04] Production.INFO: Total Charge 0
[2025-04-09 16:08:04] Production.INFO: CreateAllLog End
[2025-04-09 16:08:04] Production.INFO: ==18910== Lock acquired, processing the job...
[2025-04-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:08:04] Production.INFO: Account Balance End.
[2025-04-09 16:08:04] Production.INFO: count ==12
[2025-04-09 16:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:08:04] Production.INFO: count ==23
[2025-04-09 16:08:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:08:04] Production.INFO: ==18906== Releasing lock...
[2025-04-09 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870662') start
[2025-04-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870662') end
[2025-04-09 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:08:04] Production.INFO: 1
[2025-04-09 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:08:04] Production.ERROR: done
[2025-04-09 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:08:04] Production.INFO: ==18910== Releasing lock...
[2025-04-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:08:05] Production.ERROR: done
[2025-04-09 16:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:08:05
[end_date_ymd] => 2025-04-09 16:08:05
[RateCDR] => 1
)
[2025-04-09 16:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:08:05' and `end` < '2025-04-09 16:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:08:13] Production.ERROR: CronJobId end10
[2025-04-09 16:08:13] Production.INFO: ==18904== Releasing lock...
[2025-04-09 16:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:08:15] Production.INFO: call_cost start
[2025-04-09 16:08:15] Production.INFO: call_cost end
[2025-04-09 16:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:08:16] Production.INFO: ==18900== Releasing lock...
[2025-04-09 16:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:08:19] Production.INFO: count ==4511
[2025-04-09 16:08:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:08:05 - End Time 2025-04-09 16:08:05
[2025-04-09 16:08:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870663', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870663', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870663', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870663', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:08:21] Production.INFO: ProcessCDR(1,14870663,1,1,2)
[2025-04-09 16:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870663', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870663', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:08:26] Production.INFO: ==18908== Releasing lock...
[2025-04-09 16:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:08:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:09:01] Production.INFO: ==18964== Lock acquired, processing the job...
[2025-04-09 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:09:01] Production.INFO: neon service started
[2025-04-09 21:09:01] Production.INFO: neon service started
[2025-04-09 21:09:01] Production.INFO: ==18964== Releasing lock...
[2025-04-09 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:09:02] Production.INFO: ==18968== Lock acquired, processing the job...
[2025-04-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:09:02] Production.INFO: ==18968== Releasing lock...
[2025-04-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:09:02] Production.INFO: ==18966== Lock acquired, processing the job...
[2025-04-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:09:02] Production.INFO: ==18966== Releasing lock...
[2025-04-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:09:03] Production.INFO: ==18971== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:09:03] Production.INFO: ==18973== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:09:03] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:09:03] Production.INFO: ==18973== Releasing lock...
[2025-04-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:09:03] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:09:03] Production.INFO: ==18979== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:09:03] Production.INFO: ==18981== Lock acquired, processing the job...
[2025-04-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:09:03] Production.INFO: Account Balance Start.
[2025-04-09 16:09:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:09:03] Production.INFO: 117
[2025-04-09 16:09:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:09:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:09:04] Production.INFO: count ==12
[2025-04-09 16:09:04] Production.INFO: Date 2025-04-09
[2025-04-09 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-04-09 16:09:04] Production.INFO: count ==23
[2025-04-09 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870667') start
[2025-04-09 16:09:04] Production.ERROR: done
[2025-04-09 16:09:04] Production.INFO: Total Charge 0
[2025-04-09 16:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:09:04] Production.INFO: CreateAllLog End
[2025-04-09 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870667') end
[2025-04-09 16:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:09:04] Production.INFO: 1
[2025-04-09 16:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:09:04] Production.INFO: ==18981== Releasing lock...
[2025-04-09 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:09:04] Production.ERROR: done
[2025-04-09 16:09:04] Production.INFO: Account Balance End.
[2025-04-09 16:09:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:09:04] Production.INFO: ==18977== Releasing lock...
[2025-04-09 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:09:05
[end_date_ymd] => 2025-04-09 16:09:05
[RateCDR] => 1
)
[2025-04-09 16:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:09:05' and `end` < '2025-04-09 16:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:09:13] Production.ERROR: CronJobId end10
[2025-04-09 16:09:13] Production.INFO: ==18975== Releasing lock...
[2025-04-09 16:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:09:14] Production.INFO: call_cost start
[2025-04-09 16:09:14] Production.INFO: call_cost end
[2025-04-09 16:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:09:15] Production.INFO: ==18971== Releasing lock...
[2025-04-09 16:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:09:19] Production.INFO: count ==4495
[2025-04-09 16:09:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:09:05 - End Time 2025-04-09 16:09:05
[2025-04-09 16:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870668', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870668', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870668', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870668', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:09:21] Production.INFO: ProcessCDR(1,14870668,1,1,2)
[2025-04-09 16:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870668', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870668', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:09:26] Production.INFO: ==18979== Releasing lock...
[2025-04-09 16:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:09:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:10:02] Production.INFO: ==19035== Lock acquired, processing the job...
[2025-04-09 21:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:10:02] Production.INFO: neon service started
[2025-04-09 21:10:02] Production.INFO: neon service started
[2025-04-09 21:10:02] Production.INFO: ==19035== Releasing lock...
[2025-04-09 21:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:10:02] Production.INFO: ==19039== Lock acquired, processing the job...
[2025-04-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:10:02] Production.INFO: ==19039== Releasing lock...
[2025-04-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:10:02] Production.INFO: ==19037== Lock acquired, processing the job...
[2025-04-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:10:03] Production.INFO: ==19037== Releasing lock...
[2025-04-09 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:10:04] Production.INFO: ==19044== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:10:04] Production.INFO: ==19050== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:10:04] Production.INFO: Account Balance Start.
[2025-04-09 16:10:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:10:04] Production.INFO: 117
[2025-04-09 16:10:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:10:04] Production.INFO: ==19042== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:10:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:10:04] Production.ERROR: CronJob PID - 19044
[2025-04-09 16:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 16:10:04] Production.ERROR: CronJob ID - 5
[2025-04-09 16:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:10:00
[2025-04-09 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:10:04] Production.ERROR: CronJob PID - 19050
[2025-04-09 16:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 16:10:04] Production.ERROR: CronJob ID - 12
[2025-04-09 16:10:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:10:00
[2025-04-09 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:10:04] Production.INFO: ==19046== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:10:04] Production.INFO: Total Charge 0
[2025-04-09 16:10:04] Production.INFO: ==19056== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:10:04] Production.INFO: CreateAllLog End
[2025-04-09 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:10:04] Production.INFO: ==19042== Releasing lock...
[2025-04-09 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:10:04] Production.INFO: ==19048== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:10:04] Production.INFO: ==19052== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:10:04] Production.INFO: ==19054== Lock acquired, processing the job...
[2025-04-09 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:10:04] Production.INFO: Account Balance End.
[2025-04-09 16:10:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:10:04] Production.INFO: ==19050== Releasing lock...
[2025-04-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:10:04] Production.INFO: count ==12
[2025-04-09 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:10:04] Production.INFO: count ==23
[2025-04-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870672') start
[2025-04-09 16:10:04] Production.INFO: ==19046== Releasing lock...
[2025-04-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870672') end
[2025-04-09 16:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:10:05] Production.INFO: 1
[2025-04-09 16:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:10:05] Production.ERROR: done
[2025-04-09 16:10:05] Production.INFO: ==19056== Releasing lock...
[2025-04-09 16:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:10:05] Production.ERROR: done
[2025-04-09 16:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870673', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:10:05] Production.ERROR: done
[2025-04-09 16:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:10:07
[end_date_ymd] => 2025-04-09 16:10:07
[RateCDR] => 1
)
[2025-04-09 16:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:10:07' and `end` < '2025-04-09 16:10:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870673', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:10:10] Production.INFO: ProcessCDR(1,14870673,1,1,2)
[2025-04-09 16:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870673,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:10:10] Production.INFO: ==19054== Releasing lock...
[2025-04-09 16:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:10:15] Production.ERROR: CronJobId end10
[2025-04-09 16:10:15] Production.INFO: ==19048== Releasing lock...
[2025-04-09 16:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:10:17] Production.INFO: call_cost start
[2025-04-09 16:10:17] Production.INFO: call_cost end
[2025-04-09 16:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:10:18] Production.INFO: ==19044== Releasing lock...
[2025-04-09 16:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:10:21] Production.INFO: count ==4490
[2025-04-09 16:10:23] Production.ERROR: pbx CDR StartTime 2025-04-09 13:10:07 - End Time 2025-04-09 16:10:07
[2025-04-09 16:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870674', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870674', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870674', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870674', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:10:23] Production.INFO: ProcessCDR(1,14870674,1,1,2)
[2025-04-09 16:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870674', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870674', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:10:28] Production.INFO: ==19052== Releasing lock...
[2025-04-09 16:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:10:28] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 21:11:01] Production.INFO: ==19115== Lock acquired, processing the job...
[2025-04-09 21:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:11:01] Production.INFO: neon service started
[2025-04-09 21:11:01] Production.INFO: neon service started
[2025-04-09 21:11:01] Production.INFO: ==19115== Releasing lock...
[2025-04-09 21:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:11:01] Production.INFO: ==19117== Lock acquired, processing the job...
[2025-04-09 16:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:11:02] Production.INFO: ==19119== Lock acquired, processing the job...
[2025-04-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:11:02] Production.INFO: ==19119== Releasing lock...
[2025-04-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:11:02] Production.INFO: ==19117== Releasing lock...
[2025-04-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:11:03] Production.INFO: ==19125== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:11:03] Production.INFO: ==19127== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:11:03] Production.INFO: ==19132== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:11:03] Production.INFO: Account Balance Start.
[2025-04-09 16:11:03] Production.INFO: ==19121== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:11:03] Production.INFO: ==19123== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:11:03] Production.INFO: 117
[2025-04-09 16:11:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:11:03] Production.INFO: count ==12
[2025-04-09 16:11:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:11:03] Production.INFO: count ==23
[2025-04-09 16:11:03] Production.INFO: Total Charge 0
[2025-04-09 16:11:03] Production.INFO: ==19129== Lock acquired, processing the job...
[2025-04-09 16:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870676') start
[2025-04-09 16:11:03] Production.INFO: CreateAllLog End
[2025-04-09 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870676') end
[2025-04-09 16:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:11:03] Production.INFO: 1
[2025-04-09 16:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:11:03] Production.INFO: ==19132== Releasing lock...
[2025-04-09 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:11:03] Production.INFO: Account Balance End.
[2025-04-09 16:11:03] Production.INFO: ==19123== Releasing lock...
[2025-04-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:11:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:11:03] Production.INFO: ==19127== Releasing lock...
[2025-04-09 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:11:04] Production.ERROR: done
[2025-04-09 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:11:04] Production.ERROR: done
[2025-04-09 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:11:05
[end_date_ymd] => 2025-04-09 16:11:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:11:05' and `end` < '2025-04-09 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-04-09 16:11:12] Production.ERROR: CronJobId end10
[2025-04-09 16:11:12] Production.INFO: ==19125== Releasing lock...
[2025-04-09 16:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:11:14] Production.INFO: call_cost start
[2025-04-09 16:11:14] Production.INFO: call_cost end
[2025-04-09 16:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:11:15] Production.INFO: ==19121== Releasing lock...
[2025-04-09 16:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:11:19] Production.INFO: count ==4546
[2025-04-09 16:11:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:11:05 - End Time 2025-04-09 16:11:05
[2025-04-09 16:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870679', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870679', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870679', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870679', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:11:21] Production.INFO: ProcessCDR(1,14870679,1,1,2)
[2025-04-09 16:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870679', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870679', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:11:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:11:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:11:26] Production.INFO: ==19129== Releasing lock...
[2025-04-09 16:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:11:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:12:02] Production.INFO: ==19226== Lock acquired, processing the job...
[2025-04-09 21:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:12:02] Production.INFO: neon service started
[2025-04-09 21:12:02] Production.INFO: neon service started
[2025-04-09 21:12:02] Production.INFO: ==19226== Releasing lock...
[2025-04-09 21:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:12:02] Production.INFO: ==19228== Lock acquired, processing the job...
[2025-04-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:12:02] Production.INFO: ==19228== Releasing lock...
[2025-04-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:12:02] Production.INFO: ==19231== Lock acquired, processing the job...
[2025-04-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:12:02] Production.INFO: ==19231== Releasing lock...
[2025-04-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:12:03] Production.INFO: ==19241== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:12:03] Production.INFO: ==19243== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16: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-04-09 16:12:03] Production.INFO: ==19233== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:12:03] Production.INFO: ==19235== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:12:03] Production.INFO: ==19237== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:12:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:12:03] Production.INFO: count ==23
[2025-04-09 16:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870680') start
[2025-04-09 16:12:03] Production.INFO: ==19239== Lock acquired, processing the job...
[2025-04-09 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870680') end
[2025-04-09 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:12:04] Production.INFO: 1
[2025-04-09 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:12:04] Production.INFO: Account Balance Start.
[2025-04-09 16:12:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:12:04] Production.INFO: 117
[2025-04-09 16:12:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:12:04] Production.INFO: ==19243== Releasing lock...
[2025-04-09 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:12:04] Production.ERROR: done
[2025-04-09 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:12:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:12:04] Production.ERROR: done
[2025-04-09 16:12:04] Production.INFO: ==19235== Releasing lock...
[2025-04-09 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:12:04] Production.INFO: Total Charge 0
[2025-04-09 16:12:04] Production.INFO: CreateAllLog End
[2025-04-09 16:12:04] Production.INFO: Account Balance End.
[2025-04-09 16:12:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:12:04] Production.INFO: ==19239== Releasing lock...
[2025-04-09 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:12:05
[end_date_ymd] => 2025-04-09 16:12:05
[RateCDR] => 1
)
[2025-04-09 16:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:12:05' and `end` < '2025-04-09 16:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:12:14] Production.ERROR: CronJobId end10
[2025-04-09 16:12:14] Production.INFO: ==19237== Releasing lock...
[2025-04-09 16:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:12:15] Production.INFO: call_cost start
[2025-04-09 16:12:15] Production.INFO: call_cost end
[2025-04-09 16:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:12:16] Production.INFO: ==19233== Releasing lock...
[2025-04-09 16:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:12:19] Production.INFO: count ==4560
[2025-04-09 16:12:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:12:05 - End Time 2025-04-09 16:12:05
[2025-04-09 16:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870684', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870684', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870684', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870684', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:12:21] Production.INFO: ProcessCDR(1,14870684,1,1,2)
[2025-04-09 16:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870684', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870684', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:12:26] Production.INFO: ==19241== Releasing lock...
[2025-04-09 16:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:12:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:13:01] Production.INFO: ==19302== Lock acquired, processing the job...
[2025-04-09 21:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:13:01] Production.INFO: neon service started
[2025-04-09 21:13:01] Production.INFO: neon service started
[2025-04-09 21:13:01] Production.INFO: ==19302== Releasing lock...
[2025-04-09 21:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:13:01] Production.INFO: ==19304== Lock acquired, processing the job...
[2025-04-09 16:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:13:02] Production.INFO: ==19304== Releasing lock...
[2025-04-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:13:02] Production.INFO: ==19306== Lock acquired, processing the job...
[2025-04-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:13:02] Production.INFO: ==19306== Releasing lock...
[2025-04-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:13:02] Production.INFO: ==19316== Lock acquired, processing the job...
[2025-04-09 16:13:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:13:02] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:13:03] Production.INFO: ==19308== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:13:03] Production.ERROR: done
[2025-04-09 16:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:13:03] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:13:03] Production.INFO: ==19312== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:13:03] Production.INFO: ==19310== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:13:03] Production.INFO: ==19314== Lock acquired, processing the job...
[2025-04-09 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:13:03] Production.ERROR: done
[2025-04-09 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-04-09 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:13:03] Production.INFO: Account Balance Start.
[2025-04-09 16:13:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:13:03] Production.INFO: 117
[2025-04-09 16:13:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:13:03] Production.INFO: count ==12
[2025-04-09 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-04-09 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:13:03] Production.INFO: count ==23
[2025-04-09 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870686') start
[2025-04-09 16:13:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:13:03] Production.INFO: Total Charge 0
[2025-04-09 16:13:03] Production.INFO: CreateAllLog End
[2025-04-09 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870686') end
[2025-04-09 16:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:13:03] Production.INFO: 1
[2025-04-09 16:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:13:03] Production.INFO: ==19318== Releasing lock...
[2025-04-09 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:13:04] Production.INFO: ==19310== Releasing lock...
[2025-04-09 16:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:13:04] Production.INFO: Account Balance End.
[2025-04-09 16:13:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:13:04] Production.INFO: ==19314== Releasing lock...
[2025-04-09 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:13:04
[end_date_ymd] => 2025-04-09 16:13:04
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:13:04' and `end` < '2025-04-09 16: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-04-09 16:13:11] Production.ERROR: CronJobId end10
[2025-04-09 16:13:11] Production.INFO: ==19312== Releasing lock...
[2025-04-09 16:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:13:14] Production.INFO: call_cost start
[2025-04-09 16:13:14] Production.INFO: call_cost end
[2025-04-09 16:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:13:15] Production.INFO: ==19308== Releasing lock...
[2025-04-09 16:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:13:18] Production.INFO: count ==4574
[2025-04-09 16:13:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:13:04 - End Time 2025-04-09 16:13:04
[2025-04-09 16:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870688', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870688', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870688', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870688', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:13:20] Production.INFO: ProcessCDR(1,14870688,1,1,2)
[2025-04-09 16:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870688', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870688', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:13:25] Production.INFO: ==19316== Releasing lock...
[2025-04-09 16:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:13:25] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:14:02] Production.INFO: ==19374== Lock acquired, processing the job...
[2025-04-09 21:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:14:02] Production.INFO: neon service started
[2025-04-09 21:14:02] Production.INFO: neon service started
[2025-04-09 21:14:02] Production.INFO: ==19374== Releasing lock...
[2025-04-09 21:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:14:02] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-04-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:14:02] Production.INFO: ==19376== Releasing lock...
[2025-04-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:14:02] Production.INFO: ==19378== Lock acquired, processing the job...
[2025-04-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:14:02] Production.INFO: ==19378== Releasing lock...
[2025-04-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:14:03] Production.INFO: ==19380== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:14:03] Production.INFO: ==19390== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:14:03] Production.INFO: count ==12
[2025-04-09 16:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:14:03] Production.INFO: ==19384== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:14:03] Production.INFO: count ==23
[2025-04-09 16:14:03] Production.INFO: ==19382== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870690') start
[2025-04-09 16:14:03] Production.INFO: ==19386== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:14:03] Production.INFO: ==19388== Lock acquired, processing the job...
[2025-04-09 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870690') end
[2025-04-09 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:14:04] Production.INFO: 1
[2025-04-09 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:14:04] Production.INFO: Account Balance Start.
[2025-04-09 16:14:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:14:04] Production.INFO: 117
[2025-04-09 16:14:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:14:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:14:04] Production.INFO: ==19390== Releasing lock...
[2025-04-09 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:14:04] Production.INFO: Total Charge 0
[2025-04-09 16:14:04] Production.INFO: CreateAllLog End
[2025-04-09 16:14:04] Production.ERROR: done
[2025-04-09 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:14:04] Production.INFO: ==19382== Releasing lock...
[2025-04-09 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:14:04] Production.ERROR: done
[2025-04-09 16:14:04] Production.INFO: Account Balance End.
[2025-04-09 16:14:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:14:04] Production.INFO: ==19386== Releasing lock...
[2025-04-09 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:14:05
[end_date_ymd] => 2025-04-09 16:14:05
[RateCDR] => 1
)
[2025-04-09 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:14:05' and `end` < '2025-04-09 16:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:14:13] Production.ERROR: CronJobId end10
[2025-04-09 16:14:13] Production.INFO: ==19384== Releasing lock...
[2025-04-09 16:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:14:14] Production.INFO: call_cost start
[2025-04-09 16:14:14] Production.INFO: call_cost end
[2025-04-09 16:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:14:15] Production.INFO: ==19380== Releasing lock...
[2025-04-09 16:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:14:19] Production.INFO: count ==4581
[2025-04-09 16:14:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:14:05 - End Time 2025-04-09 16:14:05
[2025-04-09 16:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870694', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870694', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870694', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870694', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:14:21] Production.INFO: ProcessCDR(1,14870694,1,1,2)
[2025-04-09 16:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870694', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870694', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:14:26] Production.INFO: ==19388== Releasing lock...
[2025-04-09 16:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:14:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:15:01] Production.INFO: ==19460== Lock acquired, processing the job...
[2025-04-09 21:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:15:01] Production.INFO: neon service started
[2025-04-09 21:15:01] Production.INFO: neon service started
[2025-04-09 21:15:01] Production.INFO: ==19460== Releasing lock...
[2025-04-09 21:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:15:01] Production.INFO: ==19462== Lock acquired, processing the job...
[2025-04-09 16:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:15:02] Production.INFO: ==19462== Releasing lock...
[2025-04-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:15:02] Production.INFO: ==19464== Lock acquired, processing the job...
[2025-04-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:15:02] Production.INFO: ==19464== Releasing lock...
[2025-04-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:15:03] Production.INFO: ==19470== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:15:03] Production.INFO: ==19476== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:15:03] Production.INFO: count ==12
[2025-04-09 16:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:15:03] Production.INFO: count ==23
[2025-04-09 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870695') start
[2025-04-09 16:15:03] Production.INFO: ==19466== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:15:03] Production.INFO: ==19468== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870695') end
[2025-04-09 16:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:15:03] Production.INFO: 1
[2025-04-09 16:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:15:03] Production.INFO: ==19476== Releasing lock...
[2025-04-09 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:15:03] Production.INFO: ==19472== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:15:03] Production.INFO: ==19474== Lock acquired, processing the job...
[2025-04-09 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:15:03] Production.INFO: Account Balance Start.
[2025-04-09 16:15:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:15:03] Production.INFO: 117
[2025-04-09 16:15:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:15:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:15:03] Production.INFO: Total Charge 0
[2025-04-09 16:15:03] Production.INFO: CreateAllLog End
[2025-04-09 16:15:04] Production.INFO: Account Balance End.
[2025-04-09 16:15:04] Production.INFO: ==19468== Releasing lock...
[2025-04-09 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:15:04] Production.ERROR: done
[2025-04-09 16:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:15:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:15:04] Production.INFO: ==19472== Releasing lock...
[2025-04-09 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:15:04] Production.ERROR: done
[2025-04-09 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:15:05
[end_date_ymd] => 2025-04-09 16:15:05
[RateCDR] => 1
)
[2025-04-09 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:15:05' and `end` < '2025-04-09 16:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:15:15] Production.ERROR: CronJobId end10
[2025-04-09 16:15:15] Production.INFO: ==19470== Releasing lock...
[2025-04-09 16:15:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:15:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:15:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:15:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:15:16] Production.INFO: call_cost start
[2025-04-09 16:15:16] Production.INFO: call_cost end
[2025-04-09 16:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:15:17] Production.INFO: ==19466== Releasing lock...
[2025-04-09 16:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:15:19] Production.INFO: count ==4567
[2025-04-09 16:15:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:15:05 - End Time 2025-04-09 16:15:05
[2025-04-09 16:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870699', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870699', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870699', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870699', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:15:21] Production.INFO: ProcessCDR(1,14870699,1,1,2)
[2025-04-09 16:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870699', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870699', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:15:24] Production.INFO: ==19474== Releasing lock...
[2025-04-09 16:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:15:24] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:16:02] Production.INFO: ==19529== Lock acquired, processing the job...
[2025-04-09 21:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:16:02] Production.INFO: neon service started
[2025-04-09 21:16:02] Production.INFO: neon service started
[2025-04-09 21:16:02] Production.INFO: ==19529== Releasing lock...
[2025-04-09 21:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:16:02] Production.INFO: ==19534== Lock acquired, processing the job...
[2025-04-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:16:02] Production.INFO: ==19534== Releasing lock...
[2025-04-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:16:02] Production.INFO: ==19532== Lock acquired, processing the job...
[2025-04-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:16:02] Production.INFO: ==19532== Releasing lock...
[2025-04-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:16:03] Production.INFO: ==19536== Lock acquired, processing the job...
[2025-04-09 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:16:03] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-04-09 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:16:03] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-04-09 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:16:03] Production.INFO: Account Balance Start.
[2025-04-09 16:16:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:16:03] Production.INFO: 117
[2025-04-09 16:16:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:16:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:16:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:16:03] Production.INFO: ==19544== Lock acquired, processing the job...
[2025-04-09 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:16:03] Production.INFO: Total Charge 0
[2025-04-09 16:16:03] Production.INFO: CreateAllLog End
[2025-04-09 16:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:16:04] Production.INFO: ==19538== Lock acquired, processing the job...
[2025-04-09 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:16:04] Production.INFO: Account Balance End.
[2025-04-09 16:16:04] Production.INFO: ==19546== Lock acquired, processing the job...
[2025-04-09 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:16:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:16:04] Production.INFO: ==19542== Releasing lock...
[2025-04-09 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16: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-04-09 16:16:04] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:16:04] Production.INFO: count ==23
[2025-04-09 16:16:04] Production.ERROR: done
[2025-04-09 16:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870703') start
[2025-04-09 16:16:04] Production.INFO: ==19538== Releasing lock...
[2025-04-09 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870703') end
[2025-04-09 16:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:16:04] Production.INFO: 1
[2025-04-09 16:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:16:04] Production.INFO: ==19546== Releasing lock...
[2025-04-09 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:16:04] Production.ERROR: done
[2025-04-09 16:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:16:05
[end_date_ymd] => 2025-04-09 16:16:05
[RateCDR] => 1
)
[2025-04-09 16:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:16:05' and `end` < '2025-04-09 16:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:16:15] Production.ERROR: CronJobId end10
[2025-04-09 16:16:15] Production.INFO: ==19540== Releasing lock...
[2025-04-09 16:16:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:16:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:16:17] Production.INFO: call_cost start
[2025-04-09 16:16:17] Production.INFO: call_cost end
[2025-04-09 16:16:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:16:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:16:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:16:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:16:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:16:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:16:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:16:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:16:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:16:18] Production.INFO: ==19536== Releasing lock...
[2025-04-09 16:16:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:16:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:16:20] Production.INFO: count ==4564
[2025-04-09 16:16:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:16:05 - End Time 2025-04-09 16:16:05
[2025-04-09 16:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870704', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870704', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870704', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870704', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:16:21] Production.INFO: ProcessCDR(1,14870704,1,1,2)
[2025-04-09 16:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870704', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870704', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:16:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:16:26] Production.INFO: ==19544== Releasing lock...
[2025-04-09 16:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:16:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:17:01] Production.INFO: ==19600== Lock acquired, processing the job...
[2025-04-09 21:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:17:01] Production.INFO: neon service started
[2025-04-09 21:17:01] Production.INFO: neon service started
[2025-04-09 21:17:01] Production.INFO: ==19600== Releasing lock...
[2025-04-09 21:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:17:01] Production.INFO: ==19602== Lock acquired, processing the job...
[2025-04-09 16:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:17:02] Production.INFO: ==19604== Lock acquired, processing the job...
[2025-04-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:17:02] Production.INFO: ==19602== Releasing lock...
[2025-04-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:17:02] Production.INFO: ==19604== Releasing lock...
[2025-04-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:17:02] Production.INFO: ==19607== Lock acquired, processing the job...
[2025-04-09 16:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:17:03] Production.INFO: ==19609== Lock acquired, processing the job...
[2025-04-09 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:17:03] Production.INFO: ==19615== Lock acquired, processing the job...
[2025-04-09 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:17:03] Production.INFO: ==19611== Lock acquired, processing the job...
[2025-04-09 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:17:03] Production.INFO: ==19609== Releasing lock...
[2025-04-09 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:17:03] Production.INFO: ==19613== Lock acquired, processing the job...
[2025-04-09 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:17:03] Production.INFO: ==19617== Lock acquired, processing the job...
[2025-04-09 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:17:03] Production.INFO: Account Balance Start.
[2025-04-09 16:17:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:17:03] Production.INFO: 117
[2025-04-09 16:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:17:03] Production.ERROR: done
[2025-04-09 16:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:17:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:17:03] Production.INFO: count ==12
[2025-04-09 16:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:17:03] Production.INFO: count ==23
[2025-04-09 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870708') start
[2025-04-09 16:17:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:17:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:17:03] Production.INFO: Total Charge 0
[2025-04-09 16:17:04] Production.INFO: CreateAllLog End
[2025-04-09 16:17:04] Production.ERROR: done
[2025-04-09 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870708') end
[2025-04-09 16:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:17:04] Production.INFO: 1
[2025-04-09 16:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:17:04] Production.INFO: ==19617== Releasing lock...
[2025-04-09 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:17:04] Production.INFO: Account Balance End.
[2025-04-09 16:17:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:17:04] Production.INFO: ==19613== Releasing lock...
[2025-04-09 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:17:05
[end_date_ymd] => 2025-04-09 16:17:05
[RateCDR] => 1
)
[2025-04-09 16:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:17:05' and `end` < '2025-04-09 16:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:17:12] Production.ERROR: CronJobId end10
[2025-04-09 16:17:12] Production.INFO: ==19611== Releasing lock...
[2025-04-09 16:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:17:14] Production.INFO: call_cost start
[2025-04-09 16:17:14] Production.INFO: call_cost end
[2025-04-09 16:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:17:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:17:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:17:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:17:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:17:14] Production.INFO: ==19607== Releasing lock...
[2025-04-09 16:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:17:18] Production.INFO: count ==4557
[2025-04-09 16:17:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:17:05 - End Time 2025-04-09 16:17:05
[2025-04-09 16:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870709', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870709', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870709', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870709', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:17:20] Production.INFO: ProcessCDR(1,14870709,1,1,2)
[2025-04-09 16:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870709', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870709', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:17:25] Production.INFO: ==19615== Releasing lock...
[2025-04-09 16:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:17:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:18:02] Production.INFO: ==19673== Lock acquired, processing the job...
[2025-04-09 21:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:18:02] Production.INFO: neon service started
[2025-04-09 21:18:02] Production.INFO: neon service started
[2025-04-09 21:18:02] Production.INFO: ==19673== Releasing lock...
[2025-04-09 21:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:18:02] Production.INFO: ==19675== Lock acquired, processing the job...
[2025-04-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:18:02] Production.INFO: ==19675== Releasing lock...
[2025-04-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:18:02] Production.INFO: ==19677== Lock acquired, processing the job...
[2025-04-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:18:02] Production.INFO: ==19677== Releasing lock...
[2025-04-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:18:03] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-04-09 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:18:03] Production.INFO: ==19679== Lock acquired, processing the job...
[2025-04-09 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:18:03] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-04-09 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:18:03] Production.INFO: ==19681== Lock acquired, processing the job...
[2025-04-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:18:04] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-04-09 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:18:04] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-04-09 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:18:04] Production.INFO: Account Balance Start.
[2025-04-09 16:18:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:18:04] Production.INFO: 117
[2025-04-09 16:18:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 16: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-04-09 16:18:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:18:04] Production.INFO: Total Charge 0
[2025-04-09 16:18:04] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:18:04] Production.ERROR: done
[2025-04-09 16:18:04] Production.INFO: count ==23
[2025-04-09 16:18:04] Production.INFO: CreateAllLog End
[2025-04-09 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870713') start
[2025-04-09 16:18:04] Production.ERROR: done
[2025-04-09 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870713') end
[2025-04-09 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:18:04] Production.INFO: 1
[2025-04-09 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:18:04] Production.INFO: ==19681== Releasing lock...
[2025-04-09 16:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:18:04] Production.INFO: Account Balance End.
[2025-04-09 16:18:04] Production.INFO: ==19690== Releasing lock...
[2025-04-09 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:18:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:18:04] Production.INFO: ==19685== Releasing lock...
[2025-04-09 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:18:05
[end_date_ymd] => 2025-04-09 16:18:05
[RateCDR] => 1
)
[2025-04-09 16:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:18:05' and `end` < '2025-04-09 16:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:18:12] Production.ERROR: CronJobId end10
[2025-04-09 16:18:12] Production.INFO: ==19683== Releasing lock...
[2025-04-09 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:18:15] Production.INFO: call_cost start
[2025-04-09 16:18:15] Production.INFO: call_cost end
[2025-04-09 16:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:18:16] Production.INFO: ==19679== Releasing lock...
[2025-04-09 16:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:18:19] Production.INFO: count ==4563
[2025-04-09 16:18:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:18:05 - End Time 2025-04-09 16:18:05
[2025-04-09 16:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870714', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870714', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870714', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870714', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:18:21] Production.INFO: ProcessCDR(1,14870714,1,1,2)
[2025-04-09 16:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870714', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870714', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:18:25] Production.INFO: ==19687== Releasing lock...
[2025-04-09 16:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:18:25] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:19:01] Production.INFO: ==19745== Lock acquired, processing the job...
[2025-04-09 21:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:19:01] Production.INFO: neon service started
[2025-04-09 21:19:01] Production.INFO: neon service started
[2025-04-09 21:19:01] Production.INFO: ==19745== Releasing lock...
[2025-04-09 21:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:19:02] Production.INFO: ==19747== Lock acquired, processing the job...
[2025-04-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:19:02] Production.INFO: ==19749== Lock acquired, processing the job...
[2025-04-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:19:02] Production.INFO: ==19749== Releasing lock...
[2025-04-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:19:02] Production.INFO: ==19747== Releasing lock...
[2025-04-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:19:03] Production.INFO: ==19754== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:19:03] Production.INFO: ==19756== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:19:03] Production.INFO: ==19758== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:19:03] Production.INFO: Account Balance Start.
[2025-04-09 16:19:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:19:03] Production.INFO: 117
[2025-04-09 16:19:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:19:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:19:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:19:03] Production.INFO: Total Charge 0
[2025-04-09 16:19:03] Production.INFO: CreateAllLog End
[2025-04-09 16:19:03] Production.INFO: ==19752== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:19:03] Production.INFO: ==19754== Releasing lock...
[2025-04-09 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:19:03] Production.INFO: ==19760== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:19:03] Production.INFO: ==19762== Lock acquired, processing the job...
[2025-04-09 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:19:03] Production.INFO: Account Balance End.
[2025-04-09 16:19:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:19:03] Production.INFO: ==19758== Releasing lock...
[2025-04-09 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 16:19:03] Production.INFO: count ==12
[2025-04-09 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-04-09 16:19:03] Production.INFO: count ==23
[2025-04-09 16:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870718') start
[2025-04-09 16:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870718') end
[2025-04-09 16:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:19:03] Production.INFO: 1
[2025-04-09 16:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:19:03] Production.INFO: ==19762== Releasing lock...
[2025-04-09 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:19:04] Production.ERROR: done
[2025-04-09 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:19:04] Production.ERROR: done
[2025-04-09 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:19:05
[end_date_ymd] => 2025-04-09 16:19:05
[RateCDR] => 1
)
[2025-04-09 16:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:19:05' and `end` < '2025-04-09 16:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:19:11] Production.ERROR: CronJobId end10
[2025-04-09 16:19:11] Production.INFO: ==19756== Releasing lock...
[2025-04-09 16:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:19:13] Production.INFO: call_cost start
[2025-04-09 16:19:13] Production.INFO: call_cost end
[2025-04-09 16:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:19:14] Production.INFO: ==19752== Releasing lock...
[2025-04-09 16:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:19:19] Production.INFO: count ==4553
[2025-04-09 16:19:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:19:05 - End Time 2025-04-09 16:19:05
[2025-04-09 16:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870719', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870719', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870719', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870719', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:19:20] Production.INFO: ProcessCDR(1,14870719,1,1,2)
[2025-04-09 16:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870719', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870719', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:19:25] Production.INFO: ==19760== Releasing lock...
[2025-04-09 16:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:19:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:20:01] Production.INFO: ==19817== Lock acquired, processing the job...
[2025-04-09 21:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:20:02] Production.INFO: neon service started
[2025-04-09 21:20:02] Production.INFO: neon service started
[2025-04-09 21:20:02] Production.INFO: ==19817== Releasing lock...
[2025-04-09 21:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:20:02] Production.INFO: ==19819== Lock acquired, processing the job...
[2025-04-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:20:02] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-04-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:20:02] Production.INFO: ==19821== Releasing lock...
[2025-04-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:20:03] Production.INFO: ==19819== Releasing lock...
[2025-04-09 16:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:20:04] Production.INFO: ==19828== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:20:04] Production.INFO: ==19826== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:20:04] Production.INFO: ==19832== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:20:04] Production.INFO: ==19834== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:20:04] Production.INFO: ==19824== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:20:04] Production.INFO: ==19830== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:20:04] Production.ERROR: CronJob PID - 19826
[2025-04-09 16:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 16:20:04] Production.ERROR: CronJob ID - 5
[2025-04-09 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:20:00
[2025-04-09 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:20:04] Production.ERROR: CronJob PID - 19828
[2025-04-09 16:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 16:20:04] Production.ERROR: CronJob ID - 7
[2025-04-09 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:20:00
[2025-04-09 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:20:04] Production.ERROR: CronJob PID - 19832
[2025-04-09 16:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 16:20:04] Production.ERROR: CronJob ID - 12
[2025-04-09 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:20:00
[2025-04-09 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:20:04] Production.ERROR: CronJob PID - 19834
[2025-04-09 16:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 16:20:04] Production.ERROR: CronJob ID - 16
[2025-04-09 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:20:00
[2025-04-09 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:20:04] Production.INFO: Account Balance Start.
[2025-04-09 16:20:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:20:04] Production.INFO: 117
[2025-04-09 16:20:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:20:04] Production.INFO: ==19836== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:20:04] Production.INFO: ==19838== Lock acquired, processing the job...
[2025-04-09 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:20:04] Production.INFO: ==19824== Releasing lock...
[2025-04-09 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:20:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:20:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:20:04] Production.INFO: Total Charge 0
[2025-04-09 16:20:04] Production.INFO: count ==12
[2025-04-09 16:20:04] Production.ERROR: done
[2025-04-09 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:20:04] Production.INFO: CreateAllLog End
[2025-04-09 16:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:20:04] Production.INFO: count ==23
[2025-04-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870723') start
[2025-04-09 16:20:04] Production.INFO: ==19828== Releasing lock...
[2025-04-09 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:20:04] Production.ERROR: done
[2025-04-09 16:20:04] Production.INFO: Account Balance End.
[2025-04-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870723') end
[2025-04-09 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:20:04] Production.INFO: 1
[2025-04-09 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:20:05] Production.ERROR: done
[2025-04-09 16:20:05] Production.ERROR: CronJobId end 12
[2025-04-09 16:20:05] Production.INFO: ==19838== Releasing lock...
[2025-04-09 16:20:05] Production.INFO: ==19832== Releasing lock...
[2025-04-09 16:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870725', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:20:05
[end_date_ymd] => 2025-04-09 16:20:05
[RateCDR] => 1
)
[2025-04-09 16:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:20:05' and `end` < '2025-04-09 16:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870725', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:20:09] Production.INFO: ProcessCDR(1,14870725,1,1,2)
[2025-04-09 16:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870725,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:20:09] Production.INFO: ==19836== Releasing lock...
[2025-04-09 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:20:15] Production.ERROR: CronJobId end10
[2025-04-09 16:20:15] Production.INFO: ==19830== Releasing lock...
[2025-04-09 16:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:20:17] Production.INFO: call_cost start
[2025-04-09 16:20:17] Production.INFO: call_cost end
[2025-04-09 16:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:20:18] Production.INFO: ==19826== Releasing lock...
[2025-04-09 16:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:20:19] Production.INFO: count ==4526
[2025-04-09 16:20:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:20:05 - End Time 2025-04-09 16:20:05
[2025-04-09 16:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870724', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870724', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870724', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870724', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:20:21] Production.INFO: ProcessCDR(1,14870724,1,1,2)
[2025-04-09 16:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:20:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:20:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870724', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870724', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:20:26] Production.INFO: ==19834== Releasing lock...
[2025-04-09 16:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:20:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:21:01] Production.INFO: ==19894== Lock acquired, processing the job...
[2025-04-09 21:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:21:01] Production.INFO: neon service started
[2025-04-09 21:21:01] Production.INFO: neon service started
[2025-04-09 21:21:01] Production.INFO: ==19894== Releasing lock...
[2025-04-09 21:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:21:01] Production.INFO: ==19896== Lock acquired, processing the job...
[2025-04-09 16:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:21:02] Production.INFO: ==19896== Releasing lock...
[2025-04-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:21:02] Production.INFO: ==19898== Lock acquired, processing the job...
[2025-04-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:21:02] Production.INFO: ==19898== Releasing lock...
[2025-04-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:21:03] Production.INFO: ==19906== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:21:03] Production.INFO: ==19900== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:21:03] Production.INFO: ==19908== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:21:03] Production.INFO: ==19902== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:21:03] Production.INFO: ==19904== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:21:03] Production.INFO: Account Balance Start.
[2025-04-09 16:21:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:21:03] Production.INFO: 117
[2025-04-09 16:21:03] Production.INFO: ==19910== Lock acquired, processing the job...
[2025-04-09 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:21:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:21:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 16:21:03] Production.INFO: Total Charge 0
[2025-04-09 16:21:03] Production.INFO: CreateAllLog End
[2025-04-09 16:21:03] Production.INFO: count ==12
[2025-04-09 16:21:03] Production.INFO: ==19902== Releasing lock...
[2025-04-09 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:21:03] Production.ERROR: done
[2025-04-09 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-04-09 16:21:03] Production.INFO: count ==23
[2025-04-09 16:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870729') start
[2025-04-09 16:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870729') end
[2025-04-09 16:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:21:03] Production.INFO: 1
[2025-04-09 16:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:21:03] Production.INFO: ==19910== Releasing lock...
[2025-04-09 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:21:03] Production.ERROR: done
[2025-04-09 16:21:03] Production.INFO: Account Balance End.
[2025-04-09 16:21:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:21:03] Production.INFO: ==19906== Releasing lock...
[2025-04-09 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:21:04
[end_date_ymd] => 2025-04-09 16:21:04
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:21:04' and `end` < '2025-04-09 16: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-04-09 16:21:11] Production.ERROR: CronJobId end10
[2025-04-09 16:21:11] Production.INFO: ==19904== Releasing lock...
[2025-04-09 16:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:21:14] Production.INFO: call_cost start
[2025-04-09 16:21:14] Production.INFO: call_cost end
[2025-04-09 16:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:21:15] Production.INFO: ==19900== Releasing lock...
[2025-04-09 16:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:21:18] Production.INFO: count ==4560
[2025-04-09 16:21:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:21:04 - End Time 2025-04-09 16:21:04
[2025-04-09 16:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870730', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870730', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870730', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870730', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:21:20] Production.INFO: ProcessCDR(1,14870730,1,1,2)
[2025-04-09 16:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870730', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870730', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:21:25] Production.INFO: ==19908== Releasing lock...
[2025-04-09 16:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:21:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:22:02] Production.INFO: ==19964== Lock acquired, processing the job...
[2025-04-09 21:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:22:02] Production.INFO: neon service started
[2025-04-09 21:22:02] Production.INFO: neon service started
[2025-04-09 21:22:02] Production.INFO: ==19964== Releasing lock...
[2025-04-09 21:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:22:02] Production.INFO: ==19966== Lock acquired, processing the job...
[2025-04-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:22:02] Production.INFO: ==19966== Releasing lock...
[2025-04-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:22:02] Production.INFO: ==19968== Lock acquired, processing the job...
[2025-04-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:22:02] Production.INFO: ==19968== Releasing lock...
[2025-04-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:22:03] Production.INFO: ==19978== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:22:03] Production.INFO: ==19972== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:22:03] Production.INFO: ==19970== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:22:03] Production.INFO: ==19974== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:22:03] Production.INFO: ==19976== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:22:03] Production.INFO: ==19980== Lock acquired, processing the job...
[2025-04-09 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:22:03] Production.INFO: Account Balance Start.
[2025-04-09 16:22:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:22:04] Production.INFO: 117
[2025-04-09 16:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:22:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 16: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-04-09 16:22:04] Production.INFO: count ==12
[2025-04-09 16:22:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:22:04] Production.INFO: count ==23
[2025-04-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870734') start
[2025-04-09 16:22:04] Production.ERROR: done
[2025-04-09 16:22:04] Production.INFO: Total Charge 0
[2025-04-09 16:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:22:04] Production.INFO: CreateAllLog End
[2025-04-09 16:22:04] Production.INFO: ==19972== Releasing lock...
[2025-04-09 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:22:04] Production.ERROR: done
[2025-04-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870734') end
[2025-04-09 16:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:22:04] Production.INFO: 1
[2025-04-09 16:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:22:04] Production.INFO: ==19980== Releasing lock...
[2025-04-09 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:22:04] Production.INFO: Account Balance End.
[2025-04-09 16:22:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:22:04] Production.INFO: ==19976== Releasing lock...
[2025-04-09 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:22:05
[end_date_ymd] => 2025-04-09 16:22:05
[RateCDR] => 1
)
[2025-04-09 16:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:22:05' and `end` < '2025-04-09 16:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:22:13] Production.ERROR: CronJobId end10
[2025-04-09 16:22:13] Production.INFO: ==19974== Releasing lock...
[2025-04-09 16:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:22:15] Production.INFO: call_cost start
[2025-04-09 16:22:15] Production.INFO: call_cost end
[2025-04-09 16:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:22:16] Production.INFO: ==19970== Releasing lock...
[2025-04-09 16:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:22:19] Production.INFO: count ==4553
[2025-04-09 16:22:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:22:05 - End Time 2025-04-09 16:22:05
[2025-04-09 16:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870735', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870735', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870735', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870735', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:22:21] Production.INFO: ProcessCDR(1,14870735,1,1,2)
[2025-04-09 16:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870735', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870735', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:22:26] Production.INFO: ==19978== Releasing lock...
[2025-04-09 16:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:22:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:23:01] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-04-09 21:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:23:01] Production.INFO: neon service started
[2025-04-09 21:23:01] Production.INFO: neon service started
[2025-04-09 21:23:01] Production.INFO: ==20040== Releasing lock...
[2025-04-09 21:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:23:01] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-04-09 16:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:23:02] Production.INFO: ==20044== Lock acquired, processing the job...
[2025-04-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:23:02] Production.INFO: ==20044== Releasing lock...
[2025-04-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:23:02] Production.INFO: ==20042== Releasing lock...
[2025-04-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:23:03] Production.INFO: ==20048== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:23:03] Production.INFO: ==20056== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:23:03] Production.INFO: ==20052== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:23:03] Production.INFO: Account Balance Start.
[2025-04-09 16:23:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:23:03] Production.INFO: 117
[2025-04-09 16:23:03] Production.INFO: count ==12
[2025-04-09 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:23:03] Production.INFO: count ==23
[2025-04-09 16:23:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:23:03] Production.INFO: ==20046== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870737') start
[2025-04-09 16:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:23:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:23:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:23:03] Production.INFO: ==20050== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:23:03] Production.INFO: ==20054== Lock acquired, processing the job...
[2025-04-09 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:23:03] Production.INFO: Total Charge 0
[2025-04-09 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870737') end
[2025-04-09 16:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:23:03] Production.INFO: 1
[2025-04-09 16:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:23:03] Production.INFO: CreateAllLog End
[2025-04-09 16:23:03] Production.INFO: ==20048== Releasing lock...
[2025-04-09 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:23:03] Production.INFO: ==20056== Releasing lock...
[2025-04-09 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:23:03] Production.INFO: Account Balance End.
[2025-04-09 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:23:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:23:03] Production.INFO: ==20052== Releasing lock...
[2025-04-09 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:23:03] Production.ERROR: done
[2025-04-09 16:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:23:03] Production.ERROR: done
[2025-04-09 16:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:23:04
[end_date_ymd] => 2025-04-09 16:23:04
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:23:04' and `end` < '2025-04-09 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-04-09 16:23:12] Production.ERROR: CronJobId end10
[2025-04-09 16:23:12] Production.INFO: ==20050== Releasing lock...
[2025-04-09 16:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:23:14] Production.INFO: call_cost start
[2025-04-09 16:23:14] Production.INFO: call_cost end
[2025-04-09 16:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:23:15] Production.INFO: ==20046== Releasing lock...
[2025-04-09 16:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:23:18] Production.INFO: count ==4556
[2025-04-09 16:23:19] Production.ERROR: pbx CDR StartTime 2025-04-09 13:23:04 - End Time 2025-04-09 16:23:04
[2025-04-09 16:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870740', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870740', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870740', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870740', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:23:20] Production.INFO: ProcessCDR(1,14870740,1,1,2)
[2025-04-09 16:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870740', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870740', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:23:25] Production.INFO: ==20054== Releasing lock...
[2025-04-09 16:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:23:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:24:02] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-04-09 21:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:24:02] Production.INFO: neon service started
[2025-04-09 21:24:02] Production.INFO: neon service started
[2025-04-09 21:24:02] Production.INFO: ==20111== Releasing lock...
[2025-04-09 21:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:24:02] Production.INFO: ==20115== Lock acquired, processing the job...
[2025-04-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:24:02] Production.INFO: ==20115== Releasing lock...
[2025-04-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:24:02] Production.INFO: ==20113== Lock acquired, processing the job...
[2025-04-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:24:02] Production.INFO: ==20113== Releasing lock...
[2025-04-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:24:03] Production.INFO: ==20119== Lock acquired, processing the job...
[2025-04-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:24:03] Production.INFO: ==20121== Lock acquired, processing the job...
[2025-04-09 16:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:24:03] Production.INFO: ==20128== Lock acquired, processing the job...
[2025-04-09 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:24:03] Production.INFO: ==20119== Releasing lock...
[2025-04-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:24:04] Production.INFO: ==20117== Lock acquired, processing the job...
[2025-04-09 16:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:24:04] Production.INFO: count ==12
[2025-04-09 16:24:04] Production.INFO: ==20124== Lock acquired, processing the job...
[2025-04-09 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:24:04] Production.INFO: count ==23
[2025-04-09 16:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:24:04] Production.INFO: ==20126== Lock acquired, processing the job...
[2025-04-09 16:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870742') start
[2025-04-09 16:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:24:04] Production.INFO: Account Balance Start.
[2025-04-09 16:24:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:24:04] Production.INFO: 117
[2025-04-09 16:24:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870742') end
[2025-04-09 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:24:04] Production.INFO: 1
[2025-04-09 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:24:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:24:04] Production.INFO: Total Charge 0
[2025-04-09 16:24:04] Production.INFO: CreateAllLog End
[2025-04-09 16:24:04] Production.INFO: ==20128== Releasing lock...
[2025-04-09 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:24:04] Production.ERROR: done
[2025-04-09 16:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:24:04] Production.INFO: Account Balance End.
[2025-04-09 16:24:04] Production.ERROR: done
[2025-04-09 16:24:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:24:04] Production.INFO: ==20124== Releasing lock...
[2025-04-09 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:24:05
[end_date_ymd] => 2025-04-09 16:24:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:24:05' and `end` < '2025-04-09 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-04-09 16:24:12] Production.ERROR: CronJobId end10
[2025-04-09 16:24:12] Production.INFO: ==20121== Releasing lock...
[2025-04-09 16:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:24:15] Production.INFO: call_cost start
[2025-04-09 16:24:15] Production.INFO: call_cost end
[2025-04-09 16:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:24:16] Production.INFO: ==20117== Releasing lock...
[2025-04-09 16:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:24:19] Production.INFO: count ==4550
[2025-04-09 16:24:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:24:05 - End Time 2025-04-09 16:24:05
[2025-04-09 16:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870745', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870745', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870745', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870745', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:24:21] Production.INFO: ProcessCDR(1,14870745,1,1,2)
[2025-04-09 16:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870745', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870745', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:24:26] Production.INFO: ==20126== Releasing lock...
[2025-04-09 16:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:24:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:25:01] Production.INFO: ==20180== Lock acquired, processing the job...
[2025-04-09 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:25:01] Production.INFO: neon service started
[2025-04-09 21:25:01] Production.INFO: neon service started
[2025-04-09 21:25:01] Production.INFO: ==20180== Releasing lock...
[2025-04-09 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:25:01] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-04-09 16:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:25:02] Production.INFO: ==20182== Releasing lock...
[2025-04-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:25:02] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-04-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:25:02] Production.INFO: ==20184== Releasing lock...
[2025-04-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:25:03] Production.INFO: ==20190== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:25:03] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:25:03] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:25:03] Production.INFO: ==20196== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:25:03] Production.INFO: ==20192== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:25:03] Production.INFO: ==20194== Lock acquired, processing the job...
[2025-04-09 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:25:03] Production.INFO: count ==12
[2025-04-09 16:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:25:03] Production.INFO: Account Balance Start.
[2025-04-09 16:25:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:25:03] Production.INFO: 117
[2025-04-09 16:25:03] Production.INFO: count ==23
[2025-04-09 16:25:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870746') start
[2025-04-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:25:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870746') end
[2025-04-09 16:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:25:03] Production.INFO: 1
[2025-04-09 16:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:25:03] Production.INFO: Total Charge 0
[2025-04-09 16:25:03] Production.INFO: CreateAllLog End
[2025-04-09 16:25:03] Production.INFO: ==20196== Releasing lock...
[2025-04-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:25:03] Production.INFO: ==20188== Releasing lock...
[2025-04-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:25:03] Production.ERROR: done
[2025-04-09 16:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:25:03] Production.INFO: Account Balance End.
[2025-04-09 16:25:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:25:03] Production.INFO: ==20192== Releasing lock...
[2025-04-09 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:25:03] Production.ERROR: done
[2025-04-09 16:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:25:04
[end_date_ymd] => 2025-04-09 16:25:04
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:25:04' and `end` < '2025-04-09 16: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-04-09 16:25:12] Production.ERROR: CronJobId end10
[2025-04-09 16:25:12] Production.INFO: ==20190== Releasing lock...
[2025-04-09 16:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:25:14] Production.INFO: call_cost start
[2025-04-09 16:25:14] Production.INFO: call_cost end
[2025-04-09 16:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:25:15] Production.INFO: ==20186== Releasing lock...
[2025-04-09 16:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:25:18] Production.INFO: count ==4546
[2025-04-09 16:25:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:25:04 - End Time 2025-04-09 16:25:04
[2025-04-09 16:25:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870750', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870750', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870750', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870750', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:25:20] Production.INFO: ProcessCDR(1,14870750,1,1,2)
[2025-04-09 16:25:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:25:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:25:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:25:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870750', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870750', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:25:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:25:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:25:25] Production.INFO: ==20194== Releasing lock...
[2025-04-09 16:25:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:25:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:26:01] Production.INFO: ==20251== Lock acquired, processing the job...
[2025-04-09 21:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:26:01] Production.INFO: neon service started
[2025-04-09 21:26:01] Production.INFO: neon service started
[2025-04-09 21:26:01] Production.INFO: ==20251== Releasing lock...
[2025-04-09 21:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:26:02] Production.INFO: ==20253== Lock acquired, processing the job...
[2025-04-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:26:02] Production.INFO: ==20253== Releasing lock...
[2025-04-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:26:02] Production.INFO: ==20255== Lock acquired, processing the job...
[2025-04-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:26:02] Production.INFO: ==20255== Releasing lock...
[2025-04-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:26:03] Production.INFO: ==20257== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:26:03] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:26:03] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:26:03] Production.INFO: ==20267== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:26:03] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:26:03] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-04-09 16:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 16:26:03] Production.INFO: Account Balance Start.
[2025-04-09 16:26:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:26:03] Production.INFO: 117
[2025-04-09 16:26:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:26:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:26:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:26:03] Production.INFO: count ==12
[2025-04-09 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-04-09 16:26:03] Production.INFO: count ==23
[2025-04-09 16:26:03] Production.INFO: Total Charge 0
[2025-04-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870753') start
[2025-04-09 16:26:04] Production.INFO: CreateAllLog End
[2025-04-09 16:26:04] Production.INFO: ==20259== Releasing lock...
[2025-04-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870753') end
[2025-04-09 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:26:04] Production.INFO: 1
[2025-04-09 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:26:04] Production.INFO: Account Balance End.
[2025-04-09 16:26:04] Production.INFO: ==20267== Releasing lock...
[2025-04-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:26:04] Production.ERROR: done
[2025-04-09 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:26:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:26:04] Production.INFO: ==20263== Releasing lock...
[2025-04-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:26:04] Production.ERROR: done
[2025-04-09 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:26:05
[end_date_ymd] => 2025-04-09 16:26:05
[RateCDR] => 1
)
[2025-04-09 16:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:26:05' and `end` < '2025-04-09 16:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:26:12] Production.ERROR: CronJobId end10
[2025-04-09 16:26:12] Production.INFO: ==20261== Releasing lock...
[2025-04-09 16:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:26:14] Production.INFO: call_cost start
[2025-04-09 16:26:14] Production.INFO: call_cost end
[2025-04-09 16:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:26:15] Production.INFO: ==20257== Releasing lock...
[2025-04-09 16:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:26:19] Production.INFO: count ==4546
[2025-04-09 16:26:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:26:05 - End Time 2025-04-09 16:26:05
[2025-04-09 16:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870755', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870755', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870755', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870755', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:26:21] Production.INFO: ProcessCDR(1,14870755,1,1,2)
[2025-04-09 16:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870755', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870755', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:26:26] Production.INFO: ==20265== Releasing lock...
[2025-04-09 16:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:26:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:27:02] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-04-09 21:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:27:02] Production.INFO: neon service started
[2025-04-09 21:27:02] Production.INFO: neon service started
[2025-04-09 21:27:02] Production.INFO: ==20362== Releasing lock...
[2025-04-09 21:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:27:03] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-04-09 16:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:27:03] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-04-09 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:27:03] Production.INFO: ==20366== Releasing lock...
[2025-04-09 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:27:03] Production.INFO: ==20364== Releasing lock...
[2025-04-09 16:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:27:04] Production.INFO: ==20369== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:27:04] Production.INFO: ==20373== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:27:04] Production.INFO: ==20375== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:27:04] Production.INFO: Account Balance Start.
[2025-04-09 16:27:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:27:04] Production.INFO: 117
[2025-04-09 16:27:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:27:04] Production.INFO: ==20371== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:27:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:27:04] Production.INFO: ==20377== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:27:04] Production.INFO: Total Charge 0
[2025-04-09 16:27:04] Production.INFO: ==20379== Lock acquired, processing the job...
[2025-04-09 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:27:04] Production.INFO: CreateAllLog End
[2025-04-09 16:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16: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-04-09 16:27:04] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:27:04] Production.INFO: count ==23
[2025-04-09 16:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870759') start
[2025-04-09 16:27:04] Production.INFO: Account Balance End.
[2025-04-09 16:27:04] Production.INFO: ==20371== Releasing lock...
[2025-04-09 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:27:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:27:04] Production.INFO: ==20375== Releasing lock...
[2025-04-09 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870759') end
[2025-04-09 16:27:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:27:05] Production.INFO: 1
[2025-04-09 16:27:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:27:05] Production.INFO: ==20379== Releasing lock...
[2025-04-09 16:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:27:05] Production.ERROR: done
[2025-04-09 16:27:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:27:05] Production.ERROR: done
[2025-04-09 16:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:27:06
[end_date_ymd] => 2025-04-09 16:27:06
[RateCDR] => 1
)
[2025-04-09 16:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:27:06' and `end` < '2025-04-09 16:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:27:13] Production.ERROR: CronJobId end10
[2025-04-09 16:27:13] Production.INFO: ==20373== Releasing lock...
[2025-04-09 16:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:27:15] Production.INFO: call_cost start
[2025-04-09 16:27:15] Production.INFO: call_cost end
[2025-04-09 16:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:27:16] Production.INFO: ==20369== Releasing lock...
[2025-04-09 16:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:27:20] Production.INFO: count ==4551
[2025-04-09 16:27:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:27:06 - End Time 2025-04-09 16:27:06
[2025-04-09 16:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870760', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870760', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870760', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870760', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:27:22] Production.INFO: ProcessCDR(1,14870760,1,1,2)
[2025-04-09 16:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870760', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870760', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:27:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:27:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:27:27] Production.INFO: ==20377== Releasing lock...
[2025-04-09 16:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:27:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:28:01] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-04-09 21:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:28:01] Production.INFO: neon service started
[2025-04-09 21:28:01] Production.INFO: neon service started
[2025-04-09 21:28:01] Production.INFO: ==20435== Releasing lock...
[2025-04-09 21:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:28:02] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-04-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:28:02] Production.INFO: ==20439== Lock acquired, processing the job...
[2025-04-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:28:02] Production.INFO: ==20439== Releasing lock...
[2025-04-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:28:02] Production.INFO: ==20437== Releasing lock...
[2025-04-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:28:03] Production.INFO: ==20448== Lock acquired, processing the job...
[2025-04-09 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:28:04] Production.INFO: ==20442== Lock acquired, processing the job...
[2025-04-09 16:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:28:04] Production.INFO: ==20452== Lock acquired, processing the job...
[2025-04-09 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:28:04] Production.INFO: Account Balance Start.
[2025-04-09 16:28:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:28:04] Production.INFO: 117
[2025-04-09 16:28:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:28:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:28:04] Production.INFO: ==20444== Lock acquired, processing the job...
[2025-04-09 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:28:04] Production.INFO: Total Charge 0
[2025-04-09 16:28:04] Production.INFO: count ==12
[2025-04-09 16:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:28:04] Production.INFO: CreateAllLog End
[2025-04-09 16:28:04] Production.INFO: count ==23
[2025-04-09 16:28:04] Production.INFO: ==20446== Lock acquired, processing the job...
[2025-04-09 16:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870762') start
[2025-04-09 16:28:04] Production.INFO: ==20450== Lock acquired, processing the job...
[2025-04-09 16:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870762') end
[2025-04-09 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:28:04] Production.INFO: 1
[2025-04-09 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:28:04] Production.INFO: Account Balance End.
[2025-04-09 16:28:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:28:04] Production.INFO: ==20448== Releasing lock...
[2025-04-09 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:28:04] Production.INFO: ==20452== Releasing lock...
[2025-04-09 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:28:04] Production.INFO: ==20444== Releasing lock...
[2025-04-09 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:28:04] Production.ERROR: done
[2025-04-09 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:28:05] Production.ERROR: done
[2025-04-09 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:28:05
[end_date_ymd] => 2025-04-09 16:28:05
[RateCDR] => 1
)
[2025-04-09 16:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:28:05' and `end` < '2025-04-09 16:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:28:13] Production.ERROR: CronJobId end10
[2025-04-09 16:28:13] Production.INFO: ==20446== Releasing lock...
[2025-04-09 16:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:28:15] Production.INFO: call_cost start
[2025-04-09 16:28:15] Production.INFO: call_cost end
[2025-04-09 16:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:28:16] Production.INFO: ==20442== Releasing lock...
[2025-04-09 16:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:28:20] Production.INFO: count ==4552
[2025-04-09 16:28:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:28:05 - End Time 2025-04-09 16:28:05
[2025-04-09 16:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870765', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870765', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870765', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870765', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:28:22] Production.INFO: ProcessCDR(1,14870765,1,1,2)
[2025-04-09 16:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870765', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870765', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:28:27] Production.INFO: ==20450== Releasing lock...
[2025-04-09 16:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:28:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:29:02] Production.INFO: ==20507== Lock acquired, processing the job...
[2025-04-09 21:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:29:02] Production.INFO: neon service started
[2025-04-09 21:29:02] Production.INFO: neon service started
[2025-04-09 21:29:02] Production.INFO: ==20507== Releasing lock...
[2025-04-09 21:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:29:02] Production.INFO: ==20509== Lock acquired, processing the job...
[2025-04-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:29:02] Production.INFO: ==20509== Releasing lock...
[2025-04-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:29:03] Production.INFO: ==20511== Lock acquired, processing the job...
[2025-04-09 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:29:03] Production.INFO: ==20511== Releasing lock...
[2025-04-09 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:29:03] Production.INFO: ==20516== Lock acquired, processing the job...
[2025-04-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:29:03] Production.INFO: ==20518== Lock acquired, processing the job...
[2025-04-09 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:29:03] Production.INFO: ==20522== Lock acquired, processing the job...
[2025-04-09 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:29:04] Production.INFO: ==20516== Releasing lock...
[2025-04-09 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:29:04] Production.INFO: ==20514== Lock acquired, processing the job...
[2025-04-09 16:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:29:04] Production.INFO: ==20520== Lock acquired, processing the job...
[2025-04-09 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:29:04] Production.INFO: ==20524== Lock acquired, processing the job...
[2025-04-09 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:29:04] Production.INFO: Account Balance Start.
[2025-04-09 16:29:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:29:04] Production.INFO: 117
[2025-04-09 16:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:29:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:29:04] Production.INFO: count ==12
[2025-04-09 16:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:29:04] Production.INFO: count ==23
[2025-04-09 16:29:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870767') start
[2025-04-09 16:29:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:29:04] Production.ERROR: done
[2025-04-09 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870767') end
[2025-04-09 16:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:29:04] Production.INFO: 1
[2025-04-09 16:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:29:04] Production.INFO: Total Charge 0
[2025-04-09 16:29:04] Production.INFO: CreateAllLog End
[2025-04-09 16:29:04] Production.INFO: ==20524== Releasing lock...
[2025-04-09 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:29:04] Production.ERROR: done
[2025-04-09 16:29:04] Production.INFO: Account Balance End.
[2025-04-09 16:29:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:29:04] Production.INFO: ==20520== Releasing lock...
[2025-04-09 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:29:05
[end_date_ymd] => 2025-04-09 16:29:05
[RateCDR] => 1
)
[2025-04-09 16:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:29:05' and `end` < '2025-04-09 16:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:29:12] Production.ERROR: CronJobId end10
[2025-04-09 16:29:12] Production.INFO: ==20518== Releasing lock...
[2025-04-09 16:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:29:15] Production.INFO: call_cost start
[2025-04-09 16:29:15] Production.INFO: call_cost end
[2025-04-09 16:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:29:16] Production.INFO: ==20514== Releasing lock...
[2025-04-09 16:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:29:19] Production.INFO: count ==4544
[2025-04-09 16:29:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:29:05 - End Time 2025-04-09 16:29:05
[2025-04-09 16:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870770', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870770', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870770', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870770', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:29:21] Production.INFO: ProcessCDR(1,14870770,1,1,2)
[2025-04-09 16:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870770', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870770', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:29:26] Production.INFO: ==20522== Releasing lock...
[2025-04-09 16:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:29:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:30:01] Production.INFO: ==20579== Lock acquired, processing the job...
[2025-04-09 21:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:30:01] Production.INFO: neon service started
[2025-04-09 21:30:01] Production.INFO: neon service started
[2025-04-09 21:30:01] Production.INFO: ==20579== Releasing lock...
[2025-04-09 21:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:30:02] Production.INFO: ==20581== Lock acquired, processing the job...
[2025-04-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:30:02] Production.INFO: ==20583== Lock acquired, processing the job...
[2025-04-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:30:02] Production.INFO: ==20583== Releasing lock...
[2025-04-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:30:02] Production.INFO: ==20581== Releasing lock...
[2025-04-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:30:03] Production.INFO: ==20587== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:30:03] Production.INFO: ==20585== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:30:03] Production.INFO: ==20595== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:30:03] Production.INFO: ==20589== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:30:03] Production.ERROR: CronJob PID - 20587
[2025-04-09 16:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 16:30:03] Production.ERROR: CronJob ID - 5
[2025-04-09 16:30:03] Production.ERROR: CronJob Last Run Time 2025-04-09 16:30:00
[2025-04-09 16:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:30:03] Production.INFO: ==20585== Releasing lock...
[2025-04-09 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:30:03] Production.INFO: ==20600== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:30:03] Production.INFO: ==20591== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:30:03] Production.INFO: ==20593== Lock acquired, processing the job...
[2025-04-09 16:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:30:04] Production.INFO: ==20598== Lock acquired, processing the job...
[2025-04-09 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:30:04] Production.INFO: count ==12
[2025-04-09 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:30:04] Production.INFO: ==20589== Releasing lock...
[2025-04-09 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:30:04] Production.INFO: count ==23
[2025-04-09 16:30:04] Production.INFO: Account Balance Start.
[2025-04-09 16:30:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:30:04] Production.INFO: 117
[2025-04-09 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870773') start
[2025-04-09 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:30:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:30:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:30:04] Production.INFO: Total Charge 0
[2025-04-09 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:30:04] Production.INFO: CreateAllLog End
[2025-04-09 16:30:04] Production.ERROR: done
[2025-04-09 16:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870773') end
[2025-04-09 16:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:30:04] Production.INFO: 1
[2025-04-09 16:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:30:04] Production.INFO: ==20600== Releasing lock...
[2025-04-09 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:30:04] Production.ERROR: done
[2025-04-09 16:30:04] Production.ERROR: done
[2025-04-09 16:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870775', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:30:04] Production.INFO: Account Balance End.
[2025-04-09 16:30:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:30:04] Production.INFO: ==20593== Releasing lock...
[2025-04-09 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:30:05
[end_date_ymd] => 2025-04-09 16:30:05
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:30:05' and `end` < '2025-04-09 16: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-04-09 16:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870775', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:30:08] Production.INFO: ProcessCDR(1,14870775,1,1,2)
[2025-04-09 16:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:30:09] Production.INFO: ==20598== Releasing lock...
[2025-04-09 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:30:14] Production.ERROR: CronJobId end10
[2025-04-09 16:30:14] Production.INFO: ==20591== Releasing lock...
[2025-04-09 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:30:16] Production.INFO: call_cost start
[2025-04-09 16:30:16] Production.INFO: call_cost end
[2025-04-09 16:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:30:17] Production.INFO: ==20587== Releasing lock...
[2025-04-09 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:30:19] Production.INFO: count ==4539
[2025-04-09 16:30:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:30:05 - End Time 2025-04-09 16:30:05
[2025-04-09 16:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870776', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870776', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870776', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870776', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:30:21] Production.INFO: ProcessCDR(1,14870776,1,1,2)
[2025-04-09 16:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870776', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870776', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:30:27] Production.INFO: ==20595== Releasing lock...
[2025-04-09 16:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:30:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:31:02] Production.INFO: ==20653== Lock acquired, processing the job...
[2025-04-09 21:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:31:02] Production.INFO: neon service started
[2025-04-09 21:31:02] Production.INFO: neon service started
[2025-04-09 21:31:02] Production.INFO: ==20653== Releasing lock...
[2025-04-09 21:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:31:02] Production.INFO: ==20655== Lock acquired, processing the job...
[2025-04-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:31:02] Production.INFO: ==20655== Releasing lock...
[2025-04-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:31:03] Production.INFO: ==20657== Lock acquired, processing the job...
[2025-04-09 20:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:31:03] Production.INFO: ==20657== Releasing lock...
[2025-04-09 20:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:31:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:31:03] Production.INFO: ==20669== Lock acquired, processing the job...
[2025-04-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:31:03] Production.INFO: ==20663== Lock acquired, processing the job...
[2025-04-09 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:31:03] Production.INFO: ==20659== Lock acquired, processing the job...
[2025-04-09 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:31:03] Production.INFO: ==20661== Lock acquired, processing the job...
[2025-04-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:31:03] Production.INFO: ==20665== Lock acquired, processing the job...
[2025-04-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16: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-04-09 16:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:31:04] Production.INFO: ==20667== Lock acquired, processing the job...
[2025-04-09 16:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:31:04] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:31:04] Production.INFO: count ==23
[2025-04-09 16:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870777') start
[2025-04-09 16:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:31:04] Production.INFO: Account Balance Start.
[2025-04-09 16:31:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:31:04] Production.INFO: 117
[2025-04-09 16:31:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:31:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:31:04] Production.INFO: Total Charge 0
[2025-04-09 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870777') end
[2025-04-09 16:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:31:04] Production.INFO: 1
[2025-04-09 16:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:31:04] Production.INFO: CreateAllLog End
[2025-04-09 16:31:04] Production.INFO: ==20669== Releasing lock...
[2025-04-09 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:31:04] Production.INFO: ==20661== Releasing lock...
[2025-04-09 16:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:31:04] Production.ERROR: done
[2025-04-09 16:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:31:04] Production.INFO: Account Balance End.
[2025-04-09 16:31:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:31:04] Production.INFO: ==20665== Releasing lock...
[2025-04-09 16:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:31:04] Production.ERROR: done
[2025-04-09 16:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:31:05
[end_date_ymd] => 2025-04-09 16:31:05
[RateCDR] => 1
)
[2025-04-09 16:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:31:05' and `end` < '2025-04-09 16:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:31:12] Production.ERROR: CronJobId end10
[2025-04-09 16:31:12] Production.INFO: ==20663== Releasing lock...
[2025-04-09 16:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:31:15] Production.INFO: call_cost start
[2025-04-09 16:31:15] Production.INFO: call_cost end
[2025-04-09 16:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:31:16] Production.INFO: ==20659== Releasing lock...
[2025-04-09 16:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:31:19] Production.INFO: count ==4557
[2025-04-09 16:31:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:31:05 - End Time 2025-04-09 16:31:05
[2025-04-09 16:31:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870781', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870781', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870781', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870781', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:31:21] Production.INFO: ProcessCDR(1,14870781,1,1,2)
[2025-04-09 16:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870781', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870781', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:31:26] Production.INFO: ==20667== Releasing lock...
[2025-04-09 16:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:31:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:32:01] Production.INFO: ==20727== Lock acquired, processing the job...
[2025-04-09 21:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:32:01] Production.INFO: neon service started
[2025-04-09 21:32:01] Production.INFO: neon service started
[2025-04-09 21:32:01] Production.INFO: ==20727== Releasing lock...
[2025-04-09 21:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:32:02] Production.INFO: ==20729== Lock acquired, processing the job...
[2025-04-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:32:02] Production.INFO: ==20729== Releasing lock...
[2025-04-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:32:02] Production.INFO: ==20731== Lock acquired, processing the job...
[2025-04-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:32:02] Production.INFO: ==20731== Releasing lock...
[2025-04-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:32:03] Production.INFO: ==20733== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:32:03] Production.INFO: ==20737== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:32:03] Production.INFO: ==20740== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:32:03] Production.INFO: ==20735== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:32:03] Production.INFO: Account Balance Start.
[2025-04-09 16:32:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:32:03] Production.INFO: 117
[2025-04-09 16:32:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:32:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:32:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:32:03] Production.INFO: Total Charge 0
[2025-04-09 16:32:03] Production.INFO: CreateAllLog End
[2025-04-09 16:32:03] Production.INFO: ==20744== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:32:03] Production.INFO: ==20747== Lock acquired, processing the job...
[2025-04-09 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:32:03] Production.INFO: Account Balance End.
[2025-04-09 16:32:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:32:03] Production.INFO: ==20740== Releasing lock...
[2025-04-09 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16: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-04-09 16:32:03] Production.INFO: ==20735== Releasing lock...
[2025-04-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:32:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:32:03] Production.INFO: count ==23
[2025-04-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870785') start
[2025-04-09 16:32:04] Production.ERROR: done
[2025-04-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870785') end
[2025-04-09 16:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:32:04] Production.INFO: 1
[2025-04-09 16:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:32:04] Production.INFO: ==20747== Releasing lock...
[2025-04-09 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:32:04] Production.ERROR: done
[2025-04-09 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:32:05
[end_date_ymd] => 2025-04-09 16:32:05
[RateCDR] => 1
)
[2025-04-09 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:32:05' and `end` < '2025-04-09 16:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:32:12] Production.ERROR: CronJobId end10
[2025-04-09 16:32:12] Production.INFO: ==20737== Releasing lock...
[2025-04-09 16:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:32:14] Production.INFO: call_cost start
[2025-04-09 16:32:14] Production.INFO: call_cost end
[2025-04-09 16:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:32:15] Production.INFO: ==20733== Releasing lock...
[2025-04-09 16:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:32:19] Production.INFO: count ==4548
[2025-04-09 16:32:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:32:05 - End Time 2025-04-09 16:32:05
[2025-04-09 16:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870786', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870786', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870786', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870786', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:32:21] Production.INFO: ProcessCDR(1,14870786,1,1,2)
[2025-04-09 16:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870786', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870786', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:32:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:32:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:32:26] Production.INFO: ==20744== Releasing lock...
[2025-04-09 16:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:32:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:33:02] Production.INFO: ==20836== Lock acquired, processing the job...
[2025-04-09 21:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:33:02] Production.INFO: neon service started
[2025-04-09 21:33:02] Production.INFO: neon service started
[2025-04-09 21:33:02] Production.INFO: ==20836== Releasing lock...
[2025-04-09 21:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:33:02] Production.INFO: ==20840== Lock acquired, processing the job...
[2025-04-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:33:02] Production.INFO: ==20840== Releasing lock...
[2025-04-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:33:02] Production.INFO: ==20838== Lock acquired, processing the job...
[2025-04-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:33:02] Production.INFO: ==20838== Releasing lock...
[2025-04-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:33:03] Production.INFO: ==20843== Lock acquired, processing the job...
[2025-04-09 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:33:03] Production.INFO: ==20849== Lock acquired, processing the job...
[2025-04-09 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:33:03] Production.INFO: ==20847== Lock acquired, processing the job...
[2025-04-09 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:33:03] Production.INFO: Account Balance Start.
[2025-04-09 16:33:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:33:03] Production.INFO: 117
[2025-04-09 16:33:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:33:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:33:03] Production.INFO: Total Charge 0
[2025-04-09 16:33:03] Production.INFO: CreateAllLog End
[2025-04-09 16:33:04] Production.INFO: ==20845== Lock acquired, processing the job...
[2025-04-09 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:33:04] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-04-09 16:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:33:04] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-04-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:33:04] Production.INFO: Account Balance End.
[2025-04-09 16:33:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:33:04] Production.INFO: ==20849== Releasing lock...
[2025-04-09 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 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-04-09 16:33:04] Production.INFO: count ==12
[2025-04-09 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-04-09 16:33:04] Production.INFO: count ==23
[2025-04-09 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870789') start
[2025-04-09 16:33:04] Production.INFO: ==20845== Releasing lock...
[2025-04-09 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:33:04] Production.ERROR: done
[2025-04-09 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870789') end
[2025-04-09 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:33:04] Production.INFO: 1
[2025-04-09 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:33:04] Production.INFO: ==20853== Releasing lock...
[2025-04-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:33:05] Production.ERROR: done
[2025-04-09 16:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:33:06
[end_date_ymd] => 2025-04-09 16:33:06
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:33:06' and `end` < '2025-04-09 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-04-09 16:33:13] Production.ERROR: CronJobId end10
[2025-04-09 16:33:13] Production.INFO: ==20847== Releasing lock...
[2025-04-09 16:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:33:14] Production.INFO: call_cost start
[2025-04-09 16:33:14] Production.INFO: call_cost end
[2025-04-09 16:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:33:15] Production.INFO: ==20843== Releasing lock...
[2025-04-09 16:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:33:19] Production.INFO: count ==4546
[2025-04-09 16:33:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:33:06 - End Time 2025-04-09 16:33:06
[2025-04-09 16:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870791', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870791', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870791', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870791', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:33:21] Production.INFO: ProcessCDR(1,14870791,1,1,2)
[2025-04-09 16:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870791', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870791', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:33:26] Production.INFO: ==20851== Releasing lock...
[2025-04-09 16:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:33:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:34:01] Production.INFO: ==20907== Lock acquired, processing the job...
[2025-04-09 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:34:01] Production.INFO: neon service started
[2025-04-09 21:34:01] Production.INFO: neon service started
[2025-04-09 21:34:01] Production.INFO: ==20907== Releasing lock...
[2025-04-09 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:34:01] Production.INFO: ==20910== Lock acquired, processing the job...
[2025-04-09 16:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:34:02] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-04-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:34:02] Production.INFO: ==20912== Releasing lock...
[2025-04-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:34:02] Production.INFO: ==20910== Releasing lock...
[2025-04-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:34:03] Production.INFO: ==20916== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:34:03] Production.INFO: ==20920== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:34:03] Production.INFO: ==20922== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:34:03] Production.INFO: Account Balance Start.
[2025-04-09 16:34:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:34:03] Production.INFO: 117
[2025-04-09 16:34:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:34:03] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:34:03] Production.INFO: ==20924== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:34:03] Production.INFO: ==20916== Releasing lock...
[2025-04-09 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:34:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:34:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:34:03] Production.INFO: ==20918== Lock acquired, processing the job...
[2025-04-09 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:34:03] Production.INFO: Total Charge 0
[2025-04-09 16:34:03] Production.INFO: CreateAllLog End
[2025-04-09 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:34:03] Production.ERROR: done
[2025-04-09 16:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 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-04-09 16:34:03] Production.INFO: count ==12
[2025-04-09 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 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-04-09 16:34:03] Production.INFO: count ==23
[2025-04-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870794') start
[2025-04-09 16:34:03] Production.ERROR: done
[2025-04-09 16:34:03] Production.INFO: Account Balance End.
[2025-04-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870794') end
[2025-04-09 16:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:34:03] Production.INFO: 1
[2025-04-09 16:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:34:04] Production.INFO: ==20924== Releasing lock...
[2025-04-09 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:34:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:34:04] Production.INFO: ==20920== Releasing lock...
[2025-04-09 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:34:05
[end_date_ymd] => 2025-04-09 16:34:05
[RateCDR] => 1
)
[2025-04-09 16:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:34:05' and `end` < '2025-04-09 16:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:34:13] Production.ERROR: CronJobId end10
[2025-04-09 16:34:13] Production.INFO: ==20918== Releasing lock...
[2025-04-09 16:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:34:14] Production.INFO: call_cost start
[2025-04-09 16:34:14] Production.INFO: call_cost end
[2025-04-09 16:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:34:15] Production.INFO: ==20914== Releasing lock...
[2025-04-09 16:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:34:19] Production.INFO: count ==4539
[2025-04-09 16:34:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:34:05 - End Time 2025-04-09 16:34:05
[2025-04-09 16:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870796', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870796', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870796', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870796', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:34:21] Production.INFO: ProcessCDR(1,14870796,1,1,2)
[2025-04-09 16:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870796', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870796', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:34:26] Production.INFO: ==20922== Releasing lock...
[2025-04-09 16:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:34:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:35:02] Production.INFO: ==20980== Lock acquired, processing the job...
[2025-04-09 21:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:35:02] Production.INFO: neon service started
[2025-04-09 21:35:02] Production.INFO: neon service started
[2025-04-09 21:35:02] Production.INFO: ==20980== Releasing lock...
[2025-04-09 21:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:35:02] Production.INFO: ==20982== Lock acquired, processing the job...
[2025-04-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:35:02] Production.INFO: ==20982== Releasing lock...
[2025-04-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:35:02] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-04-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:35:02] Production.INFO: ==20984== Releasing lock...
[2025-04-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:35:03] Production.INFO: ==20989== Lock acquired, processing the job...
[2025-04-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:35:03] Production.INFO: ==20993== Lock acquired, processing the job...
[2025-04-09 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:35:03] Production.INFO: ==20995== Lock acquired, processing the job...
[2025-04-09 16:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:35:03] Production.INFO: Account Balance Start.
[2025-04-09 16:35:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:35:03] Production.INFO: 117
[2025-04-09 16:35:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:35:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:35:03] Production.INFO: Total Charge 0
[2025-04-09 16:35:03] Production.INFO: ==20991== Lock acquired, processing the job...
[2025-04-09 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:35:03] Production.INFO: CreateAllLog End
[2025-04-09 16:35:03] Production.INFO: ==20987== Lock acquired, processing the job...
[2025-04-09 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:35:03] Production.INFO: ==20989== Releasing lock...
[2025-04-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:35:04] Production.INFO: ==20997== Lock acquired, processing the job...
[2025-04-09 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:35:04] Production.INFO: Account Balance End.
[2025-04-09 16:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:35:04] Production.ERROR: done
[2025-04-09 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:35:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:35:04] Production.INFO: ==20993== Releasing lock...
[2025-04-09 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 16:35:04] Production.INFO: count ==12
[2025-04-09 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-04-09 16:35:04] Production.INFO: count ==23
[2025-04-09 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870800') start
[2025-04-09 16:35:04] Production.ERROR: done
[2025-04-09 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870800') end
[2025-04-09 16:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:35:04] Production.INFO: 1
[2025-04-09 16:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:35:04] Production.INFO: ==20997== Releasing lock...
[2025-04-09 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:35:05
[end_date_ymd] => 2025-04-09 16:35:05
[RateCDR] => 1
)
[2025-04-09 16:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:35:05' and `end` < '2025-04-09 16:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:35:12] Production.ERROR: CronJobId end10
[2025-04-09 16:35:12] Production.INFO: ==20991== Releasing lock...
[2025-04-09 16:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:35:15] Production.INFO: call_cost start
[2025-04-09 16:35:15] Production.INFO: call_cost end
[2025-04-09 16:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:35:15] Production.INFO: ==20987== Releasing lock...
[2025-04-09 16:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:35:18] Production.INFO: count ==4532
[2025-04-09 16:35:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:35:05 - End Time 2025-04-09 16:35:05
[2025-04-09 16:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870801', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870801', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870801', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870801', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:35:20] Production.INFO: ProcessCDR(1,14870801,1,1,2)
[2025-04-09 16:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870801', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870801', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:35:26] Production.INFO: ==20995== Releasing lock...
[2025-04-09 16:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:35:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:36:01] Production.INFO: ==21051== Lock acquired, processing the job...
[2025-04-09 21:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:36:01] Production.INFO: neon service started
[2025-04-09 21:36:01] Production.INFO: neon service started
[2025-04-09 21:36:01] Production.INFO: ==21051== Releasing lock...
[2025-04-09 21:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:36:01] Production.INFO: ==21053== Lock acquired, processing the job...
[2025-04-09 16:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:36:02] Production.INFO: ==21053== Releasing lock...
[2025-04-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:36:02] Production.INFO: ==21055== Lock acquired, processing the job...
[2025-04-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:36:02] Production.INFO: ==21055== Releasing lock...
[2025-04-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:36:03] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:36:03] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:36:03] Production.INFO: Account Balance Start.
[2025-04-09 16:36:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:36:03] Production.INFO: 117
[2025-04-09 16:36:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:36:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:36:03] Production.INFO: Reseller ==> 0
[2025-04-09 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-04-09 16:36:03] Production.INFO: ==21059== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:36:03] Production.INFO: count ==12
[2025-04-09 16:36:03] Production.INFO: Total Charge 0
[2025-04-09 16:36:03] Production.INFO: ==21057== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 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-04-09 16:36:03] Production.INFO: count ==23
[2025-04-09 16:36:03] Production.INFO: ==21061== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:36:03] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-04-09 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870803') start
[2025-04-09 16:36:03] Production.INFO: CreateAllLog End
[2025-04-09 16:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870803') end
[2025-04-09 16:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:36:03] Production.INFO: 1
[2025-04-09 16:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:36:03] Production.INFO: Account Balance End.
[2025-04-09 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:36:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:36:03] Production.INFO: ==21063== Releasing lock...
[2025-04-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:36:03] Production.INFO: ==21067== Releasing lock...
[2025-04-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:36:03] Production.INFO: ==21059== Releasing lock...
[2025-04-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:36:04] Production.ERROR: done
[2025-04-09 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:36:04] Production.ERROR: done
[2025-04-09 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:36:05
[end_date_ymd] => 2025-04-09 16:36:05
[RateCDR] => 1
)
[2025-04-09 16:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:36:05' and `end` < '2025-04-09 16:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:36:12] Production.ERROR: CronJobId end10
[2025-04-09 16:36:12] Production.INFO: ==21061== Releasing lock...
[2025-04-09 16:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:36:14] Production.INFO: call_cost start
[2025-04-09 16:36:14] Production.INFO: call_cost end
[2025-04-09 16:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:36:15] Production.INFO: ==21057== Releasing lock...
[2025-04-09 16:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:36:19] Production.INFO: count ==4540
[2025-04-09 16:36:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:36:05 - End Time 2025-04-09 16:36:05
[2025-04-09 16:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870806', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870806', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870806', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870806', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:36:21] Production.INFO: ProcessCDR(1,14870806,1,1,2)
[2025-04-09 16:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870806', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870806', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:36:26] Production.INFO: ==21065== Releasing lock...
[2025-04-09 16:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:36:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:37:01] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-04-09 21:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:37:01] Production.INFO: neon service started
[2025-04-09 21:37:01] Production.INFO: neon service started
[2025-04-09 21:37:01] Production.INFO: ==21124== Releasing lock...
[2025-04-09 21:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:37:02] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-04-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:37:02] Production.INFO: ==21126== Releasing lock...
[2025-04-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:37:02] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-04-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:37:02] Production.INFO: ==21128== Releasing lock...
[2025-04-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:37:03] Production.INFO: ==21140== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:37:03] Production.INFO: ==21138== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:37:03] Production.INFO: ==21130== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:37:03] Production.INFO: ==21132== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 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-04-09 16:37:03] Production.INFO: ==21134== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:37:03] Production.INFO: count ==12
[2025-04-09 16:37:03] Production.INFO: ==21136== Lock acquired, processing the job...
[2025-04-09 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 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-04-09 16:37:03] Production.INFO: count ==23
[2025-04-09 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870807') start
[2025-04-09 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870807') end
[2025-04-09 16:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:37:04] Production.INFO: 1
[2025-04-09 16:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:37:04] Production.INFO: Account Balance Start.
[2025-04-09 16:37:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:37:04] Production.INFO: 117
[2025-04-09 16:37:04] Production.INFO: ==21140== Releasing lock...
[2025-04-09 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:37:04] Production.ERROR: done
[2025-04-09 16:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:37:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:37:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:37:04] Production.INFO: Total Charge 0
[2025-04-09 16:37:04] Production.INFO: CreateAllLog End
[2025-04-09 16:37:04] Production.ERROR: done
[2025-04-09 16:37:04] Production.INFO: ==21132== Releasing lock...
[2025-04-09 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:37:04] Production.INFO: Account Balance End.
[2025-04-09 16:37:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:37:04] Production.INFO: ==21136== Releasing lock...
[2025-04-09 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:37:05
[end_date_ymd] => 2025-04-09 16:37:05
[RateCDR] => 1
)
[2025-04-09 16:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:37:05' and `end` < '2025-04-09 16:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:37:12] Production.ERROR: CronJobId end10
[2025-04-09 16:37:12] Production.INFO: ==21134== Releasing lock...
[2025-04-09 16:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:37:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:37:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:37:15] Production.INFO: call_cost start
[2025-04-09 16:37:15] Production.INFO: call_cost end
[2025-04-09 16:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:37:16] Production.INFO: ==21130== Releasing lock...
[2025-04-09 16:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:37:19] Production.INFO: count ==4539
[2025-04-09 16:37:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:37:05 - End Time 2025-04-09 16:37:05
[2025-04-09 16:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870811', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870811', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870811', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870811', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:37:21] Production.INFO: ProcessCDR(1,14870811,1,1,2)
[2025-04-09 16:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870811', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870811', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:37:26] Production.INFO: ==21138== Releasing lock...
[2025-04-09 16:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:37:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:38:01] Production.INFO: ==21195== Lock acquired, processing the job...
[2025-04-09 21:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:38:01] Production.INFO: neon service started
[2025-04-09 21:38:01] Production.INFO: neon service started
[2025-04-09 21:38:01] Production.INFO: ==21195== Releasing lock...
[2025-04-09 21:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:38:01] Production.INFO: ==21197== Lock acquired, processing the job...
[2025-04-09 16:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:38:02] Production.INFO: ==21197== Releasing lock...
[2025-04-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:38:02] Production.INFO: ==21199== Lock acquired, processing the job...
[2025-04-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:38:02] Production.INFO: ==21199== Releasing lock...
[2025-04-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:38:03] Production.INFO: ==21203== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:38:03] Production.INFO: ==21201== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:38:03] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:38:03] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:38:03] Production.INFO: Account Balance Start.
[2025-04-09 16:38:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:38:03] Production.INFO: 117
[2025-04-09 16:38:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:38:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:38:03] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:38:03] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-04-09 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:38:03] Production.INFO: Total Charge 0
[2025-04-09 16:38:03] Production.INFO: CreateAllLog End
[2025-04-09 16:38:03] Production.INFO: ==21203== Releasing lock...
[2025-04-09 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 16:38:03] Production.INFO: count ==12
[2025-04-09 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-04-09 16:38:03] Production.INFO: count ==23
[2025-04-09 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870815') start
[2025-04-09 16:38:03] Production.ERROR: done
[2025-04-09 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870815') end
[2025-04-09 16:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:38:03] Production.INFO: 1
[2025-04-09 16:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:38:03] Production.INFO: Account Balance End.
[2025-04-09 16:38:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:38:03] Production.INFO: ==21207== Releasing lock...
[2025-04-09 16:38:03] Production.INFO: ==21211== Releasing lock...
[2025-04-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:38:04] Production.ERROR: done
[2025-04-09 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:38:05
[end_date_ymd] => 2025-04-09 16:38:05
[RateCDR] => 1
)
[2025-04-09 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:38:05' and `end` < '2025-04-09 16:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:38:12] Production.ERROR: CronJobId end10
[2025-04-09 16:38:12] Production.INFO: ==21205== Releasing lock...
[2025-04-09 16:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:38:14] Production.INFO: call_cost start
[2025-04-09 16:38:14] Production.INFO: call_cost end
[2025-04-09 16:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:38:15] Production.INFO: ==21201== Releasing lock...
[2025-04-09 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:38:19] Production.INFO: count ==4539
[2025-04-09 16:38:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:38:05 - End Time 2025-04-09 16:38:05
[2025-04-09 16:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870816', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870816', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870816', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870816', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:38:20] Production.INFO: ProcessCDR(1,14870816,1,1,2)
[2025-04-09 16:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870816', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870816', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:38:26] Production.INFO: ==21209== Releasing lock...
[2025-04-09 16:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:38:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:39:01] Production.INFO: ==21264== Lock acquired, processing the job...
[2025-04-09 21:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:39:01] Production.INFO: neon service started
[2025-04-09 21:39:01] Production.INFO: neon service started
[2025-04-09 21:39:01] Production.INFO: ==21264== Releasing lock...
[2025-04-09 21:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:39:02] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-04-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:39:02] Production.INFO: ==21267== Releasing lock...
[2025-04-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:39:02] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-04-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:39:02] Production.INFO: ==21269== Releasing lock...
[2025-04-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:39:03] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:39:03] Production.INFO: ==21273== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:39:03] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:39:03] Production.INFO: ==21275== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 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-04-09 16:39:03] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:39:03] Production.INFO: count ==12
[2025-04-09 16:39:03] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-04-09 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:39:03] Production.INFO: count ==23
[2025-04-09 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870819') start
[2025-04-09 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:39:03] Production.INFO: Account Balance Start.
[2025-04-09 16:39:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:39:03] Production.INFO: 117
[2025-04-09 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:39:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:39:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870819') end
[2025-04-09 16:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:39:03] Production.INFO: 1
[2025-04-09 16:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:39:03] Production.INFO: ==21281== Releasing lock...
[2025-04-09 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:39:03] Production.INFO: ==21273== Releasing lock...
[2025-04-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:39:03] Production.INFO: Total Charge 0
[2025-04-09 16:39:03] Production.INFO: CreateAllLog End
[2025-04-09 16:39:04] Production.ERROR: done
[2025-04-09 16:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:39:04] Production.INFO: Account Balance End.
[2025-04-09 16:39:04] Production.ERROR: done
[2025-04-09 16:39:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:39:04] Production.INFO: ==21277== Releasing lock...
[2025-04-09 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:39:05
[end_date_ymd] => 2025-04-09 16:39:05
[RateCDR] => 1
)
[2025-04-09 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-04-09 13:39:05' and `end` < '2025-04-09 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-04-09 16:39:12] Production.ERROR: CronJobId end10
[2025-04-09 16:39:12] Production.INFO: ==21275== Releasing lock...
[2025-04-09 16:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:39:14] Production.INFO: call_cost start
[2025-04-09 16:39:14] Production.INFO: call_cost end
[2025-04-09 16:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:39:15] Production.INFO: ==21271== Releasing lock...
[2025-04-09 16:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:39:19] Production.INFO: count ==4529
[2025-04-09 16:39:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:39:05 - End Time 2025-04-09 16:39:05
[2025-04-09 16:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870821', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870821', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870821', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870821', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:39:20] Production.INFO: ProcessCDR(1,14870821,1,1,2)
[2025-04-09 16:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870821', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870821', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:39:26] Production.INFO: ==21279== Releasing lock...
[2025-04-09 16:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:39:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:40:02] Production.INFO: ==21335== Lock acquired, processing the job...
[2025-04-09 21:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:40:02] Production.INFO: neon service started
[2025-04-09 21:40:02] Production.INFO: neon service started
[2025-04-09 21:40:02] Production.INFO: ==21335== Releasing lock...
[2025-04-09 21:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:40:02] Production.INFO: ==21337== Lock acquired, processing the job...
[2025-04-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:40:02] Production.INFO: ==21339== Lock acquired, processing the job...
[2025-04-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:40:03] Production.INFO: ==21339== Releasing lock...
[2025-04-09 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:40:03] Production.INFO: ==21337== Releasing lock...
[2025-04-09 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:40:04] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:40:04] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:40:04] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:40:04] Production.INFO: ==21352== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:40:04] Production.INFO: Account Balance Start.
[2025-04-09 16:40:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:40:04] Production.INFO: 117
[2025-04-09 16:40:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:40:04] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:40:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:40:04] Production.ERROR: CronJob PID - 21346
[2025-04-09 16:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-09 16:40:04] Production.ERROR: CronJob ID - 7
[2025-04-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:40:00
[2025-04-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:40:04] Production.ERROR: CronJob PID - 21350
[2025-04-09 16:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-09 16:40:04] Production.ERROR: CronJob ID - 12
[2025-04-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:40:00
[2025-04-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:40:04] Production.ERROR: CronJob PID - 21352
[2025-04-09 16:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-09 16:40:04] Production.ERROR: CronJob ID - 16
[2025-04-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:40:00
[2025-04-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:40:04] Production.INFO: ==21342== Releasing lock...
[2025-04-09 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:40:04] Production.INFO: Total Charge 0
[2025-04-09 16:40:04] Production.INFO: CreateAllLog End
[2025-04-09 16:40:04] Production.INFO: ==21348== Lock acquired, processing the job...
[2025-04-09 16:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:40:04] Production.INFO: ==21346== Releasing lock...
[2025-04-09 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:40:05] Production.INFO: ==21354== Lock acquired, processing the job...
[2025-04-09 16:40:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:40:05] Production.ERROR: done
[2025-04-09 16:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:40:05] Production.INFO: ==21356== Lock acquired, processing the job...
[2025-04-09 16:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:40:05] Production.INFO: Account Balance End.
[2025-04-09 16:40:05] Production.ERROR: CronJobId end 12
[2025-04-09 16:40:05] Production.INFO: ==21350== Releasing lock...
[2025-04-09 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:40:05] Production.ERROR: done
[2025-04-09 16:40:05] Production.INFO: count ==12
[2025-04-09 16:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:40:05] Production.INFO: count ==23
[2025-04-09 16:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870825') start
[2025-04-09 16:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870825') end
[2025-04-09 16:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:40:05] Production.INFO: 1
[2025-04-09 16:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:40:05] Production.INFO: ==21356== Releasing lock...
[2025-04-09 16:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:40:05] Production.ERROR: done
[2025-04-09 16:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870827', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:40:06
[end_date_ymd] => 2025-04-09 16:40:06
[RateCDR] => 1
)
[2025-04-09 16:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:40:06' and `end` < '2025-04-09 16:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870827', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:40:09] Production.INFO: ProcessCDR(1,14870827,1,1,2)
[2025-04-09 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870827,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870827,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:40:09] Production.INFO: ==21354== Releasing lock...
[2025-04-09 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:40:14] Production.ERROR: CronJobId end10
[2025-04-09 16:40:14] Production.INFO: ==21348== Releasing lock...
[2025-04-09 16:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:40:16] Production.INFO: call_cost start
[2025-04-09 16:40:16] Production.INFO: call_cost end
[2025-04-09 16:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:40:17] Production.INFO: ==21344== Releasing lock...
[2025-04-09 16:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:40:20] Production.INFO: count ==4522
[2025-04-09 16:40:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:40:06 - End Time 2025-04-09 16:40:06
[2025-04-09 16:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870826', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870826', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870826', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870826', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:40:21] Production.INFO: ProcessCDR(1,14870826,1,1,2)
[2025-04-09 16:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870826', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870826', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:40:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:40:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:40:27] Production.INFO: ==21352== Releasing lock...
[2025-04-09 16:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:40:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:41:01] Production.INFO: ==21411== Lock acquired, processing the job...
[2025-04-09 21:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:41:01] Production.INFO: neon service started
[2025-04-09 21:41:01] Production.INFO: neon service started
[2025-04-09 21:41:01] Production.INFO: ==21411== Releasing lock...
[2025-04-09 21:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:41:02] Production.INFO: ==21413== Lock acquired, processing the job...
[2025-04-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:41:02] Production.INFO: ==21415== Lock acquired, processing the job...
[2025-04-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:41:02] Production.INFO: ==21415== Releasing lock...
[2025-04-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:41:02] Production.INFO: ==21413== Releasing lock...
[2025-04-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:41:03] Production.INFO: ==21420== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:41:03] Production.INFO: ==21422== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:41:03] Production.INFO: ==21426== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:41:03] Production.INFO: ==21418== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:41:03] Production.INFO: ==21424== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:41:03] Production.INFO: ==21428== Lock acquired, processing the job...
[2025-04-09 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:41:03] Production.INFO: ==21420== Releasing lock...
[2025-04-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 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-04-09 16:41:04] Production.INFO: count ==12
[2025-04-09 16:41:04] Production.INFO: Account Balance Start.
[2025-04-09 16:41:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:41:04] Production.ERROR: done
[2025-04-09 16:41:04] Production.INFO: 117
[2025-04-09 16:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:41:04] Production.INFO: count ==23
[2025-04-09 16:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:41:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870830') start
[2025-04-09 16:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:41:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:41:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:41:04] Production.INFO: Total Charge 0
[2025-04-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870830') end
[2025-04-09 16:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:41:04] Production.INFO: 1
[2025-04-09 16:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:41:04] Production.INFO: CreateAllLog End
[2025-04-09 16:41:04] Production.ERROR: done
[2025-04-09 16:41:04] Production.INFO: ==21428== Releasing lock...
[2025-04-09 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:41:04] Production.INFO: Account Balance End.
[2025-04-09 16:41:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:41:04] Production.INFO: ==21424== Releasing lock...
[2025-04-09 16:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:41:05
[end_date_ymd] => 2025-04-09 16:41:05
[RateCDR] => 1
)
[2025-04-09 16:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:41:05' and `end` < '2025-04-09 16:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:41:13] Production.ERROR: CronJobId end10
[2025-04-09 16:41:13] Production.INFO: ==21422== Releasing lock...
[2025-04-09 16:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:41:14] Production.INFO: call_cost start
[2025-04-09 16:41:14] Production.INFO: call_cost end
[2025-04-09 16:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:41:15] Production.INFO: ==21418== Releasing lock...
[2025-04-09 16:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:41:19] Production.INFO: count ==4583
[2025-04-09 16:41:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:41:05 - End Time 2025-04-09 16:41:05
[2025-04-09 16:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870832', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870832', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870832', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870832', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:41:21] Production.INFO: ProcessCDR(1,14870832,1,1,2)
[2025-04-09 16:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870832', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870832', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:41:26] Production.INFO: ==21426== Releasing lock...
[2025-04-09 16:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:41:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:42:02] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-04-09 21:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:42:02] Production.INFO: neon service started
[2025-04-09 21:42:02] Production.INFO: neon service started
[2025-04-09 21:42:02] Production.INFO: ==21520== Releasing lock...
[2025-04-09 21:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:42:02] Production.INFO: ==21524== Lock acquired, processing the job...
[2025-04-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:42:02] Production.INFO: ==21524== Releasing lock...
[2025-04-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:42:02] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-04-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:42:03] Production.INFO: ==21522== Releasing lock...
[2025-04-09 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:42:04] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:42:04] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:42:04] Production.INFO: ==21527== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:42:04] Production.INFO: ==21529== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:42:04] Production.INFO: count ==12
[2025-04-09 16:42:04] Production.ERROR: done
[2025-04-09 16:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:42:04] Production.INFO: ==21531== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:42:04] Production.INFO: count ==23
[2025-04-09 16:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870833') start
[2025-04-09 16:42:04] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-04-09 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870833') end
[2025-04-09 16:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:42:04] Production.INFO: 1
[2025-04-09 16:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:42:04] Production.ERROR: done
[2025-04-09 16:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:42:04] Production.INFO: Account Balance Start.
[2025-04-09 16:42:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:42:04] Production.INFO: 117
[2025-04-09 16:42:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:42:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:42:04] Production.INFO: ==21537== Releasing lock...
[2025-04-09 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:42:04] Production.INFO: Total Charge 0
[2025-04-09 16:42:04] Production.INFO: CreateAllLog End
[2025-04-09 16:42:04] Production.INFO: ==21529== Releasing lock...
[2025-04-09 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:42:05] Production.INFO: Account Balance End.
[2025-04-09 16:42:05] Production.ERROR: CronJobId end 12
[2025-04-09 16:42:05] Production.INFO: ==21533== Releasing lock...
[2025-04-09 16:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:42:05
[end_date_ymd] => 2025-04-09 16:42:05
[RateCDR] => 1
)
[2025-04-09 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:42:05' and `end` < '2025-04-09 16:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:42:13] Production.ERROR: CronJobId end10
[2025-04-09 16:42:13] Production.INFO: ==21531== Releasing lock...
[2025-04-09 16:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:42:15] Production.INFO: call_cost start
[2025-04-09 16:42:15] Production.INFO: call_cost end
[2025-04-09 16:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:42:15] Production.INFO: ==21527== Releasing lock...
[2025-04-09 16:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:42:19] Production.INFO: count ==4591
[2025-04-09 16:42:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:42:05 - End Time 2025-04-09 16:42:05
[2025-04-09 16:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870837', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870837', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870837', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870837', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:42:21] Production.INFO: ProcessCDR(1,14870837,1,1,2)
[2025-04-09 16:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870837', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870837', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:42:26] Production.INFO: ==21535== Releasing lock...
[2025-04-09 16:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:42:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:43:01] Production.INFO: ==21592== Lock acquired, processing the job...
[2025-04-09 21:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:43:01] Production.INFO: neon service started
[2025-04-09 21:43:01] Production.INFO: neon service started
[2025-04-09 21:43:01] Production.INFO: ==21592== Releasing lock...
[2025-04-09 21:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:43:02] Production.INFO: ==21596== Lock acquired, processing the job...
[2025-04-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:43:02] Production.INFO: ==21596== Releasing lock...
[2025-04-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:43:02] Production.INFO: ==21594== Lock acquired, processing the job...
[2025-04-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:43:02] Production.INFO: ==21594== Releasing lock...
[2025-04-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:43:03] Production.INFO: ==21598== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:43:03] Production.INFO: ==21600== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:43:03] Production.INFO: ==21604== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:43:03] Production.INFO: Account Balance Start.
[2025-04-09 16:43:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:43:03] Production.INFO: 117
[2025-04-09 16:43:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:43:03] Production.INFO: ==21606== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:43:03] Production.INFO: ==21602== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:43:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:43:03] Production.INFO: Total Charge 0
[2025-04-09 16:43:03] Production.INFO: CreateAllLog End
[2025-04-09 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:43:03] Production.INFO: ==21608== Lock acquired, processing the job...
[2025-04-09 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:43:03] Production.INFO: ==21600== Releasing lock...
[2025-04-09 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16: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-04-09 16:43:04] Production.INFO: count ==12
[2025-04-09 16:43:04] Production.ERROR: done
[2025-04-09 16:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:43:04] Production.INFO: count ==23
[2025-04-09 16:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870841') start
[2025-04-09 16:43:04] Production.ERROR: done
[2025-04-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870841') end
[2025-04-09 16:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:43:04] Production.INFO: 1
[2025-04-09 16:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:43:04] Production.INFO: Account Balance End.
[2025-04-09 16:43:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:43:04] Production.INFO: ==21604== Releasing lock...
[2025-04-09 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:43:04] Production.INFO: ==21608== Releasing lock...
[2025-04-09 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:43:05
[end_date_ymd] => 2025-04-09 16:43:05
[RateCDR] => 1
)
[2025-04-09 16:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:43:05' and `end` < '2025-04-09 16:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:43:11] Production.ERROR: CronJobId end10
[2025-04-09 16:43:11] Production.INFO: ==21602== Releasing lock...
[2025-04-09 16:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:43:14] Production.INFO: call_cost start
[2025-04-09 16:43:14] Production.INFO: call_cost end
[2025-04-09 16:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:43:15] Production.INFO: ==21598== Releasing lock...
[2025-04-09 16:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:43:19] Production.INFO: count ==4556
[2025-04-09 16:43:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:43:05 - End Time 2025-04-09 16:43:05
[2025-04-09 16:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870842', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870842', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870842', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870842', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:43:20] Production.INFO: ProcessCDR(1,14870842,1,1,2)
[2025-04-09 16:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870842', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870842', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:43:26] Production.INFO: ==21606== Releasing lock...
[2025-04-09 16:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:43:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:44:02] Production.INFO: ==21665== Lock acquired, processing the job...
[2025-04-09 21:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:44:02] Production.INFO: neon service started
[2025-04-09 21:44:02] Production.INFO: neon service started
[2025-04-09 21:44:02] Production.INFO: ==21665== Releasing lock...
[2025-04-09 21:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:44:02] Production.INFO: ==21667== Lock acquired, processing the job...
[2025-04-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:44:02] Production.INFO: ==21669== Lock acquired, processing the job...
[2025-04-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:44:02] Production.INFO: ==21669== Releasing lock...
[2025-04-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:44:03] Production.INFO: ==21667== Releasing lock...
[2025-04-09 16:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:44:04] Production.INFO: ==21674== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:44:04] Production.INFO: ==21678== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:44:04] Production.INFO: ==21672== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:44:04] Production.INFO: Account Balance Start.
[2025-04-09 16:44:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:44:04] Production.INFO: 117
[2025-04-09 16:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:44:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:44:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:44:04] Production.INFO: ==21676== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:44:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:44:04] Production.INFO: Total Charge 0
[2025-04-09 16:44:04] Production.INFO: CreateAllLog End
[2025-04-09 16:44:04] Production.INFO: ==21674== Releasing lock...
[2025-04-09 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:44:04] Production.INFO: ==21680== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:44:04] Production.INFO: ==21682== Lock acquired, processing the job...
[2025-04-09 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:44:04] Production.INFO: Account Balance End.
[2025-04-09 16:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:44:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:44:04] Production.INFO: ==21678== Releasing lock...
[2025-04-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 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-04-09 16:44:04] Production.INFO: count ==12
[2025-04-09 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-04-09 16:44:04] Production.INFO: count ==23
[2025-04-09 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870846') start
[2025-04-09 16:44:04] Production.ERROR: done
[2025-04-09 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14870846') end
[2025-04-09 16:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:44:05] Production.INFO: 1
[2025-04-09 16:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:44:05] Production.INFO: ==21682== Releasing lock...
[2025-04-09 16:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:44:05] Production.ERROR: done
[2025-04-09 16:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:44:06
[end_date_ymd] => 2025-04-09 16:44:06
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:44:06' and `end` < '2025-04-09 16: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-04-09 16:44:12] Production.ERROR: CronJobId end10
[2025-04-09 16:44:12] Production.INFO: ==21676== Releasing lock...
[2025-04-09 16:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:44:15] Production.INFO: call_cost start
[2025-04-09 16:44:15] Production.INFO: call_cost end
[2025-04-09 16:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:44:16] Production.INFO: ==21672== Releasing lock...
[2025-04-09 16:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:44:20] Production.INFO: count ==4549
[2025-04-09 16:44:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:44:06 - End Time 2025-04-09 16:44:06
[2025-04-09 16:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870847', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870847', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870847', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870847', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:44:21] Production.INFO: ProcessCDR(1,14870847,1,1,2)
[2025-04-09 16:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870847', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870847', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:44:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:44:27] Production.INFO: ==21680== Releasing lock...
[2025-04-09 16:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:44:27] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:45:01] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-04-09 21:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:45:01] Production.INFO: neon service started
[2025-04-09 21:45:01] Production.INFO: neon service started
[2025-04-09 21:45:01] Production.INFO: ==21736== Releasing lock...
[2025-04-09 21:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:45:02] Production.INFO: ==21739== Lock acquired, processing the job...
[2025-04-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:45:02] Production.INFO: ==21739== Releasing lock...
[2025-04-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:45:02] Production.INFO: ==21741== Lock acquired, processing the job...
[2025-04-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:45:02] Production.INFO: ==21741== Releasing lock...
[2025-04-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:45:03] Production.INFO: ==21749== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:45:03] Production.INFO: ==21753== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:45:03] Production.INFO: Account Balance Start.
[2025-04-09 16:45:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:45:03] Production.INFO: 117
[2025-04-09 16:45:03] Production.INFO: ==21745== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:45:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:45:03] Production.INFO: count ==12
[2025-04-09 16:45:03] Production.INFO: ==21743== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:45:03] Production.INFO: count ==23
[2025-04-09 16:45:03] Production.INFO: ==21747== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870849') start
[2025-04-09 16:45:03] Production.INFO: ==21751== Lock acquired, processing the job...
[2025-04-09 16:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:45:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:45:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:45:03] Production.INFO: Total Charge 0
[2025-04-09 16:45:03] Production.INFO: CreateAllLog End
[2025-04-09 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870849') end
[2025-04-09 16:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:45:03] Production.INFO: 1
[2025-04-09 16:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:45:03] Production.INFO: ==21753== Releasing lock...
[2025-04-09 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:45:04] Production.INFO: ==21745== Releasing lock...
[2025-04-09 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:45:04] Production.INFO: Account Balance End.
[2025-04-09 16:45:04] Production.ERROR: done
[2025-04-09 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:45:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:45:04] Production.INFO: ==21749== Releasing lock...
[2025-04-09 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:45:04] Production.ERROR: done
[2025-04-09 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:45:05
[end_date_ymd] => 2025-04-09 16:45:05
[RateCDR] => 1
)
[2025-04-09 16:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:45:05' and `end` < '2025-04-09 16:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:45:11] Production.ERROR: CronJobId end10
[2025-04-09 16:45:11] Production.INFO: ==21747== Releasing lock...
[2025-04-09 16:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:45:14] Production.INFO: call_cost start
[2025-04-09 16:45:14] Production.INFO: call_cost end
[2025-04-09 16:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:45:15] Production.INFO: ==21743== Releasing lock...
[2025-04-09 16:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:45:18] Production.INFO: count ==4558
[2025-04-09 16:45:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:45:05 - End Time 2025-04-09 16:45:05
[2025-04-09 16:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870852', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870852', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870852', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870852', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:45:20] Production.INFO: ProcessCDR(1,14870852,1,1,2)
[2025-04-09 16:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870852', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870852', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:45:26] Production.INFO: ==21751== Releasing lock...
[2025-04-09 16:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:45:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:46:02] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-04-09 21:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:46:02] Production.INFO: neon service started
[2025-04-09 21:46:02] Production.INFO: neon service started
[2025-04-09 21:46:02] Production.INFO: ==21810== Releasing lock...
[2025-04-09 21:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:46:02] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-04-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:46:02] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-04-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:46:02] Production.INFO: ==21812== Releasing lock...
[2025-04-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:46:02] Production.INFO: ==21814== Releasing lock...
[2025-04-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:46:03] Production.INFO: ==21825== Lock acquired, processing the job...
[2025-04-09 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:46:03] Production.INFO: ==21827== Lock acquired, processing the job...
[2025-04-09 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:46:03] Production.INFO: ==21817== Lock acquired, processing the job...
[2025-04-09 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:46:04] Production.INFO: ==21819== Lock acquired, processing the job...
[2025-04-09 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:46:04] Production.INFO: ==21821== Lock acquired, processing the job...
[2025-04-09 16:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:46:04] Production.INFO: count ==12
[2025-04-09 16:46:04] Production.INFO: ==21823== Lock acquired, processing the job...
[2025-04-09 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:46:04] Production.INFO: count ==23
[2025-04-09 16:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870853') start
[2025-04-09 16:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:46:04] Production.INFO: Account Balance Start.
[2025-04-09 16:46:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:46:04] Production.INFO: 117
[2025-04-09 16:46:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:46:04] Production.ERROR: done
[2025-04-09 16:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:46:04] Production.INFO: ==21819== Releasing lock...
[2025-04-09 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870853') end
[2025-04-09 16:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:46:04] Production.INFO: 1
[2025-04-09 16:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:46:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:46:04] Production.INFO: ==21827== Releasing lock...
[2025-04-09 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:46:04] Production.INFO: Total Charge 0
[2025-04-09 16:46:04] Production.INFO: CreateAllLog End
[2025-04-09 16:46:04] Production.ERROR: done
[2025-04-09 16:46:04] Production.INFO: Account Balance End.
[2025-04-09 16:46:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:46:04] Production.INFO: ==21823== Releasing lock...
[2025-04-09 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:46:05
[end_date_ymd] => 2025-04-09 16:46:05
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:46:05' and `end` < '2025-04-09 16: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-04-09 16:46:13] Production.ERROR: CronJobId end10
[2025-04-09 16:46:13] Production.INFO: ==21821== Releasing lock...
[2025-04-09 16:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:46:15] Production.INFO: call_cost start
[2025-04-09 16:46:15] Production.INFO: call_cost end
[2025-04-09 16:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:46:16] Production.INFO: ==21817== Releasing lock...
[2025-04-09 16:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:46:19] Production.INFO: count ==4560
[2025-04-09 16:46:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:46:05 - End Time 2025-04-09 16:46:05
[2025-04-09 16:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870857', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870857', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870857', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870857', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:46:21] Production.INFO: ProcessCDR(1,14870857,1,1,2)
[2025-04-09 16:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870857', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870857', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:46:26] Production.INFO: ==21825== Releasing lock...
[2025-04-09 16:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:46:26] Production.INFO: 62.25 MB #Memory Used#
[2025-04-09 21:47:01] Production.INFO: ==21889== Lock acquired, processing the job...
[2025-04-09 21:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:47:01] Production.INFO: neon service started
[2025-04-09 21:47:01] Production.INFO: neon service started
[2025-04-09 21:47:01] Production.INFO: ==21889== Releasing lock...
[2025-04-09 21:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:47:01] Production.INFO: ==21891== Lock acquired, processing the job...
[2025-04-09 16:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:47:02] Production.INFO: ==21891== Releasing lock...
[2025-04-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:47:02] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-04-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:47:02] Production.INFO: ==21893== Releasing lock...
[2025-04-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:47:03] Production.INFO: ==21896== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:47:03] Production.INFO: ==21898== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:47:03] Production.INFO: ==21900== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:47:03] Production.INFO: ==21902== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:47:03] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:47:03] Production.INFO: ==21904== Lock acquired, processing the job...
[2025-04-09 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:47:03] Production.INFO: Account Balance Start.
[2025-04-09 16:47:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:47:03] Production.INFO: 117
[2025-04-09 16:47:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16: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-04-09 16:47:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:47:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:47:03] Production.INFO: Total Charge 0
[2025-04-09 16:47:03] Production.INFO: count ==12
[2025-04-09 16:47:03] Production.INFO: CreateAllLog End
[2025-04-09 16: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-04-09 16:47:03] Production.INFO: count ==23
[2025-04-09 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870861') start
[2025-04-09 16:47:03] Production.INFO: ==21898== Releasing lock...
[2025-04-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870861') end
[2025-04-09 16:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:47:03] Production.INFO: 1
[2025-04-09 16:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:47:03] Production.INFO: ==21906== Releasing lock...
[2025-04-09 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:47:03] Production.ERROR: done
[2025-04-09 16:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:47:03] Production.INFO: Account Balance End.
[2025-04-09 16:47:03] Production.ERROR: CronJobId end 12
[2025-04-09 16:47:03] Production.INFO: ==21902== Releasing lock...
[2025-04-09 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:47:04] Production.ERROR: done
[2025-04-09 16:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:47:04
[end_date_ymd] => 2025-04-09 16:47:04
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:47:04' and `end` < '2025-04-09 16: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-04-09 16:47:13] Production.ERROR: CronJobId end10
[2025-04-09 16:47:13] Production.INFO: ==21900== Releasing lock...
[2025-04-09 16:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:47:14] Production.INFO: call_cost start
[2025-04-09 16:47:14] Production.INFO: call_cost end
[2025-04-09 16:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:47:15] Production.INFO: ==21896== Releasing lock...
[2025-04-09 16:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:47:18] Production.INFO: count ==4559
[2025-04-09 16:47:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:47:04 - End Time 2025-04-09 16:47:04
[2025-04-09 16:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870862', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870862', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870862', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870862', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:47:20] Production.INFO: ProcessCDR(1,14870862,1,1,2)
[2025-04-09 16:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870862', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870862', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:47:25] Production.INFO: ==21904== Releasing lock...
[2025-04-09 16:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:47:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:48:02] Production.INFO: ==21969== Lock acquired, processing the job...
[2025-04-09 21:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:48:02] Production.INFO: neon service started
[2025-04-09 21:48:02] Production.INFO: neon service started
[2025-04-09 21:48:02] Production.INFO: ==21969== Releasing lock...
[2025-04-09 21:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:48:02] Production.INFO: ==21971== Lock acquired, processing the job...
[2025-04-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:48:02] Production.INFO: ==21971== Releasing lock...
[2025-04-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:48:02] Production.INFO: ==21973== Lock acquired, processing the job...
[2025-04-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:48:02] Production.INFO: ==21973== Releasing lock...
[2025-04-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:48:03] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:48:03] Production.INFO: ==21975== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:48:03] Production.INFO: ==21985== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:48:03] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:48:03] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16: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-04-09 16:48:03] Production.INFO: Account Balance Start.
[2025-04-09 16:48:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:48:03] Production.INFO: 117
[2025-04-09 16:48:03] Production.INFO: ==21983== Lock acquired, processing the job...
[2025-04-09 16:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:48:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:48:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:48:03] Production.INFO: count ==23
[2025-04-09 16:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870864') start
[2025-04-09 16:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:48:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:48:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:48:04] Production.INFO: Total Charge 0
[2025-04-09 16:48:04] Production.INFO: CreateAllLog End
[2025-04-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870864') end
[2025-04-09 16:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:48:04] Production.INFO: 1
[2025-04-09 16:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:48:04] Production.INFO: ==21985== Releasing lock...
[2025-04-09 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:48:04] Production.INFO: ==21977== Releasing lock...
[2025-04-09 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:48:04] Production.ERROR: done
[2025-04-09 16:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:48:04] Production.INFO: Account Balance End.
[2025-04-09 16:48:04] Production.ERROR: done
[2025-04-09 16:48:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:48:04] Production.INFO: ==21981== Releasing lock...
[2025-04-09 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:48:05
[end_date_ymd] => 2025-04-09 16:48:05
[RateCDR] => 1
)
[2025-04-09 16:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:48:05' and `end` < '2025-04-09 16:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:48:13] Production.ERROR: CronJobId end10
[2025-04-09 16:48:13] Production.INFO: ==21979== Releasing lock...
[2025-04-09 16:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:48:15] Production.INFO: call_cost start
[2025-04-09 16:48:15] Production.INFO: call_cost end
[2025-04-09 16:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:48:16] Production.INFO: ==21975== Releasing lock...
[2025-04-09 16:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:48:19] Production.INFO: count ==4553
[2025-04-09 16:48:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:48:05 - End Time 2025-04-09 16:48:05
[2025-04-09 16:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870867', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870867', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870867', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870867', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:48:21] Production.INFO: ProcessCDR(1,14870867,1,1,2)
[2025-04-09 16:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870867', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870867', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:48:25] Production.INFO: ==21983== Releasing lock...
[2025-04-09 16:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:48:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:49:01] Production.INFO: ==22049== Lock acquired, processing the job...
[2025-04-09 21:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:49:01] Production.INFO: neon service started
[2025-04-09 21:49:01] Production.INFO: neon service started
[2025-04-09 21:49:01] Production.INFO: ==22049== Releasing lock...
[2025-04-09 21:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:49:02] Production.INFO: ==22051== Lock acquired, processing the job...
[2025-04-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:49:02] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-04-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:49:02] Production.INFO: ==22053== Releasing lock...
[2025-04-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:49:02] Production.INFO: ==22051== Releasing lock...
[2025-04-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:49:03] Production.INFO: ==22056== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:49:03] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:49:03] Production.INFO: ==22058== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:49:03] Production.INFO: ==22060== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:49:03] Production.INFO: count ==12
[2025-04-09 16:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:49:03] Production.INFO: count ==23
[2025-04-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870869') start
[2025-04-09 16:49:03] Production.INFO: ==22062== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:49:03] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-04-09 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870869') end
[2025-04-09 16:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:49:03] Production.INFO: 1
[2025-04-09 16:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:49:03] Production.INFO: Account Balance Start.
[2025-04-09 16:49:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:49:03] Production.INFO: 117
[2025-04-09 16:49:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:49:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:49:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:49:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:49:04] Production.INFO: ==22066== Releasing lock...
[2025-04-09 16:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:49:04] Production.INFO: ==22058== Releasing lock...
[2025-04-09 16:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:49:04] Production.INFO: Total Charge 0
[2025-04-09 16:49:04] Production.INFO: CreateAllLog End
[2025-04-09 16:49:04] Production.ERROR: done
[2025-04-09 16:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:49:04] Production.ERROR: done
[2025-04-09 16:49:04] Production.INFO: Account Balance End.
[2025-04-09 16:49:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:49:04] Production.INFO: ==22062== Releasing lock...
[2025-04-09 16:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:49:05
[end_date_ymd] => 2025-04-09 16:49:05
[RateCDR] => 1
)
[2025-04-09 16:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:49:05' and `end` < '2025-04-09 16:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:49:13] Production.ERROR: CronJobId end10
[2025-04-09 16:49:13] Production.INFO: ==22060== Releasing lock...
[2025-04-09 16:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:49:15] Production.INFO: call_cost start
[2025-04-09 16:49:15] Production.INFO: call_cost end
[2025-04-09 16:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:49:16] Production.INFO: ==22056== Releasing lock...
[2025-04-09 16:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:49:19] Production.INFO: count ==4532
[2025-04-09 16:49:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:49:05 - End Time 2025-04-09 16:49:05
[2025-04-09 16:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870872', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870872', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870872', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870872', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:49:21] Production.INFO: ProcessCDR(1,14870872,1,1,2)
[2025-04-09 16:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870872', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870872', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:49:26] Production.INFO: ==22064== Releasing lock...
[2025-04-09 16:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:49:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:50:01] Production.INFO: ==22132== Lock acquired, processing the job...
[2025-04-09 21:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:50:01] Production.INFO: neon service started
[2025-04-09 21:50:02] Production.INFO: neon service started
[2025-04-09 21:50:02] Production.INFO: ==22132== Releasing lock...
[2025-04-09 21:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:50:02] Production.INFO: ==22134== Lock acquired, processing the job...
[2025-04-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 20:50:02] Production.INFO: ==22136== Lock acquired, processing the job...
[2025-04-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 16:50:02] Production.INFO: ==22134== Releasing lock...
[2025-04-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:50:02] Production.INFO: ==22136== Releasing lock...
[2025-04-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:50:03] Production.INFO: ==22139== Lock acquired, processing the job...
[2025-04-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 16:50:03] Production.INFO: ==22141== Lock acquired, processing the job...
[2025-04-09 16:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 16:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 16:50:04] Production.ERROR: CronJob PID - 22141
[2025-04-09 16:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 16:50:04] Production.ERROR: CronJob ID - 5
[2025-04-09 16:50:04] Production.ERROR: CronJob Last Run Time 2025-04-09 16:50:00
[2025-04-09 16:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 16:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 16:50:04] Production.INFO: ==22145== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 16:50:04] Production.INFO: ==22139== Releasing lock...
[2025-04-09 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 16:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 16:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:50:04] Production.INFO: ==22143== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:50:04] Production.INFO: ==22153== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:50:04] Production.INFO: ==22147== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:50:04] Production.INFO: ==22149== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:50:04] Production.INFO: Account Balance Start.
[2025-04-09 16:50:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:50:04] Production.INFO: 117
[2025-04-09 16:50:04] Production.INFO: ==22151== Lock acquired, processing the job...
[2025-04-09 16:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 16:50:04] Production.INFO: count ==12
[2025-04-09 16:50:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:50:04] Production.INFO: count ==23
[2025-04-09 16:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870875') start
[2025-04-09 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:50:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:50:04] Production.INFO: ==22143== Releasing lock...
[2025-04-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:50:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:50:04] Production.INFO: Total Charge 0
[2025-04-09 16:50:04] Production.INFO: CreateAllLog End
[2025-04-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870875') end
[2025-04-09 16:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:50:04] Production.INFO: 1
[2025-04-09 16:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:50:04] Production.INFO: ==22153== Releasing lock...
[2025-04-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:50:04] Production.INFO: Account Balance End.
[2025-04-09 16:50:05] Production.ERROR: CronJobId end 12
[2025-04-09 16:50:05] Production.INFO: ==22147== Releasing lock...
[2025-04-09 16:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:50:05] Production.ERROR: done
[2025-04-09 16:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:50:05] Production.ERROR: done
[2025-04-09 16:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 16:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870877', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 16:50:05] Production.ERROR: done
[2025-04-09 16:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:50:06
[end_date_ymd] => 2025-04-09 16:50:06
[RateCDR] => 1
)
[2025-04-09 16:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:50:06' and `end` < '2025-04-09 16:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870877', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 16:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 16:50:08] Production.INFO: ProcessCDR(1,14870877,1,1,2)
[2025-04-09 16:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870877,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:50:09] Production.INFO: ==22151== Releasing lock...
[2025-04-09 16:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 16:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 16:50:15] Production.ERROR: CronJobId end10
[2025-04-09 16:50:15] Production.INFO: ==22145== Releasing lock...
[2025-04-09 16:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:50:17] Production.INFO: call_cost start
[2025-04-09 16:50:17] Production.INFO: call_cost end
[2025-04-09 16:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:50:18] Production.INFO: ==22141== Releasing lock...
[2025-04-09 16:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:50:20] Production.INFO: count ==4528
[2025-04-09 16:50:22] Production.ERROR: pbx CDR StartTime 2025-04-09 13:50:06 - End Time 2025-04-09 16:50:06
[2025-04-09 16:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870878', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870878', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870878', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870878', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:50:22] Production.INFO: ProcessCDR(1,14870878,1,1,2)
[2025-04-09 16:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870878', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870878', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:50:27] Production.INFO: ==22149== Releasing lock...
[2025-04-09 16:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:50:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:51:01] Production.INFO: ==22221== Lock acquired, processing the job...
[2025-04-09 21:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:51:01] Production.INFO: neon service started
[2025-04-09 21:51:01] Production.INFO: neon service started
[2025-04-09 21:51:01] Production.INFO: ==22221== Releasing lock...
[2025-04-09 21:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:51:01] Production.INFO: ==22223== Lock acquired, processing the job...
[2025-04-09 16:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:51:02] Production.INFO: ==22223== Releasing lock...
[2025-04-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:51:02] Production.INFO: ==22225== Lock acquired, processing the job...
[2025-04-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:51:02] Production.INFO: ==22225== Releasing lock...
[2025-04-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:51:03] Production.INFO: ==22237== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:51:03] Production.INFO: ==22235== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:51:03] Production.INFO: ==22227== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:51:03] Production.INFO: count ==12
[2025-04-09 16:51:03] Production.INFO: ==22229== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:51:03] Production.INFO: count ==23
[2025-04-09 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870879') start
[2025-04-09 16:51:03] Production.INFO: ==22233== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:51:03] Production.INFO: ==22231== Lock acquired, processing the job...
[2025-04-09 16:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870879') end
[2025-04-09 16:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:51:03] Production.INFO: 1
[2025-04-09 16:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:51:03] Production.ERROR: done
[2025-04-09 16:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:51:03] Production.INFO: ==22237== Releasing lock...
[2025-04-09 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:51:03] Production.INFO: Account Balance Start.
[2025-04-09 16:51:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:51:03] Production.INFO: 117
[2025-04-09 16:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:51:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:51:03] Production.ERROR: done
[2025-04-09 16:51:03] Production.INFO: ==22229== Releasing lock...
[2025-04-09 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:51:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:51:03] Production.INFO: Total Charge 0
[2025-04-09 16:51:03] Production.INFO: CreateAllLog End
[2025-04-09 16:51:04] Production.INFO: Account Balance End.
[2025-04-09 16:51:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:51:04] Production.INFO: ==22233== Releasing lock...
[2025-04-09 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:51:05
[end_date_ymd] => 2025-04-09 16:51:05
[RateCDR] => 1
)
[2025-04-09 16:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:51:05' and `end` < '2025-04-09 16:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:51:12] Production.ERROR: CronJobId end10
[2025-04-09 16:51:12] Production.INFO: ==22231== Releasing lock...
[2025-04-09 16:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:51:14] Production.INFO: call_cost start
[2025-04-09 16:51:14] Production.INFO: call_cost end
[2025-04-09 16:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:51:15] Production.INFO: ==22227== Releasing lock...
[2025-04-09 16:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:51:19] Production.INFO: count ==4556
[2025-04-09 16:51:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:51:05 - End Time 2025-04-09 16:51:05
[2025-04-09 16:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870883', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870883', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870883', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870883', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:51:20] Production.INFO: ProcessCDR(1,14870883,1,1,2)
[2025-04-09 16:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870883', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870883', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:51:26] Production.INFO: ==22235== Releasing lock...
[2025-04-09 16:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:51:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:52:01] Production.INFO: ==22303== Lock acquired, processing the job...
[2025-04-09 21:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:52:01] Production.INFO: neon service started
[2025-04-09 21:52:01] Production.INFO: neon service started
[2025-04-09 21:52:01] Production.INFO: ==22303== Releasing lock...
[2025-04-09 21:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:52:02] Production.INFO: ==22307== Lock acquired, processing the job...
[2025-04-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:52:02] Production.INFO: ==22307== Releasing lock...
[2025-04-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:52:02] Production.INFO: ==22305== Lock acquired, processing the job...
[2025-04-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:52:02] Production.INFO: ==22305== Releasing lock...
[2025-04-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:52:03] Production.INFO: ==22314== Lock acquired, processing the job...
[2025-04-09 16:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:52:03] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-04-09 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:52:03] Production.INFO: Account Balance Start.
[2025-04-09 16:52:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:52:03] Production.INFO: 117
[2025-04-09 16:52:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:52:03] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-04-09 16:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:52:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:52:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:52:03] Production.INFO: Total Charge 0
[2025-04-09 16:52:03] Production.INFO: ==22310== Lock acquired, processing the job...
[2025-04-09 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:52:03] Production.INFO: CreateAllLog End
[2025-04-09 16:52:03] Production.INFO: ==22312== Lock acquired, processing the job...
[2025-04-09 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:52:04] Production.INFO: ==22320== Lock acquired, processing the job...
[2025-04-09 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:52:04] Production.INFO: Account Balance End.
[2025-04-09 16:52:04] Production.ERROR: done
[2025-04-09 16:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:52:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:52:04] Production.INFO: ==22316== Releasing lock...
[2025-04-09 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:52:04] Production.INFO: count ==12
[2025-04-09 16:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:52:04] Production.INFO: count ==23
[2025-04-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870887') start
[2025-04-09 16:52:04] Production.ERROR: done
[2025-04-09 16:52:04] Production.INFO: ==22312== Releasing lock...
[2025-04-09 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870887') end
[2025-04-09 16:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:52:04] Production.INFO: 1
[2025-04-09 16:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:52:04] Production.INFO: ==22320== Releasing lock...
[2025-04-09 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:52:05
[end_date_ymd] => 2025-04-09 16:52:05
[RateCDR] => 1
)
[2025-04-09 16:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:52:05' and `end` < '2025-04-09 16:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:52:13] Production.ERROR: CronJobId end10
[2025-04-09 16:52:13] Production.INFO: ==22314== Releasing lock...
[2025-04-09 16:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:52:15] Production.INFO: call_cost start
[2025-04-09 16:52:15] Production.INFO: call_cost end
[2025-04-09 16:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:52:16] Production.INFO: ==22310== Releasing lock...
[2025-04-09 16:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:52:19] Production.INFO: count ==4557
[2025-04-09 16:52:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:52:05 - End Time 2025-04-09 16:52:05
[2025-04-09 16:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870888', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870888', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870888', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870888', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:52:21] Production.INFO: ProcessCDR(1,14870888,1,1,2)
[2025-04-09 16:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870888', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870888', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:52:26] Production.INFO: ==22318== Releasing lock...
[2025-04-09 16:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:52:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:53:01] Production.INFO: ==22387== Lock acquired, processing the job...
[2025-04-09 21:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:53:01] Production.INFO: neon service started
[2025-04-09 21:53:01] Production.INFO: neon service started
[2025-04-09 21:53:01] Production.INFO: ==22387== Releasing lock...
[2025-04-09 21:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:53:01] Production.INFO: ==22389== Lock acquired, processing the job...
[2025-04-09 16:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:53:02] Production.INFO: ==22389== Releasing lock...
[2025-04-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:53:02] Production.INFO: ==22391== Lock acquired, processing the job...
[2025-04-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:53:02] Production.INFO: ==22391== Releasing lock...
[2025-04-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:53:02] Production.INFO: ==22395== Lock acquired, processing the job...
[2025-04-09 16:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:53:02] Production.INFO: ==22393== Lock acquired, processing the job...
[2025-04-09 16:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:53:02] Production.INFO: ==22397== Lock acquired, processing the job...
[2025-04-09 16:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:53:03] Production.INFO: ==22395== Releasing lock...
[2025-04-09 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:53:03] Production.INFO: ==22399== Lock acquired, processing the job...
[2025-04-09 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:53:03] Production.INFO: ==22401== Lock acquired, processing the job...
[2025-04-09 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:53:03] Production.INFO: Account Balance Start.
[2025-04-09 16:53:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:53:03] Production.INFO: 117
[2025-04-09 16:53:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:53:03] Production.INFO: ==22403== Lock acquired, processing the job...
[2025-04-09 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:53:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:53:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:53:03] Production.INFO: Total Charge 0
[2025-04-09 16:53:03] Production.INFO: CreateAllLog End
[2025-04-09 16:53:03] Production.INFO: count ==12
[2025-04-09 16:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:53:03] Production.INFO: count ==23
[2025-04-09 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870892') start
[2025-04-09 16:53:03] Production.ERROR: done
[2025-04-09 16:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:53:03] Production.ERROR: done
[2025-04-09 16:53:03] Production.INFO: Account Balance End.
[2025-04-09 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870892') end
[2025-04-09 16:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:53:03] Production.INFO: 1
[2025-04-09 16:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:53:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:53:04] Production.INFO: ==22399== Releasing lock...
[2025-04-09 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:53:04] Production.INFO: ==22403== Releasing lock...
[2025-04-09 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:53:04
[end_date_ymd] => 2025-04-09 16:53:04
[RateCDR] => 1
)
[2025-04-09 16: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-04-09 13:53:04' and `end` < '2025-04-09 16: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-04-09 16:53:13] Production.ERROR: CronJobId end10
[2025-04-09 16:53:13] Production.INFO: ==22397== Releasing lock...
[2025-04-09 16:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:53:14] Production.INFO: call_cost start
[2025-04-09 16:53:14] Production.INFO: call_cost end
[2025-04-09 16:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:53:15] Production.INFO: ==22393== Releasing lock...
[2025-04-09 16:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:53:18] Production.INFO: count ==4557
[2025-04-09 16:53:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:53:04 - End Time 2025-04-09 16:53:04
[2025-04-09 16:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870893', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870893', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870893', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870893', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:53:20] Production.INFO: ProcessCDR(1,14870893,1,1,2)
[2025-04-09 16:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870893', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870893', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:53:25] Production.INFO: ==22401== Releasing lock...
[2025-04-09 16:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:53:25] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:54:01] Production.INFO: ==22469== Lock acquired, processing the job...
[2025-04-09 21:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:54:01] Production.INFO: neon service started
[2025-04-09 21:54:01] Production.INFO: neon service started
[2025-04-09 21:54:01] Production.INFO: ==22469== Releasing lock...
[2025-04-09 21:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:54:02] Production.INFO: ==22473== Lock acquired, processing the job...
[2025-04-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:54:02] Production.INFO: ==22473== Releasing lock...
[2025-04-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:54:02] Production.INFO: ==22471== Lock acquired, processing the job...
[2025-04-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:54:02] Production.INFO: ==22471== Releasing lock...
[2025-04-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:54:03] Production.INFO: ==22481== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:54:03] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:54:03] Production.INFO: ==22478== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:54:03] Production.INFO: ==22476== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16: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-04-09 16:54:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:54:03] Production.INFO: count ==23
[2025-04-09 16:54:03] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870894') start
[2025-04-09 16:54:03] Production.INFO: ==22486== Lock acquired, processing the job...
[2025-04-09 16:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870894') end
[2025-04-09 16:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:54:03] Production.INFO: 1
[2025-04-09 16:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:54:03] Production.INFO: Account Balance Start.
[2025-04-09 16:54:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:54:03] Production.INFO: 117
[2025-04-09 16:54:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:54:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:54:04] Production.INFO: ==22488== Releasing lock...
[2025-04-09 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:54:04] Production.INFO: ==22478== Releasing lock...
[2025-04-09 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:54:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:54:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:54:04] Production.INFO: Total Charge 0
[2025-04-09 16:54:04] Production.INFO: CreateAllLog End
[2025-04-09 16:54:04] Production.ERROR: done
[2025-04-09 16:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:54:04] Production.INFO: Account Balance End.
[2025-04-09 16:54:04] Production.ERROR: done
[2025-04-09 16:54:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:54:04] Production.INFO: ==22484== Releasing lock...
[2025-04-09 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:54:05
[end_date_ymd] => 2025-04-09 16:54:05
[RateCDR] => 1
)
[2025-04-09 16:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:54:05' and `end` < '2025-04-09 16:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:54:12] Production.ERROR: CronJobId end10
[2025-04-09 16:54:12] Production.INFO: ==22481== Releasing lock...
[2025-04-09 16:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:54:15] Production.INFO: call_cost start
[2025-04-09 16:54:15] Production.INFO: call_cost end
[2025-04-09 16:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:54:16] Production.INFO: ==22476== Releasing lock...
[2025-04-09 16:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:54:19] Production.INFO: count ==4552
[2025-04-09 16:54:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:54:05 - End Time 2025-04-09 16:54:05
[2025-04-09 16:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870898', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870898', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870898', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870898', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:54:21] Production.INFO: ProcessCDR(1,14870898,1,1,2)
[2025-04-09 16:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870898', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870898', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:54:26] Production.INFO: ==22486== Releasing lock...
[2025-04-09 16:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:54:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:55:02] Production.INFO: ==22550== Lock acquired, processing the job...
[2025-04-09 21:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:55:02] Production.INFO: neon service started
[2025-04-09 21:55:02] Production.INFO: neon service started
[2025-04-09 21:55:02] Production.INFO: ==22550== Releasing lock...
[2025-04-09 21:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:55:02] Production.INFO: ==22554== Lock acquired, processing the job...
[2025-04-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:55:02] Production.INFO: ==22554== Releasing lock...
[2025-04-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:55:02] Production.INFO: ==22552== Lock acquired, processing the job...
[2025-04-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:55:03] Production.INFO: ==22552== Releasing lock...
[2025-04-09 16:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:55:04] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:55:04] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:55:04] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:55:04] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:55:04] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:55:04] Production.INFO: Account Balance Start.
[2025-04-09 16:55:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:55:04] Production.INFO: 117
[2025-04-09 16:55:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:55:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:55:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:55:04] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-04-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:55:04] Production.ERROR: done
[2025-04-09 16:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:55:04] Production.INFO: Total Charge 0
[2025-04-09 16:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:55:04] Production.INFO: CreateAllLog End
[2025-04-09 16:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:55:04] Production.INFO: count ==12
[2025-04-09 16:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 16:55:04] Production.ERROR: done
[2025-04-09 16:55:04] Production.INFO: count ==23
[2025-04-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870902') start
[2025-04-09 16:55:04] Production.INFO: Account Balance End.
[2025-04-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870902') end
[2025-04-09 16:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:55:04] Production.INFO: 1
[2025-04-09 16:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:55:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:55:04] Production.INFO: ==22565== Releasing lock...
[2025-04-09 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:55:04] Production.INFO: ==22569== Releasing lock...
[2025-04-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:55:04] Production.INFO: ==22561== Releasing lock...
[2025-04-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:55:05
[end_date_ymd] => 2025-04-09 16:55:05
[RateCDR] => 1
)
[2025-04-09 16:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:55:05' and `end` < '2025-04-09 16:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:55:12] Production.ERROR: CronJobId end10
[2025-04-09 16:55:12] Production.INFO: ==22563== Releasing lock...
[2025-04-09 16:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:55:15] Production.INFO: call_cost start
[2025-04-09 16:55:15] Production.INFO: call_cost end
[2025-04-09 16:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:55:16] Production.INFO: ==22559== Releasing lock...
[2025-04-09 16:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:55:19] Production.INFO: count ==4537
[2025-04-09 16:55:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:55:05 - End Time 2025-04-09 16:55:05
[2025-04-09 16:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870903', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870903', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870903', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870903', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:55:21] Production.INFO: ProcessCDR(1,14870903,1,1,2)
[2025-04-09 16:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:55:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:55:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870903', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870903', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:55:26] Production.INFO: ==22567== Releasing lock...
[2025-04-09 16:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:55:26] Production.INFO: 62 MB #Memory Used#
[2025-04-09 21:56:01] Production.INFO: ==22630== Lock acquired, processing the job...
[2025-04-09 21:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:56:01] Production.INFO: neon service started
[2025-04-09 21:56:01] Production.INFO: neon service started
[2025-04-09 21:56:01] Production.INFO: ==22630== Releasing lock...
[2025-04-09 21:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:56:02] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-04-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:56:02] Production.INFO: ==22632== Releasing lock...
[2025-04-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:56:02] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-04-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:56:02] Production.INFO: ==22634== Releasing lock...
[2025-04-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:56:03] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-04-09 16:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:56:03] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-04-09 16:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:56:03] Production.INFO: ==22637== Lock acquired, processing the job...
[2025-04-09 16:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16: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-04-09 16:56:03] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:56:03] Production.INFO: count ==23
[2025-04-09 16:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870904') start
[2025-04-09 16:56:03] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-04-09 16:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870904') end
[2025-04-09 16:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:56:04] Production.INFO: 1
[2025-04-09 16:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:56:04] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-04-09 16:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:56:04] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-04-09 16:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:56:04] Production.INFO: ==22639== Releasing lock...
[2025-04-09 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:56:04] Production.INFO: ==22647== Releasing lock...
[2025-04-09 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:56:04] Production.INFO: Account Balance Start.
[2025-04-09 16:56:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:56:04] Production.INFO: 117
[2025-04-09 16:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:56:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:56:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:56:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:56:04] Production.INFO: Total Charge 0
[2025-04-09 16:56:04] Production.INFO: CreateAllLog End
[2025-04-09 16:56:04] Production.ERROR: done
[2025-04-09 16:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:56:04] Production.INFO: Account Balance End.
[2025-04-09 16:56:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:56:04] Production.INFO: ==22643== Releasing lock...
[2025-04-09 16:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:56:04] Production.ERROR: done
[2025-04-09 16:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:56:05
[end_date_ymd] => 2025-04-09 16:56:05
[RateCDR] => 1
)
[2025-04-09 16:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:56:05' and `end` < '2025-04-09 16:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:56:13] Production.ERROR: CronJobId end10
[2025-04-09 16:56:13] Production.INFO: ==22641== Releasing lock...
[2025-04-09 16:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:56:15] Production.INFO: call_cost start
[2025-04-09 16:56:15] Production.INFO: call_cost end
[2025-04-09 16:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:56:16] Production.INFO: ==22637== Releasing lock...
[2025-04-09 16:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:56:19] Production.INFO: count ==4524
[2025-04-09 16:56:20] Production.ERROR: pbx CDR StartTime 2025-04-09 13:56:05 - End Time 2025-04-09 16:56:05
[2025-04-09 16:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870908', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870908', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870908', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870908', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:56:21] Production.INFO: ProcessCDR(1,14870908,1,1,2)
[2025-04-09 16:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870908', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870908', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:56:26] Production.INFO: ==22645== Releasing lock...
[2025-04-09 16:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:56:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:57:02] Production.INFO: ==22711== Lock acquired, processing the job...
[2025-04-09 21:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:57:02] Production.INFO: neon service started
[2025-04-09 21:57:02] Production.INFO: neon service started
[2025-04-09 21:57:02] Production.INFO: ==22711== Releasing lock...
[2025-04-09 21:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:57:02] Production.INFO: ==22713== Lock acquired, processing the job...
[2025-04-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:57:02] Production.INFO: ==22713== Releasing lock...
[2025-04-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:57:03] Production.INFO: ==22715== Lock acquired, processing the job...
[2025-04-09 20:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:57:03] Production.INFO: ==22715== Releasing lock...
[2025-04-09 20:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:57:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-04-09 16:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:57:03] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-04-09 16:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:57:03] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-04-09 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:57:03] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-04-09 16:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16: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-04-09 16:57:04] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-04-09 16:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:57:04] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-04-09 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:57:04] Production.INFO: count ==12
[2025-04-09 16: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-04-09 16:57:04] Production.INFO: count ==23
[2025-04-09 16:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870910') start
[2025-04-09 16:57:04] Production.INFO: Account Balance Start.
[2025-04-09 16:57:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:57:04] Production.INFO: 117
[2025-04-09 16:57:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:57:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:57:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:57:04] Production.INFO: Total Charge 0
[2025-04-09 16:57:04] Production.INFO: CreateAllLog End
[2025-04-09 16:57:04] Production.INFO: ==22720== Releasing lock...
[2025-04-09 16:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870910') end
[2025-04-09 16:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:57:04] Production.INFO: 1
[2025-04-09 16:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:57:04] Production.INFO: ==22728== Releasing lock...
[2025-04-09 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:57:04] Production.ERROR: done
[2025-04-09 16:57:04] Production.INFO: Account Balance End.
[2025-04-09 16:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:57:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:57:04] Production.INFO: ==22724== Releasing lock...
[2025-04-09 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:57:05] Production.ERROR: done
[2025-04-09 16:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:57:06
[end_date_ymd] => 2025-04-09 16:57:06
[RateCDR] => 1
)
[2025-04-09 16:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:57:06' and `end` < '2025-04-09 16:57:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:57:14] Production.ERROR: CronJobId end10
[2025-04-09 16:57:14] Production.INFO: ==22722== Releasing lock...
[2025-04-09 16:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:57:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:57:15] Production.INFO: call_cost start
[2025-04-09 16:57:15] Production.INFO: call_cost end
[2025-04-09 16:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:57:16] Production.INFO: ==22718== Releasing lock...
[2025-04-09 16:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:57:20] Production.INFO: count ==4508
[2025-04-09 16:57:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:57:06 - End Time 2025-04-09 16:57:06
[2025-04-09 16:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870913', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870913', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870913', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870913', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:57:22] Production.INFO: ProcessCDR(1,14870913,1,1,2)
[2025-04-09 16:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870913', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870913', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:57:27] Production.INFO: ==22726== Releasing lock...
[2025-04-09 16:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:57:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:58:01] Production.INFO: ==22842== Lock acquired, processing the job...
[2025-04-09 21:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:58:01] Production.INFO: neon service started
[2025-04-09 21:58:01] Production.INFO: neon service started
[2025-04-09 21:58:01] Production.INFO: ==22842== Releasing lock...
[2025-04-09 21:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 20:58:02] Production.INFO: ==22846== Lock acquired, processing the job...
[2025-04-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:58:02] Production.INFO: ==22846== Releasing lock...
[2025-04-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:58:02] Production.INFO: ==22844== Lock acquired, processing the job...
[2025-04-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:58:02] Production.INFO: ==22844== Releasing lock...
[2025-04-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 16:58:03] Production.INFO: ==22848== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:58:03] Production.INFO: ==22850== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:58:03] Production.INFO: ==22853== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:58:03] Production.INFO: ==22855== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:58:03] Production.INFO: ==22857== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:58:03] Production.INFO: Account Balance Start.
[2025-04-09 16:58:03] Production.INFO: CreateAllLog Start
[2025-04-09 16:58:03] Production.INFO: 117
[2025-04-09 16:58:03] Production.INFO: Date 2025-04-08
[2025-04-09 16:58:03] Production.INFO: ==22859== Lock acquired, processing the job...
[2025-04-09 16:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:58:03] Production.INFO: Date 2025-04-09
[2025-04-09 16:58:03] Production.INFO: Reseller ==> 0
[2025-04-09 16:58:03] Production.INFO: Total Charge 0
[2025-04-09 16:58:04] Production.INFO: CreateAllLog End
[2025-04-09 16:58:04] Production.INFO: ==22850== Releasing lock...
[2025-04-09 16:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16: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-04-09 16:58:04] Production.INFO: count ==12
[2025-04-09 16:58:04] Production.ERROR: done
[2025-04-09 16:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16: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-04-09 16:58:04] Production.INFO: count ==23
[2025-04-09 16:58:04] Production.INFO: Account Balance End.
[2025-04-09 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870917') start
[2025-04-09 16:58:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:58:04] Production.INFO: ==22855== Releasing lock...
[2025-04-09 16:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:58:04] Production.ERROR: done
[2025-04-09 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870917') end
[2025-04-09 16:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:58:04] Production.INFO: 1
[2025-04-09 16:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:58:04] Production.INFO: ==22859== Releasing lock...
[2025-04-09 16:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:58:05
[end_date_ymd] => 2025-04-09 16:58:05
[RateCDR] => 1
)
[2025-04-09 16:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:58:05' and `end` < '2025-04-09 16:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:58:13] Production.ERROR: CronJobId end10
[2025-04-09 16:58:13] Production.INFO: ==22853== Releasing lock...
[2025-04-09 16:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:58:15] Production.INFO: call_cost start
[2025-04-09 16:58:15] Production.INFO: call_cost end
[2025-04-09 16:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:58:16] Production.INFO: ==22848== Releasing lock...
[2025-04-09 16:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:58:19] Production.INFO: count ==4508
[2025-04-09 16:58:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:58:05 - End Time 2025-04-09 16:58:05
[2025-04-09 16:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870918', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870918', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870918', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870918', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:58:21] Production.INFO: ProcessCDR(1,14870918,1,1,2)
[2025-04-09 16:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870918', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870918', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:58:26] Production.INFO: ==22857== Releasing lock...
[2025-04-09 16:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:58:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 21:59:02] Production.INFO: ==22952== Lock acquired, processing the job...
[2025-04-09 21:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 21:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 21:59:02] Production.INFO: neon service started
[2025-04-09 21:59:02] Production.INFO: neon service started
[2025-04-09 21:59:02] Production.INFO: ==22952== Releasing lock...
[2025-04-09 21:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 21:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 16:59:02] Production.INFO: ==22954== Lock acquired, processing the job...
[2025-04-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 16:59:02] Production.INFO: ==22954== Releasing lock...
[2025-04-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 16:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 20:59:03] Production.INFO: ==22956== Lock acquired, processing the job...
[2025-04-09 20:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 20:59:03] Production.INFO: ==22956== Releasing lock...
[2025-04-09 20:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 20:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-09 16:59:03] Production.INFO: ==22958== Lock acquired, processing the job...
[2025-04-09 16:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 16:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 16:59:03] Production.INFO: ==22960== Lock acquired, processing the job...
[2025-04-09 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 16:59:03] Production.INFO: ==22962== Lock acquired, processing the job...
[2025-04-09 16:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 16:59:03] Production.INFO: ==22964== Lock acquired, processing the job...
[2025-04-09 16:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 16:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 16:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 16:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 16:59:03] Production.INFO: ==22966== Lock acquired, processing the job...
[2025-04-09 16:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 16:59:04] Production.INFO: Account Balance Start.
[2025-04-09 16:59:04] Production.INFO: CreateAllLog Start
[2025-04-09 16:59:04] Production.INFO: 117
[2025-04-09 16:59:04] Production.INFO: Date 2025-04-08
[2025-04-09 16:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 16:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 16:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:59:04] Production.INFO: ==22968== Lock acquired, processing the job...
[2025-04-09 16:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 16:59:04] Production.INFO: Date 2025-04-09
[2025-04-09 16:59:04] Production.INFO: Reseller ==> 0
[2025-04-09 16:59:04] Production.INFO: Total Charge 0
[2025-04-09 16:59:04] Production.INFO: CreateAllLog End
[2025-04-09 16:59:04] Production.INFO: ==22960== Releasing lock...
[2025-04-09 16:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 16:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 16: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-04-09 16:59:04] Production.INFO: count ==12
[2025-04-09 16:59:04] Production.INFO: Account Balance End.
[2025-04-09 16: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-04-09 16:59:04] Production.INFO: count ==23
[2025-04-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870922') start
[2025-04-09 16:59:04] Production.ERROR: done
[2025-04-09 16:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 16:59:04] Production.ERROR: CronJobId end 12
[2025-04-09 16:59:04] Production.INFO: ==22964== Releasing lock...
[2025-04-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 16:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870922') end
[2025-04-09 16:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 16:59:04] Production.INFO: 1
[2025-04-09 16:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 16:59:04] Production.INFO: ==22968== Releasing lock...
[2025-04-09 16:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 16:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 16:59:04] Production.ERROR: done
[2025-04-09 16:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 13:59:05
[end_date_ymd] => 2025-04-09 16:59:05
[RateCDR] => 1
)
[2025-04-09 16:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 13:59:05' and `end` < '2025-04-09 16:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 16:59:13] Production.ERROR: CronJobId end10
[2025-04-09 16:59:13] Production.INFO: ==22962== Releasing lock...
[2025-04-09 16:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 16:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 16:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 16:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 16:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 16:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 16:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 16:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 16:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 16:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 16:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 16:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 16:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 16:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 16:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 16:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 16:59:15] Production.INFO: call_cost start
[2025-04-09 16:59:15] Production.INFO: call_cost end
[2025-04-09 16:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 16:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 16:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 16:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 16:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 16:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 16:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 16:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 16:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 16:59:16] Production.INFO: ==22958== Releasing lock...
[2025-04-09 16:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 16:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 16:59:19] Production.INFO: count ==4516
[2025-04-09 16:59:21] Production.ERROR: pbx CDR StartTime 2025-04-09 13:59:05 - End Time 2025-04-09 16:59:05
[2025-04-09 16:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870923', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870923', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870923', 'tblTempVendorCDR_20' ) start
[2025-04-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870923', 'tblTempVendorCDR_20' ) end
[2025-04-09 16:59:21] Production.INFO: ProcessCDR(1,14870923,1,1,2)
[2025-04-09 16:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 16:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 16:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870923', 'tblTempUsageDetail_20' ) start
[2025-04-09 16:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870923', 'tblTempUsageDetail_20' ) end
[2025-04-09 16:59:27] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 16:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 16:59:27] Production.INFO: ==22966== Releasing lock...
[2025-04-09 16:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 16:59:27] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 22:00:01] Production.INFO: ==23076== Lock acquired, processing the job...
[2025-04-09 22:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:00:01] Production.INFO: neon service started
[2025-04-09 22:00:01] Production.INFO: neon service started
[2025-04-09 22:00:01] Production.INFO: ==23076== Releasing lock...
[2025-04-09 22:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 21:00:02] Production.INFO: ==23080== Lock acquired, processing the job...
[2025-04-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:00:02] Production.INFO: ==23080== Releasing lock...
[2025-04-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:00:02] Production.INFO: ==23078== Lock acquired, processing the job...
[2025-04-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:00:02] Production.INFO: ==23078== Releasing lock...
[2025-04-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:00:03] Production.INFO: ==23085== Lock acquired, processing the job...
[2025-04-09 17:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:00:03] Production.INFO: ==23083== Lock acquired, processing the job...
[2025-04-09 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-09 17:00:03] Production.INFO: ==23087== Lock acquired, processing the job...
[2025-04-09 17:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 17:00:03] Production.ERROR: CronJob PID - 23085
[2025-04-09 17:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-09 17:00:03] Production.ERROR: CronJob ID - 5
[2025-04-09 17:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 17:00:00
[2025-04-09 17:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-09 17:00:03] Production.ERROR: CronJob PID - 23087
[2025-04-09 17:00:03] Production.ERROR: CronJob Title - Account Block
[2025-04-09 17:00:03] Production.ERROR: CronJob ID - 7
[2025-04-09 17:00:03] Production.ERROR: CronJob Last Run Time 2025-04-09 17:00:00
[2025-04-09 17:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-09 17:00:03] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-04-09 17:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17:00:03] Production.INFO: ==23089== Lock acquired, processing the job...
[2025-04-09 17:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-09 17:00:04] Production.INFO: ==23083== Releasing lock...
[2025-04-09 17:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-09 17:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-09 17:00:04] Production.INFO: Account Balance Start.
[2025-04-09 17:00:04] Production.INFO: CreateAllLog Start
[2025-04-09 17:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:00:04] Production.INFO: 117
[2025-04-09 17:00:04] Production.INFO: Date 2025-04-08
[2025-04-09 17:00:04] Production.INFO: ==23093== Lock acquired, processing the job...
[2025-04-09 17:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:00:04] Production.INFO: ==23095== Lock acquired, processing the job...
[2025-04-09 17:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-09 17:00:04] Production.INFO: Date 2025-04-09
[2025-04-09 17:00:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17:00:04] Production.INFO: ==23098== Lock acquired, processing the job...
[2025-04-09 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:00:04] Production.INFO: ==23087== Releasing lock...
[2025-04-09 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:00:04] Production.INFO: Total Charge 0
[2025-04-09 17:00:04] Production.INFO: CreateAllLog End
[2025-04-09 17:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:00:04] Production.INFO: count ==12
[2025-04-09 17:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:00:04] Production.INFO: count ==23
[2025-04-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870927') start
[2025-04-09 17:00:04] Production.ERROR: done
[2025-04-09 17:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:00:04] Production.ERROR: done
[2025-04-09 17:00:04] Production.INFO: Account Balance End.
[2025-04-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870927') end
[2025-04-09 17:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:00:04] Production.INFO: 1
[2025-04-09 17:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:00:04] Production.ERROR: done
[2025-04-09 17:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-09 17:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870928', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) start
[2025-04-09 17:00:04] Production.ERROR: CronJobId end 12
[2025-04-09 17:00:04] Production.INFO: ==23091== Releasing lock...
[2025-04-09 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:00:05] Production.INFO: ==23098== Releasing lock...
[2025-04-09 17:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:00:05
[end_date_ymd] => 2025-04-09 17:00:05
[RateCDR] => 1
)
[2025-04-09 17: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-04-09 14:00:05' and `end` < '2025-04-09 17: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-04-09 17:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14870928', 'tblTempUsageDetail_20reseller','2025-04-09','2025-04-09','1' ) end
[2025-04-09 17:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-09 17:00:09] Production.INFO: ProcessCDR(1,14870928,1,1,2)
[2025-04-09 17:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14870928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14870928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:00:09] Production.INFO: ==23095== Releasing lock...
[2025-04-09 17:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-09 17:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-09 17:00:15] Production.ERROR: CronJobId end10
[2025-04-09 17:00:15] Production.INFO: ==23089== Releasing lock...
[2025-04-09 17:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:00:17] Production.INFO: call_cost start
[2025-04-09 17:00:17] Production.INFO: call_cost end
[2025-04-09 17:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:00:18] Production.INFO: ==23085== Releasing lock...
[2025-04-09 17:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:00:19] Production.INFO: count ==4503
[2025-04-09 17:00:21] Production.ERROR: pbx CDR StartTime 2025-04-09 14:00:05 - End Time 2025-04-09 17:00:05
[2025-04-09 17:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870929', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870929', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870929', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870929', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:00:21] Production.INFO: ProcessCDR(1,14870929,1,1,2)
[2025-04-09 17:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870929', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870929', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:00:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:00:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:00:26] Production.INFO: ==23093== Releasing lock...
[2025-04-09 17:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 17:00:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 22:01:02] Production.INFO: ==23165== Lock acquired, processing the job...
[2025-04-09 22:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:01:02] Production.INFO: neon service started
[2025-04-09 22:01:02] Production.INFO: neon service started
[2025-04-09 22:01:02] Production.INFO: ==23165== Releasing lock...
[2025-04-09 22:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 21:01:02] Production.INFO: ==23180== Lock acquired, processing the job...
[2025-04-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:01:02] Production.INFO: ==23180== Releasing lock...
[2025-04-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:01:02] Production.INFO: ==23178== Lock acquired, processing the job...
[2025-04-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:01:02] Production.INFO: ==23178== Releasing lock...
[2025-04-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:01:03] Production.INFO: ==23182== Lock acquired, processing the job...
[2025-04-09 17:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:01:03] Production.INFO: ==23186== Lock acquired, processing the job...
[2025-04-09 17:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:01:03] Production.INFO: ==23190== Lock acquired, processing the job...
[2025-04-09 17:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17:01:04] Production.INFO: ==23184== Lock acquired, processing the job...
[2025-04-09 17:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:01:04] Production.INFO: ==23188== Lock acquired, processing the job...
[2025-04-09 17:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17:01:04] Production.INFO: ==23192== Lock acquired, processing the job...
[2025-04-09 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:01:04] Production.INFO: Account Balance Start.
[2025-04-09 17:01:04] Production.INFO: CreateAllLog Start
[2025-04-09 17:01:04] Production.INFO: 117
[2025-04-09 17:01:04] Production.INFO: Date 2025-04-08
[2025-04-09 17: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-04-09 17:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:01:04] Production.INFO: Date 2025-04-09
[2025-04-09 17:01:04] Production.INFO: count ==12
[2025-04-09 17:01:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:01:04] Production.INFO: count ==23
[2025-04-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870933') start
[2025-04-09 17:01:04] Production.ERROR: done
[2025-04-09 17:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:01:04] Production.INFO: Total Charge 0
[2025-04-09 17:01:04] Production.INFO: CreateAllLog End
[2025-04-09 17:01:04] Production.ERROR: done
[2025-04-09 17:01:04] Production.INFO: ==23184== Releasing lock...
[2025-04-09 17:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870933') end
[2025-04-09 17:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:01:04] Production.INFO: 1
[2025-04-09 17:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:01:04] Production.INFO: ==23192== Releasing lock...
[2025-04-09 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:01:04] Production.INFO: Account Balance End.
[2025-04-09 17:01:04] Production.ERROR: CronJobId end 12
[2025-04-09 17:01:04] Production.INFO: ==23188== Releasing lock...
[2025-04-09 17:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:01:05
[end_date_ymd] => 2025-04-09 17:01:05
[RateCDR] => 1
)
[2025-04-09 17:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 14:01:05' and `end` < '2025-04-09 17:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 17:01:14] Production.ERROR: CronJobId end10
[2025-04-09 17:01:14] Production.INFO: ==23186== Releasing lock...
[2025-04-09 17:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:01:15] Production.INFO: call_cost start
[2025-04-09 17:01:15] Production.INFO: call_cost end
[2025-04-09 17:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:01:16] Production.INFO: ==23182== Releasing lock...
[2025-04-09 17:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:01:19] Production.INFO: count ==4510
[2025-04-09 17:01:21] Production.ERROR: pbx CDR StartTime 2025-04-09 14:01:05 - End Time 2025-04-09 17:01:05
[2025-04-09 17:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870934', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870934', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870934', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870934', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:01:21] Production.INFO: ProcessCDR(1,14870934,1,1,2)
[2025-04-09 17:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870934', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870934', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:01:26] Production.INFO: ==23190== Releasing lock...
[2025-04-09 17:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 17:01:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 22:02:01] Production.INFO: ==23256== Lock acquired, processing the job...
[2025-04-09 22:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:02:01] Production.INFO: neon service started
[2025-04-09 22:02:01] Production.INFO: neon service started
[2025-04-09 22:02:01] Production.INFO: ==23256== Releasing lock...
[2025-04-09 22:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 21:02:01] Production.INFO: ==23260== Lock acquired, processing the job...
[2025-04-09 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:02:01] Production.INFO: ==23260== Releasing lock...
[2025-04-09 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:02:01] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:02:02] Production.INFO: ==23258== Lock acquired, processing the job...
[2025-04-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:02:02] Production.INFO: ==23258== Releasing lock...
[2025-04-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:02:03] Production.INFO: ==23262== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:02:03] Production.INFO: ==23264== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:02:03] Production.INFO: ==23273== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:02:03] Production.INFO: ==23271== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:02:03] Production.INFO: ==23267== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:02:03] Production.INFO: ==23269== Lock acquired, processing the job...
[2025-04-09 17:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17: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-04-09 17:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:02:03] Production.INFO: count ==12
[2025-04-09 17:02:03] Production.INFO: Account Balance Start.
[2025-04-09 17:02:03] Production.INFO: CreateAllLog Start
[2025-04-09 17:02:03] Production.INFO: 117
[2025-04-09 17:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17: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-04-09 17:02:03] Production.INFO: Date 2025-04-08
[2025-04-09 17:02:03] Production.INFO: count ==23
[2025-04-09 17:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 17:02:03] Production.INFO: Date 2025-04-09
[2025-04-09 17:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870937') start
[2025-04-09 17:02:03] Production.INFO: Reseller ==> 0
[2025-04-09 17:02:03] Production.INFO: Total Charge 0
[2025-04-09 17:02:03] Production.INFO: CreateAllLog End
[2025-04-09 17:02:03] Production.INFO: ==23264== Releasing lock...
[2025-04-09 17:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870937') end
[2025-04-09 17:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:02:04] Production.INFO: 1
[2025-04-09 17:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:02:04] Production.INFO: ==23273== Releasing lock...
[2025-04-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:02:04] Production.ERROR: done
[2025-04-09 17:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:02:04] Production.INFO: Account Balance End.
[2025-04-09 17:02:04] Production.ERROR: done
[2025-04-09 17:02:04] Production.ERROR: CronJobId end 12
[2025-04-09 17:02:04] Production.INFO: ==23269== Releasing lock...
[2025-04-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:02:05
[end_date_ymd] => 2025-04-09 17:02:05
[RateCDR] => 1
)
[2025-04-09 17:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 14:02:05' and `end` < '2025-04-09 17:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 17:02:12] Production.ERROR: CronJobId end10
[2025-04-09 17:02:12] Production.INFO: ==23267== Releasing lock...
[2025-04-09 17:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:02:14] Production.INFO: call_cost start
[2025-04-09 17:02:14] Production.INFO: call_cost end
[2025-04-09 17:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:02:15] Production.INFO: ==23262== Releasing lock...
[2025-04-09 17:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:02:19] Production.INFO: count ==4513
[2025-04-09 17:02:21] Production.ERROR: pbx CDR StartTime 2025-04-09 14:02:05 - End Time 2025-04-09 17:02:05
[2025-04-09 17:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870939', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870939', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870939', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870939', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:02:21] Production.INFO: ProcessCDR(1,14870939,1,1,2)
[2025-04-09 17:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870939', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870939', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:02:26] Production.INFO: ==23271== Releasing lock...
[2025-04-09 17:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 17:02:26] Production.INFO: 61.75 MB #Memory Used#
[2025-04-09 22:03:01] Production.INFO: ==23335== Lock acquired, processing the job...
[2025-04-09 22:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:03:01] Production.INFO: neon service started
[2025-04-09 22:03:01] Production.INFO: neon service started
[2025-04-09 22:03:01] Production.INFO: ==23335== Releasing lock...
[2025-04-09 22:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:03:02] Production.INFO: ==23337== Lock acquired, processing the job...
[2025-04-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 21:03:02] Production.INFO: ==23339== Lock acquired, processing the job...
[2025-04-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:03:02] Production.INFO: ==23339== Releasing lock...
[2025-04-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:03:02] Production.INFO: ==23337== Releasing lock...
[2025-04-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 17:03:03] Production.INFO: ==23342== Lock acquired, processing the job...
[2025-04-09 17:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:03:03] Production.INFO: ==23344== Lock acquired, processing the job...
[2025-04-09 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:03:03] Production.INFO: ==23346== Lock acquired, processing the job...
[2025-04-09 17:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17:03:04] Production.INFO: ==23348== Lock acquired, processing the job...
[2025-04-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17:03:04] Production.INFO: ==23350== Lock acquired, processing the job...
[2025-04-09 17:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:03:04] Production.INFO: ==23352== Lock acquired, processing the job...
[2025-04-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:03:04] Production.INFO: Account Balance Start.
[2025-04-09 17:03:04] Production.INFO: CreateAllLog Start
[2025-04-09 17:03:04] Production.INFO: 117
[2025-04-09 17:03:04] Production.INFO: Date 2025-04-08
[2025-04-09 17:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:03:04] Production.INFO: ==23344== Releasing lock...
[2025-04-09 17:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:03:04] Production.INFO: Date 2025-04-09
[2025-04-09 17:03:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:03:04] Production.INFO: Total Charge 0
[2025-04-09 17:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:03:04] Production.INFO: CreateAllLog End
[2025-04-09 17:03:04] Production.INFO: count ==12
[2025-04-09 17:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:03:04] Production.INFO: count ==23
[2025-04-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870943') start
[2025-04-09 17:03:04] Production.INFO: Account Balance End.
[2025-04-09 17:03:04] Production.ERROR: CronJobId end 12
[2025-04-09 17:03:04] Production.INFO: ==23348== Releasing lock...
[2025-04-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:03:04] Production.ERROR: done
[2025-04-09 17:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870943') end
[2025-04-09 17:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:03:04] Production.INFO: 1
[2025-04-09 17:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:03:04] Production.INFO: ==23352== Releasing lock...
[2025-04-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:03:04] Production.ERROR: done
[2025-04-09 17:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:03:05
[end_date_ymd] => 2025-04-09 17:03:05
[RateCDR] => 1
)
[2025-04-09 17:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 14:03:05' and `end` < '2025-04-09 17:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 17:03:13] Production.ERROR: CronJobId end10
[2025-04-09 17:03:13] Production.INFO: ==23346== Releasing lock...
[2025-04-09 17:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:03:15] Production.INFO: call_cost start
[2025-04-09 17:03:15] Production.INFO: call_cost end
[2025-04-09 17:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:03:15] Production.INFO: ==23342== Releasing lock...
[2025-04-09 17:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:03:19] Production.INFO: count ==4488
[2025-04-09 17:03:21] Production.ERROR: pbx CDR StartTime 2025-04-09 14:03:05 - End Time 2025-04-09 17:03:05
[2025-04-09 17:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870944', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870944', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870944', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870944', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:03:21] Production.INFO: ProcessCDR(1,14870944,1,1,2)
[2025-04-09 17:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870944', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870944', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:03:26] Production.INFO: ==23350== Releasing lock...
[2025-04-09 17:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 17:03:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 22:04:01] Production.INFO: ==23418== Lock acquired, processing the job...
[2025-04-09 22:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:04:01] Production.INFO: neon service started
[2025-04-09 22:04:01] Production.INFO: neon service started
[2025-04-09 22:04:01] Production.INFO: ==23418== Releasing lock...
[2025-04-09 22:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:04:01] Production.INFO: ==23420== Lock acquired, processing the job...
[2025-04-09 17:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:04:02] Production.INFO: ==23420== Releasing lock...
[2025-04-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 21:04:02] Production.INFO: ==23422== Lock acquired, processing the job...
[2025-04-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:04:02] Production.INFO: ==23422== Releasing lock...
[2025-04-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:04:03] Production.INFO: ==23432== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:04:03] Production.INFO: ==23434== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:04:03] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:04:03] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:04:03] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:04:03] Production.INFO: ==23428== Lock acquired, processing the job...
[2025-04-09 17:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:04:03] Production.INFO: Account Balance Start.
[2025-04-09 17:04:03] Production.INFO: CreateAllLog Start
[2025-04-09 17:04:03] Production.INFO: 117
[2025-04-09 17:04:03] Production.INFO: count ==12
[2025-04-09 17:04:03] Production.INFO: Date 2025-04-08
[2025-04-09 17:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:04:03] Production.INFO: count ==23
[2025-04-09 17:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 17:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870945') start
[2025-04-09 17:04:03] Production.ERROR: done
[2025-04-09 17:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:04:03] Production.INFO: Date 2025-04-09
[2025-04-09 17:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17:04:03] Production.INFO: Reseller ==> 0
[2025-04-09 17:04:03] Production.INFO: Total Charge 0
[2025-04-09 17:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14870945') end
[2025-04-09 17:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:04:03] Production.INFO: 1
[2025-04-09 17:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:04:03] Production.INFO: CreateAllLog End
[2025-04-09 17:04:03] Production.INFO: ==23434== Releasing lock...
[2025-04-09 17:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:04:03] Production.ERROR: done
[2025-04-09 17:04:03] Production.INFO: ==23426== Releasing lock...
[2025-04-09 17:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:04:03] Production.INFO: Account Balance End.
[2025-04-09 17:04:03] Production.ERROR: CronJobId end 12
[2025-04-09 17:04:03] Production.INFO: ==23430== Releasing lock...
[2025-04-09 17:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:04:04
[end_date_ymd] => 2025-04-09 17:04:04
[RateCDR] => 1
)
[2025-04-09 17: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-04-09 14:04:04' and `end` < '2025-04-09 17: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-04-09 17:04:12] Production.ERROR: CronJobId end10
[2025-04-09 17:04:12] Production.INFO: ==23428== Releasing lock...
[2025-04-09 17:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:04:14] Production.INFO: call_cost start
[2025-04-09 17:04:14] Production.INFO: call_cost end
[2025-04-09 17:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:04:15] Production.INFO: ==23424== Releasing lock...
[2025-04-09 17:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:04:19] Production.INFO: count ==4483
[2025-04-09 17:04:21] Production.ERROR: pbx CDR StartTime 2025-04-09 14:04:04 - End Time 2025-04-09 17:04:04
[2025-04-09 17:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870949', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870949', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870949', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870949', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:04:21] Production.INFO: ProcessCDR(1,14870949,1,1,2)
[2025-04-09 17:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870949', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870949', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:04:26] Production.INFO: ==23432== Releasing lock...
[2025-04-09 17:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-09 17:04:26] Production.INFO: 61.5 MB #Memory Used#
[2025-04-09 22:05:01] Production.INFO: ==23499== Lock acquired, processing the job...
[2025-04-09 22:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-09 22:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-09 22:05:01] Production.INFO: neon service started
[2025-04-09 22:05:01] Production.INFO: neon service started
[2025-04-09 22:05:01] Production.INFO: ==23499== Releasing lock...
[2025-04-09 22:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-09 22:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-09 17:05:02] Production.INFO: ==23501== Lock acquired, processing the job...
[2025-04-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-09 17:05:02] Production.INFO: ==23501== Releasing lock...
[2025-04-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-09 17:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-09 21:05:02] Production.INFO: ==23503== Lock acquired, processing the job...
[2025-04-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-09 21:05:02] Production.INFO: ==23503== Releasing lock...
[2025-04-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-09 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-09 17:05:03] Production.INFO: ==23505== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-09 17:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-09 17:05:03] Production.INFO: ==23509== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-09 17:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250409Live done
[2025-04-09 17:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409Live done
[2025-04-09 17:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250409Live)
[2025-04-09 17:05:03] Production.INFO: ==23513== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-09 17:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-09','2025-04-09','120250409Live')
[2025-04-09 17:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-09 17:05:03] Production.INFO: ==23507== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-09 17:05:03] Production.INFO: ==23511== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-09 17:05:03] Production.INFO: ==23515== Lock acquired, processing the job...
[2025-04-09 17:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-09 17:05:03] Production.INFO: Account Balance Start.
[2025-04-09 17:05:03] Production.INFO: CreateAllLog Start
[2025-04-09 17:05:03] Production.INFO: 117
[2025-04-09 17:05:03] Production.ERROR: done
[2025-04-09 17:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-09 17:05:03] Production.INFO: Date 2025-04-08
[2025-04-09 17:05:03] Production.INFO: Reseller ==> 0
[2025-04-09 17:05:04] Production.INFO: Date 2025-04-09
[2025-04-09 17:05:04] Production.INFO: Reseller ==> 0
[2025-04-09 17:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:05:04] Production.INFO: Total Charge 0
[2025-04-09 17:05:04] Production.INFO: CreateAllLog End
[2025-04-09 17:05:04] Production.INFO: count ==12
[2025-04-09 17:05:04] Production.INFO: ==23507== Releasing lock...
[2025-04-09 17:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-09 17:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-09 17:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-09 17:05:04] Production.ERROR: done
[2025-04-09 17:05:04] Production.INFO: count ==23
[2025-04-09 17:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870953') start
[2025-04-09 17:05:04] Production.INFO: Account Balance End.
[2025-04-09 17:05:04] Production.ERROR: CronJobId end 12
[2025-04-09 17:05:04] Production.INFO: ==23511== Releasing lock...
[2025-04-09 17:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-09 17:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-09 17:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14870953') end
[2025-04-09 17:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-09 17:05:04] Production.INFO: 1
[2025-04-09 17:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-09 17:05:04] Production.INFO: ==23515== Releasing lock...
[2025-04-09 17:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-09 17:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-09 17:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-09 14:05:05
[end_date_ymd] => 2025-04-09 17:05:05
[RateCDR] => 1
)
[2025-04-09 17:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-09 14:05:05' and `end` < '2025-04-09 17:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-09 17:05:13] Production.ERROR: CronJobId end10
[2025-04-09 17:05:13] Production.INFO: ==23509== Releasing lock...
[2025-04-09 17:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-09 17:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-09 17:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-09 17:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-09 17:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-09 17:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-09 17:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-09 17:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-09 17:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-09 17:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-09 17:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-09 17:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-09 17:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-09 17:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-09 17:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-09 17:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-09 17:05:15] Production.INFO: call_cost start
[2025-04-09 17:05:15] Production.INFO: call_cost end
[2025-04-09 17:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-09 17:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-09 17:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-09 17:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-09 17:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-09 17:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-09 17:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-09 17:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-09 17:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-09 17:05:16] Production.INFO: ==23505== Releasing lock...
[2025-04-09 17:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-09 17:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-09 17:05:19] Production.INFO: count ==4489
[2025-04-09 17:05:20] Production.ERROR: pbx CDR StartTime 2025-04-09 14:05:05 - End Time 2025-04-09 17:05:05
[2025-04-09 17:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-09 17:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870954', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14870954', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870954', 'tblTempVendorCDR_20' ) start
[2025-04-09 17:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14870954', 'tblTempVendorCDR_20' ) end
[2025-04-09 17:05:20] Production.INFO: ProcessCDR(1,14870954,1,1,2)
[2025-04-09 17:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14870954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14870954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-09 17:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14870954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14870954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-09 17:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870954', 'tblTempUsageDetail_20' ) start
[2025-04-09 17:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14870954', 'tblTempUsageDetail_20' ) end
[2025-04-09 17:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-09 17:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-09 17:05:25] Production.INFO: ==23513== Releasing lock...
[2025-04-09 17:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[202